Embedded OC4J broken on Mac OS X

I've now installed JDeveloper on two separate machines; one a Powerbook G4, and the other an iMac G5. Even when not using a data connection (let's say you just want to see a .jsp page), the following error is generated when starting up the embedded OC4J server:
06/02/15 18:44:22 Exception in thread "OC4J Launcher" java.lang.NoSuchFieldError: isOracleDataSource
06/02/15 18:44:22 at oracle.oc4j.sql.DataSourceConnectionPoolImpl.initConnectionCache(DataSourceConnectionPoolImpl.java:122)
06/02/15 18:44:22 at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:109)
06/02/15 18:44:22 at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
I had replied to this post with a fix disabling datasources.rar in the oc4j-connectors.xml file:
Embedded OC4J Server won't start
This then allows the server to startup - but I think it's the source of my second problem - ie. the inability to see a database by it's JNDI name:
Need help connecting to Oracle 8i db
I hope this get's fixed; because for now; the embedded OC4J server is not usable on OS X.

The version reported in the About box under JDeveloper says 1.5.0_05.
java -version in the terminal was returning 1.4.2_04; so I relinked it to 1.5.0 to make sure it wasn't the issue and restarted JDeveloper. Regardless, oc4j always starts up with 1.5.0 java executable:
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java -client -classpath /Volumes/fox/Applications/developer_apps/JDeveloper.app/Contents/Resources/jdev/j2ee/home/oc4j.jar:/Volumes/fox/Applications/developer_apps/JDeveloper.app/Contents/Resources/jdev/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /Volumes/fox/mishra/jdevhome/system/oracle.j2ee.10.1.3.36.73/embedded-oc4j/config/server.xml

Similar Messages

  • ORPHAN EMBEDDED OC4J DETECTED is the warning i get whenever i run a jsppage

    i get a warning saying "There appears to be an existing embedded OC4J process running that was not launched by this instance of JDeveloper, so JDeveloper cannot terminate it automatically. It is recommended that u terminate the existing OC4J process before proceeding. Do u want to continue starting up anyway?" When i press yes, the page isnt displayed.... any suggestions would be of great help...
    Thanks in Advance
    user611246

    Check your plug-ins here:
    https://www.mozilla.org/en-US/plugincheck/
    This is more accurate for Flash than the Mozilla check for Safari for some reason.
    http://flashbuilder.eu/flash-player-version.html
    http://get.adobe.com/flashplayer/
    There is also a huge security issue with servers and OS X, likely they all shut out Mac's until further notice.
    Seems Lion has a gaping security hole in it's side ...
    http://www.theregister.co.uk/2011/08/26/mac_osx_lion_security_hole/
    If you have Snow Leopard, you can simply c boot off the installer disk and install OS X on top of the installed version then immediatly Software Update.

  • JDev 11g TP4: App running in embedded OC4J fails in Integrated OC4J

    I have a simple application containing a bunch of JSP pages. When I run it on the embedded OC4J everything works fine.
    When I try to run it on the Integrated OC4J I get the following "missing class error":
    Binding web application(s) to site default-web-site begins...
    Binding FloorLocator2-Loc_Model-webapp web-module for application BlazeProj2 to site default-web-site under context root FloorLocator2-Loc_Model-context-root
    Operation failed with error:
    oracle.oc4j.admin.jmx.shared.exceptions.InternalException: The application named, FloorLocator2-Loc_Model-webapp ( web module named,
    ) failed to deploy. The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.Reason: {4}
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:430)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:82)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: The application named, FloorLocator2-Loc_Model-webapp ( web module named,
    ) failed to deploy. The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.Reason: {4}
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
         ... 5 more
    Caused by: java.lang.InstantiationException: The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:690)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:493)
         at com.evermind.server.Application.getHttpApplication(Application.java:769)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.doCreateHttpApplicationFromReference(HttpSite.java:2315)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2295)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2196)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1826)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:254)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:141)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:589)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:216)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
         ... 5 more
    Caused by: oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2179)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1716)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1672)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1657)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.getDeclaredFields0(Native Method)
         at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
         at java.lang.Class.getDeclaredFields(Class.java:1715)
         at com.sun.faces.config.ManagedBeanFactoryImpl.scanForAnnotations(ManagedBeanFactoryImpl.java:1133)
         at com.sun.faces.config.ManagedBeanFactoryImpl.<init>(ManagedBeanFactoryImpl.java:156)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:895)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:487)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:377)
         at com.evermind.server.http.HttpApplication.internalInitDynamic(HttpApplication.java:1394)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1296)
         at com.evermind.server.http.HttpApplication.init(HttpApplication.java:860)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:686)
         ... 17 more
    #### Deployment incomplete. #### Dec 12, 2008 11:57:07 AM
    oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.distributeApplicationToTargets(Jsr88RemoteDeployer.java:598)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployApp(Jsr88RemoteDeployer.java:1010)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:174)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:417)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:202)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$3$1.run(AdrsStarter.java:1116)
    #### Cannot run application BlazeProj2 due to error deploying to DefaultServer.
    [Application BlazeProj2 stopped and undeployed from Server Instance DefaultServer]
    Process exited.
    The problem is that I want to run the application on the Integrated server because I want to add some SOA components on it.
    Is there any way to get rid of this "missing class" error?
    Thank you in advance for the help.

    Hi, check if you have an existing deployment profile for your project and make sure the google maps jar is been added to the profile. When you use integrated the application gets deployed to the server so it takes all of its libraries and gets them deployed into the server. With embedded everything gets loaded from your application directory.
    If you don't have a deployment profile, create one and manually add the gMaps library and see if this time the integrated server uses your new deployment profile.
    Cheers,
    Juan C.

  • JBO-33001 bc4j.xcfg missing with Jdev 9.0.5.1 embedded OC4J

    I've got an application that I've been trying to migrate from Jdev 10g Preview (9.0.5) to Production (9.0.5.1) for a week now. The steps I've had to follow so far are:
    1) Install Jdev 9.0.5.1
    2) Run it and allow all workspaces/settings to be migrated
    3) Shut down and rename the system9.0.5.1.1605 to something else.
    4) Restart and say No to migrate
    5) Open my application workspaces again.
    This procedure seemed to get me correct library settings working with the correct XML schemas. However, now I can't test my BC4J/UIX application. I get the following message when I right-click on a DataAction and choose Run:
    500 Internal Server Error
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /com/paslists/model/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:344)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:272)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:135)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:97)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:612)
         at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:328)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         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:192)
         at java.lang.Thread.run(Thread.java:534)
    This is happening in the embedded OC4J. How do I fix this?

    I've managed to resolve this error. Somehow, my entire Model project got mis-represented in my ViewController. The package name was "model" in my Model project, yet somehow all of the Binding Contexts (UImodel.xml) files contains "com_paslists_model_..." for the name of my Application Module. To resolve the error, I first had to fix the references to my Application Module in the DataBindings.cpx file. Then, I had to exit Jdev completely and edit the UImodel.xml files by hand, replacing the invalid reference to my DataControl using the correct entry in the DataBindings.cpx file.
    Now, everything seems to function correctly.
    I don't know how this got so messed up, unless it was an error with migration.

  • JDeveloper 10.1.3.2 - Nullpointer in Embedded OC4J Preferences

    When I want to have a look at the jazn-data file holding the users and policies I'm getting the followin error in the dialog-screen:
    java.lang.NullPointerException
         at oracle.jdevimpl.xml.oc4j.jazn.PolicyPanel.onEntry(PolicyPanel.java:38)
         at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:926)
         at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:899)
         at oracle.ide.panels.MDDPanel.mav$enterTraversable(MDDPanel.java:106)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1348)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1216)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1210)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.Dialog.show(Dialog.java:536)
         at java.awt.Component.show(Component.java:1300)
         at java.awt.Component.setVisible(Component.java:1253)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:276)
         at oracle.jdevimpl.xml.ModalEditor.showDialog(ModalEditor.java:112)
         at oracle.jdevimpl.xml.ModalEditor.showDialog(ModalEditor.java:88)
         at oracle.jdevimpl.runner.oc4j.EmbeddedServerAdminCommand.doit(EmbeddedServerAdminCommand.java:68)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:259)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:541)
         at oracle.ide.controller.IdeAction$1.run(IdeAction.java:772)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:789)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:498)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    The only changes I've made in my application was unchecking the Extensions I'm not using in my application. After changing these Extensions (this is a tip regarding memory-consumption of jdeveloper) I'm getting these errors in the realm-dialog.
    Regards,
    Nathalie
    PS: I've unchecked the following extensions:
    - ADF Security 10.1.3.40.66
    - BI Beans Graph 10.1.3
    - Oracle Webcenter Preconfigured OC4J 10.1.3.2.0
    - Portlet Creation Extension 10.1.3.40.66
    - Versioning Support 10.1.3.40.66

    Hi,
    OC4J needs to be configured to support HTTP and HTTPS sessions. Because the embedded OC4J uses the default-web-app configuration during testing I am not so sure about configuring it for HTTPS. However, in this case I suggest you test it as a stand alone container in which case HTTPS configuration happen as described in the OC4J security guide.
    "How do I make the Embedded OC4J redirect http requests for secure web content to https automatically as required in the servlet 2.4 spec ?"
    I don't find this statement in my version of the Servet 2.4 spec. Can you point me to the line in the document?
    If you mean transport guarantee, then this is not exactly what you say:
    "The transport-guarantee element specifies that the communication between client and server should be NONE, INTEGRAL, or CONFIDENTIAL. NONE means that the application does not require any transport guarantees. A value of INTEGRAL means that the application requires that the data sent between the client and server be sent in
    such a way that it can’t be changed in transit. CONFIDENTIAL means that the application requires that the data be transmitted in a fashion that prevents other entities from observing the contents of the transmission. In most cases, the presence of the INTEGRAL or CONFIDENTIAL flag will indicate that the use of SSL is required."
    Servlet 2.4 spec
    This however doesn't mean automated redirect to https but says that this requires SSL, which means that a http error is thrown if https isn't used
    Frank

  • JDev 10.1.3 EA: Error initializing Embedded OC4J

    I have installed the latest EA version of JDeveloper on a Linux machine along with JDK 5.0 and when I try to run anything I get:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
    /home/Mark_Rees/jdk1.5.0_04/bin/java -server -classpath /home/Mark_Rees/jdev_1013/j2ee/home/oc4j.jar:/home/Mark_Rees/jdev_1013/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/Mark_Rees/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
    [waiting for the server to complete its initialization...]
    05/12/29 13:14:24 Application: system is in state FAILED
    05/12/29 13:14:24 Error initializing server: Error initializing ejb-modules: No such file or directory; nested exception is: java.util.zip.ZipException: No such file or directory
    05/12/29 13:14:24 Fatal error: server exiting
    Process exited with exit code 1.
    Anyone got any ideas?

    Check to see if helps
    Unable to start oc4j in Jdeveloper 10.1.3 EA1
    In my case I got that error when trying to connect to MySQL database when using OC4J

  • BUG: JDev 10.1.3.0.4 Embedded OC4J Server Preferences

    If we specify in the Embedded OC4J Server Preferences->startup a OC4J installation to use for running and debbuging, click ok, and then delete the choosen directory and try again to access the Embedded OC4J Server Preferences, an error occurs. Appears an dialog and we can not alter this anymore.

    Hi,
    not sure on the limitation of dbms_output.put, but 4000 characters happens to be the maximum size of a varchar2 column....
    I normally use dbms_output.put_line for debugging PL/SQL.
    You could also post in the database forum if you have no luck here.
    regards,
    Brenden

  • JDev 10.1.3: Problem deploying a session bean to embedded OC4J

    JDeveloper 10.1.3, TopLink, OC4J, WinXP, java 1.4.2_05.
    I used TopLink to create a set of Java objects from a DB Schema, then created a simple Session Bean to read some of the objects. Everything compiles fine.
    JAVA_HOME points to the JDK (not JRE) and CLASSPATH is empty (undefined).
    When I try to Run my session bean in the jdeveloper embedded oc4j, I get this message. Thanks in advance for your help.
    Milind
    ===============
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Tools\jdev_10_1_3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config>
    C:\Tools\jdev_10_1_3\jdk\bin\javaw.exe -ojvm -classpath C:\Tools\jdev_10_1_3\j2ee\home\oc4j.jar;C:\Tools\jdev_10_1_3\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Tools\jdev_10_1_3\jdev\system\oracle.j2ee.10.1.3.3.51\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    05/03/22 14:43:50 Node started with id=127765687050882
    05/03/22 14:43:52 Auto-deploying - applications/admin_ejb.jar (orion-ejb-jar.xml had been updated since the previous deployment)...
    05/03/22 14:43:52 Error initializing server: Error initializing ejb-module; Exception null
    05/03/22 14:43:53 Fatal error: server exiting
    Process exited with exit code 1.

    Error initializing ejb-module;
    Is the EJB Jar structured as
    META-INF/
    ejb-jar.xml
    Bean Class
    Home interface Class
    Remote interface Class
    Does the EJBdeploy in some other server?

  • Using embedded oc4j in jdeveloper 10.1.3. EA failed

    Hallo
    i have the following problem, and hope somebody can help me.
    i installed the jdev 10.1.3.EA 3412 on notebook with suse linux 9.2 and made a simple hallo world jsp.
    compilation was ok with no errors.
    when i run the jsp in jdev i get the following message:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    /home/wilhetho/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config>
    /usr/share/jdk1.5.0_06/bin/java -server -classpath /opt/oracle/jdev/j2ee/home/oc4j.jar:/opt/oracle/jdev/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config /home/wilhetho/jdevhome/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/config/server.xml
    [waiting for the server to complete its initialization...]
    24.01.2006 19:15:34 com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    06/01/24 19:15:43 java.net.NoRouteToHostException: No route to host
    06/01/24 19:15:43      at java.net.PlainSocketImpl.socketConnect(Native Method)
    06/01/24 19:15:43      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    06/01/24 19:15:43      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    06/01/24 19:15:43      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    06/01/24 19:15:43      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    06/01/24 19:15:43      at java.net.Socket.connect(Socket.java:507)
    06/01/24 19:15:43      at java.net.Socket.connect(Socket.java:457)
    06/01/24 19:15:43      at java.net.Socket.<init>(Socket.java:365)
    06/01/24 19:15:43      at java.net.Socket.<init>(Socket.java:207)
    06/01/24 19:15:43      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
    06/01/24 19:15:43      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
    06/01/24 19:15:43      at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
    06/01/24 19:15:43      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
    06/01/24 19:15:43      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
    06/01/24 19:15:43      at java.lang.Thread.run(Thread.java:595)
    06/01/24 19:15:43 Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview initialized
    After this, the oc4j container is up an running, because i can reach it over the adress localhost:8988.
    So now my two questions:
    -> there is no browser starting (i tried different entries under tools-preferences-webproxy). what can be the reason?
    -> where does the error message no route to host come from?
    thank you

    Hi, here Re: java.net.ConnectException: Connection timed out: connect i post my workaround.
    bye
    Antonio.

  • Process exited with exit code 128 using embedded OC4J (jdevsetudio1013)

    I've just downloaded Oracle JDeveloper (10.1.3) - Production JAN 2006 version (Studio Edition), installied and configure as the install guide, downladed SU5 (Studio Edition version 10.1.3.0.4 Build JDEVADF_10.1.3_NT_060125.0900.3673) and JUnit extensions and SR. When I tried to run Oracle ADF SRDEMO Application, I´ve just got this error message:
    [EJB 3.0]: Assigning default-data-source=jdbc/SRDemoDS, specified in projects EJB 3.0 properties
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    E:\mywork\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config>
    "C:\Program Files\Java\jdk1.5.0_08\bin\javaw.exe" -ojvm -classpath E:\jdevstudio1013\j2ee\home\oc4j.jar;E:\jdevstudio1013\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config E:\mywork\system\oracle.j2ee.10.1.3.36.73\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Process exited with exit code 128.
    I'm using a Microsoft Windows Server 2003 Standard Edition Service Pack 1 inside a VMware workstation (version 5.5.2.build-29772) with 1.4GB of RAM with an Oracle 10gR2 for windows (10.2.0.1.0)
    I don´t know if it is a configuration problem or that Windows Server 2003 SP1 is not supported or any other problem.
    Any help you can give on this would be much appreciated.
    Thanks,
    Orlando

    thanks for your idea...but in my environment there no JAVA_OPTIONS defined. This is a copy of my console after running set:
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    ANT_HOME=C:\apache-ant-1.6.5
    APPDATA=C:\Documents and Settings\Administrator\Application Data
    APR_ICONV_PATH=C:\Program Files\Subversion\iconv
    CATALINA_HOME=C:\ASF\Tomcat 5.5
    ClusterLog=C:\WINDOWS\Cluster\cluster.log
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=OGJEE
    ComSpec=C:\WINDOWS\system32\cmd.exe
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\Administrator
    JAVA_HOME=C:\Program Files\Java\jdk1.5.0_08
    JBOSS_HOME=C:\jboss-4.0.4.GA-Patch1
    LOGONSERVER=\\OGJEE
    M2_HOME=C:\ASF\maven-2.0.4
    M2_REPO=C:\Documents and Settings\Administrator\.m2\repository
    MAVEN_OPTS=-XX:MaxPermSize=128m -Xmx512m
    NUMBER_OF_PROCESSORS=1
    OS=Windows_NT
    Path=E:\oracle\product\10.2.0\db_1\bin;C:\Program Files\Support Tools\;c:\Progra
    m Files\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\S
    ystem32\Wbem;;C:\Program Files\Subversion\bin;C:\Program Files\Java\jdk1.5.0_08\
    bin;C:\ASF\maven-2.0.4\bin;C:\Program Files\MySQL\MySQLServer5.0\bin;C:\apache-a
    nt-1.6.5\bin;;C:\Program Files\STI\bin\pc-win95
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PERL5LIB=E:\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86;E:\oracle\prod
    uct\10.2.0\db_1\perl\5.8.3\lib;E:\oracle\product\10.2.0\db_1\perl\5.8.3\lib\MSWi
    n32-x86;E:\oracle\product\10.2.0\db_1\perl\site\5.8.3;E:\oracle\product\10.2.0\d
    b_1\perl\site\5.8.3\lib;E:\oracle\product\10.2.0\db_1\sysman\admin\scripts;
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=0d08
    ProgramFiles=C:\Program Files
    PROMPT=$P$G
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
    TMP=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
    USERDOMAIN=OGJEE
    USERNAME=localadmin
    USERPROFILE=C:\Documents and Settings\Administrator
    windir=C:\WINDOWS
    tthanks anyway

  • Not stable Run of the project in Jdev 9.0.3.2 (c embedded OC4J 9.0.4)

    Hello, All!
    I use JDeveloper 9.0.3.2 and embedded OC4J 9.0.4.
    But frequently, at Run project, embedded OC4J (9.0.4) startup occurs to a mistake:
    Target URL -- http://192.168.1.104:8989/Log/index.html
    Copying default deployment descriptor from archive at C:\Work\PS_FRAMEWORK\classes/META-INF/orion-ejb-jar.xml to deployment directory C:\jdev9032_2_oc4j904\jdev\system9.0.3.2.1145\oc4j-config\application-deployments\current-workspace-app\classes...
    Auto-deploying file:/C:/Work/PS_FRAMEWORK/classes/ (No previous deployment found)... done.
    Auto-deploying PS-tests (New server version detected)...
    Auto-deploying PS-tests (New server version detected)...
    Error initializing server: Error loading web-app 'Log' at C:\Work\PS_FRAMEWORK\web\framework: Error writing orion-descriptor: C:\jdev9032_2_oc4j904\jdev\system9.0.3.2.1145\oc4j-config\application-deployments\current-workspace-app\Log\orion-web.xml
    Process exited with exit code 1.
    Repeating it a few times, it is possible in a result to receive required, i.e.
    Oracle9iAS (9.0.4.0.0) Containers for J2EE initialized.
    Whether somebody met something similar and how it to correct?
    Thanks
    Alexandre.

    You might find the sample code which is part of OC4J-howto's useful.
    http://otn.oracle.com/tech/java/oc4j/904/index.html
    http://otn.oracle.com/tech/java/oc4j/904/how_to/how-to-ejb-mdb.zip
    raghu
    JDev Team

  • 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.

  • EJB lookup works in embedded OC4J but not stand-alone

    I use JDeveloper 9.0.3.1 to develop a combined web & EJB application. The EJBs are deployed on a 9.0.3 iAS server on a different machine.
    The EJB lookup is in a helper class that's called by the servlet. For EJB lookup, I use the class "com.evermind.server.rmi.RMIInitialContextFactory" as described by the OC4J servlet guide (http://download-uk.oracle.com/docs/cd/A97688_10/generic.903/a97680/develop.htm#1003973). So my code looks like this:
    Hashtable map = new Hashtable();
    map.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    map.put(Context.PROVIDER_URL, "ormi://server:port/app-business");
    map.put(Context.SECURITY_PRINCIPAL, "admin");
    map.put(Context.SECURITY_CREDENTIALS, "password");
    map.put("dedicated.rmicontext", "true");
    InitialContext context = new InitialContext(map);
    Object thing = context.lookup("MyEjb");
    EJBHome feedback = (EJBHome)PortableRemoteObject.narrow(thing, "com.company.ejb.MyEjbHome");
    The last insert into the map (map.put("dedicated.rmicontext", "true");) wasn't mentioned neither in the servlet guide nor the EJB one. But without it, I'd always get some "domain is null" error.
    Now this code above works flawlessly in the embedded OC4J of JDeveloper. But it always hangs in the "Object thing = context.lookup("MyEjb");" line when executed either in a stand-alone OC4J (the one from JDeveloper launched through the batch file in [JDeveloper directory]\jdev\bin\start_oc4j.bat) or in the OC4J in iAS.
    Does anybody know why this happens or how to fix it? I know that there are other ways of EJB lookup in servlets but since we also have plain Java classes for testing purposes that access EJBs, this seemed like the simplest thing to do for both Java classes and servlets.

    I was referring to the java client case where this optoin is not required. In general for web clients one doesn't use the rmi initial context to find the bean. This is because the bean and the webclient are both packaged in the same application. One defines the ejb-ref in the web.xml for the bean and then looks it using the default initial context. Something like
    Context ctx = new InitialCOntext();
    ctx.lookup("bean ejb-ref-name");
    However if you must use rmi for accessing the bean from the web client then the dedicated connection property is required.
    For java clients you would setup the rmi context environment.
    Since you are trying to use a common utility class for both java and webclient I would recommend that you look into packaging the java client as a j2ee application client. Basically in that case you would be able to define a ejb-ref in the aplication-client.xml and use the default initial context in code for both the cases.
    Hope that helps
    Dhiraj

  • Ajax functionality works in embedded OC4J, but not on iAS 10.1.2

    Hi,
    For a customer, we made an ADF application using JDeveloper 10.1.2. Using instructions from http://www.oracle.com/technology/pub/articles/vohra-ajax.html we coded a servlet, to find a description from a code the user entered in the application, and show this on the webpage without page refresh (the application uses JSP and Struts). This works fine in the embedded oc4j server JDeveloper provides, and also works fine on the Standalone OC4J server. However, when the application is deployed to the iAS from the customer, everything works fine, except the ajax functionality, the description fields simply are not shown.
    Does anyone have a clue what could be the problem? We also runned the application on the iAS server itself, and this gives the same error (no ajax functionality).
    Thanks in advance,
    Remco

    Hi dvohra,
    Thanks for your reply. I'm afraid I overlooked something, which is the reason of the ajax functionality not working. The Servlet that made the Ajax functionality used a datasource, and the same was in the Embedded OC4J Preferences. The ADF Business Components part was changed to use the datasource declared on the iAS. The Servlet however was not...
    So, all works now.

  • 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

Maybe you are looking for

  • How to set default curreny in IT15

    hi dear experts, I have set currency in V_T510F_B  and V_T001, but still no default currency in IT15, could you please kindly help where to set this currency default? Thanks very much. Xiaoli

  • Sent mail

    I am using IMAP yahoo account on apple mail. When I send a mail from apple mail it is saved here but not when I login into my yahoo account in the internet. Again all the sent mails are not saved in my apple mail...pls some 1 help!!

  • I'm starting to hate n97 and might sell it back ou...

    too many bugs is annoying and nokia doesn't do anything with new patches ever.

  • Re:SAP Implementation in Travel Field(URGENT)

    Hi Friends, Can any body tell me FI-MM-SD integration in Travel field. Regards, Shekar

  • I need exit command in Jdeveloper

    Hi all I want command that exit or close the internet explorer in jdeveloper. For example, when user press the button the explorer will terminate or exit. Pls help me in this issue. Best Regards; HABIB