This discussion is archived
0 Replies Latest reply: Aug 28, 2012 1:24 AM by 682801 RSS

jDeveloper 12.1.3 is unable to initialize OC4J Server for OAF

682801 Newbie
Currently Being Moderated
Dear All,

I am facing an issue with my jDeveloper.

Details
=============
OS: Windows 7 Ultimate (64-Bit)
Apps: Oracle Apps 12.1.3
Hardware: HP Pavilion G4 with 4gb RAM (64-Bit Processor)
jDeveloper Version: 10.1.3.3.0
Connecting to Apps Instance via VPN Access (Instance and SQL Developer runs fine)

Error Log - OC4J
============
[Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
C:\jDev\jDev12.1.3\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config>
C:\jDev\jDev12.1.3\jdevbin\jdk\bin\javaw.exe -hotspot -classpath C:\jDev\jDev12.1.3\jdevbin\j2ee\home\oc4j.jar;C:\jDev\jDev12.1.3\jdevbin\jdev\lib\jdev-oc4j-embedded.jar -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -XX:MaxPermSize=256M -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\jDev\jDev12.1.3\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\server.xml
[waiting for the server to complete its initialization...]
Aug 28, 2012 12:00:52 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
Aug 28, 2012 12:00:52 PM com.evermind.server.jms.JMSMessages log
INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
WARNING: Code-source C:\jDev\jDev12.1.3\jdevbin\jdev\appslibrt\xml.jar (from <library> in /C:/jDev/jDev12.1.3/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jDev/jDev12.1.3/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jDev\jDev12.1.3\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\jDev\jDev12.1.3\jdevbin\jdev\appslibrt\jazn.jar (from <library> in /C:/jDev/jDev12.1.3/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml) has the same filename but is not identical to /C:/jDev/jDev12.1.3/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in C:\jDev\jDev12.1.3\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\jDev\jDev12.1.3\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /C:/jDev/jDev12.1.3/jdevbin/jdev/appslibrt/jazn.jar) has the same filename but is not identical to /C:/jDev/jDev12.1.3/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in C:\jDev\jDev12.1.3\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
WARNING: Code-source C:\jDev\jDev12.1.3\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from WEB-INF/lib/ directory in C:\jDev\jDev12.1.3\jdevhome\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same filename but is not identical to /C:/jDev/jDev12.1.3/jdevbin/jdev/appslibrt/uix2.jar (from <library> in /C:/jDev/jDev12.1.3/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
12/08/28 12:01:21 java.net.ConnectException: Connection timed out: connect
12/08/28 12:01:21      at java.net.TwoStacksPlainSocketImpl.socketConnect(Native Method)
12/08/28 12:01:21      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
12/08/28 12:01:21      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
12/08/28 12:01:21      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
12/08/28 12:01:21      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
12/08/28 12:01:21      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
12/08/28 12:01:21      at java.net.Socket.connect(Socket.java:579)
12/08/28 12:01:21      at java.net.Socket.connect(Socket.java:528)
12/08/28 12:01:21      at java.net.Socket.<init>(Socket.java:425)
12/08/28 12:01:21      at java.net.Socket.<init>(Socket.java:241)
12/08/28 12:01:21      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
12/08/28 12:01:21      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
12/08/28 12:01:21      at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1202)
12/08/28 12:01:21      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1049)
12/08/28 12:01:21      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
12/08/28 12:01:21      at java.lang.Thread.run(Thread.java:722)
12/08/28 12:01:21 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized

========== End of Error Log ================================

As per instructions, I have set JDEV_USER_HOME path, created new connection for connecting to Apps Instance. Connection test log show "success" message. I am able to load and compile toolbox.jws project. But at time of running HomePG.xml or any other file, I get exception mentioned above.

So far, I have tried below mentioned steps to resolve this issue but unable to resolve it.

1. Connecting to separate instance.
2. Reconfiguring jDev (all steps again)
3. Change to use Full Host Name, Host Short Name or IP Address in OC4J Preferences.
4. New DBC File for instance
5. Replace JDK 1.5.0 with JDK 1.7
6. Re-installing JDeveloper from C: to D:

Please help me resolve this issue.

Thanks and Regards,
Saurabh

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points