Jdeveloper 9i Embedded OC4J Connection

In the Connection Wizard's Connection Panel, there is a Target Web Site field to fill. The default is http-web-site. If I use the embedded OC4J which is in the same machine as the Jdeveloper, what should I use?
Thanks
Scott

The output from the "Run" command for a servlet is"
C:\PublicDownLoads\Oracle\JDev_9.0.3_New\jdk\bin\javaw.exe -ojvm -classpath C:\PublicDownLoads\Oracle\JDev_9.0.3_New\j2ee\home\oc4j.jar -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true com.evermind.server.OC4JServer -config C:\PublicDownLoads\Oracle\JDev_9.0.3_New\jdev\system9.0.3.1035\oc4j-config\server.xml"
Which DEOS NOT have many of my classpath settings(from "Libraries" and "Additional classpath"). What script is ran when one says "Run" in JDev? I like to add to the above classpath(BTW, works fine for an APP). I couldn't find any info in "oc4j-config" sub-dir of the "J2EE/home" of the install.

Similar Messages

  • How to set up data source for JDeveloper's embedded OC4J Server?

    Help needed. I Created a BMP EJB and tried to test
    it with JDeveloper's( version 9.0.3) embedded
    OC4J server. For JDBC, I created a data source
    in data-source.xml lacated in JdeveloperHome\j2ee\home\config. However,
    when I run the test client. I got the error
    from JNDI lookup:
    java.rmi.RemoteException: jdbc/entdatasource not found
    Could anybody with similar experience help?
    Thank you in advance.
    -John Wang

    Try making your changes in the data-source.xml located @ JDev_root\jdev\system9.0.3.1035\oc4j-config.
    You can tell that this is the one to be modified by watching the log when you start the OC4J server. Look for the line that says C:\JDEV\JDK\bin\javaw.exe -ojvm -classpath . . .
    the -config option will point to where the server.xml is used from, the same dir should be where you get your data-source.xml

  • Error in Embeded OC4J while deploying SessionBean

    I am using Jdeveloper version 9.0.5.1, since the project have brought to production at 2004, I have been using the same version.
    The workspace a number of project each contains a number of entity and session beans(EJB 2.0), lately I added a new project which contains a new session bean that references another session bean and an entity bean, when I attempt to run the application in the Jdeveloper the embedded OC4J returns the following errors messages:
    07/07/11 21:15:17 Copying default deployment descriptor from archive at D:\<Pathes>/META-INF/orion-ejb-jar.xml to deployment directory D:\TraineeCD\JDeveloper\jdev\system9.0.5.1.1605\oc4j-config\application-deployments\current-workspace-app\classes...
    07/07/11 21:15:18 Auto-deploying - file:/D:/TraineeCD/JDeveloper/jdev/mywork07/07/11 21:15:17 Copying default deployment descriptor from archive at D:\JDeveloper\jdev\mywork\<Pathes>classes/META-INF/orion-ejb-jar.xml to deployment directory D:\TraineeCD\JDeveloper\jdev\system9.0.5.1.1605\oc4j-config\application-deployments\current-workspace-app\classes...
    07/07/11 21:15:18 Auto-deploying - file:/D://JDeveloper/jdev/mywork/<Path>/classes/ (No previous deployment found)...
    07/07/11 21:15:19 Auto-deploying - file:/D://JDeveloper/jdev/mywork/<Path>/classes/ (No previous deployment found)...
    07/07/11 21:15:19 Auto-deploying - file:/D:/TraineeCD/JDeveloper/jdev/mywork/<Pathes>
    07/07/11 21:03:27 Auto-deploying - compiling and loading...
    07/07/11 21:03:53 SQL error: Io exception: The Network Adapter could not establish the connection
    07/07/11 21:04:21 Error creating table: Io exception: The Network Adapter could not establish the connection
    07/07/11 21:04:35 SQL error: Io exception: The Network Adapter could not establish the connection
    07/07/11 21:04:49 done.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 101828 ms.
    07/07/11 21:04:53 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    I dont know what is the meaning of this error, nor what is the cause as it never appeared before. Surprisingly the behaviour of the application seems to be behaving normally even though despite this error and when the Oc4J returns done does this mean it started successfully, this error is preventing me from deploying my application to production environment as I guess there's something abnormal going around.
    Note:When I get a fresh copy of the application without the new project which contain the session bean the OC4J starts with no errors.
    Any ideas what maybe the problem ?

    Is your new project trying to access the database?
    SQL error: Io exception: The Network Adapter could not establish the connection
    Seems to indicate that you have a problem accessing the database probably due to wrong settings of the database connection information.
    Also check your data-sources.xml file for any new entries.

  • DBSystemLoginModule  at Embeded oc4j server

    I followed step Frank's document.
    I would like to login with Oracle connection userid and password.
    So I chosed "DBSystemLoginModule".
    I modified "application.xml", "system-jazn-data.xml".
    and then I ran my application.
    I got a 403 Forbidden.
    But my log message was like be sucessed as like below.
    I have other question.
    Do I need to modify data-source.xml for information of users?
    And when I edit web.xml for J2EE security, do I have to use role from "select ROLE from SESSION_ROLES"?
    Please help me again!
    ---------------------------< log message >---------------------------------------------
    07/02/06 14:30:43 [DBSystemLoginModule] option debug = true
    07/02/06 14:30:43 [DBSystemLoginModule] option jdbc Url = jdbc:oracle:thin:@dell1300:1521:dev
    07/02/06 14:30:43 [DBSystemLoginModule] option jdbc Class= oracle.jdbc.driver.OracleDriver
    07/02/06 14:30:43 [DBSystemLoginModule] option log level = log all
    07/02/06 14:30:43 [DBSystemLoginModule] option logger class = null
    07/02/06 14:30:43 [DBSystemLoginModule] login called on DBSystemLoginModule
    07/02/06 14:30:43 [DBSystemLoginModule] Calling callbackhandler ...
    07/02/06 14:30:43 [DBSystemLoginModule] Attempting connection: jdbc:oracle:thin:@dell1300:1521:dev username: sdc password: **************
    07/02/06 14:30:44 [DBSystemLoginModule] Authentication succeeded
    07/02/06 14:30:44 [DBSystemLoginModule] DBUser Principal Name: sdc
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_WEB_PRIV
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: JAVA_DEPLOY
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: JAVASYSPRIV
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: JAVAUSERPRIV
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: CTXAPP
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: CONNECT
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_MONITORER
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: DBA
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SELECT_CATALOG_ROLE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: HS_ADMIN_ROLE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: EXECUTE_CATALOG_ROLE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: DELETE_CATALOG_ROLE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: EXP_FULL_DATABASE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: IMP_FULL_DATABASE
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: JAVA_ADMIN
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: GATHER_SYSTEM_STATISTICS
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_RESTRICT
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_WEB
    07/02/06 14:30:44 [DBSystemLoginModule] DBRole Principal Name: SDC_USER
    07/02/06 14:30:44 [DBSystemLoginModule] Logon Successful = true
    07/02/06 14:30:44 [DBSystemLoginModule] Subject contains 0 Principals before auth
    07/02/06 14:30:44 [DBSystemLoginModule] Local LM commit succeeded
    07/02/06 14:30:44 [DBSystemLoginModule] Subject contains 20 Principals after auth
    07/02/06 14:30:44 [DBSystemLoginModule] Cleaning internal state!
    Message was edited by:
    sdcsdc

    Hi,
    Can any one guide me and help in configuring a custom jaas loginmodule in embedded oc4j? Thanks in advance.
    I need to use Oracle DB user & roles for authentication and authorization for my j2ee application. I followed all the steps given in Franks document in URL http://www.oracle.com/technology/products/jdev/howtos/10g/jaassec/index.htm
    I just changed DBProcLoginModule defined in the article's example to DBSystemLoginModule. Ofcourse, I used specific jazn command defined for DBSystemLoginModule to generate entires in jazn-data.xml. But it had no effect when I ran the application and login with db user name password. Authentication fails and my debug log shows that the custom login module is not getting invoked at all. I have FORM based authentication with the roles & constraints defined properly in web.xml and orion-web.xml where default oc4j authentication with admin/welcome works perfect. (I also have an entry for a role defined in oracle db in the web.xml & orion-web.xml files)
    Also, I referred URL http://technology.amis.nl/blog/?p=1462 and added <property name="custom.loginmodule.provider" value="true"/> to <jazn provider="XML" in application.xml. When I tried running the application and deploy the module I am getting the following exception and deployment fails.
    * I am using JDeveloper with embedded oc4j 10.1.2.
    * I havent used password redirection mentioned in Frank's document for now.
    Error: Unexpected error during lookup : Lookup error: javax.naming.AuthenticationException: Invalid username/password for default (admin); nested exception is:
         javax.naming.AuthenticationException: Invalid username/password for default (admin)
    Exit status of OC4J admin tool (-deploy): 1
    java.lang.NullPointerException
         at oracle.jdevimpl.deploy.Oc4jRemoteAdmin.getServerVersion(Oc4jRemoteAdmin.java:57)
         at oracle.jdevimpl.deploy.Oc4jCommandLine.deployEar(Oc4jCommandLine.java:231)
    .. so on.
    Here is my entry for jazn-loginconfig in jazn-data.xml where webapp is my application name defined in deployment profile
    <jazn-loginconfig>
         <application>
              <name>oracle.security.jazn.tools.Admintool</name>
              <login-modules>
                   <login-module>
                        <class>oracle.security.jazn.realm.RealmLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>debug</name>
                                  <value>false</value>
                             </option>
                             <option>
                                  <name>addAllRoles</name>
                                  <value>true</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application>
         <application>
              <name>webapp</name>
              <login-modules>
                   <login-module>
                        <class>oracle.sample.dbloginmodule.DBSystemLM.DBSystemLoginModule</class>
                        <control-flag>required</control-flag>
                        <options>
                             <option>
                                  <name>debug</name>
                                  <value>true</value>
                             </option>
                             <option>
                                  <name>jdbcDriver</name>
                                  <value>oracle.jdbc.driver.OracleDriver</value>
                             </option>
                             <option>
                                  <name>logger_class</name>
                                  <value>oracle.sample.dbloginmodule.util .ScreenLoggerImpl</value>
                             </option>
                             <option>
                                  <name>jdbcUrl</name>
                                  <value>jdbc:oracle:thin:@oradbhost:1521:orasid</value>
                             </option>
                             <option>
                                  <name>log_level</name>
                                  <value>ALL</value>
                             </option>
                        </options>
                   </login-module>
              </login-modules>
         </application></jazn-loginconfig>

  • Is there a way to specifiy memory size usage in embedded OC4J?

    I'm using JDeveloper 9.0.3 and am having a problem with
    EJB's not being created at a certain point in my application. I can create EJBs fine up to a certain point then I start to get java.rmi.RemoteException's, even when i try to create the exact same type of EJB's that were successfully created earlier. I can't figure out why this could start happening unless I've reached some sort of memory usage limit. Is there a way to check if this could be the problem, and if so, is there a property I could set to increase the memory usage?

    Jason,
    For your information, you can define a limit on the number of EJB instances created via the "orion-ejb-jar.xml" deployment descriptor file. See that file's DTD for more details.
    As regards increasing memory, I do this via the "-Xmx" option to the java command -- when using stand-alone OC4J. Sorry, but I don't use "JDeveloper", so I can't tell you how to increase the memory for "JDeveloper"'s embedded OC4J server. Have you tried the JDeveloper and ADF forum?
    Good Luck,
    Avi.

  • XML parser in embedded OC4J

    How can I add option to embedded OC4J, so it will take the xml parser I specified.
    example as following.
    -Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser
    Where I can setup in Jdeveloper?
    or is some property files?

    You can set options on JDeveloper's embedded OC4J from the Tools menu option "Embedded OC4J Server Preferences". You can read the documentation on this in JDeveloper's online help from within the product or at
    http://helponline.oracle.com/jdeveloper/help/state?navSetId=jdeveloper&navId=4&vtTopicId=&vtTopicFile=jdeveloper/deploying/embedded_oc4j/eos_p_prefs.html
    -SteveA

  • Missing tag class on 10.1.3 but not in JDev embedded oc4j

    I have a JSP 2.0 application created with a few custom tag files in web-inf/tags. The app runs fine within Jdeveloper's embedded oc4j (10.1.3). After deploying the EAR of this application to a 10.1.3 app server, everything works fine except in the way the server compiles the tag files. It puts them in the wrong folder!
    It puts the _tags directory in this folder:
    C:\Oracle\product\10.1.3\OracleAS_1\j2ee\FastConnect\application-deployments\FastConnect\FastConnect\persistence\_tagfiles\_nullweb_2d_inf
    When I manually copy the tags up one directory, the app works and I do not get a missing class error. What is telling my app server to put the generated tag file classes in this nullweb_2d_inf folder?

    repost

  • How do I make embedded OC4J use IBM Db2 schema mapping

    I am using JDeveloper 903 with a datasource which happens to be of type IBM DB2. Whenever, I try to deploy and test an entity bean from withinn JDeveloper, the embedded OC4J seems to be using a different database schema mapping scheme than what is required by IBM DB2. As a result of this OC4J tries to autocreate tables with wrong syntax and obviously fails. Can somebody tell me how do I get things setup correctly.
    TIA
    Vimal

    Magnus,
    The optimizations related to efficiently supporting overflow-style caching are not included in Coherence 3.5. I created COH-2338 and COH-2339 to track the progress of the related issues.
    There are four different implementations of the PartitionAwareBackingMap for Coherence 3.5:
    * PartitionSplittingBackingMap is the simplest implementation that simply partitions data across a number of backing maps; it is not observable.
    * ObservableSplittingBackingMap is the observable implementation; it extends WrapperObservableMap and delegates to (wraps) a PartitionSplittingBackingMap.
    * ObservableSplittingBackingCache is an extension to the ObservableSplittingBackingMap that knows how to manage ConfigurableCacheMap instances as the underlying per-partition backing maps; in other words, it can spread out and coalesce a configured amount of memory (etc.) across all the actual backing maps.
    * ReadWriteSplittingBackingMap is an extension of the ReadWriteBackingMap that is partition-aware.
    The DefaultConfigurableCacheFactory currently only uses the ObservableSplittingBackingCache and the ReadWriteSplittingBackingMap; COH-2338 relates to the request for improvement to add support for the other two implementations as well. Additionally, optimizations to load balancing (where overflow caching tends to get bogged down by many small I/O operations) will be important; those are tracked by COH-2339.
    Peace,
    Cameron Purdy
    Oracle Coherence

  • Some attemps to run embedded oc4j

    Often the jdeveloper 10g embedded oc4j doesn't rise correctly seeming like toasting. I've observed that when this happens the CPU lets work in the process javaw.exe and it doesn't return over this proccess .Which can be the problem? At the moment when this happens, unemployment the starting and I return to try it again but it's a little tedious and it fails with enough frequency.
    The machine is a centrino 1.4 MHz, 512 Mb.
    ==============================
    Oracle IDE     9.0.5.13.88
    Business Components Version     9.0.5.13.52
    UML Modelers Version     9.0.5.12.38
    Versioning Support     9.0.5.12.38
    WebDAV Support Version     9.0.5.12.38
    Designer Generators Framework     9.0.5.3.39
    java.version     1.4.1_02
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.4.1_02-b06
    os.name     Windows 2000
    os.version     5.0
    os.arch     x86
    ide.patches     
    Thanks.

    Hello,
    I have the same problem and need a solution to this problem, too.
    The embedded Server often does not start, no matter if i try to run or to debug my webapplication.
    Does anyone has a solution for this like ?
    Maybe deleting some temp-files or increase a timeout?
    Tobias Otto
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\jdev\jdev\system9.0.5.2.1618\oc4j-config>
    C:\jdev\jdk\bin\javaw.exe -ojvm -classpath C:\jdev\j2ee\home\oc4j.jar;C:\jdev\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\jdev\jdev\system9.0.5.2.1618\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    04/08/30 12:55:17 Copying default deployment descriptor from archive at C:\Projekte\prototyp\Model\classes/META-INF/orion-ejb-jar.xml to deployment directory C:\jdev\jdev\system9.0.5.2.1618\oc4j-config\application-deployments\current-workspace-app\classes...
    04/08/30 12:55:17 Auto-deploying - file:/C:/Projekte/prototyp/Model/classes/ (No previous deployment found)...

  • Jdeveloper 11g TP4: Connection refused error for Embedded Oc4j

    Hi,
    I am getting following error whenever trying to deploy any application in embedded oc4j or whenever try to connect with embedded server on Resource palette.
    Error while getting remote MBeanServer for url: ormi://127.0.0.1:23891/default:
    Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
         javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException
    I am using Jdeveloper 11g TP 4 on windows XP.
    I have checked other links too related to above error and have checked following:
    Proper host name entry in host file
    No spaces in Jdveleoper installed directory name
    Proxy setting in Jdeveloper: excluded localhost and ip address
    Will be very thankful if anyone can help me to resolve this issue.
    Thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Don't spend to much time on this. JDev 11g is production and there will be no OC4J 11g!
    --olaf                                                                                                                                                                                               

  • Hi! I am new to Jdeveloper.Having problem while deploying on embeded OC4J

    hi everybody
    I am new to JDeveloper.I am using OracleJDeveloper 10.2.3 version.I am facing problem while deploying any application on embeded OC4J server.I have tried a lot after searching solution on this site,but all of no use.Actually i am not able to established connection with OC4J.Whenever i am testing the connection it`s giving message Connection Failed message.Please provide me the exact solution.I am in need of this so reply as soon as possible.
    Thanks In Advance
    Rohit Tiwary

    Hi Rohit,
    You dont have to create a connection to deploy in embedded oc4j. You can simply right click on the jsf page and run.
    HTH.
    Regards,
    Arun

  • JDBC datasoure that works for embedded OC4J server of JDeveloper 10.1.3.4

    Hi all,
    I have this in the Application Module as JDBC datasource: java:comp/env/jdbc/DBCON
    That works fine if I deploy the application on Oracle application- or tomcat-server.
    On the connections tab in JDeveloper I have made a database connection with the name DBCON.
    But when I run the application from Jdeveloper with the embedded OC4J server I get this error:
    Unable to lookup Data Source at context java:comp/env/jdbc/DBCON
    What do I do wrong?
    Thanks in advance.

    Hi,
    Edit the <application_name>-data-sources.xml file under the root directory of your application, and setup a managed data source and connection pool with the data source having the correct jndi name, eg. jdbc/DBCON
    You can either do this manually (which I find easier), or use the tool within JDev
    Tools - > Embedded OC4J Preferences -> Current Workspace -> Data Sources -> New
    -chris

  • Embedded OC4J (Jdeveloper 10.1.3.2) HTTP switch HTTPS

    I need to debug some web application that switches between HTTP and HTTPS and back again. I have done all the required configuarion of the embedded OC4J to support this namely:
    1. create self signed certificate
    2. created a second web-site (secure-web-site.xml) that listens for https connections on another port e.g. 4443
    3. added relevant <ssl-config> entry to secure-web-site.xml
    4. Marked the relevant <web-app> element as shared in the secure-web-site.xml and default-web-site.xml files
    I now start the embedded OC4J in jdeveloper and all is well, https and http work fine. However a different session is created for each of the web-sites the secure and the default (i.e one for the http and one for the https). I understand why since the browser treats http://www.mydomain.com:8988 and https://www.mydomain.com:4443 as separate web sites.
    One Solution
    ~~~~~~~~~~
    If my understanding is correct if I use the standard ports 80 and 443 then the browser would treat these as the same web site and only one cookie jsessionid cookie gets created and so only one session
    2nd Solution
    ~~~~~~~~~~
    If I use non-default ports like 8888 and 4443 then I can set the cookie domain in the orion-web.xml file <session-tracking cookie-domain=".mydomain.com" /> and this ensures one jsessionid cookie is shared for the whole domain and so again only one session
    Unfortunately I cannot implement either solution in the embedded OC4J since for solution one no matter what I do I cannot get the embedded OC4J to listen on port 80. It always finds a conflict and chooses a different port like 1024 even though no other process is using port 80
    The second solution does not work since the orion-web.xml file gets overwritten everytime I start the embedded OC4J and so I lose any updates I make.
    Does anybody have any ideas how to overcome these problems? I know I could use a standalone container but then I will lose all the convenience of testing within Jdeveloper.
    Many thanks.

    Hi,
    I'll file an ER to allow developers in JDeveloper to test http and https. What I usually do - as a work around - is to open files that are change on each start of the embedded OC4J in TextPad. TextPad asks if an opened file should be reloaded when it has been changed on the filesystem. I then say "no" and safe the opened file gain, overriding the JDeveloper changes.
    Its not perfect, but much better than re-editing all the files.
    Frank

  • MapViewer JDeveloper embedded OC4J installation error

    Hi,
    I downloaded all latest mapviewer.ear and latest OC4J.
    Followed MapviewerUG installation instructions
    After starting OC4J
    using the url http://localhost:8888/mapviewer/
    works well and the demos like jview also works well
    using the url http://localhost:8888/mapviewer/omserver
    however, generates the following error
    &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;oms_error&gt;Message:[oms] empty or null xml map request string. Sat Apr 02 14:40:14 IST 2005 Severity: 0 Description: at oracle.lbs.mapserver.oms.getXMLDocument(oms.java:852) at oracle.lbs.mapserver.oms.doPost(oms.java:302) at oracle.lbs.mapserver.oms.doGet(oms.java:234) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)&lt;/oms_error&gt;
    I also downloaded the latest JDeveloper 10G and JDeveloper extensions and follwed the instructions in the How To Document
    How To Build Dynamic Maps Using JDeveloper 10g and Oracle Application Server MapViewer
    An Oracle JDeveloper How To Document
    Justin Lokitz
    October 2004
    I have no compilation errors but I am not able to view the density map. I am getting the Internal Server Error 500 instead.
    Can anyone please guide me through this.
    Thomas Joseph

    Hi Joao
    Thanks for tip on the log file.
    I have the data loaded.
    Evrything works fine when I use Mapviewer with OC4J and try the jview demo.
    I am however not able to get the example 'How to build Dynamic Maps' running using JDeveloper using the embeded OC4J server.
    The jsp source is as follows
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <DIV align="center">
    <P>MapViewer WebMap</P>
    <P>
    <mapviewer:init url="http://localhost:8888/mapviewer/omserver" datasource="mvdemo" id="mvHandle"/>
    </P>
    </DIV>
    <DIV align="center">
    <mapviewer:setParam antialiasing="true" basemap="density_map" centerX="-122.4" centerY="37.8" height="450" size="10" title="MyWebMap" width="600"/>
    <mapviewer:run/>
    </DIV>
    <img src="<mapviewer:getMapURL />"/>
    </body>
    </html>
    There are no comilation errors
    When I run the code I get 500 Internal Server Error.
    The Application2-oc4j-app.log generated is as follows
    05/04/05 20:04:11 Started
    05/04/05 20:05:14 Application2-ViewController-webapp: JDevOJSP: init
    05/04/05 20:05:14 Application2-ViewController-webapp: action: init
    05/04/05 20:05:16 Application2-ViewController-webapp: 9.0.4.0.0 Started
    05/04/05 20:05:28 Application2-ViewController-webapp: Servlet error
    javax.servlet.jsp.JspException: Connection refused: connect
         at oracle.lbs.mapclient.taglib.MapViewerRunTag.doStartTag(MapViewerRunTag.java:123)
         at webmap.jspService(webmap.jsp:17)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Please put me on the track. I am not able to figure out what is going wrong.
    Regards
    Thomas Joseph

  • Connection to embedded OC4J

    i have tried all the configuration options to make the connection with the embedded OC4J. i don't know if it's a pb of a location of OC4J folder or WebDAV files ...
    SOS to all users of JDeveloper, help me !

    Assuming you are using Oracle9i JDeveloper try the configuration steps in the reviewer's guide that is available from OTN at:
    http://otn.oracle.com/sample_code/products/jdev/files/JDevRGuide.zip

Maybe you are looking for

  • How do I access documents in iCloud.

    I can't find an iCloud icon & iCloud.com doesn't work? It tells me to set up iCloud but I already did that.

  • Best Way to Backup Data

    Hi, I wanted opinions from all you pros. I have had 4 hard drive failures in 4 weeks for various reasons but I now understand the necessity to backup. I have been simply dragging and dropping files from one fw drive to the other. Is this the best met

  • Apple tv - apple icon loop

    Hi, 3rd Gen Apple TV. This morning it was switched on and had the usb cable to itunes screen. Did that, it came up on itunes. Ejected, back to tv, same screen. Rebooted, tried cable network. Restored it - now have apple icon screen in a loop. Light o

  • Xmms problem after flac upgrading

    *** glibc detected *** double free or corruption (out): 0xb6d4c5a4 *** zsh: abort xmms Again...

  • Some audio files no longer playing?

    I am half way through an imovie project and recently added audio commentry, however some files no longer play also a few now have a yellow warning triangle? Im assuming the files are now corrupt or something? really annoying!, anyone have an idea wha