Wms mapviewer oc4j - control timeout

how can I control timeout for WMS as a server
oc4j
oracle 11gr1p7
I provide WMS

You should install (i.e., unzip) the MapViewer quick start into a separate directory and start its OC4J from that directory. Do not unzip it into your DB's (or any other product's) OC4J directory, as that will most certainly mess up both OC4J instances.
It's perfectly fine to run two OC4J instances on the same host. There should be no conflicts, except maybe network listener ports which you can easily fix from MapViewer's OC4J (as I assume you don't want to change the DB's OC4J settings). Just try it and let us know.
LJ

Similar Messages

  • Oracle Grid root.sh is failing onFirstNode configuration failed at /u01/app/grid/11.2.0.4/crs/instal due to ora.oc4j start timeout

    We have a 4 node Rac, oracle root.sh is failing on the First Node. when I looked at the logs I found the oc4j is timeout to start on Node1 whereas it is able to start on all other nodes with in 2 mins. this is causing to fail root.sh. Can you please help me what is the issue.
    Oracle Rac Node 1 oc4j failed on Node1 due to timeout able to start on other node.
     oracle:]/u01/app/grid/11.2.0.4/bin > ./crsctl start res ora.oc4j -n node1
    CRS-2672: Attempting to start 'ora.oc4j' node1
    CRS-2674: Start of 'ora.oc4j' on 'node1' failed
    CRS-2679: Attempting to clean 'ora.oc4j' on node1
    CRS-2681: Clean of 'ora.oc4j' on 'node1' succeeded
    CRS-4000: Command Start failed, or completed with errors.  [oracle:]/u01/app/grid/11.2.0.4/bin > ./crsctl start res ora.oc4j -n node2
    CRS-2672: Attempting to start 'ora.oc4j' on 'node2'
    CRS-2676: Start of 'ora.oc4j' on 'node2' succeeded

    Please follow Metalink Note 1050908.1.
    This might help
    Cheers
    FJFranken

  • Will the MapViewer OC4J instance conflict with the existing one?

    Hello,
    I want to install the MapViewer Quick Start kit, connecting it to my already-installed Oracle Database 11g Standard Edition. I also have installed Application Express 3.2. This is on a Windows XP workstation, for development use.
    My question is, am I supposed to unzip the contents of the kit (or the contents of the mv10133_qs directory inside the zip archive) into the existing oc4j instance that installed with the database, i.e., ORACLE_HOME\oc4j? Or do I install the entire kit into a separate directory, for example ORACLE_HOME\oc4j_mapviewer? If the latter, will this mean that I will have two unique OC4J instances running? And will this produce a conflict? (I'm not sure what the Database-installed oc4j instance does, if anything. Perhaps run the Enterprise Manager Database Control?).
    Thanks for any response.
    -Dan

    You should install (i.e., unzip) the MapViewer quick start into a separate directory and start its OC4J from that directory. Do not unzip it into your DB's (or any other product's) OC4J directory, as that will most certainly mess up both OC4J instances.
    It's perfectly fine to run two OC4J instances on the same host. There should be no conflicts, except maybe network listener ports which you can easily fix from MapViewer's OC4J (as I assume you don't want to change the DB's OC4J settings). Just try it and let us know.
    LJ

  • Mapviewer OC4J problem

    I installed OC4J, Mapviewer and the mapviewer demo
    Now some Mapviewer demos and examles work, I can connect to the database, but I cannot start any OC4J-jsp or Mapviewer-jsp demo.
    Selecting a jsp demo (i.e. •     jview.jsp A simple no hassle spatial data viewer) in the internet explorer I get the message:
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.
    The OC4J process reports the following error:
    04/09/22 11:50:46 IOException in compile: CreateProcess: javac.exe -J-Xmx1024m -
    classpath oc4j.jar;D:\oc4j\j2ee\home\lib/ejb.jar;D:\oc4j\j2ee\home\lib/servlet.j
    ar;D:\oc4j\j2ee\home\lib/ojsp.jar;D:\oc4j\j2ee\home\lib/jndi.jar;D:\oc4j\j2ee\ho
    me\lib/jdbc.jar;D:\oc4j\j2ee\home\iiop.jar;D:\oc4j\j2ee\home\iiop_gen_bin.jar;D:
    \oc4j\j2ee\home\lib/jms.jar;D:\oc4j\j2ee\home\lib/jta.jar;D:\oc4j\j2ee\home\lib/
    jmxri.jar;D:\oc4j\j2ee\home\lib/javax77.jar;D:\oc4j\j2ee\home\lib/javax88.jar;D:
    \oc4j\j2ee\home\../../opmn/lib/ons.jar;D:\oc4j\j2ee\home\../../opmn/lib/optic.ja
    r;D:\oc4j\j2ee\home\../../lib/dms.jar;D:\oc4j\j2ee\home\../../dms/lib/dms.jar;D:
    \oc4j\j2ee\home\lib/connector.jar;D:\oc4j\j2ee\home\lib/cos.jar;D:\oc4j\j2ee\hom
    e\lib/jsse.jar;D:\oc4j\j2ee\home\../../oracle/lib/jsse.jar;D:\oc4j\j2ee\home\lib
    /jnet.jar;D:\oc4j\j2ee\home\lib/jcert.jar;D:\oc4j\j2ee\home\lib/activation.jar;D
    :\oc4j\j2ee\home\lib/mail.jar;D:\oc4j\j2ee\home\../../javavm/lib/jasper.zip;D:\o
    c4j\j2ee\home\../../lib/xmlparserv2.jar;D:\oc4j\j2ee\home\../../oracle/lib/xmlpa
    rserv2.jar;D:\oc4j\j2ee\ho?
    Has anybody an idea what is wrong?
    The operating system is Windows 2000, German version.
    The OC4J is the latest version (dowloaded last week),
    the database is Oracle 10g, 10.1.0.2 enterprise edition.

    this is definately caused by using the wrong java program. Please check the following:
    1. Are you using Java 1.4 or higher? to check, do 'java -version' from command line.
    2. Are you using the java executable located directly under a J2SDK's bin folder? If you are using any jre (Java Runtime Environment) java executable, OC4J wont be able to run the JSP pages.
    Also dont use the java that comes with your oracle database, as that is also a JRE only program. Instead, download the full j2sdk 1.4.2 from Sun.
    LJ

  • Which OC4J instance to install Mapviewer?

    Is there a specific instance of the OC4J on my 9iAS server that I should install Mapviewer? The way my development environment is setup we already have numerous OC4J instances.
    HTTP Server
    OC4J_BI_Forms
    OC4J_Demos
    OC4J_home
    OC4J_Portal
    OC4J_Wireless
    etc...
    Should I install Mapviewer under one of these instance or create a new OC4J instance? Is there a standard place?
    Thanks!
    -Scott

    There is no 'standard' OC4J instance for MapViewer. So yes you can deploy mapviewer into any of the existing OC4J instances, however the following points may make creating a separate OC4J instance for MapViewer reasonable:
    1. individually config memory usage by MapViewer. if mapviewer will be serving lots of big maps that require fetching a ton of data from DB, then you will need to bump up the memory allocation to the oc4j instance.
    2. the mapviewer error/log messages will not be mixed with logs from other applications.
    3. you can just restart the mapviewer oc4j instance w/o affecting other applications; conversely, if you deploy mapviewer to existing OC4J instances, and when that instance is restarted the mapviewer server will also be restarted.
    LJ

  • Does Mapviewer / Oracle Maps support file based raster imagery

    Forum:
    We have 1000's of ortho images that we are attempting to serve - with Oracle Vector data - using Oracle Maps.
    mapviewe supports Georaster, and Image themes - and one can use Mapbuilder rather well to configure the system for these.
    However - is there a way (other than to use a non-oracle WMS server) to serve up ortho images from their disk based locations if you do not want do load all your aerial photography into the database ?
    And again thank you in advance.
    JF

    Hi,
    if you have a non-Oracle WMS server that gives access to these images, you may define an external map cache source to access these images. Oracle Mapviewer provides a WMSAdapter class implementation that can be used in this case.
    The follwing example shows the definition of an external map cache for Oracle Maps. Notice the adapter_class (which is shipped with MapViewer) and the properties parameters (which are used to define a WMS request).
    <map_tile_layer name="ESRI_MAP" image_format="PNG" http_header_expires="168.0" concurrent_fetching_threads="3">
       <external_map_source url="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StateCityHighway_USA/MapServer/WMSServer" request_method="GET"
          timeout="15000" adapter_class="oracle.lbs.mapcache.adapter.WMSAdapter" proxy_host="www-proxy.us.oracle.com" proxy_port="80" transparent="false" clipping_buffer="0">
          <properties>
             <property name="version" value="1.1.1"/>
             <property name="srs" value="EPSG:4326"/>
             <property name="layers" value="0,2"/>
             <property name="format" value="image/png"/>
          </properties>
       </external_map_source>
       <tile_storage root_path="C:\mapviewer\oc4j\j2ee\home\applications\mapviewer\web\tilecache\MVDEMO.ESRI_MAP\"/>
       <coordinate_system srid="8307" minX="-180.0" minY="-90.0" maxX="180.0" maxY="90.0"/>
       <tile_image width="256" height="256"/>
       <zoom_levels levels="4" min_scale="199999.0" max_scale="2.5E7" min_tile_width="0.12228761382373739" min_tile_height="15.286028158107968">
          <zoom_level level="0" name="" description="" scale="2.5E7" tile_width="15.286028158107968" tile_height="15.286028158107968"/>
          <zoom_level level="1" name="" description="" scale="4999999.0" tile_width="3.0572050201804664" tile_height="3.0572050201804664"/>
          <zoom_level level="2" name="" description="" scale="999999.0" tile_width="0.6114405148831922" tile_height="0.6114405148831922"/>
          <zoom_level level="3" name="" description="" scale="199999.0" tile_width="0.12228761382373739" tile_height="0.12228761382373739"/>
       </zoom_levels>
    </map_tile_layer>Joao

  • Failure accessing WMS theme

    Hi to All,
    I'm trying to call a WMS with mapviewer (OC4J 10g)to add a Layer to an existing map, so as i've seen from documentation i've added a new theme to my maprequest:
    <theme name="WMS" >
    <wms_getmap_request isBackgroundImage="false" >
    <service_url>
    http://web.rete.toscana.it/sgrwms/com.rt.wms.RTmap?
    </service_url>
    <version>
    1.1.0
    </version>
    <format>
    image/png
    </format>
    <srs>
    EPSG:3003
    </srs>
    <bgcolor>
    0xFFFFFF
    </bgcolor>
    <transparent>
    true
    </transparent>
    <exceptions>
    application/vnd.ogc.se_inimage
    </exceptions>
    <layers>
    _idreg,idprov,idcomuni
    </layers>
    </wms_getmap_request>
    </theme>
    and i receive always a red message on my map witch say:
    Failure accessing WMS theme,
    am i missing something?
    To access external URL I need a proxy where I have to set url, port, userid and password.I've seen in my mapviewer config file "mapViewerConfig.xml" a tag "web_proxy" but i cannot set userid and password, only url and port.
    Could someone send me a real example of xml theme that works?
    Please help me,
    Thank U,
    Francesco

    Hi Francesco,
    I have the proxy information set on MapViewer configuration file, and was able to get the map with the following request (note that I changed the SRS to EPSG:4326).
    <?xml version="1.0" standalone="yes"?>
    <map_request
                 title="wms sample"
                 datasource = "mvdemo"
                 width="900"
                 height="450"
                 bgcolor="#a6cae0"
                 antialiase="false"
                 format="PNG_STREAM">
      <center size="2">
         <geoFeature  >
             <geometricProperty typeName="center">
                 <Point>
                     <coordinates>11, 43</coordinates>
                 </Point>
             </geometricProperty>
         </geoFeature>
      </center>
      <themes>
        <theme name="WMS" >
          <wms_getmap_request isBackgroundImage="false" >
          <service_url>
              http://web.rete.toscana.it/sgrwms/com.rt.wms.RTmap?
          </service_url>
          <version>
            1.1.0
          </version>
          <format>
           image/png
          </format>
         <srs>
          EPSG:4326
         </srs>
         <bgcolor>
            0xFFFFFF
         </bgcolor>
         <transparent>
           true
         </transparent>
         <exceptions>
            application/vnd.ogc.se_inimage
         </exceptions>
         <layers>
             _idreg,idprov,idcomuni
         </layers>
         </wms_getmap_request>
        </theme>
      </themes>
    </map_request>Edit MapViewer configuration file, then uncomment and set the <web_proxy> parameters. Save and restart MapViewer, then add data source "mvdemo" and run the request.
    Joao

  • WMS over SSL

    Hi,
    Does anyone know if it is possible to do WMS requests with mapviewer using SSL ? If yes can you post how to do it (or point me to the relevant documentation) ?
    I have read the doco and have not managed to see if it is supported or not supported.
    Cheers

    Hi,
    did you ever solve this problem?
    I've created serveral wms themes in MapBuilder. The themes using SSL are not displayed in the mapbuilders preview. When I copy the created GetMap-Request created by MapBuilder and paste it to a browser, i can see the requested map.
    This is what MapBuilder logs:
    31-Mar-2011 14:53:00 oracle.sdovis.SRS getOptimalQueryWindow
    FINEST: *** isGeodetic=false, unit=null
    31-Mar-2011 14:53:00 oracle.sdovis.LoadThemeData2 run
    FINER: LoadThemeData2 running thread: Thread-42
    31-Mar-2011 14:53:00 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    FINER: [Master scale] 306.2200956937799 [Theme scale factor] 1.0
    31-Mar-2011 14:53:00 oracle.sdovis.theme.WMSMapThemeProducer constructURL
    FINER: Added to URL. Version = 1.1.1 SRS = SOBE FORMAT = image/png BGCOLOR = 0xA6CAF0
    31-Mar-2011 14:53:00 oracle.sdovis.theme.WMSMapThemeProducer constructURL
    FINER: No VendorSpecificParameters defined
    31-Mar-2011 14:53:00 oracle.sdovis.theme.WMSMapThemeProducer prepareData
    FINEST: WMS map url: https://.... +[GetMapRequest]+
    31-Mar-2011 14:53:21 oracle.sdovis.util.Util readBinaryFromURL
    SEVERE: Connection timed out: connect
    java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
         at sun.net.www.http.HttpClient.New(HttpClient.java:306)
         at sun.net.www.http.HttpClient.New(HttpClient.java:323)
         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1177)
         at oracle.sdovis.util.Util.readBinaryFromURL(Util.java:244)
         at oracle.sdovis.theme.WMSMapThemeProducer.prepareData(WMSMapThemeProducer.java:436)
         at oracle.sdovis.WMSMapTheme.prepareData(WMSMapTheme.java:104)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:88)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2230)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2164)
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1708)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1673)
         at oracle.mapviewer.builder.control.DrawPanel$MapperThread.mapRun(DrawPanel.java:3063)
         at oracle.mapviewer.builder.control.DrawPanel$MapperThread.run(DrawPanel.java:2852)
    31-Mar-2011 14:53:21 oracle.sdovis.VisContext processDataError
    SEVERE: Exception loading WMS map image
    java.lang.NullPointerException
         at java.awt.Toolkit.createImage(Toolkit.java:1101)
         at oracle.sdovis.util.ImageUtils.blockingLoad(ImageUtils.java:114)
         at oracle.sdovis.util.ImageUtils.blockingLoad(ImageUtils.java:109)
         at oracle.sdovis.theme.WMSMapThemeProducer.prepareData(WMSMapThemeProducer.java:437)
         at oracle.sdovis.WMSMapTheme.prepareData(WMSMapTheme.java:104)
         at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:88)
         at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2230)
         at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2164)
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1708)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1673)
         at oracle.mapviewer.builder.control.DrawPanel$MapperThread.mapRun(DrawPanel.java:3063)
         at oracle.mapviewer.builder.control.DrawPanel$MapperThread.run(DrawPanel.java:2852)
    31-Mar-2011 14:53:21 oracle.sdovis.DBMapMaker renderEm
    INFO: **** time spent on loading features: 21060ms.
    31-Mar-2011 14:53:21 oracle.sdovis.RenderingEngine prepareForRendering
    FINEST: xfm: 0.3135 0.0 0.0 -0.3135 -4928.0 5956.5
    31-Mar-2011 14:53:21 oracle.sdovis.ScaleBarRenderer renderScaleBar
    WARNING: cannot render scale bar.
    31-Mar-2011 14:53:21 oracle.sdovis.DBMapMaker renderEm
    INFO: **** time spent on rendering: 0ms
    Thanks!
    Dominik
    Edited by: grueningd on Mar 31, 2011 3:03 PM

  • Timeouts in Tomcat

    Short version: What timeouts exist in Tomcat, and where do I set them? I've found a "connection timeout" which appears to be how long the server will wait from when a connection is first opened until you send the complete URL, and a "session timeout" which is how long the session will stay open without you sending another request. But I appear to by timing out inside my JSP code. Can I set this somewhere?
    Longer version: I'm working on an app where I want to upload a sizable file (65 MB) and use it to update a database. This would be a once-a-month mass update. I wrote the processing code and it appears to work just find when I use a file with just a hundred records or so, but when I send the full file, 400,000 records or thereabouts, I get a very generic servlet exception, which I'm guessing is because I'm timing out somewhere. But I can't find any parameters to control timeout intervals.

    I know there's something in server.xml -- I'm not sure if that's what you're looking for.
    If you open up your server.xml (in the conf folder under tomcat) & search for connectionTimeout. You might be able to increase that & set it so it doesn't time out. I believe setting it to 0 effectively means an infinite timeout interval.
    Hope this helps

  • Help!! wms and java api

    hi!, i`m newie on oracle, and i`m using mapviewer with java api but i have problems with the addWMSMapTheme function:
    Object vsp = new Object[]{new String[]{"DATASOURCE", "example"}, new String[]{"antialiasing", "true"}};
    mv.addWMSMapTheme("wmstheme","http://onearth.jpl.nasa.gov/wms.cgi?","false","1.1.1","BMNG","default","EPSG:4326","image/jpeg","false","0xFFFFFF","application/vnd.ogc.se_inimage", vsp);
    it return a exception (that the object vsp is not define).
    does i have to use the xml request?? how can do it??

    Hi,
    you can use the API which will generate and send the map request to MapViewer. Your vsp parameter looks strange. The following is a sample code that use the MVDEMO data set, just to give you an idea of the definition for vsp parameter.
        mapViewer.setImageFormat(MapViewer.FORMAT_PNG_URL);
        mapViewer.setDataSourceName("mvdemo");
        mapViewer.setCenterAndSize(-70.,44.,20.);
        mapViewer.setMapTitle("WMS");
        mapViewer.deleteAllThemes();
         Object []vsp = new Object[]{new String[]{"DATASOURCE", "mvdemo"}  };
         mapViewer.addWMSMapTheme("wms_theme", "http://localhost:7001/mapviewer/wms",
                                  new String[] {"THEME_DEMO_STATES"}, new String[] { "asdf"},
                                  "SDO:8265", "image/png","0xffffff", vsp);             
         System.out.println("Current request: " + mapViewer.getMapRequestString());    
         boolean response = mapViewer.run();
         if (response)
              double[] mbr = mapViewer.getMapMBR();
              System.out.println("mbr="+mbr[0]+","+mbr[1]+" "+mbr[2]+","+mbr[3]);
              System.out.println("URL: " + mapViewer.getGeneratedMapImageURL());
          }For you case, make sure the WMS server at http://onearth.jpl.nasa.gov/wms.cgi? is running and accepting requests. I tried a GetCapabilities request to this server, and got an exception message that the system was overloaded and not processing requests.
    Joao

  • Global mounting default timeout of 1min 30s

    I know that there are mount options in /etc/fstab to help control timeout for individual file system mounts, but I am not too fond of tinkering with /etc/fstab because it becomes less portable.  is there a system-wide way to change this 1:30 min mounting timeout parameter globally, applying to all mounts, that I can change?
    /iaw
    PS: I hope everyone has forgotten my embarrassing post yesterday.  long story.  I was not mentally ill.

    As mounting is just a service (edit: a systemd unit), I suspect you can't change this without affecting other services units (without using fstab options).  In some cases, setting too low of a timeout may make some services fail when they would actually complete eventually.  That said, I suspect that the following in /etc/systemd/system.conf are what you are looking for:
    #DefaultTimeoutStartSec=90s
    #DefaultTimeoutStopSec=90s
    EDIT: corrected terminology from "service" to "unit" as noted below - the point remains the same.
    Last edited by Trilby (2015-01-02 16:46:24)

  • JDeveloperStudio 10.3 -- ADF  Faces -- Too many components causes crash

    My page has finally gotten so complex that the stack overflows and the application just aborts. I can remove a couple of components and the page works fine. It doesn't seem to matter which components I remove; when I navigate to the page the following appears in my Embedded OC4J Server log.
    Debugger connection to debuggee process has been lost.
    Process exited.
    Debugger disconnected from local process.
    The MyPagejspx.java file is over 500K and the class file is about 110K. If I remove some components and get the total MyPagejspx.java file under 500K then the page works again.
    The page includes a lot of MapViewer navigation controls and a number of tables that are used to display and edit attribute data. Most of these tables include nested tables inside of their detailStamps. Rows in a table of streets have tables of sites. This is where things start to fail.
    Sometimes (but not always) I get a message that tells me that could not find the StackOverflowError class so I have tried adding a -Xss1024k option to my Java options but this didn't help; neither did -Xss2048k.
    I am highly confident that the problem is not caused by the code itself as I can remove any panelGroup or panelForm set on the page and it works. I put any back and it fails. It is just too many components. Everything compiles fine but JDeveloper just disconnects from the application when the page is opened.
    So ... any ideas of what I might do to continue developing this page or do I have to break my application into more pages (not what the users want).
    Thanks, Mark

    This was easy enough to do without bothering with any database or tables. I created a bottom level include jspx as follows:
    Include-0.jspf
    <af:panelBox text="Bottom include file has 3 panelForms" >
      <af:panelHorizontal>
        <af:panelForm rows="1" maxColumns="1">
          <af:inputText label="Lorem ipsum" rows="3" wrap="true" readOnly="true"
                        value="Proin orci. Suspendisse cursus lobortis magna. Vivamus id tortor. Phasellus consectetuer, quam sit amet laoreet ultrices, tortor leo aliquet turpis, ut elementum nisi eros et nisl."    
                        />
          <af:inputText label="Lorem ipsum" rows="3" wrap="true" readOnly="true"
                        value="Proin orci. Suspendisse cursus lobortis magna. Vivamus id tortor. Phasellus consectetuer, quam sit amet laoreet ultrices, tortor leo aliquet turpis, ut elementum nisi eros et nisl."    
                        />
          <af:inputText label="Lorem ipsum" rows="3" wrap="true" readOnly="true"
                        value="Proin orci. Suspendisse cursus lobortis magna. Vivamus id tortor. Phasellus consectetuer, quam sit amet laoreet ultrices, tortor leo aliquet turpis, ut elementum nisi eros et nisl."    
                        />
        </af:panelForm>
        <af:panelForm rows="1" maxColumns="1">
          <af:inputText label="Lorem ipsum" rows="3" wrap="true" readOnly="true"
                        value="Proin orci. Suspendisse cursus lobortis magna. Vivamus id tortor. Phasellus consectetuer, quam sit amet laoreet ultrices, tortor leo aliquet turpis, ut elementum nisi eros et nisl."    
                        />
          <af:inputText label="Lorem ipsum" rows="3" wrap="true" readOnly="true"
                        value="Proin orci. Suspendisse cursus lobortis magna. Vivamus id tortor. Phasellus consectetuer, quam sit amet laoreet ultrices, tortor leo aliquet turpis, ut elementum nisi eros et nisl."    
                        />
          <af:inputText label="Lorem ipsum" rows="3" wrap="true" readOnly="true"
                        value="Proin orci. Suspendisse cursus lobortis magna. Vivamus id tortor. Phasellus consectetuer, quam sit amet laoreet ultrices, tortor leo aliquet turpis, ut elementum nisi eros et nisl."    
                        />
        </af:panelForm>
        <af:panelForm rows="1" maxColumns="1">
          <af:inputText label="Lorem ipsum" rows="3" wrap="true" readOnly="true"
                        value="Proin orci. Suspendisse cursus lobortis magna. Vivamus id tortor. Phasellus consectetuer, quam sit amet laoreet ultrices, tortor leo aliquet turpis, ut elementum nisi eros et nisl."    
                        />
          <af:inputText label="Lorem ipsum" rows="3" wrap="true" readOnly="true"
                        value="Proin orci. Suspendisse cursus lobortis magna. Vivamus id tortor. Phasellus consectetuer, quam sit amet laoreet ultrices, tortor leo aliquet turpis, ut elementum nisi eros et nisl."    
                        />
          <af:inputText label="Lorem ipsum" rows="3" wrap="true" readOnly="true"
                        value="Proin orci. Suspendisse cursus lobortis magna. Vivamus id tortor. Phasellus consectetuer, quam sit amet laoreet ultrices, tortor leo aliquet turpis, ut elementum nisi eros et nisl."    
                        />
        </af:panelForm>
      </af:panelHorizontal>
    </af:panelBox>I included this in another jspf file
    Include-1.jspf
    <af:panelBox text="Include-1.jspf includes Include-0.jspf 5 times.">
      <jsp:directive.include file="/Include-0.jspf" />
      <jsp:directive.include file="/Include-0.jspf" />
      <jsp:directive.include file="/Include-0.jspf" />
      <jsp:directive.include file="/Include-0.jspf" />
      <jsp:directive.include file="/Include-0.jspf" />
    </af:panelBox>I include that in another jspf
    Include-2.jspf
    <af:panelBox text="Include-2.jspf includes Include-1.jspf 5 times.">
      <jsp:directive.include file="/Include-1.jspf" />
      <jsp:directive.include file="/Include-1.jspf" />
      <jsp:directive.include file="/Include-1.jspf" />
      <jsp:directive.include file="/Include-1.jspf" />
      <jsp:directive.include file="/Include-1.jspf" />
    </af:panelBox>And that was references by my jspx page.
    TooManyComponents.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces" xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
      <jsp:text>
        <![CDATA[ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> ]]>
      </jsp:text>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:script source="/jscript/view_tools.js"/>
        <af:document rendered="false">
          <af:form id="notloggedin">
            <af:panelPage title="This never happens but it mirrors my problem layour">
              <jsp:directive.include file="header.jspf"/>
              <af:commandMenuItem text="You are not logged in.  Please click this message to be re-directed to the Login Page" action="login"/>
            </af:panelPage>
          </af:form>
        </af:document>
        <af:document rendered="true">
          <af:form id="loggedin">
            <af:panelPage title="Too much of a good thing?">
              <jsp:directive.include file="/header.jspf"/>
              <jsp:directive.include file="/Include-2.jspf" />
            </af:panelPage>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>This particular setup yeilded me the following error
    Fatal error: Cannot find class java/lang/StackOverflowError
    Process exited.
    Debugger disconnected from local process.If I put a second <jsp:directive.include file="/Include-2.jspf" /> in my jspx file I get the following compile time error.
    Error: code segment of method _jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) too largeIf I remove one of the jsp:include directives from my Include-1.jspf so that it reads as follows:
    <af:panelBox text="Include-1.jspf includes Include-0.jspf 4 times.">
      <jsp:directive.include file="/Include-0.jspf" />
      <jsp:directive.include file="/Include-0.jspf" />
      <jsp:directive.include file="/Include-0.jspf" />
      <jsp:directive.include file="/Include-0.jspf" />
    </af:panelBox>The application works.
    I took all the JDeveloperStudio defaults for creating my project. I can send you a War file if you let me know where to send it.
    Thanks, Mark

  • OracleAS - NULL ProviderSession after 15 minutes (Using Oracle PDK Portlet)

    We have recently deployed an oracle pdk portlet java application (developed in JDeveloper 10.1.2.1) to an OC4J on a server running OracleAS 10g (9.0.4).
    We are currently facing issues where our ProviderSession becomes null after 15 minutes.
    In our jsp's we implement the following:
    PortletRenderRequest pReq = (PortletRenderRequest) request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    ProviderUser pUser = pReq.getUser();
    ProviderSession pSession = pUser.getSession(false); In our provider.xml file within our JDeveloper project/portlet we have set the following tag: <session>true</session>. In the provider itself, under the User/Session Information section, we have selected the User option, set the Login Frequency to Once Per Session and checked the box labeled 'Require portal user specific session information'.
    In our web.xml file within our JDeveloper project/portlet we have set the following tag: <session-config><session-timeout>35</session-timeout></session-config>
    As long as we stay within our portlet we don't seem to lose our ProviderSession, but after 15 minutes, if we try to access the portal page (to switch the language on the page for instance) the ProviderSession is null. This operation always works when we are under this 15 minute limit.
    We have tried to change opmn.xml (increasing OC4J start timeout from 900 seconds to 1200 seconds),
    modplsql conf (PlsqlIdleSessionCleanupInterval, changed from 15 to 30 minutes) and we have also tried disabling the Global Inactivity Timeout variables, but no luck as of yet.
    Any help would be much appreciated !
    Thanks

    HI
    i am also facing same problem with session but in simple portlet with ajax implementation.
    i am setting session in portlet jsp with following code using oracle application server portal 10g.
    (here portlet jsp means which is included from portlet.)
    session.setAttribute("map",map);(here session is implicit object )
    i want to call ajax jsp from portlet jsp with below code.(i.e setting session in portlet jsp and accessing in ajax jsp)
    var url = "<%=renderRequest.getContextPath()%>/AjaxProcessRequest.jsp?q=" + random;
    var pars = '&namespace=<portlet:namespace/>' +'&imagesPath=' + '<%=imagesPath%>';
    var myAjax = new Ajax.Updater(
    {success: 'emailbody'},
    url,
    method: 'get',
    parameters: pars,
    onFailure: reportError,
    evalScripts: true
    i am accessing map object from session in my AjaxProcessRequest.jsp as shown in below code.
    Map map=(Map)session.getAttribute("map"); (here session is implicit object )
    here map object is getting null from session.
    Please help on this if u know about this session.
    Regards
    Raju

  • Raster not Displaying correctly in Mapbuilder but OK in GeoRasterViewer

    Hi, I have sucessfully imported a jpg2 raster using Lizard tech's spatial express, I can view it in the Oracle GeoRasterViewer tool. When I go to construct a raster theme using Mapbuilder I get the error below.
    -------------------------- Stackdump
    INFO [oracle.sdovis.DBMapMaker] clearing internal theme list and cache
    FINEST [oracle.sdovis.SRS] *** isGeodetic=false, unit=METER
    DEBUG [oracle.sdovis.ltd] LoadThemeData running thread: Thread-15
    DEBUG [oracle.sdovis.theme.grtp] [Master scale] 3493.0022451199998 [Scale factor for theme MELBOURNE] 1.0
    INFO [oracle.sdovis.theme.grtp] Screen resolution: 36.38544005333136
    DEBUG [oracle.sdovis.theme.grtp] [Query] select grt.GEORASTER from GEORASTER_TABLE grt where grt.GEORASTER.rasterid = 1
    FINEST [oracle.sdovis.theme.grtd] Computing resolution...
    FINEST [oracle.sdovis.theme.grtd] Res X: 0.34999999997671694 Res Y: 0.35000000055879354 Pyramidlevel: 0
    FINEST [oracle.sdovis.theme.grtd] Pyramid level: 7 GeoRaster: 1 for screen resolution: 36.38544005333136
    DEBUG [oracle.sdovis.theme.grtp] ULT offset: 0,0
    FINEST [oracle.sdovis.theme.grtd] Res X: 44.79999999701977 Res Y: 44.800000071525574 Pyramidlevel: 7
    FINEST [oracle.sdovis.theme.grtp] GeoRaster Dimension: width= 4287.0 height= 7096.0
    DEBUG [oracle.sdovis.theme.grtp] [DimX] 32[DimY] 54
    FINEST [oracle.sdovis.theme.grtd] getCellCoordinate query: SELECT sdo_geor.getCellCoordinate(grt.GEORASTER,7,sdo_geometry(2001,82410,sdo_point_type(319380.195,5813676.80500001,null), null,null)) coord FROM GEORASTER_TABLE grt WHERE grt.GEORASTER.rasterid = 1 and grt.GEORASTER.rasterdatatable = 'RASTER_DATA_TABLE'
    FINEST [oracle.sdovis.theme.grtd] Row:-1 Column: 0
    DEBUG [oracle.sdovis.theme.grtp] Upper Left Cell for Upper left Spatial Extent: (-1,0)
    FINEST [oracle.sdovis.theme.grtd] getCellCoordinate query: SELECT sdo_geor.getCellCoordinate(grt.GEORASTER,7,sdo_geometry(2001,82410,sdo_point_type(304717.62313741335,5813806.753,null), null,null)) coord FROM GEORASTER_TABLE grt WHERE grt.GEORASTER.rasterid = 1 and grt.GEORASTER.rasterdatatable = 'RASTER_DATA_TABLE'
    FINEST [oracle.sdovis.theme.grtd] Row:-3 Column: -328
    FINEST [oracle.sdovis.theme.grtd] getCellCoordinate query: SELECT sdo_geor.getCellCoordinate(grt.GEORASTER,7,sdo_geometry(2001,82410,sdo_point_type(335536.0908625867,5811077.844996,null), null,null)) coord FROM GEORASTER_TABLE grt WHERE grt.GEORASTER.rasterid = 1 and grt.GEORASTER.rasterdatatable = 'RASTER_DATA_TABLE'
    FINEST [oracle.sdovis.theme.grtd] Row:58 Column: 360
    DEBUG [oracle.sdovis.theme.grtp] Calling JGeoRaster.getRasterImage - area: 0 , 0 , , 32 , 54
    DEBUG [oracle.sdovis.theme.grtp] End of JGeoRaster.getRasterImage call.
    FINEST [oracle.sdovis.theme.grtp] # image loaded: 1
    INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 109ms.
    FINEST [oracle.sdovis.RE] xfm: 0.027483520840594813 0.0 0.0 -0.027483520840594813 -8374.713145993615 159783.87905926636
    FINEST [oracle.sdovis.RE] rendering image theme: MELBOURNE
    FINEST [oracle.sdovis.ImageRenderer] image ground mbr=319380.195,5811212.804996076 320858.59499990166,5813676.80500001
    FINEST [oracle.sdovis.ImageRenderer] image width: 33, height:55
    FINEST [oracle.sdovis.ImageRenderer] rendering image at: 402, 3
    DEBUG [oracle.sdovis.ImageRenderer] Rendered Image is buffered image.
    ERROR [oracle.sdovis.ImageRenderer] java.awt.image.ImagingOpException: Unable to transform src image
         at java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:263)
         at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:303)
         at sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:108)
         at sun.java2d.pipe.DrawImage.scaleImage(DrawImage.java:770)
         at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2729)
         at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2682)
         at oracle.sdovis.ImageRenderer.renderGeoRasterImage(ImageRenderer.java:426)
         at oracle.sdovis.ImageRenderer.renderGeoRasterTheme(ImageRenderer.java:318)
         at oracle.sdovis.ImageRenderer.render(ImageRenderer.java:132)
         at oracle.sdovis.RenderingEngine.render(RenderingEngine.java:260)
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1464)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1638)
         at oracle.mapviewer.builder.control.DrawPanel$MapperThread.mapRun(DrawPanel.java:1025)
         at oracle.mapviewer.builder.control.DrawPanel$MapperThread.run(DrawPanel.java:938)
    DEBUG [oracle.sdovis.VectorRenderer] time to render theme MELBOURNE with 1 styled features: 0ms
    INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 16ms
    So my question is why can I see my raster via GeoRasterViewer but not Mapbuilder?
    I have read in earlier posts that the traceback above could be the result of the missing files jai_core.jar and jai_codec.jar but I start my mapbuilder with the following command to ensure they exist in the classpathwith no sucess.
    There may be a few too many jars in the classpath below but I copied this list from the rasterviewer just to cover all bases.
    C:\oracle\product\10.2.0\db_1\jdk\bin\java -Xmx256m -cp C:\oracle\product\10.2.0\db_1\lib\xmlparserv2.jar;C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar;C:\oracle\product\10.2.0\db_1\md\lib\sdoapi.jar;C:\oracle\product\10.2.0\db_1\md\lib\sdotopo.jar;C:\oracle\product\10.2.0\db_1\md\lib\sdoutl.jar;C:\oracle\product\10.2.0\db_1\md\lib\sdotype.jar;C:\oracle\product\10.2.0\db_1\ord\jlib\jai_core.jar;C:\oracle\product\10.2.0\db_1\ord\jlib\jai_codec.jar;C:\oracle\product\10.2.0\db_1\rdbms\jlib\xdb.jar;C:\oracle\product\10.2.0\db_1\md\demo\georaster\java\georaster_tools.jar -jar mapbuilder.jar
    I have also tried starting mapbuilder like this, but with no more luck...
    java -Xmx256m -cp C:\oracle\product\10.2.0\db_1\ord\jlib\jai_core.jar;C:\oracle\product\10.2.0\db_1\ord\jlib\jai_codec.jar -jar mapbuilder.jar
    Any help would be greatly appreciated,
    Rowie..
    Message was edited by:
    Rowie

    Hi Rowie,
    the error is not related with missing jai files (MapBuilder has these classes packaged on the single jar). In this case you can see the error that the image is not transformed during rendering.
    ERROR [oracle.sdovis.ImageRenderer] java.awt.image.ImagingOpException: Unable to transform src image
    It seems that the way MapViewer/MapBuilder render the image, is not supporting the
    GeoRaster generated.
    Which version of the GeoRasterViewer are you using to see the image?
    Is it possible to have a dump file of this GeoRaster, so we can reproduce the error? How big is it?
    Please post your email address in case we need to contact you.
    Thanks.
    Joao

  • What is the difference btw Oracle bpm 10gr3 vs albpm 6.0.5 version

    What is the difference btw Oracle bpm 10gr3 vs albpm 6.0.5 version
    Are the build number common to them?

    Projects built in ALBPM 6.0 can be used directly in Oracle BPM 10g, but the reverse is not true.
    It's sometimes thought that Oracle BPM 10g was just a relabeling of the predecessor BEA product ALBPM. This is not the case.
    In Studio, standards are better supported:
    <li> By default, new processes now use horizontal swim-lanes. You can change the swim-lanes orientation individually for each process. You can define the default orientation for each project and for your Studio installation.
    <li> It uses more sophisticated BPMN icons. BPMN is the new default process diagram theme. BPMN constructs now include Gateways (AND, OR (new in 10g), XOR, Multiple Instance (previously Split-N)). A new Timer event was added. Loop conditions for automatic activities and groups were added.
    <li> Studio now supports Mac/OS 10.4 Tiger and Mac/OS 10.5 Leopard.
    <li> Studio now supports Windows Vista.
    <li> Studio now supports CVS and Subversion version control systems.
    <li> The Studio UI incorporates Eclipse 3.3 improvements such as the following:
    <li> New Minimize/Maximize behavior: When minizing view stacks in Studio, the view icons are placed on the nearest trim area. If a view is maximized, all other views are minimized, rather than hidden.
    <li> Interactive tasks provide a new "previewable" property. The new Application Display Panel and Task Execution Panel of WorkSpace automatically start the execution of previewable tasks without locking the process instance. Enabled by default for Dashboards.
    <li> New type of Activity: Time Activity. A process instance that arrives to this activity just sits idle until a timed event occurs.
    <li> Option Process Notification Immediately on Termination Wait activities has been deprecated. Now both the Wait activity and the first activity in the interruption flow always execute in the same transaction.
    <li> Although I'm not wild about it, there is an auto-layout feature re-arranges all visual elements of a process diagram automatically, minimizing superpositions and aligning the flow as much as possible. Only available for processes with horizontal lane orientation.
    <li> New process property (Greedy Execution Mode) indicates the Process Execution Engine to collapse contiguous automatic tasks in a single transaction. This mode of execution provides better performance for some processes. Disabled by default.
    <li> A new Process-Level debugger allows developers to introduce breakpoints and debug complete processes running in Studio. When the execution reaches a breakpoint, the Engine pauses and Studio's debugging view appears. You can inspect variables, add new breakpoints, resume and continue execution.
    User Interface
    <li> The Business Analyst and Business Architect profiles provide a simpler set of menu options and toolbars.
    <li> New editor for BPM Object Presentations. It's easier to use, provides a WYSIWYG drag and drop interface, improved CSS support and a new Drag & Drop toolbar.
    <li> You can now interrupt a running Simulation started with the Run to the End button.
    <li> New BETWEEN operator added to Business Rules editor (on both Studio and WorkSpace). This operator works with Time and numeric types.
    <li> The Documentation View now displays read-only documentation for the standard Fuego.* components.
    <li> New on-line help book Oracle BPM Components Reference provides reference documentation for the standard Fuego.* components. Only available for the developer profile.
    <li> This version introduces Project Dependency, which allows you to re-use components and role definitions from a common base project.
    In the WorkSpace:
    <li> WorkSpace has an edit mode which allows users to change and save the configuration and layout of panels.
    <li> A new tabbed interface allows you to define multiple pages, each with its own set of panels. You can export the layout configuration to an XML file and re-import it on a different environment or as a different user. Administrators can define layouts for all users in a certain Role.
    <li> You can export the data in the Worklist panel to a PDF or CSV
    <li> You can see an OOTB chart representation of the distribution of items in the Worklist panel.
    <li> WorkSpace includes the following new panels: Task Panel: Renders the execution of interactive tasks within the panel, instead of using the default modal dialogs. Dashboard Display Panel: Provides a way to display Dashboards within a Panel. View Chart Panel: Provides predefined graphical reports about process performance, work items distributions and workload. Application Panel: This panel contains an application (the execution of a Global Interactive). Applications can respond to work item selections or run independently.
    <li> The user can now do re-assignment operations on multiple instances at once.
    <li> The Business Rules editor shows additional auditing information, including who and when a rule was modified.
    <li> WorkSpace now (optionally) stores session-specific information as client-side cookies. This allows load-balancing on a cluster environment without affecting the user experience.
    Integration:
    <li> New timeout property added to external resources of type HTTP Server. Use this setting to control timeouts on web service invocations.
    <li> Authentication information added to external resources of type JMS (Java Messaging System)
    <li> Processes exposed as Web Services can now provide a runProcess operation, which synchronously executes the complete process (from begin to end). Only meaningful on fully automated processes.
    Enterprise:
    <li> New Ant tasks to rebuild the Oracle BPM web applications for container-security.
    <li> Configuration Wizard adds option Generic JNDI to the list of available LDAP servers. When using this option, you must provide a custom configuration file defining the mapping of object classes, attributes and filters. This new feature is also the new mechanism for integrating with AquaLogic Interaction 6.5, replacing the old Identity Service.
    <li> Configuration Wizard can now be run without user interaction ("silent mode"). You specify all configuration values in an XML file.
    <li> Oracle BPM client applications (including WorkSpace, PAPI-WS and custom PAPI apps) are now able to connect to multiple environments (BPM Directories) simultaneously.
    <li> Added Sybase as a new provider for the Engine database and BPM Directory database.
    <li> More information added for auditing of Business Rules, including who and when a rule was modified.
    <li> Updated bundled JDBC drivers to their latest version.
    <li> The Engine now logs warning messages when it detects rogue threads. A new preference allows the administrator to disable automatic re-starts when the Maximum Number of Rogue Component Executions is reached. In addition, in the case of an automatic re-start the Engine now logs a complete thread dump.
    <li> Simplified procedures for deploying BPM WorkSpace on WebLogic Portal. BPM Process Administrator now generates the WorkSpace EAR file as a WLP library module.
    <li> Authentication information added to external resources of type JMS (Java Messaging System).
    Dan

Maybe you are looking for