Error starting embedded OC4J

I created a simple (one JSP page) web application inside JDeveloper 10.1.3 and tried to run it inside the embedded OC4J server. I get the following error. Anyone know how to resolve?
06/08/16 18:00:51 java.lang.NoSuchFieldError: oracle.oc4j.admin.management.mbeans.StateManageable.VALID_STATES
06/08/16 18:00:51      at com.evermind.server.ejb.EJBContainer.isValidState(EJBContainer.java:260)
06/08/16 18:00:51      at com.evermind.server.ejb.EJBContainer.setState(EJBContainer.java:250)
06/08/16 18:00:51      at com.evermind.server.ejb.EJBContainer.<init>(EJBContainer.java:108)
06/08/16 18:00:51      at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:156)
06/08/16 18:00:51      at com.evermind.server.Application.setConfig(Application.java:391)
06/08/16 18:00:51      at com.evermind.server.Application.setConfig(Application.java:308)
06/08/16 18:00:51      at com.evermind.server.ApplicationServer.initializeSystemApplication(ApplicationServer.java:1480)
06/08/16 18:00:51      at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications(ApplicationServer.java:1467)
06/08/16 18:00:51      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:922)
06/08/16 18:00:51      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:113)
06/08/16 18:00:51      at java.lang.Thread.run(Thread.java:534)

I don't think it involves spaces in the JDeveloper installation folder. Other developers in my office have JDeveloper installed in a path with no spaces, and they see the same problem. Actually, we don't even need to create a web application to see the problem. We see it when creating a new application server connection with the standalone OC4J 10.1.3 and clicking Test Connection:
Error while getting remote MBeanServer for url: ormi://localhost:23791/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: Connection refused: connect]

Similar Messages

  • HELP!!! Failed to start Embedded OC4J Server in JDev

    Hi,
    I have installed Oracle JDeveloper 10.1.2.1.0 and have tried to run simple test(for example index.jsp - Welcome) but I get error. - Failed to start Embedded OC4J Server in JDev
    OC4J with simple test have started well in other computers. This situation first time for me.
    Why OC4J can't start?
    This is OC4J log mess
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\JDeveloper\jdev\system10.1.2.1.0.1913\oc4j-config>
    C:\JDeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper\j2ee\home\oc4j.jar;C:\JDeveloper\jdev\lib\jdev-oc4j.jar -Dhttp.proxyHost=coates-proxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=coatesnet*|phoenix*|ev_evs1*|ev*|evs*|dr002*|dr001*|raptor*|cweb01*|cweb03*|cweb02*|orangepages*|unity*|dw01*|intra-apps*|intranet*|prod02*|prod01*|dev3*|dev2*|dev1*|app03*|app02*|app01*|localhost|127.0.0.1 -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\JDeveloper\jdev\system10.1.2.1.0.1913\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Process exited with exit code -1073741819.
    Help me please!

    Did the setup for JDEV_USER_HOME with the proper path (C:\OAFRAME\jdevhome\jdev) ,
    Keep the dbc file in the directory and setup the front end as well as back end login details in cluding responsibility details.

  • Starting embedded OC4J gives error XML-20108: Start of rootelement expected

    Product JDeveloper 10.1.2.0.0 (Build 1811)
    Up until recently I never got any errors when I started the embedded OC4J-server.
    Now I get the above error.
    It looks as if JDeveloper tries to access server.xml twice. The first process is updating the server.xml, and when the OC4J-server is starting up, it also tries to access server.xml, which is empty at that time (being updated by the other process).
    How can I solve this?
    lebbol

    No need to answer this thread any more, it is outdated

  • 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

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

  • Cannot start embedded oc4j

    I just installed oracle 9.0.2 on rh linux 8.0 - no problems.
    I installed jdev 9.03 and seems to work. However I cannot start the embedded oc4j server to test a quick jsp page. I get the following error:
    IllegalArgumentException: Signal already used by VM
    Any ideas how to fix this? Thanks!!!!
    details:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    /oracle/product/9.2.0.1.0/jdk/bin/java -client -classpath /jdev/j2ee/home/oc4j.jar -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Xrs com.evermind.server.OC4JServer -config /home/tom/jdevhome/system9.0.3.1035/oc4j-config/server.xml
    [waiting for the server to complete its initialization...]
    java.lang.reflect.InvocationTargetException: java.lang.IllegalArgumentException: Signal already used by VM: SIGHUP
         at sun.misc.Signal.handle(Signal.java:152)

    JDeveloper skips the scan of ports less than 1024, as they need root user access in Unix platforms. I have filed an Enhancement request for the next release of JDeveloper to make it scan for port less than 1024 .
    raghu
    JDev Team

  • Error starting embedded container

    Hi,
    I try to setup embedded container and it fails:
    Properties prop=new Properties();
    prop.setProperty(EJBContainer.MODULES,"jar");
    prop.put(EJBContainer.PROVIDER, "weblogic.ejb.embeddable.EJBContainerProvider");
    container=EJBContainer.createEJBContainer(prop);
    javax.ejb.EJBException: Error instantiating embedded server; nested exception is: weblogic.server.embed.EmbeddedServerException: Error creating default domain
    weblogic.server.embed.EmbeddedServerException: Error creating default domain
        at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:235)
        at weblogic.server.embed.internal.DomainConfig.getDefaultDomain(DomainConfig.java:143)
        at weblogic.server.embed.internal.DomainConfig.ensureInitialized(DomainConfig.java:66)
        at weblogic.server.embed.internal.EmbeddedServerImpl.ensureStarted(EmbeddedServerImpl.java:213)
        at weblogic.server.embed.internal.EmbeddedServerImpl.start(EmbeddedServerImpl.java:111)
        at weblogic.ejb.embeddable.EJBContainerImpl.initializeServer(EJBContainerImpl.java:98)
        at weblogic.ejb.embeddable.EJBContainerImpl.<init>(EJBContainerImpl.java:77)
        at weblogic.ejb.embeddable.EJBContainerProvider.createEJBContainer(EJBContainerProvider.java:17)
        at javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
    Caused by: java.lang.NoSuchMethodError: weblogic.Home.getMiddlewareHomePath()Ljava/lang/String;
        at weblogic.management.utils.PDevHelper.getConfigLaunchLocation(PDevHelper.java:66)
        at weblogic.management.utils.PDevHelper.getPDevClassLoader(PDevHelper.java:38)
        at weblogic.management.internal.CIEDomainGenerator.validateConfigFramework(CIEDomainGenerator.java:18)
        at weblogic.server.embed.internal.FullEmbeddedServerProvider.lookupDomainGenerator(FullEmbeddedServerProvider.java:87)
        at weblogic.server.embed.internal.EmbeddedServerProvider.createDefaultDomain(EmbeddedServerProvider.java:138)
        at weblogic.server.embed.internal.DomainConfig.createConfig(DomainConfig.java:233)
        ... 30 more
    I use wls12120 for developers, classpath contains wlsaft3client.jar, javax.persistence_2.1.0.0_1-0-2.jar and javax.ejb_3.2.0.jar (all from same weblogic 12c installation). Is it bug in weblogic?

    I don't think it involves spaces in the JDeveloper installation folder. Other developers in my office have JDeveloper installed in a path with no spaces, and they see the same problem. Actually, we don't even need to create a web application to see the problem. We see it when creating a new application server connection with the standalone OC4J 10.1.3 and clicking Test Connection:
    Error while getting remote MBeanServer for url: ormi://localhost:23791/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: Connection refused: connect]

  • XML validation errors in embedded OC4J jazn.xml

    hi
    If I open the jazn.xml of the embedded OC4J in JDeveloper 10.1.3.3.0 and select "Validate XML" from the context-menu on that file, I get these messages in the "XML Validation Errors - Log" :
    D:\oracle\jdevstudio10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\jazn.xml
        Error(10,28): <Line 10, Column 28>: XML-24535: (Error) Attribute 'schema-major-version' not expected.
        Error(10,28): <Line 10, Column 28>: XML-24535: (Error) Attribute 'schema-minor-version' not expected.
        Error(10,28): <Line 10, Column 28>: XML-24536: (Error) Missing Attribute 'filepath'
        Error(10,28): <Line 10, Column 28>: XML-24536: (Error) Missing Attribute 'OC4J_INSTANCE_ID'Strange, because I'm not aware of any changes I've made to this file.
    Could someone (from Oracle) please confirm that this is "intended", so I can exclude it as possible cause for the "security configuration issue" that I'm having.
    many thanks
    Jan Vervecken

    Thanks for your reply Frank.
    If "the content seems to be correct" then the XML schema jazn-10_0.xsd might not be what it should be.
    For the attributes "filepath" and "OC4J_INSTANCE_ID" it says they are "required", just like the validation by JDeveloper says, but they are not in the documentation.
    For the attributes "schema-major-version" and "schema-minor-version" the documentation says:
    "This attribute is not defined directly in the XSD for jazn.xml. It is according to the attributeGroup specification in the top-level OC4J XSD."
    Although there is no exact reference in that documentation, and also not in jazn-10_0.xsd, that XSD could be oc4j-10_0.xsd because it defines this:
        <xsd:attributeGroup name="oc4j-schemaVersionAttributeType">
            <xsd:annotation>
                <xsd:documentation>This type defines two different attributes which are intended to be used in the
                    root element of a schema document to define version 10.0 of the schema document.
                </xsd:documentation>
            </xsd:annotation>
            <xsd:attribute name="schema-major-version" type="xsd:integer" fixed="10"/>
            <xsd:attribute name="schema-minor-version" type="xsd:integer" default="0"/>
        </xsd:attributeGroup>I'm not sure if it is the validation by JDeveloper that went wrong here, or the XML schema jazn-10_0.xsd that is incomplete about these "schema version" attributes.
    Anyway, it seems OK to exclude it as possible cause for the "security configuration issue" that I'm having.
    regards
    Jan

  • 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                                                                                                                                                                                               

  • Starting embedded-oc4j over Win 2003 Server

    Hi, i need some help with this: when i try to start the Jdeveloper embedded-oc4j over Windows 2003 Server, it shows the next in the Messages Log window:
    Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config D:\Jdeveloper\jdev\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`d appreciate if anybody can tell me what i can do!
    Regards!

    Hi,
    please go to Jdev_home\j2ee\home and type java -jar oc4j.jar in a command window. This should - hopefully -provide us with additional exception traces
    Frank

  • Starting embedded OC4J automatically?

    I'm using Ant as the build system in JDeveloper and want to run some unit tests on EJBs with the embedded OC4J. For that, I need to start the EJBs from the Ant script to mimic right-clicking the EJB and selecting "Run [EJB name]". Is there a way to do that in Ant / Java within JDeveloper? Or would I need to deploy to a stand-alone OC4J? It seems a bit ironic that the only reason why I couldn't use the embedded OC4J is because I can't start it...

    Thanx for the answer! I already copied the command line that JDeveloper is executing when launching the embedded OC4J and will use it for execution.
    One thing, though: The embedded OC4J does differ from a standalone OC4J in that it is file-based. This means that you don't deploy with a JAR / WAR / EAR but rather just point to a directory with all the necessary files (classes, HTML, JSP, deployment descriptors), essentially in the "unpacked JAR / WAR / EAR" layout. This directory is specified as the "Output directory" in the project settings under "Configurations - Development - Paths". This saves quite some time because "deployment" just means copying files to this directory instead of packaging everything and then deploying through the OC4J servlet. You can see that if you create a web or EJB project in JDeveloper and run it in the embedded OC4J.
    It also allows for (at least partial - haven't tried it with EJBs yet) hot deployment: Change a JSP that's running in the embedded OC4J and save it - when refreshing the JSP in the browser, it's automatically recompiled.

  • Programmatically start embedded oc4j

    I’m writing an extension. The extension contains a servlet. When someone uses the extention for the first time (clicking an icon, selecting a menu option, etc) I’d like to start an instance of the embedded oc4j and have my servlet running on it. I guess I’d want to be able to assign the ports it’s running on too so that I could avoid conflicts...
    Anyone have any ideas on how I could achieve this? Can the embedded oc4j be started from my java code? Also, would I need to package up my servlet/web.xml into a war file? I’ve been trying to track down the code that’s executed with you do a right-click -> run on a servlet but haven’t yet found it.
    any advice would be helpful as I’m pretty new at writing extensions for jdeveloper.
    thanks ,
    Dylan

    sorry.
    We're using the the 11g technology preview.
    The extension will help communicate to other services in our orginization. We use a servlet for this communication.
    Basically, I'd like the user to be able to right-click a file in the navigator pane and select a custom menu item that we've added. This will bring up a browser (I got this working based on code in the extensions samples) that is pointed to our servlet.
    I'd like to package this servlet with our extension. That way, when they install our extention they not only get the code that adds the new menu item, but the servlet as well. So the first time the user clicks the our menu item , it fires up the embedded oc4j with our servlet.
    thx,
    Dylan

  • JDeveloper 10g (10.1.3) 10.1.3 Developer Preview: can't start embedded oc4j

    With Oracle JDeveloper 10g (10.1.3) Developer Preview, I tried to make a simple jsp page as in this tutorial:
    http://www.oracle.com/technology/obe/obe9051jdev/visual_jsp/intro_to_visual_jsp.htm
    I only added some text then right-clicked file, selected Run. It didn't work:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config>
    /usr/java/j2sdk1.4.2/bin/java -client -classpath /my/home/data/opt/jdeveloper/j2ee/home/oc4j.jar:/my/home/data/opt/jdeveloper/jdev/lib/jdev-oc4j-embedded.jar -Xverify:none -DcheckForUpdates=adminClientOnly -Xrs -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 /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/server.xml
    [waiting for the server to complete its initialization...]
    05/04/08 09:02:24 Node started with id=127765687050882
    05/04/08 09:02:27 Auto-unpacking /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/applications/dms0.war... done.
    05/04/08 09:02:27 Auto-unpacking /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/applications/admin_web.war... done.
    Apr 8, 2005 9:02:29 AM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    05/04/08 09:02:37 Copying default deployment descriptor from archive at /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/connectors/datasources/datasources/META-INF/oc4j-ra.xml to deployment directory /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/application-deployments/default/datasources...
    05/04/08 09:02:37 Copying default deployment descriptor from archive at /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/connectors/OracleASjms/OracleASjms/META-INF/oc4j-ra.xml to deployment directory /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/application-deployments/default/OracleASjms...
    05/04/08 09:02:42 Copying default deployment descriptor from archive at /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/applications/admin_ejb.jar/META-INF/orion-ejb-jar.xml to deployment directory /my/home/marius/jdevhome/system/oracle.j2ee.10.1.3.3.51/oc4j-config/application-deployments/default/admin_ejb.jar...
    05/04/08 09:02:42 Auto-deploying - applications/admin_ejb.jar (orion-ejb-jar.xml had been updated since the previous deployment)...
    05/04/08 09:02:45 Auto-deploying - compiling and loading...
    05/04/08 09:02:45 done.
    05/04/08 09:02:46 Error initializing server: Error initializing ejb-module; Exception java.io.IOException: /my/home/data/opt/jdeveloper/jdev/bin/ojc: cannot execute
    05/04/08 09:02:47 Fatal error: server exiting
    Process exited with exit code 1.
    For a simple stand-alone java application, it worked.
    I have sun jdk 1.4.2 on Fedora Core 3.
    Don't know if there are similar bug reports, I searched this forum for "10.1.3" but the search page stays like that for ~2 minutes, then stops without showing anything.

    Hello Frank,
    Thank you for your suggestion. I tried that and I got the same error. Looked more careful at it:
    Exception java.io.IOException: /my/home/data/opt/jdeveloper/jdev/bin/ojc: cannot execute
    I tried to execute it manually:
    $ l /my/home/data/opt/jdeveloper/jdev/bin/ojc
    -rw-rw-r-- 1 marius marius 1.9k Dec 2 19:20 /my/home/data/opt/jdeveloper/jdev/bin/ojc
    $ /my/home/data/opt/jdeveloper/jdev/bin/ojc
    bash: /my/home/data/opt/jdeveloper/jdev/bin/ojc: Permission denied
    Did
    $ chmod a+x /my/home/data/opt/jdeveloper/jdev/bin/ojc
    which solved the execution. Now Hello word works.
    I got jdeveloper as a .zip archive, which doesn't keep unix permissions. The Linux distribution should be in .tgz archive, it would have avoided this problem.
    Thanks!

  • Error starting up OC4J Standalone 904

    I'm getting the following error when starting up an OC4J 904 standalone (/j2ee/home/java -jar oc4j.jar) I get this error on both my Windows 2000 environment and Solaris. Any ideas?
    04/02/19 10:29:07 Error creating Tag Library Descriptor Cache : null
    04/02/19 10:29:07 java.lang.ExceptionInInitializerError
    04/02/19 10:29:07 at sun.reflect.NativeConstructorAccessorImpl.newInstance
    0(Native Method)
    04/02/19 10:29:07 at sun.reflect.NativeConstructorAccessorImpl.newInstance
    (NativeConstructorAccessorImpl.java:39)
    04/02/19 10:29:07 at sun.reflect.DelegatingConstructorAccessorImpl.newInst
    ance(DelegatingConstructorAccessorImpl.java:27)
    04/02/19 10:29:07 at java.lang.reflect.Constructor.newInstance(Constructor
    .java:274)
    04/02/19 10:29:07 at java.lang.Class.newInstance0(Class.java:306)
    04/02/19 10:29:07 at java.lang.Class.newInstance(Class.java:259)
    04/02/19 10:29:07 at oracle.jsp.parse.XMLUtil.elemToTagInfo(XMLUtil.java:1
    278)
    04/02/19 10:29:07 at oracle.jsp.parse.XMLUtil.domDocToTagLib(XMLUtil.java:
    1063)
    04/02/19 10:29:07 at oracle.jsp.parse.tldcache.TldUtil.getTlibInfo(TldUtil
    .java:225)
    04/02/19 10:29:07 at oracle.jsp.parse.tldcache.CachedTldImpl.findUriAttrib
    ute(CachedTldImpl.java:189)
    04/02/19 10:29:07 at oracle.jsp.parse.tldcache.CachedTldImpl.getTldInfo(Ca
    chedTldImpl.java:138)
    04/02/19 10:29:07 at oracle.jsp.parse.tldcache.CachedTldImpl.<init>(Cached
    TldImpl.java:92)
    04/02/19 10:29:07 at oracle.jsp.parse.tldcache.TldResourceImpl.buildTlds(T
    ldResourceImpl.java:132)
    04/02/19 10:29:07 at oracle.jsp.parse.tldcache.TldCacheImpl.applyInserts(T
    ldCacheImpl.java:292)
    04/02/19 10:29:07 at oracle.jsp.parse.tldcache.TldCacheImpl.updateCache(Tl
    dCacheImpl.java:281)
    04/02/19 10:29:07 at oracle.jsp.parse.tldcache.ApplicationTldCacheImpl.<in
    it>(ApplicationTldCacheImpl.java:62)
    04/02/19 10:29:07 at com.evermind.server.http.HttpApplication.initDefaultS
    ervlets(HttpApplication.java:4835)
    04/02/19 10:29:07 at com.evermind.server.http.HttpApplication.initDynamic(
    HttpApplication.java:701)
    04/02/19 10:29:07 at com.evermind.server.http.HttpApplication.<init>(HttpA
    pplication.java:497)
    04/02/19 10:29:07 at com.evermind.server.Application.getHttpApplication(Ap
    plication.java:886)
    04/02/19 10:29:07 at com.evermind.server.http.HttpServer.getHttpApplicatio
    n(HttpServer.java:688)
    04/02/19 10:29:07 at com.evermind.server.http.HttpSite.initApplications(Ht
    tpSite.java:570)
    04/02/19 10:29:07 at com.evermind.server.http.HttpSite.setConfig(HttpSite.
    java:263)
    04/02/19 10:29:07 at com.evermind.server.http.HttpServer.setSites(HttpServ
    er.java:259)
    04/02/19 10:29:07 at com.evermind.server.http.HttpServer.setConfig(HttpSer
    ver.java:160)
    04/02/19 10:29:07 at com.evermind.server.ApplicationServer.initializeHttp(
    ApplicationServer.java:2325)
    04/02/19 10:29:07 at com.evermind.server.ApplicationServer.setConfig(Appli
    cationServer.java:1498)
    04/02/19 10:29:07 at com.evermind.server.ApplicationServerLauncher.run(App
    licationServerLauncher.java:93)
    04/02/19 10:29:07 at java.lang.Thread.run(Thread.java:536)
    04/02/19 10:29:07 Caused by: java.util.MissingResourceException: Can't find bund
    le for base name oracle.webdb.service.resource.PortalBundle, locale en_US
    04/02/19 10:29:07 at java.util.ResourceBundle.throwMissingResourceExceptio
    n(ResourceBundle.java:804)
    04/02/19 10:29:07 at java.util.ResourceBundle.getBundleImpl(ResourceBundle
    .java:773)
    04/02/19 10:29:07 at java.util.ResourceBundle.getBundle(ResourceBundle.jav
    a:511)
    04/02/19 10:29:07 at oracle.webdb.service.tagext.PortletTagExtraInfo.<clin
    it>(Unknown Source)
    04/02/19 10:29:07 ... 29 more
    04/02/19 10:29:07 JspTagLibListener error : null
    04/02/19 10:29:08 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
    initialized

    fyi: all these problems seem to have gone away since I upgraded to JDK 1.4.1_02 and reinstalled.
    --matt                                                                                                                                                                                                                   

  • Failed to start embedded oc4j server

    Hi,
    I have downloaded Oracle JDeveloper 10.1.3.2.0 and created a simple project. When I try to run html file I get this error:
    OC4J startup failed
    java.lang.NoClassDefFoundError: oracle/dms/instrument/NounIntf
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
         at java.lang.Class.getMethod0(Class.java:2611)
         at java.lang.Class.getMethod(Class.java:1579)
         at oracle.classloader.util.MainClass.invoke(MainClass.java:81)
         at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:30)
    Process exited with exit code 0.
    Can someone please help?
    It is very urgent..
    To solve the problem I tried Start Webcenter Preconfigured OC4J option under Tools and get this error:
    A subdirectory or file C:\oraclexe\jdev\\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache already exists.
    A subdirectory or file C:\oraclexe\jdev\\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\javacache\admin already exists.
    wsrp not installed
    installing wsrp......
    java.lang.RuntimeException: Instruction unknown: loadınstruction
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.mapName(InstructionFinder.java:138)
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.compilePattern(InstructionFinder.java:170)
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:218)
         at com.sun.org.apache.bcel.internal.util.InstructionFinder.search(InstructionFinder.java:264)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1444)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:1058)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:615)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.translate(Stylesheet.java:730)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:335)
         at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:410)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:791)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
         at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
         at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    ERROR: 'Instruction unknown: loadınstruction'
    FATAL ERROR: 'Could not compile stylesheet'
    oracle.portlet.server.containerimpl.install.InstallException: Error parsing stylesheet "resource/config-server.xsl"
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:289)
         at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
         at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
         ... 2 more
    caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:824)
         at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:619)
         at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:284)
         at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
         at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    Starting OC4J from C:\oraclexe\\j2ee\home ...
    Executing: C:\oraclexe\jdk\jre/..\bin\java -XX:MaxPermSize=128m -Xmx512m -jar "C:\oraclexe\\j2ee\home\oc4j.jar" -config C:\oraclexe\jdev\\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\j2ee\home\config\server.xml
    OC4J startup failed
    java.lang.NoClassDefFoundError: oracle/dms/instrument/TransTraceIntf
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
         at java.lang.Class.getMethod0(Class.java:2611)
         at java.lang.Class.getMethod(Class.java:1579)
         at oracle.classloader.util.MainClass.invoke(MainClass.java:81)
         at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:30)
    Stop OC4J command finished.
    I deleted javacache and javacache\admin but of course it didn't help to solve it...

    The same errors can easily be reproduced by anyone with JDeveloper 10.1.3.2 by temporarily removing or renaming dms.jar
    This implies your dms.jar is not being loaded or is the wrong version or it may be the corrupted . Therefore have you tried reinstalling JDeveloper to eliminate the latter?

Maybe you are looking for

  • Regular Expressions in Oracle

    Hello All, I come from Perl scripting language background. Perl's regular expressions are rock solid, robust and very fast. Now I am planning to master Regular Expressions in Oracle. Could someone please point the correct place to start with it like

  • Windows edited/saved project crashing on  mac (adobe premiere cs5)

    hi there i really hope you can help. i have edited video files on adobe premiere cs5 on a windows 7 machine and saved the project ffiles on an external drive formy friend to colour grade and finalise etc he can open the video files in adobe premiere,

  • Start Up Crash with OS X Applications

    Hello, I cannot Startup Mail, Adressbook, Safari, TexEdit anymore! I used Disc Repair and permission repair and the Volume is OK. I can use other applications such as IE or Office, but I also have Problemes with Photoshop and Illustrator CS2, they al

  • Dreamweaver CS4 Live View - background-image does not display

    I'm teaching a basic Dreamweaver CS4 class, and one of my students happened upon a unique problem.  Although the students were not required to use LiveView for their assignment, the student noticed that when he clicked the LiveView button to look at

  • Messaging App suggestion

    First off, I absolutely love my touchpad! one thing I wanted to bring up and suggest for the messaging app is to sign on and off across multiple accounts. I can speak for many people out there: sometimes we want the flexibility to log on one account