Problem starting oc4j.jar

Hi all
I want to run oc4j in a w2k sp3 machine, and I want to do it with a non administrator group's user. When I start it with "java -jar oc4j" I receive an error "Error starting Http-server: (code=10106)", then it shows "Oracle9iAS (9.0.2.1.0) Containers for J2EE initialized", but there's nothing listening. I tried to looking for this error, by I can't find anything.
If I start the container with an user belonging to administrators groups I have no problems. I know it can be troubles creating a port less than 1024 without administratives privileges, but I set port 11500 to start the sever.
I'm really don't know if this is a j2ee problem or a windows problem, but I'm having big headaches with this issue. Could someone help me?
Thanks in advance.
Alfredo

I have running iis 5.0, but i checked there's nothing
listening in the port where I want to start the oc4j.
Still I tried other ports than 11500, but I always get
the same error.

Similar Messages

  • Problem during start oc4j

    Dear all
    during I try to run oc4j its run but after 3 second it is shutdown
    Note :I not use application server
    what is the problem
    please help me

    Hello Mustafa,
    What you could check is :
    1- Which version of OC4J do you run ?
    cd $ORACLE_HOME/j2ee/home
    $ORACLE_HOME/jdk/bin/java -jar oc4j.jar -version
    2- Which JDK version is being used ?
    $ORACLE_HOME/jdk/bin/java -version
    3- Which platform do you run OC4J from ?
    How much RAM memory do you have ?
    4- Which command do you use to launch OC4J ?
    Then, check with the README file that comes with OC4J
    to see if all the requirements have been respected.
    Hope this will help you.
    Steff

  • Problems when starting OC4J J2EE 10.1.3 standalone container

    Hi,
    For month's now my OC4J standalone container functioned without any problems..
    Suddenly, it does not start anymore and I'm getting the following error:
    Starting OC4J from c:\oracle\oc4j_1013\j2ee\home ...
    2006-07-19 21:45:23.046 ERROR Failed to set the internal configuration of the OC
    4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/oc4j_1013/j2ee/home/confi
    g/jms.xml]
    06/07/19 21:45:23 *** (SEVERE) Failed to set the internal configuration of the O
    C4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/oc4j_1013/j2ee/home/conf
    ig/jms.xml]
    2006-07-19 21:45:23.062 ERROR J2EE OJR0011 Exception starting JMS server: Failed
    to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConf
    ig[file:/C:/oracle/oc4j_1013/j2ee/home/config/jms.xml]
    2006-07-19 21:45:25.171 WARNING J2EE JNDI0001 Resource Environment reference jms
    /store not found. Allowing J2EEContext creation to continue anyway.
    2006-07-19 21:45:25.171 WARNING J2EE JNDI0001 Resource Environment reference jms
    /eventQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-07-19 21:45:25.171 WARNING J2EE JNDI0001 Resource Environment reference jms
    /notificationQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-07-19 21:45:25.218 WARNING J2EE JNDI0001 Resource Environment reference jms
    /eventQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-07-19 21:45:25.218 WARNING J2EE JNDI0001 Resource Environment reference jms
    /notificationQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-07-19 21:45:25.218 ERROR J2EE EJB3027 [default] An error occured deploying
    EJB module: java.lang.InstantiationException: Resource exception(OracleASjms) fo
    r MessageDrivenBean event during endpoint activation: failure looking up Connect
    ionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdap
    terInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.Name
    NotFoundException: jms/XAQueueConnectionFactory not found
    06/07/19 21:45:25 WARNING: Application.setConfig Application: default is in fail
    ed state as initialization failedjava.lang.InstantiationException: Error initial
    izing ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event d
    uring endpoint activation: failure looking up ConnectionFactoryJndiName:jms/XAQu
    eueConnectionFactory: javax.resource.spi.ResourceAdapterInternalException: Looki
    ng up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQu
    eueConnectionFactory not found
    Jul 19, 2006 9:45:25 PM com.evermind.server.Application setConfig
    WARNING: Application: default is in failed state as initialization failedjava.la
    ng.InstantiationException: Error initializing ejb-modules: Resource exception(Or
    acleASjms) for MessageDrivenBean event during endpoint activation: failure looki
    ng up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi
    .ResourceAdapterInternalException: Looking up jms/XAQueueConnectionFactory: java
    x.naming.NameNotFoundException: jms/XAQueueConnectionFactory not found
    2006-07-19 21:45:25.250 WARNING DEBUG GJRA-1100, oracle.j2ee.connector.messagein
    flow.MessageEndpointFactoryImpl@159d450.
    06/07/19 21:45:25 Error initializing server: Error initializing ejb-modules: Res
    ource exception(OracleASjms) for MessageDrivenBean event during endpoint activat
    ion: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:
    javax.resource.spi.ResourceAdapterInternalException: Looking up jms/XAQueueConne
    ctionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory n
    ot found
    2006-07-19 21:45:26.093 WARNING J2EE JTA RecoveryManager is null during shut
    down
    06/07/19 21:45:26 Fatal error: server exiting
    The version of the OC4J J2EE container is:
    Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277)
    Does anyone has any suggestions why this error happens, I did not changes anything in my installation and also did not deploy any new apps
    Thanks for your help

    I still have this problem when I try to login to the EM:
    This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J instance home on Application Server assoa.locahost is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml
    Can you help me here?

  • Starting OC4J installed through ( java -jar oc4j.jar -install)

    Hi,
    I want to use MapViewer. I installed OC4J standalone,using the following command
    java -jar oc4j.jar -install and then installed MapViewer in directory "lbs" under Oracle home. After that I updated the following two files
    1) http-web-site.xml
    2) server.xml
    according to the installation guide. I have runned the scripts and imported the MapViewer's dmp into Scott's schema.
    My oracle httpService is running and is listening on normal http port i.e. 8080
    I have to do the following
    1) Start OC4J (How can I do that ? I tried it as
    java -jar E:\oracle\j2ee\home\OC4J.jar but it says that the (c:\config\server.xml, System can not find the path specified. Since this is not the actual path, actual one is ... E:\oracle\j2ee\home\config\server.xml ) 2) How to check that OC4J is running or not ?
    3) Wot and how to run in browser for viewing the output, i.e. any DML/retrieval from Spatial data/maps...
    I know, I m very near to get output, but sometimes it feels so far.
    Please help me... You may suggest any book, link, or reply to above questions..
    Thanx
    Zaaf.

    1) cd to j2ee/home
    then start as:
    java -jar oc4j.jar
    or
    java -jar E:\oracle\j2ee\home\oc4j.jar -config E:\oracle\j2ee\home\config\server.xml
    2) You will get a message that the server is started
    For details please look at http://otn.oracle.com/tech/java/oc4j/pdf/oc4j_so_usersguide_r2.pdf
    thanks
    Debu

  • Command line hangs when starting OC4J with MapViewer

    Hello,
    I have a simple development setup with a stand-alone oc4j instance installed via the MapViewer Quick Start Kit, on an 11g database, on a Windows XP workstation.
    The problem: When I start the oc4j instance everything seems to start up successfully - the AS Control, the MapViewer EAR, etc.., but the command line window hangs after the last command is executed. It does not return to the command prompt. And if I close the Command Prompt window the oc4j instance automatically shuts down. Any thoughts on why this is hanging? Or is this normal behavior? Thank you. The text of the startup is shown below.
    (Oh...and if you have any idea why I am getting a string of [ConverterRule] WARNINGS, please let me know. Thanks.)
    -Dan
    ------- Output below --------
    C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home>java -jar oc4j.jar
    WARNING: Code-source C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applica
    tions\mapviewer\web\WEB-INF\lib\dms.jar (from WEB-INF/lib/ directory in C:\app\o
    racle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\l
    ib) has the same filename but is not identical to /C:/app/oracle/product/11.1.0/
    db_1/oc4j_mv/lib/dms.jar (from <code-source> (ignore manifest Class-Path) in MET
    A-INF/boot.xml in C:\app\oracle\product\11.1.0\db_1\oc4j_mv\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 mapviewer.web.web:0.0.0.
    WARNING: Code-source C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applica
    tions\mapviewer\web\WEB-INF\lib\ojdl.jar (from WEB-INF/lib/ directory in C:\app\
    oracle\product\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\
    lib) has the same filename but is not identical to /C:/app/oracle/product/11.1.0
    /db_1/oc4j_mv/diagnostics/lib/ojdl.jar (from <code-source> (ignore manifest Clas
    s-Path) in META-INF/boot.xml in C:\app\oracle\product\11.1.0\db_1\oc4j_mv\j2ee\h
    ome\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 mapviewer.
    web.web:0.0.0.
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ValidatorRule end
    WARNING: [ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null
    Mar 10, 2009 10:51:19 AM com.sun.faces.config.rules.ConverterRule end
    WARNING: [ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
    2009-03-10 10:51:20.500 NOTIFICATION oms root path: C:\app\oracle\product\11.1.
    0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\
    09/03/10 10:51:20 mbean domain: mapviewer
    2009-03-10 10:51:20.500 NOTIFICATION OMSConfig mbean regisred.
    2009-03-10 10:51:20.500 NOTIFICATION MapTileServer root path: C:\app\oracle\pro
    duct\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\
    09/03/10 10:51:20 mbean domain: mapviewer
    2009-03-10 10:51:20.515 NOTIFICATION MCSConfig mbean regisred.
    2009-03-10 10:51:20.515 NOTIFICATION MapViewer server version: Ver1033p5_B081010
    2009-03-10 10:51:20.515 NOTIFICATION using default config file: C:\app\oracle\pr
    oduct\11.1.0\db_1\oc4j_mv\j2ee\home\applications\mapviewer\web\WEB-INF\conf\mapV
    iewerConfig.xml
    2009-03-10 10:51:20.515 WARNING dcsf:true
    2009-03-10 10:51:20.531 WARNING destroying ALL mapmaker instances.
    2009-03-10 10:51:20.531 WARNING dcsf:true
    09/03/10 10:51:20 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    2009-03-10 10:51:20.578 NOTIFICATION Spatial Provider shapefileSDP has been regi
    stered.
    2009-03-10 10:51:20.578 NOTIFICATION Map Recycling thread started.
    2009-03-10 10:51:20.593 NOTIFICATION *** Oracle MapViewer started. ***
    2009-03-10 10:51:21.515 NOTIFICATION *** Oracle MapTileServer started. ***
    2009-03-10 10:51:21.531 NOTIFICATION *** Oracle Feature of Interest (FOI) Server started ***
    ---> This is where it hangs up. It just sits here and never returns to the command prompt.

    I guess I've come to the conclusion that it's normal for the command window to remain open while mapviewer is running. I just don't recall that from my previous installations.
    -- considered answered.

  • Error whenever starting OC4J - 10.1.3 EA

    I get the following error whenever I start my local OC4J server when I'm trying to run a ADF BC - based JSF/JSP in a new application:
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    **** Unable to obtain password from principals.xml. Using default.
    C:\jdev10.1.3EA\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config>
    \j2sdk1.4.2_01\bin\javaw.exe -ojvm -classpath C:\jdev10.1.3EA\j2ee\home\oc4j.jar;C:\jdev10.1.3EA\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 C:\jdev10.1.3EA\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    06/01/05 14:53:14 oracle.classloader.util.AnnotatedClassFormatError: MBeanServerEjbHome_StatefulSessionHomeWrapper1
         Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
         Loader: system.root:0.0.0
         Code-Source: /C:/jdev10.1.3EA/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/application-deployments/admin_ejb/deployment-cache.jar
         Configuration: <ejb> in wrappers
         Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescriptor
         Loader: oc4j:10.1.3
         Code-Source: /C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar
    06/01/05 14:53:14      at oracle.classloader.PolicyClassLoader.findLocalClass (PolicyClassLoader.java) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java:165) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.SearchSequence.getClass (SearchSequence.java:92) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1676) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev10.1.3EA/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@4]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:302) [jre bootstrap, by jre.bootstrap]
         at java.lang.Class.forName0 (Native method) [unknown, by unknown]
         at java.lang.Class.forName (Class.java:219) [jre bootstrap, by jre.bootstrap]
         at com.evermind.server.ejb.deployment.SessionBeanDescriptor.createHomeInstance (SessionBeanDescriptor.java:407) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstanceCore (EJBPackageDeployment.java:1048) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstance (EJBPackageDeployment.java:1101) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBPackageDeployment.bindRemoteHome (EJBPackageDeployment.java:500) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBPackageDeployment.bindHomes (EJBPackageDeployment.java:401) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ejb.EJBContainer.postInit (EJBContainer.java:1015) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationStateRunning.initializeApplication (ApplicationStateRunning.java:206) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.Application.setConfig (Application.java:392) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.Application.setConfig (Application.java:310) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.initializeSystemApplication (ApplicationServer.java:1418) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.initializeAutoDeployedApplications (ApplicationServer.java:1401) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:896) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev10.1.3EA/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev10.1.3EA\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:534) [jre bootstrap, by jre.bootstrap]
    In searching the forum I've only found a couple of things that look similar and they suggest the problem is caused when a project is upgraded. The suggested solution is running the project in JDK 1.5. (see Error Attempting to Run JSP with 10.1.3.0.3.3412
    However, my project is a new project, created in 10.1.3, and in the project properties --> compiler settings, I've got the source and target set to 1.4. There hasn't been any upgrade to speak of, and my production environment is JDK 1.4.
    I get the same error upon creating a new web application, creating a JSF, placing some Output Text on the page and then attempting to run it.
    Does anyone have any idea how to fix this? If I can't run new applications, I'm in trouble...
    Thanks,
    Andy

    Thanks for the response, Shay.
    I was able to get the server to start up by changing the setting in Project Properties --> Libraries --> J2SE Version to 1.5.
    Are you saying, then, that regardless of which version of JDK you use to compile your project (Project Properties --> Compiler --> Source & Target, both 1.4 in my case), in order to run it on the embedded OC4J server you have to use 1.5 in the setting above? I just want to understand this so that I can be sure that my app will run on my production app server, which runs JDK 1.4. That's what I was referring to as "my production environment" in my original post.
    Thanks again,
    Andy

  • Error message when starting OC4J after deploying

    Hi, I hope someone can help me. I've been developing a J2EE project in JBuilder9 and OC4J 9.0.3. The problem occurs when starting OC4J after the application has been deployed. I'm using two MDBs and two Session Beans, one Stateless and the other one stateful. I'm using two topics with OJMS. I can access these topics from a standalone application, but when I try to lookup JNDI names from inside EJBs, I get a NamingException (name not found) Please I need some help
    OC4J error:
    D:\oc4j\j2ee\home>java -jar oc4j.jar
    Node started with id=678845146
    Error deploying file:/D:/oc4j/j2ee/home/applications/LogicaNegocio/LogicaNegocio
    .jar homes: Topic has empty subscription name
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Error when executing standalone application client using EJBs:
    javax.naming.NameNotFoundException: No resource named 'TopicConnecionFactories/TablaTopics' found in resource provider 'BeanProcesamientoMensajes'
    This error doesn't appear when looking up that topic with a standalone application w/o using EJBs
    Thanks in advance.

    make sure the datasource.xml in the config directory is right
    for example
         <data-source
              class="com.evermind.sql.OrionCMTDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="TopicConnecionFactories/TablaTopics"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="xx"
              password="xx"
              url="jdbc:oracle:thin:@172.16.113.2:1521:orcl"
              inactivity-timeout="90"
         />

  • Help with starting oc4j

    I installed Oc4j as a standalone package in a directory (Solaris2.6) where
    everybody in my group has full access. Now the problem is I'm the only person
    who can start the application server by the following:
    java -jar oc4j.jar
    For other people in the group , they get exceptions like:
    java.lang.ClassNotFoundException: oracle.dms.instrument.DMSConsole
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.ClassNotFoundException.<init>(Compiled Code)
    at java.net.URLClassLoader$1.run(Compiled Code)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivileged(Compiled Code)
    at java.net.URLClassLoader.findClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:125)
    at
    com.evermind.server.ApplicationServer.initConsole(ApplicationServer.java:2970)
    at com.evermind.server.OC4JServer.main(OC4JServer.java:224)
    Unable to initialize DMS:oracle.dms.instrument_stub.DMSConsole
    java.lang.SecurityException: sealing violation
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at java.lang.SecurityException.<init>(SecurityException.java:39)
    at java.net.URLClassLoader.defineClass(Compiled Code)
    at java.net.URLClassLoader.access$1(Compiled Code)
    at java.net.URLClassLoader$1.run(Compiled Code)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivileged(Compiled Code)
    at java.net.URLClassLoader.findClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass0(Compiled Code)
    at java.lang.ClassLoader.defineClass(Compiled Code)
    at java.security.SecureClassLoader.defineClass(Compiled Code)
    at java.net.URLClassLoader.defineClass(Compiled Code)
    at java.net.URLClassLoader.access$1(Compiled Code)
    at java.net.URLClassLoader$1.run(Compiled Code)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivileged(Compiled Code)
    at java.net.URLClassLoader.findClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
    at java.lang.ClassLoader.loadClass(Compiled Code)
    at
    org.apache.crimson.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Document
    BuilderFactoryImpl.java:82)
    at
    com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java:27)
    at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java:179)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:135)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:92)
    at
    com.evermind.server.XMLApplicationServerConfig.init(XMLApplicationServerConfig
    .java:1523)
    at
    com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.ja
    va:70)
    at java.lang.Thread.run(Thread.java:485)
    Any clues? Thanks in advance.

    Hi Yicheng,
    ClassNotFoundExceptionusually means that java cannot find a class -- which usually implies a CLASSPATH problem. For your information, the "oracle.dms.instrument.DMSConsole" class is located in the "dms.jar" file which is in the "lib" subdirectory of my OC4J 9.0.3 stand-alone installation.
    Good Luck,
    Avi.

  • Problems starting Mapviewer

    Hi. I am relatively new to Oracle Spatial and I am trying to install Mapviewer to view data I have loaded into an Oracle9i Database. When I try to access mapviewer from the command line I am getting the following messages. I am getting as far as http://localhost:8888/mapviewer/omserver
    but that is where the problem is kicking in. Is there anybody out there who may be able to help me!
    P.s. I have installed a standalone version of oc4j.
    [C:\Oracle\oc4j\j2ee\home>java -jar oc4j.jar -console
    [oracle.spatial.mapserver.oms, INFO] oms servlet document-root path: C:\Oracle_
    Database\lbs\mapviewer\web\
    [oracle.spatial.mapserver.oms, INFO] No init parameter "oms_config". Will use de
    fault.
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    [oracle.spatial.mapserver.core.MapperConfig, INFO] using default config file: C:
    \Oracle_Database\lbs\mapviewer\conf\mapViewerConfig.xml
    [oracle.spatial.mapserver.core.MapperPool, WARN] destroying ALL mapmaker instanc
    es.
    [oracle.spatial.mapserver.core.MapperConfig, INFO] Map Recycling thread started.
    [oracle.spatial.mapserver.oms, INFO] *** Oracle Map Viewer is successfully started. ***
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at com.evermind.server.ApplicationServer.launchCommandline(ApplicationSe
    rver.java:837)
    at com.evermind.server.OC4JServer.launchOC4JCommandline(OC4JServer.java:
    194)
    at com.evermind.server.OC4JServer.main(OC4JServer.java:232)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name c
    om/evermind/client/assembler/Assembler, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
    .java:804)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
    at com.evermind.util.FallbackResourceBundle.getBundle(FallbackResourceBu
    ndle.java:81)
    at com.evermind.util.FallbackResourceBundle.getBundle(FallbackResourceBu
    ndle.java:76)
    at com.evermind.client.assembler.Assembler.<clinit>(Assembler.java:24)
    ... 3 more
    [oracle.spatial.mapserver.core.MapRecycleThread, Thu May 15 02:28:41 PDT 2003,#T
    hread-4, INFO] cleansing old maps
    <?xml version="1.0" encoding="UTF-8" ?>
    <oms_error>Message:[oms] empty or null xml map request string. Thu May 15 02:30:23 PDT 2003 Machine Node Name: ucd-0bfhqug2jqd Severity: 0 Description: at oracle.spatial.mapserver.oms.getXMLDocument(oms.java:440) at oracle.spatial.mapserver.oms.doPost(oms.java:167) at oracle.spatial.mapserver.oms.doGet(oms.java:138) 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:721) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797) at java.lang.Thread.run(Thread.java:536)</oms_error>

    I am very grateful for your prompt response however I am still having slight difficulties running mapviewer. I downloaded version 9.0.4 of mapviewer as you suggested in order for it to be compatible with oc4j 9.0.3. It appears to be up and running as I am getting the following response from the command line:
    C:\oc4j\j2ee\home>java -jar oc4j.jar -console
    [oracle.lbs.mapserver.oms, INFO] oms servlet document-root path: C:\Oracle_Database\lbs\mapviewer\web\
    [oracle.lbs.mapserver.oms, INFO] No init parameter "oms_config". Will use default.
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Exception in thread "main" java.lang.ExceptionInInitializerError
    at com.evermind.server.ApplicationServer.launchCommandline(ApplicationSe
    rver.java:837)
    at com.evermind.server.OC4JServer.launchOC4JCommandline(OC4JServer.java:
    194)
    at com.evermind.server.OC4JServer.main(OC4JServer.java:232)
    Caused by: java.util.MissingResourceException: Can't find bundle for base name c
    om/evermind/client/assembler/Assembler, locale en_US
    at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle
    .java:804)
    at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
    [oracle.lbs.mapserver.core.MapperConfig, INFO] using default config file: C:\Ora
    cle_Database\lbs\mapviewer\conf\mapViewerConfig.xml
    [oracle.lbs.mapserver.core.MapperPool, WARN] destroying ALL mapmaker instances.
    [oracle.lbs.mapserver.core.MapperConfig, INFO] Map Recycling thread started.
    at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)
    at com.evermind.util.FallbackResourceBundle.getBundle(FallbackResourceBu
    ndle.java:81)
    at com.evermind.util.FallbackResourceBundle.getBundle(FallbackResourceBu
    ndle.java:76)
    at com.evermind.client.assembler.Assembler.<clinit>(Assembler.java:24)
    ... 3 more
    [oracle.lbs.mapserver.oms, INFO] *** Oracle Map Viewer is successfully started.***
    When I attempt to test if the MapViewer servlet has started correctly by pointing to the oc4j instance as per the manual I am getting the following response which appears to be correct. I am just not too sure where to go from here. (Apologies if I am missing something trivial!)
    <?xml version="1.0" encoding="UTF-8" ?>
    <oms_error>Message:[oms] empty or null xml map request string. Fri May 16 06:52:48 PDT 2003 Machine Node Name: ucd-0bfhqug2jqd Severity: 0 Description: at oracle.lbs.mapserver.oms.getXMLDocument(oms.java:517) at oracle.lbs.mapserver.oms.doPost(oms.java:202) at oracle.lbs.mapserver.oms.doGet(oms.java:169) 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:721) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:536)</oms_error>

  • Exception while starting OC4J 10g

    When ever I start OC4J, I get the following exception thrown. Althopugh my container starts. Also when I try to connect using admin_client.jar for deploying any CMP EJB, it fails to connect.
    I am using JDK 1.4.2 even when I invoke with JDev 10g java executable I get the same error.
    Can some one please help me. I am desperately looking to get started with 10g
    D:\App Servers\oc4j\j2ee\home>D:\JavaTools\JDev10g\jdk\bin\java -jar oc4j.jar
    03/11/19 18:42:13 Auto-deploying ../../home/applications/admin_ejb.jar (New serv
    er version detected)... MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:3: p
    ackage oracle.dms.instrument does not exist
    import oracle.dms.instrument.*;
    ^
    MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:7: package javax.ejb does no
    t exist
    import javax.ejb.*;
    ^
    MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:10: cannot access javax.ejb.
    EJBHome
    file javax\ejb\EJBHome.class not found
    public class MBeanServerEjbHome_StatefulSessionHomeWrapper1 extends com.evermind
    .server.ejb.RemoteStatefulSessionEJBHome implements oracle.oc4j.admin.jmx.ejb.MB
    eanServerEjbHome
    ^
    MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:22: package javax.ejb does n
    ot exist
    public oracle.oc4j.admin.jmx.ejb.MBeanServerEjbRemote create(oracle.oc4j.admin.j
    mx.shared.Domain argument0) throws javax.ejb.CreateException, java.rmi.RemoteExc
    eption
    ^
    MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:150: cannot resolve symbol
    symbol : class SessionBean
    location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
    public SessionBean createInstance()
    ^
    MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:155: cannot resolve symbol
    symbol : class NounIntf
    location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
    protected static NounIntf create___124_noun = null;
    ^
    MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:156: cannot resolve symbol
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
    protected static PhaseEventIntf create___124_wrapperPE = null;
    ^
    MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:157: cannot resolve symbol
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
    protected static PhaseEventIntf create___124_clientPE = null;
    ^
    MBeanServerEjbHome_StatefulSessionHomeWrapper1.java:158: cannot resolve symbol
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbHome_StatefulSessionHomeWrapper1
    protected static PhaseEventIntf create___124__PostCreatePE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3: package oracle.dms.inst
    rument does not exist
    import oracle.dms.instrument.*;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:5: package javax.ejb does
    not exist
    import javax.ejb.*;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:11: cannot access javax.ej
    b.EJBObject
    file javax\ejb\EJBObject.class not found
    public class MBeanServerEjbRemote_StatefulSessionBeanWrapper0 extends com.evermi
    nd.server.ejb.RemoteStatefulSessionEJBObject implements oracle.oc4j.admin.jmx.ej
    b.MBeanServerEjbRemote
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:35: package javax.ejb does
    not exist
    public javax.ejb.SessionBean getObject()
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:47: package javax.manageme
    nt does not exist
    public java.lang.Object invoke(javax.management.ObjectName argument0, java.lang.
    String argument1, java.io.Serializable[] argument2, java.lang.String[] argument3
    ) throws javax.management.InstanceNotFoundException, javax.management.MBeanExcep
    tion, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.excepti
    ons.InternalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:47: package javax.manageme
    nt does not exist
    public java.lang.Object invoke(javax.management.ObjectName argument0, java.lang.
    String argument1, java.io.Serializable[] argument2, java.lang.String[] argument3
    ) throws javax.management.InstanceNotFoundException, javax.management.MBeanExcep
    tion, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.excepti
    ons.InternalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:47: package javax.manageme
    nt does not exist
    public java.lang.Object invoke(javax.management.ObjectName argument0, java.lang.
    String argument1, java.io.Serializable[] argument2, java.lang.String[] argument3
    ) throws javax.management.InstanceNotFoundException, javax.management.MBeanExcep
    tion, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.excepti
    ons.InternalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:47: package javax.manageme
    nt does not exist
    public java.lang.Object invoke(javax.management.ObjectName argument0, java.lang.
    String argument1, java.io.Serializable[] argument2, java.lang.String[] argument3
    ) throws javax.management.InstanceNotFoundException, javax.management.MBeanExcep
    tion, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.excepti
    ons.InternalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:500: package javax.managem
    ent does not exist
    public javax.management.AttributeList getAttributes(javax.management.ObjectName
    argument0, java.lang.String[] argument1) throws javax.management.InstanceNotFoun
    dException, javax.management.ReflectionException, oracle.oc4j.admin.jmx.shared.e
    xceptions.InternalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:663: package javax.managem
    ent does not exist
    public void unregisterMBean(javax.management.ObjectName argument0) throws javax.
    management.InstanceNotFoundException, javax.management.MBeanRegistrationExceptio
    n, oracle.oc4j.admin.jmx.shared.exceptions.InternalException, java.rmi.RemoteExc
    eption
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:959: package javax.managem
    ent does not exist
    public void setAttribute(javax.management.ObjectName argument0, javax.management
    .Attribute argument1) throws javax.management.InstanceNotFoundException, javax.m
    anagement.AttributeNotFoundException, javax.management.InvalidAttributeValueExce
    ption, javax.management.MBeanException, javax.management.ReflectionException, or
    acle.oc4j.admin.jmx.shared.exceptions.InternalException, java.rmi.RemoteExceptio
    n
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:959: package javax.managem
    ent does not exist
    public void setAttribute(javax.management.ObjectName argument0, javax.management
    .Attribute argument1) throws javax.management.InstanceNotFoundException, javax.m
    anagement.AttributeNotFoundException, javax.management.InvalidAttributeValueExce
    ption, javax.management.MBeanException, javax.management.ReflectionException, or
    acle.oc4j.admin.jmx.shared.exceptions.InternalException, java.rmi.RemoteExceptio
    n
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:959: package javax.managem
    ent does not exist
    public void setAttribute(javax.management.ObjectName argument0, javax.management
    .Attribute argument1) throws javax.management.InstanceNotFoundException, javax.m
    anagement.AttributeNotFoundException, javax.management.InvalidAttributeValueExce
    ption, javax.management.MBeanException, javax.management.ReflectionException, or
    acle.oc4j.admin.jmx.shared.exceptions.InternalException, java.rmi.RemoteExceptio
    n
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:1323: package javax.manage
    ment does not exist
    public java.util.Set queryNames(javax.management.ObjectName argument0, javax.man
    agement.QueryExp argument1) throws oracle.oc4j.admin.jmx.shared.exceptions.Inter
    nalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:1597: package javax.manage
    ment does not exist
    public javax.management.ObjectInstance getObjectInstance(javax.management.Object
    Name argument0) throws javax.management.InstanceNotFoundException, oracle.oc4j.a
    dmin.jmx.shared.exceptions.InternalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:2336: package javax.manage
    ment does not exist
    public void addNotificationListener(javax.management.ObjectName argument0, oracl
    e.oc4j.admin.jmx.shared.RemoteListenerId argument1, javax.management.Notificatio
    nFilter argument2, java.lang.Object argument3) throws javax.management.InstanceN
    otFoundException, oracle.oc4j.admin.jmx.shared.exceptions.InternalException, jav
    a.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:2636: package javax.manage
    ment does not exist
    public void removeNotificationListener(javax.management.ObjectName argument0, ja
    vax.management.ObjectName argument1) throws javax.management.InstanceNotFoundExc
    eption, javax.management.ListenerNotFoundException, oracle.oc4j.admin.jmx.shared
    .exceptions.InternalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3268: package javax.manage
    ment does not exist
    public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName argum
    ent0) throws javax.management.InstanceNotFoundException, javax.management.Intros
    pectionException, javax.management.ReflectionException, oracle.oc4j.admin.jmx.sh
    ared.exceptions.InternalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3268: package javax.manage
    ment does not exist
    public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName argum
    ent0) throws javax.management.InstanceNotFoundException, javax.management.Intros
    pectionException, javax.management.ReflectionException, oracle.oc4j.admin.jmx.sh
    ared.exceptions.InternalException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3756: cannot resolve symbo
    l
    symbol : class SessionBean
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    public SessionBean passivate() throws Exception
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3780: cannot resolve symbo
    l
    symbol : class EJBException
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    public void activate() throws EJBException, java.rmi.RemoteException
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3801: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf invoke___100_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3802: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf invoke___100_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3803: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf invoke___100_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3804: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf getDefaultDomain___101_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3805: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getDefaultDomain___101_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3806: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getDefaultDomain___101_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3807: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf isRegistered___102_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3808: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf isRegistered___102_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3809: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf isRegistered___102_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3810: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf getAttributes___103_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3811: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getAttributes___103_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3812: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getAttributes___103_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3813: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf unregisterMBean___104_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3814: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf unregisterMBean___104_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3815: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf unregisterMBean___104_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3816: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf getEvents___105_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3817: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getEvents___105_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3818: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getEvents___105_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3819: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf setAttribute___106_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3820: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf setAttribute___106_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3821: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf setAttribute___106_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3822: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf getAttribute___107_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3823: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getAttribute___107_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3824: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getAttribute___107_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3825: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf queryNames___108_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3826: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf queryNames___108_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3827: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf queryNames___108_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3828: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf test___109_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3829: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf test___109_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3830: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf test___109_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3831: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf getObjectInstance___110_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3832: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getObjectInstance___110_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3833: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getObjectInstance___110_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3834: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf queryMBeans___111_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3835: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf queryMBeans___111_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3836: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf queryMBeans___111_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3837: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf getMBeanCount___112_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3838: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getMBeanCount___112_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3839: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getMBeanCount___112_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3840: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf setAttributes___113_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3841: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf setAttributes___113_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3842: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf setAttributes___113_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3843: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf getDomains___114_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3844: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getDomains___114_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3845: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getDomains___114_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3846: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf addNotificationListener___115_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3847: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf addNotificationListener___115_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3848: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf addNotificationListener___115_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3849: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf addNotificationListener___116_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3850: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf addNotificationListener___116_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3851: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf addNotificationListener___116_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3852: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf removeNotificationListener___117_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3853: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf removeNotificationListener___117_wrapperPE = nul
    l;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3854: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf removeNotificationListener___117_clientPE = null
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3855: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf removeNotificationListener___118_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3856: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf removeNotificationListener___118_wrapperPE = nul
    l;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3857: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf removeNotificationListener___118_clientPE = null
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3858: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf removeNotificationListener___119_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3859: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf removeNotificationListener___119_wrapperPE = nul
    l;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3860: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf removeNotificationListener___119_clientPE = null
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3861: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf removeNotificationListener___120_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3862: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf removeNotificationListener___120_wrapperPE = nul
    l;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3863: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf removeNotificationListener___120_clientPE = null
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3864: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf getMBeanInfo___121_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3865: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getMBeanInfo___121_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3866: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf getMBeanInfo___121_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3867: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf isInstanceOf___122_noun = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3868: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf isInstanceOf___122_wrapperPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3869: cannot resolve symbo
    l
    symbol : class PhaseEventIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static PhaseEventIntf isInstanceOf___122_clientPE = null;
    ^
    MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:3870: cannot resolve symbo
    l
    symbol : class NounIntf
    location: class MBeanServerEjbRemote_StatefulSessionBeanWrapper0
    protected static NounIntf ping___123_noun = null;
    ^
    An exception has occurred in the compiler (1.4.1_02). Please file a bug at the J
    ava Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after chec
    king the Bug Parade for duplicates. Include your program and the following diagn
    ostic in your report. Thank you.
    java.lang.NullPointerException
    at com.sun.tools.javac.v8.comp.Check$Validator.visitSelect(Check.java:44
    3)
    at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java:1091)
    at com.sun.tools.javac.v8.comp.Check.validate(Check.java:415)
    at com.sun.tools.javac.v8.comp.Check.validate(Check.java:426)
    at com.sun.tools.javac.v8.comp.Attr.attribClassBody(Attr.java:1383)
    at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1366)
    at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1342)
    at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:358)
    at com.sun.tools.javac.v8.Main.compile(Main.java:520)
    at com.sun.tools.javac.Main.compile(Main.java:36)
    at com.sun.tools.javac.Main.main(Main.java:27)
    Error compiling D:\App Servers\oc4j\j2ee\home\applications/admin_ejb.jar: Syntax
    error in source
    Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview initialized

    Got the issue resolved after lot of pain
    The problem is with config/application.xml file shipped with OC4J
    It doesn't have an entry to point to the required lib directories
    Adding the below two entries resolved the issue
    <library path="../lib" />
    <library path="../../../lib" />
    Hope you don't forget to include it in next revison

  • Error 1053 comes out while starting oc4j service through windows services

    HI EVERYBODY
    I face some problem and I'll be very happy if i recieved any reply from u.
    here is my problem :
    I used the code which starts/stops OC4J-standalone as a Windows service using
    java service for install and uninstall the service(the code is shown down),however the code works well
    and the service install and uninstall successfully.
    but when I start the service throught the windows servecis manager this error comes out:
    * Error 1053: The service did not respond to the start or control request in a timely fashion"
    and the status of the service stay "starting"*
    I found solution by adding "DWORD Value" in the registry and modify it to 60000
    but it didn't work and still this error come out.
    Any help will be appreciated.
    the code is :
    install_OC4J_Service :
    Setlocal
    @rem Note that if JVM not found, service 'does not report an error' when startup fails, although event is logged
    if "%JAVA_HOME%" == "" set "JAVA_HOME"=C:\Program Files\Java
    REM set the display name of the service
    set JSNAME=OC4J_Service
    REM Set the Java server directory
    set JVMDIR=%JAVA_HOME%\jre1.6.0_01\bin\client
    REM Setting a bind directory for the software
    set JSBINDIR=%CD%
    REM Setting path and filename of the (renamed) javaservice executable
    set JSEXE=%JSBINDIR%\OC4J_Service.exe
    REM Stating the directory of the OC4J-home
    set OC4J_HOME=E:\DevSuiteHome_1\j2ee\home
    REM just to check the used version @echo . To install the service "%JSNAME%" the following version of JavaService executable is used: @ echo . %JSEXE% -version @echo .
    @echo Installing service OC4J_Service ... Press Enter to continu or press Control-C to abort installation
    @pause
    @echo
    %JSEXE% -install %JSNAME% %JVMDIR%\jvm.dll -Djdbc.debug=true java.class.path=%OC4J_HOME%\oc4j.jar –Xmx256M -start com.evermind.server.OC4JServer -params -config %OC4J_HOME%\config\server.xml -out %OC4J_HOME%\log\OC4J_service_stdout.log -err %OC4J_HOME%\log\OC4J_service_stderr.log -current %JSBINDIR% -manual -description "OC4JService"
    @echo
    @echo End of Installation
    @pause
    uninstall_OC4J_Service:
    @echo off
    @echo . Uninstall_OC4JService.cmd - de-install of JavaService executable using OC4J.jar
    @echo .
    setlocal
    @rem Note that if JVM not found, service 'does not report an error' when startup fails, although event logged
    if "%JAVA_HOME%" == "" set JAVA_HOME=c:\java\j2sdk142
    set JVMDIR=%JAVA_HOME%\jre1.6.0_01\bin\client
    set JSBINDIR=%CD%
    set JSEXE=%JSBINDIR%\OC4J_Service.exe
    @echo . Using following version of JavaService executable:
    @echo .
    %JSEXE% -version
    @echo .
    @echo Un-installing service OC4J_Service ... Press Control-C to abort
    @pause
    @echo .
    %JSEXE% -uninstall OC4J_Service
    @echo .
    @echo End of script
    @pause
    -------------------------------------------------------------------------

    Any recent change? Use below command to validate the opmn.xml file.
    opmnctl validate
    Replace the opmn.xml backup file in $ORACLE_HOME/opmn/conf and try starting opmn.
    Also ipm.log file in $ORACLE_HOME/opmn/log folder

  • Unable to Start OC4J home_default_island_1 - OAS 10.1.2.2

    We are running OAS 10.1.2.2 and are having issues starting OC4J home_default_island_1 and OC4J_BI_forms
    This is the error received in OC4J~home~default_island~1 logfile:
    09/04/15 12:41:36 *** (WARNING) Wed Apr 15 12:41:36 MDT 2009 [Thread[Orion Launcher,5,main]] getHostTimePrefix java.net.UnknownHostException: minint-1n8e2ttv: minint-1n8e2ttv
    09/04/15 12:41:36 Error starting ORMI-Server. Unable to bind socket: minint-1n8e2ttv: minint-1n8e2ttv
    09/04/15 12:41:36 java.lang.NullPointerException
    09/04/15 12:41:36 at com.evermind.server.rmi.RMIServer.run(RMIServer.java:474)
    09/04/15 12:41:36 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    09/04/15 12:41:36 at java.lang.Thread.run(Thread.java:534)
    09/04/15 12:41:39 Warning: Error reading transaction-log file (/oracle_base/oas/j2ee/home/persistence/home_default_island_1/transaction.state) for recovery: premature end of file
    09/04/15 12:41:39 Forced or abrupt (crash etc) server shutdown detected, starting recovery process...
    09/04/15 12:41:39 Recovery completed, 0 connections committed and 0 rolled back...
    09/04/15 12:41:42 Oracle Application Server Containers for J2EE 10g (10.1.2.2.0) initialized
    09/04/15 12:41:42 java.lang.NullPointerException
    09/04/15 12:41:42 at java.util.Hashtable.put(Hashtable.java:395)
    09/04/15 12:41:42 at java.util.Properties.setProperty(Properties.java:102)
    09/04/15 12:41:42 at java.lang.System.setProperty(System.java:656)
    09/04/15 12:41:42 at com.evermind.server.OC4JMonitorThread.run(OC4JMonitorThread.java:300)
    09/04/15 12:41:42 at java.lang.Thread.run(Thread.java:534)
    Thanks for your assistance!
    wqbang

    I managed to solve the problem by setting the "Load All System JAR Files during OC4J Startup" in the "Embeded OC4J Server Preferences" under "Global > Startup".

  • Problem starting JMS

    Hi,
    being an Oracle Developer, I recently installed Oracle XML Publisher. At first it went apparently fine, but one day it suddenly wouldn't start anymore ... No, you may be wondering why I'm posting this on an JSM forum? Well, I got the following message (afterwards XML Publisher simply shut down) :
    C:\oracle\product\10.1.0\Db_1\xmlpserver>"C:\oracle\product\10.1.0\Db_1\jdk\bin\
    java" -Xms256M -Xmx256M -jar "C:\oracle\product\10.1.0\Db_1\oc4j\j2ee\home\oc4j
    .jar" -config "C:\oracle\product\10.1.0\Db_1\oc4j\j2ee\home\config\server.xml"
    2006-12-04 09:47:57.453 ERROR Failed to set the internal configuration of the OC
    4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/product/10.1.0/db_1/oc4j/
    j2ee/home/config/jms.xml]
    06/12/04 09:47:57 *** (SEVERE) Failed to set the internal configuration of the O
    C4J JMS Server with: XMLJMSServerConfig[file:/C:/oracle/product/10.1.0/db_1/oc4j
    /j2ee/home/config/jms.xml]
    2006-12-04 09:47:57.453 ERROR J2EE OJR0011 Exception starting JMS server: Failed
    to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConf
    ig[file:/C:/oracle/product/10.1.0/db_1/oc4j/j2ee/home/config/jms.xml]
    2006-12-04 09:47:59.281 WARNING J2EE JNDI0001 Resource Environment reference jms
    /store not found. Allowing J2EEContext creation to continue anyway.
    2006-12-04 09:47:59.281 WARNING J2EE JNDI0001 Resource Environment reference jms
    /eventQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-12-04 09:47:59.281 WARNING J2EE JNDI0001 Resource Environment reference jms
    /notificationQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-12-04 09:47:59.328 WARNING J2EE JNDI0001 Resource Environment reference jms
    /eventQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-12-04 09:47:59.328 WARNING J2EE JNDI0001 Resource Environment reference jms
    /notificationQueue not found. Allowing J2EEContext creation to continue anyway.
    2006-12-04 09:47:59.328 ERROR J2EE EJB3027 [default] An error occured deploying
    EJB module: java.lang.InstantiationException: Resource exception(OracleASjms) fo
    r MessageDrivenBean event during endpoint activation: failure looking up Connect
    ionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi.ResourceAdap
    terInternalException: Looking up jms/XAQueueConnectionFactory: javax.naming.Name
    NotFoundException: jms/XAQueueConnectionFactory not found
    06/12/04 09:47:59 WARNING: Application.setConfig Application: default is in fail
    ed state as initialization failedjava.lang.InstantiationException: Error initial
    izing ejb-modules: Resource exception(OracleASjms) for MessageDrivenBean event d
    uring endpoint activation: failure looking up ConnectionFactoryJndiName:jms/XAQu
    eueConnectionFactory: javax.resource.spi.ResourceAdapterInternalException: Looki
    ng up jms/XAQueueConnectionFactory: javax.naming.NameNotFoundException: jms/XAQu
    eueConnectionFactory not found
    4-dec-2006 9:47:59 com.evermind.server.Application setConfig
    WARNING: Application: default is in failed state as initialization failedjava.la
    ng.InstantiationException: Error initializing ejb-modules: Resource exception(Or
    acleASjms) for MessageDrivenBean event during endpoint activation: failure looki
    ng up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory: javax.resource.spi
    .ResourceAdapterInternalException: Looking up jms/XAQueueConnectionFactory: java
    x.naming.NameNotFoundException: jms/XAQueueConnectionFactory not found
    2006-12-04 09:47:59.344 WARNING DEBUG GJRA-1100, oracle.j2ee.connector.messagein
    flow.MessageEndpointFactoryImpl@1ad4feb.
    06/12/04 09:47:59 Error initializing server: Error initializing ejb-modules: Res
    ource exception(OracleASjms) for MessageDrivenBean event during endpoint activat
    ion: failure looking up ConnectionFactoryJndiName:jms/XAQueueConnectionFactory:
    javax.resource.spi.ResourceAdapterInternalException: Looking up jms/XAQueueConne
    ctionFactory: javax.naming.NameNotFoundException: jms/XAQueueConnectionFactory n
    ot found
    2006-12-04 09:47:59.938 WARNING J2EE JTA RecoveryManager is null during shut
    down
    I don't know much about Java, JMS, ... But recently, I figured out that when I disabled the "Wireless Network Connection" on my computer, it worked fine again!!! I don't have a clue on what's happening, but I would like to know ...
    So, anybody who knows more about this, feel free to add comment!
    Thanks in advance!
    Greetings,
    P.
    Message was edited by:
    L@ncelot
    Message was edited by:
    L@ncelot

    Well, same occurrence of described problem and no solution-
    thx

  • Unable to start OC4J standalone server.

    Hi
    I have just started using Oracle 10g Portal Server. I have downladed the OC4J standalone and have installed at D:\JDeveloper\oc4j following the instructions of running the admin.jar creating the password. When I try starting the OC4J initializing it works fine starts the server with the message
    05/12/29 12:21:11 Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview 4 initialized
    But when I try to deploy a war file which I have created externally with the entries in aplication.xml
    <web-module id="mywar" path="../applications/mywar.war" />
    and default-web-site.xml
    <web-app application="default" name="mywar" root="/technology/mywar" />
    The server never starts up just hangs up with the message
    Starting OC4J from D:\JDeveloper\oc4j\j2ee\home ...
    If the entries are removed the server starts as usual.
    Can anyone let me know where is the problem I need to look at, because the war file works fine if deployed in tomcat or weblogic.
    Thanks in advance.

    Hi,
    As you asked me it is a simple war deployment. with the folder structure as
    simpleWar->index.jsp
    simpleWar->META-INF->application.xml
    simpleWar->WEB-INF->classes
    simpleWar->WEB-INF->lib
    simpleWar->WEB-INF->tld
    simpleWar->WEB-INF->struts-config.xml
    simpleWar->WEB-INF->validation.xml
    simpleWar->WEB-INF->validator-rules.xml
    simpleWar->WEB-INF->web.xml
    and the war file that I am creating is simpleWar.war.
    The contents of web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>3</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>3</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <!-- Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- The Welcome File List -->
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <!-- tag libs -->
    <taglib>
    <taglib-uri>struts-html</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>struts-bean</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>util-tags</taglib-uri>
    <taglib-location>/WEB-INF/tld/tag-util.tld</taglib-location>
    </taglib>
    <taglib>
         <taglib-uri>example-taglib</taglib-uri>
         <taglib-location>/WEB-INF/tld/tag-util.tld</taglib-location>
    </taglib>
    </web-app>

  • Unable to Start OC4J in Linux

    Hi
    We tried to start oc4j in Linux using following command
    [oracle@fa2220 setup]$ oc4j -start
    Starting OC4J from /dbfiles/home/oracle/obiee_home/OracleBI/oc4j_bi/j2ee/home ...
    It is stopping at this stage without any errors.
    Linux Version: Red Hat Enterprise Linux Server release 5.3 (Tikanga)
    We tried to see what is being done in the process, so we did strace and found the following:
    strace -p 15924
    Process 15924 attached - interrupt to quit
    futex(0xb7675bd8, FUTEX_WAIT, 15925, NULL
    And we checked the netstat –a | grep 23791 (default ORMI port) and found it is listening on this port.
    But we can not access oc4j.
    Can someone please help?
    PS

    I managed to solve the problem by setting the "Load All System JAR Files during OC4J Startup" in the "Embeded OC4J Server Preferences" under "Global > Startup".

Maybe you are looking for

  • How do I sum across the same table in multiple sheets?

    So I'm trying to figure out an annoying problem. I have a largish (100's) amount of data with each collection being a table in a sheet, one sheet per data collection. This means I have 100's of sheets, each with the same table name and layout. Each s

  • Error: The folder does not contain a valid Flex Builder Project.

    HI All, My first Post here. I am new to Flex Hardly 10 days old. I want to open the flexstore project in flex builder 3 and could not able to do so. What I did: file->import->.... got the error msg as "The folder does not contain a valid Flex Builder

  • Problem installing ActiveX viewer in Windows 7

    Hello, We downloaded the public beta of Windows 7 today and I am getting an error in our web application when it tries to install the Crystal Reports XI ActiveX report viewer (version 11.0.0.1424 of crviewer.dll).  IE8 will issue its normal prompt to

  • Intel Motherboard S5000XVN

    I have a Intel motherboard S5000XVN in mey new workstation and I could not find drivers for it. I would like to install Solaris 10 in this workstation. Is there some site on Internet where I can find these drivers? Moreover, are the linux drivers for

  • Full screen video

    Hi, I am looking for some definitive answers/explanations for Actionscript 3. 1.  Is it possible to have the browser automatically open in full screen upon entering the home (index) url of a website? 2. There are examples of what I call 'true-fullscr