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                                                                                                                                                                                                                   

Similar Messages

  • Start issue oc4j standalone

    os windows server 2008
    oc4j version 10.1.3.4
    i try to start oc4j standalone with this command java -jar oc4j.jar
    in the commandline i get the following
    10/08/17 12:55:07 Oracle Containers for J2EE 10g (10.1.3.4.0) initialized
    but nothing more happens...seems to hang
    I do not know if there should happen more
    http://localhost:8888/em is not working...page not found
    can someone give me an advice

    when i try to start oc4j standalone with oc4j - start i get the following error
    D:\ORACLE\product\11.2.0\dbhome_1\oc4j\bin>oc4j -start
    Starting OC4J from D:\ORACLE\product\11.2.0\dbhome_1\oc4j\j2ee\home ...
    --2010-08-17 16:03:13.434 ERROR J2EE RMI-00002 Fehler beim Starten von ORMI-Server--
    myserver Port 23.791: Unrecognized Windows Sockets error: 0: JVM_Bind
    --2010-08-17 16:03:13.450 ERROR java.net.SocketException: Unrecognized Windows Soc--
    kets error: 0: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:459)
    at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.java:373)
    at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:236)
    at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer.java:2416)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1004)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    --10/08/17 16:03:13 Fehler beim Starten von ORMI-Server myserver Port 23.791:--
    Unrecognized Windows Sockets error: 0: JVM_Bind
    --10/08/17 16:03:13 Shutting down OC4J...--
    why port 23791 and not 8888?
    Edited by: JackfromDresden on Aug 17, 2010 4:16 PM

  • Error deploying to oc4j standalone

    hi folks,
    i'm trying to deploy my application from jdev to standalone oc4j.
    i created a war, an ejb-jar and an ear that includes them. while trying to deploy the ear i get the following exception:
    2006-11-30 14:54:48.265 NOTIFICATION Starting application : wts2
    2006-11-30 14:54:48.265 NOTIFICATION Initializing ClassLoader(s)
    2006-11-30 14:54:48.265 NOTIFICATION Initializing EJB container
    2006-11-30 14:54:48.265 NOTIFICATION Loading connector(s)
    2006-11-30 14:54:48.343 NOTIFICATION Starting up resource adapters
    2006-11-30 14:54:48.359 NOTIFICATION Processing EJB module: wts2_ejb_jar.jar
    2006-11-30 14:54:48.656 ERROR J2EE EJB-03027 [wts2] An error occured deploying E
    JB module: javax.ejb.EJBException: nested exception is: java.lang.reflect.Invoca
    tionTargetException
    2006-11-30 14:54:48.671 NOTIFICATION application : wts2 is in failed state
    06/11/30 14:54:48 WARNING: Application.setConfig Application: wts2 is in failed
    state as initialization failed.
    java.lang.InstantiationException: Error initializing ejb-modules: nested excepti
    on is: java.lang.reflect.InvocationTargetException
    06/11/30 14:54:48 oracle.oc4j.admin.internal.DeployerException: java.lang.Instan
    tiationException: Application: wts2 is in failed state as initialization failed
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:515)
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
    oy(ApplicationDeployer.java:196)
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
    yerBase.java:93)
    06/11/30 14:54:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
    erRunnable.doRun(OC4JDeployerRunnable.java:52)
    06/11/30 14:54:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
    nnable.run(DeployerRunnable.java:81)
    06/11/30 14:54:48 at com.evermind.util.ReleasableResourcePooledExecutor$My
    Worker.run(ReleasableResourcePooledExecutor.java:298)
    06/11/30 14:54:48 at java.lang.Thread.run(Thread.java:595)
    06/11/30 14:54:48 Caused by: java.lang.InstantiationException: Application: wts2
    is in failed state as initialization failed
    06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
    .java:471)
    06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
    .java:314)
    06/11/30 14:54:48 at com.evermind.server.ApplicationServer.addApplication(
    ApplicationServer.java:1853)
    06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:512)
    06/11/30 14:54:48 ... 6 more
    06/11/30 14:54:48 Caused by: java.lang.InstantiationException: Error initializin
    g ejb-modules: nested exception is: java.lang.reflect.InvocationTargetException
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
    ainer.java:1064)
    06/11/30 14:54:48 at com.evermind.server.ApplicationStateRunning.initializ
    eApplication(ApplicationStateRunning.java:217)
    06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
    .java:413)
    06/11/30 14:54:48 ... 9 more
    06/11/30 14:54:48 Caused by: javax.ejb.EJBException: nested exception is: java.l
    ang.reflect.InvocationTargetException
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBUtils.createEJBException(E
    JBUtils.java:365)
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBUtils.createEJBException(E
    JBUtils.java:356)
    06/11/30 14:54:48 at com.evermind.server.ejb.BeanAnnotationListener.parseA
    nnotatedClass(BeanAnnotationListener.java:54)
    06/11/30 14:54:48 at com.evermind.server.ejb.AnnotationParser.notifyAnnota
    tionListeners(AnnotationParser.java:201)
    06/11/30 14:54:48 at com.evermind.server.ejb.AnnotationParser.parseAnnotat
    ions(AnnotationParser.java:73)
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBPackageDeployment.parseMet
    aData(EJBPackageDeployment.java:939)
    06/11/30 14:54:48 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
    ainer.java:832)
    06/11/30 14:54:48 ... 11 more
    06/11/30 14:54:48 Caused by: java.lang.reflect.InvocationTargetException
    06/11/30 14:54:48 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    06/11/30 14:54:48 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
    hodAccessorImpl.java:39)
    06/11/30 14:54:48 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
    atingMethodAccessorImpl.java:25)
    06/11/30 14:54:48 at java.lang.reflect.Method.invoke(Method.java:585)
    06/11/30 14:54:48 at com.evermind.server.ejb.BeanAnnotationListener.parseA
    nnotatedClass(BeanAnnotationListener.java:45)
    06/11/30 14:54:48 ... 15 more
    06/11/30 14:54:48 Caused by: java.lang.NoClassDefFoundError: Lorg/apache/log4j/L
    ogger;
    06/11/30 14:54:48 at java.lang.Class.getDeclaredFields0(Native Method)
    06/11/30 14:54:48 at java.lang.Class.privateGetDeclaredFields(Class.java:2
    232)
    06/11/30 14:54:48 at java.lang.Class.getDeclaredFields(Class.java:1715)
    06/11/30 14:54:48 at com.evermind.server.deployment.AnnotationManager.pars
    e(AnnotationManager.java:112)
    06/11/30 14:54:48 at com.evermind.server.deployment.AnnotationManager.getM
    ethods(AnnotationManager.java:64)
    06/11/30 14:54:48 at com.evermind.server.ejb.deployment.BeanDescriptorAnno
    tationParser.parseAnnotations(BeanDescriptorAnnotationParser.java:76)
    06/11/30 14:54:48 at com.evermind.server.ejb.deployment.BeanDescriptorAnno
    tationParser.parseAnnotations(BeanDescriptorAnnotationParser.java:48)
    06/11/30 14:54:48 ... 20 more
    2006-11-30 14:54:48.718 NOTIFICATION Application Deployer for wts2 FAILED.
    i don't know if this can be connected to the following issue: i have another java environment on the same machine and therefore 2 different jdks: 1.4 and 5. the JAVA_HOME points to jdk1.4. but the batch file running the oc4j starts it with jdk5:
    C:\Sun\AppServer\jdk\bin\java.exe -jar D:\oc4j\j2ee\home\oc4j.jar
    i've seen a thread here saying that problems with InvocationTargetException can be solved by using Oracle AppServer instead of OC4J, which sounds pretty bizzare to me. there are a lot of folks here who run and deploy into OC4J with no problem.
    thanks for you help!

    i am still facing the same problem all peoples face
    is ther any way to fix it???????
    if u find a solution i will apretiate if u tell me
    coz am trying to make a webservice to try it with jdeveloper over oc4j
    and as u know there is a test way provided by jdeveloepr to test ur webservice after publishing it
    after i compliled the calsses and deploy it and open the url http://localhost:8888/jdeveloper_ap...webservice_name
    and evry thing is ok till now and the page apear carying the method services name and when i click the method servic ename evry thing is still ok and the form apear requesting the input of the method if any with an invoke button or with the invoke button alone if no input was required and 2 link below the Proxy Jar and the Proxy Source so till now evry thing is ok
    but after i press the invoke button or when i press the link proxyjar or Proxy Source the explorer show the usual error page HTTP 500 - Internal server error Internet Explorer so nothing work till the end
    does any one expert in webservices with jedeveloepr know what do i miss to set so that the trial work?

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

  • Error starting OC4J 11-standalone Technology Preview

    I have just downloaded OC4J 11 - standalone on to Fedora 8. When I started the server, an error
    occurred saying: ERROR J2EE RMI-00002 Error starting ORMI server, Invalid keystore format.
    I don't have problems running OC4J 10g-standalone.
    Thanks,
    Goran

    I have just downloaded OC4J 11 - standalone on to Fedora 8. When I started the server, an error
    occurred saying: ERROR J2EE RMI-00002 Error starting ORMI server, Invalid keystore format.
    I don't have problems running OC4J 10g-standalone.
    Thanks,
    Goran

  • Error starting oc4j standalone

    Hi ,
    when i issue the command java -jar oc4j.jar i am getting this error
    D:\OracleAS\j2ee\home>java -jar oc4j.jar
    09/07/26 20:16:38 Unable to register the NameService:
    09/07/26 20:16:38 Error starting up the IIOPService ..
    09/07/26 20:16:38 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
    initialized
    Please help.

    Hi Gaurav,
    1. What is the JDK version you are using to start your standalone 10.1.3 OC4J?
    2. Have you configured any datasources or Resource archive files on the 10.1.3 OC4J?
    3. What is the version of the OC4J that jDev is using?
    4. What is the version of JDev?
    Looks like there is an incompatibility somewhere the above information will help. Thanks.
    Deepak

  • Error starting ORMI server, when run oc4j.cmd -start

    hello oracle guru,
    i just finish installing the Oracle Business Intelligence Publisher Standalone 10.1.3.4 in Window XP Home Edition SP3 platform..
    but when i want to start the BI Publisher, by running the oc4j, i get this errors
    Starting OC4J from E:\OraInstall\OraBIP\oc4j_bi\j2ee\home ...
    2010-10-13 17:33:17.453 ERROR ServerFile[PersistentMap,/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/persistence/jms.state]:persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
    10/10/13 17:33:17 *** (SEVERE) ServerFile[PersistentMap,/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
    2010-10-13 17:33:17.484 ERROR Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
    10/10/13 17:33:17 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
    2010-10-13 17:33:17.484 ERROR J2EE OJR-00011 Exception starting JMS server: Failed to set the internal configuration of the OC4J JMS Server with:XMLJMSServerConfig[file:/E:/OraInstall/OraBIP/oc4j_bi/j2ee/home/config/jms.xml]
    2010-10-13 17:33:17.593 ERROR J2EE RMI-00002 Error starting ORMI server TOSHIBA port 23,791:Address already in use: JVM_Bind
    2010-10-13 17:33:17.609 ERROR java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
    at java.net.ServerSocket.bind(ServerSocket.java:319)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:433)
    at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.java:347)
    at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:210)
    at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer.java:2378)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:966)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    10/10/13 17:33:17 Error starting ORMI server TOSHIBA port 23,791: Address already in use: JVM_Bind
    10/10/13 17:33:17 Shutting down OC4J...
    Can somebody who have been facing this error before this can guide me on how to solve the problem?

    http://kr.forums.oracle.com/forums/thread.jspa?threadID=640696
    Please check this link... it helped me in Solaris environment..it works for me.
    All the best..
    Thanks
    Deependra

  • NoClassDefFound error after install OC4J PDK Standalone.

    Hi
    I have just installed the Standalone OC4J with the default Portal Dev Kit configuration - I followed the install instructions. Unzip the downloaded file, go to the install dir/j2ee/home , run java -jar oc4j.jar -install .
    I then got error
    Exception in thread "main" java.lang.NoClassDefFoundError: com.evermind.naming.ContextUtils
    I get this error now when i try to start the OC4J container (java -jar oc4j.jar).
    The instructions do mention setting JAVA_HOME to my JDK version, which I have done - the JDK
    I use is JDK1.5.0_12 - but still get the same error.
    Can anyone advise what may be going wrong for me?
    I am using Oracle Enterprise Linux.
    Many thanks
    Dave

    Hello,
    Could you clarify which version of the JPDK and OracleAS (CO4J) you are using?
    Note that JDK 1.5 is supported only started with OC4J 10.1.3.x.
    Could you please do a java -jar oc4j.jar -version to check the exact version of your OC4J?
    Regards
    Tugdual Grall

  • Error in oc4j standalone & JAX-WS 2.0

    Hi!!
    I'm trying to generate a SOAP Message with this code:
    MessageFactory factory =
    MessageFactory.newInstance(SOAPConstants.SOAP_1_1_PROTOCOL);
    response = factory.createMessage();
    SOAPPart parte =
    response.getSOAPPart();
    parte.setContent(xmlSource);
    response.saveChanges();
    in line "response.saveChanges();" i have this error:
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.EnvelopeFactory
    createEnvelope
    GRAVE: SAAJ0511: Unable to create envelope from given source
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.SOAPPartImpl
    getContentAsStream
    GRAVE: SAAJ0547: Error while trying to externalize
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.MessageImpl
    saveChanges
    GRAVE: SAAJ0539: Unable to get header stream in saveChanges
    16-feb-2007 11:00:21 com.sun.xml.messaging.saaj.soap.MessageImpl
    saveChanges
    GRAVE: SAAJ0540: Error during saving a multipart message
    It's a web application and i'm debugging with OC4J Standalone from
    Jdeveloper. The Libraries are the libs of JAX-WS 2.0 and the orion-
    web.xml file has:
    <web-app-class-loader search-local-classes-first="true"
    include-war-manifest-class-path="true"/>
    the exception stack:
    07/02/16 11:00:59 java.lang.Exception: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    07/02/16 11:00:59 at genws.MotorXML.getSOAPMessageFromSource(MotorXML.java:443)
    07/02/16 11:00:59 at genws.MotorXML.executeWS(MotorXML.java:232)
    07/02/16 11:00:59 at PDFController.process(PDFController.java:321)
    07/02/16 11:00:59 at es.jcyl.pdf.PDFServletEngine.service(PDFServletEngine.java:114)
    07/02/16 11:00:59 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/02/16 11:00:59 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    07/02/16 11:00:59 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    07/02/16 11:00:59 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    07/02/16 11:00:59 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/02/16 11:00:59 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/02/16 11:00:59 at java.lang.Thread.run(Thread.java:595)
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Error during saving a multipart message
    07/02/16 11:00:59 at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1126)
    07/02/16 11:00:59 at es.jcyl.genws.MotorXML.getSOAPMessageFromSource(MotorXML.java:437)
    07/02/16 11:00:59 ... 14 more
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to get header stream in saveChanges:
    07/02/16 11:00:59 at com.sun.xml.messaging.saaj.soap.MessageImpl.saveChanges(MessageImpl.java:1096)
    07/02/16 11:00:59 ... 15 more
    07/02/16 11:00:59 Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: SOAP exception while trying to externalize:
    Anybody can help me?
    Thanks

    The error was in the execution of OC4J embebbed. OC4J uses its own libraries for web services and xml.
    You can deploy an application with JAX-WS 2.0 if you add this java option:
    -Xbootclasspath/p:<dir_libs>\xml-apis.jar;<dir_libs>\xercesImpl.jar;<dir_libs>\xalan.jar;<dir_libs>\saaj.api.jar
    And the jars of JAX-WS are added as libraries to the application.
    With this solution you solve the problem: OC4J uses this libraries, not their owns, include the xml libraries.

  • Pkd portals registering producer in OC4J standalone envirnment  Error

    when I'm trying to register producer for pdk portal in OC4J standalone envirnment its throwing the follwoing
    ERROR :
    I have done all the setup as per insteruction mentioned in installation guide of Oracle PKD.
    as such following :
    Within your OC4J home directory, create the following directories if they don't exist, or make
    backup copies if they do exist:
    $OC4J_HOME/jlib
    $OC4J_HOME/portal/jlib
    $OC4J_HOME/webcache/jlib
    Notes:
    $OC4J_HOME is the root directory of your OC4J installation. You will find directories named
    "bin", "j2ee", "javacache", "jdbc" etc. under this directory.
    Copy all the latest PDK-Java jar files to your OracleAS home. The jar files are included in
    $unzip_directory/pdk/libcommon/.
    copy $unzip_directory/pdk/libcommon/portal/jlib/* to $OC4J_HOME/portal/jlib/
    copy $unzip_directory/pdk/libcommon/webcache/jlib/* to $OC4J_HOME/webcache/jlib/
    copy $unzip_directory/pdk/libcommon/jlib/* to $OC4J_HOME/jlib/
    Notes:
    $unzip_directory denotes the directory where you have unzipped the pdk.zip.
    Add the following dependent library references to the global application.xml file. This file is
    found at the following location:
    $OC4J_HOME/j2ee/home/config/application.xml
    Dependent library references:
    <library path="../../../portal/jlib/pdkjava.jar"/>
    <library path="../../../portal/jlib/portaltools.jar"/>
    <library path="../../../portal/jlib/ptlshare.jar"/>
    <library path="../../../portal/jlib/tidy.jar"/>
    <library path="../../../jlib/ldapjclnt9.jar"/>
    <library path="../../../jlib/regexp.jar"/>
    <library path="../../../jlib/share.jar"/>
    <library path="../../../jlib/uix2.jar"/>
    <library path="../../../jlib/ojmisc.jar"/>
    <library path="../../../webcache/jlib/jawc.jar"/>
    <library path="../../home/jazn.jar"/>
    with above setup I'm able to deploy pkdApp.war onto the OC4j Standalone server :
    when trying to register producer I'm
    getting the following error:
    500 Internal Server Error
    java.lang.NullPointerException at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showTestPage(Unknown Source) at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source) at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
    java.lang.reflect.Method.invoke(Method.java:585) at
    oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source) at
    oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at
    com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:3
    70) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at
    com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at
    oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.
    java:303) at java.lang.Thread.run(Thread.java:595)

    when I'm trying to register producer for pdk portal in OC4J standalone envirnment its throwing the follwoing
    ERROR :
    I have done all the setup as per insteruction mentioned in installation guide of Oracle PKD.
    as such following :
    Within your OC4J home directory, create the following directories if they don't exist, or make
    backup copies if they do exist:
    $OC4J_HOME/jlib
    $OC4J_HOME/portal/jlib
    $OC4J_HOME/webcache/jlib
    Notes:
    $OC4J_HOME is the root directory of your OC4J installation. You will find directories named
    "bin", "j2ee", "javacache", "jdbc" etc. under this directory.
    Copy all the latest PDK-Java jar files to your OracleAS home. The jar files are included in
    $unzip_directory/pdk/libcommon/.
    copy $unzip_directory/pdk/libcommon/portal/jlib/* to $OC4J_HOME/portal/jlib/
    copy $unzip_directory/pdk/libcommon/webcache/jlib/* to $OC4J_HOME/webcache/jlib/
    copy $unzip_directory/pdk/libcommon/jlib/* to $OC4J_HOME/jlib/
    Notes:
    $unzip_directory denotes the directory where you have unzipped the pdk.zip.
    Add the following dependent library references to the global application.xml file. This file is
    found at the following location:
    $OC4J_HOME/j2ee/home/config/application.xml
    Dependent library references:
    <library path="../../../portal/jlib/pdkjava.jar"/>
    <library path="../../../portal/jlib/portaltools.jar"/>
    <library path="../../../portal/jlib/ptlshare.jar"/>
    <library path="../../../portal/jlib/tidy.jar"/>
    <library path="../../../jlib/ldapjclnt9.jar"/>
    <library path="../../../jlib/regexp.jar"/>
    <library path="../../../jlib/share.jar"/>
    <library path="../../../jlib/uix2.jar"/>
    <library path="../../../jlib/ojmisc.jar"/>
    <library path="../../../webcache/jlib/jawc.jar"/>
    <library path="../../home/jazn.jar"/>
    with above setup I'm able to deploy pkdApp.war onto the OC4j Standalone server :
    when trying to register producer I'm
    getting the following error:
    500 Internal Server Error
    java.lang.NullPointerException at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showTestPage(Unknown Source) at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source) at
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
    java.lang.reflect.Method.invoke(Method.java:585) at
    oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source) at
    oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source) at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at
    com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:3
    70) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at
    com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at
    com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at
    oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.
    java:303) at java.lang.Thread.run(Thread.java:595)

  • Error on start up oc4j 10.1.3

    i have this exception when start up oc4j
    posted in global-application.log
    defaultWebApp: Error preloading servlet
    javax.servlet.ServletException: Error instantiating servlet 'jsp'. Servlet class org.apache.jasper.servlet.JspServlet not found in web-application defaultWebApp
    where could i but jar file that global-web-application.xml can read from it
    as i posted this in global-web-application.xml
    <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    the oc4j can not load this package

    Thanks Man
    i solved this probelm
    i add this lib path in oc4j.jar boot.xml and oc4j load it ant it works now
    the oc4j is up now
    but give me another exception
    06/01/29 17:14:49.812 defaultWebApp: Error initializing servlet
    java.lang.ClassCastException: org.apache.jasper.servlet.JspServlet
         at com.evermind.server.http.JspServletInstanceInfo.initializeJsp(JspServletInstanceInfo.java:115)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2160)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4514)
    i need touse Jsp implementation as ojsp compiler or parser give me oracle.jsp.parserException
    but it work on tomcat good i need to use tomcat parser in oc4j

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

  • JAZNInitException error - Starting OC4J ---- Nobody answers??? :(

    Hi!
    I've installed Oracle Developer Suite 10.1.2.0.2 (OC4J embedded), without patches at this moment.
    When I try starting OC4J (startinst.bat), it gives me the following error:
    C:\oracle\oradev10g\j2ee\DevSuite&gt;C:\oracle\oradev10g\jdk\bin\java  -Doracle.security.jazn.config=C:\oracle\oradev10g\j2ee\DevSuite\config\jazn.xml -Doracle.home=C:\oracle\oradev10g -DORACLE_HOME=C:\oracle\oradev10g -jar C:\oracle\oradev10g\j2ee\home\oc4j.jar -userThreads -config C:\oracle\oradev10g\j2ee\DevSuite\config\server.xml
    file:/C:/oracle/oradev10g/j2ee/DevSuite/application-deployments/forms/jazn-data.xml&lt;Line 1, Column 1&gt;: XML-20108: (Fatal Error) Start of root element expected.
    *08/10/09 11:57:43 Error instantiating application at file:/C:/oracle/oradev10g/forms/j2ee/formsapp.ear: Constructing UserManager for forms:caught oracle.security.jazn.JAZNInitException: Start of root element expected.*
    *08/10/09 11:57:44 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized*
    Any suggestions? Thanks!!
    Edited by: Moises Raul on Oct 10, 2008 8:45 AM

    Moises,
    The error you posted looks like an XML error. Check to verify the well-formedness (I don't like that word!) of the server.xml.
    The beginning of your server.xml file should look like:
    <?xml version="1.0"?>
    <application-server  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/application-server-10_1.xsd"  application-directory="../applications"
    check-for-updates="adminClientOnly"
    deployment-directory="../application-deployments"
    connector-directory="../connectors"
    schema-major-version="10" schema-minor-version="0" >This must be closed, with </<application-server> at the end of your server XML file. This is the root element of your server.xml.
    XML Error messages:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14252/adx_ermg.htm#BABBEFCE
    -Mike

  • Start OWB OC4J Instance error

    Hello,
    I have the software of OWB10G installed and when I start the OC4J for OWB I get following message:
    D:\Oracle_wb\product\10.1.0\Db__1\owb\bin\win32>..\..\..\jdk\jre\bin\java -Dorg.
    omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.CORBA.ORBSingletonClas
    s=com.inprise.vbroker.orb.ORB -Doracle.security.jazn.config=..\..\j2ee\config\ja
    zn.xml -Doracle.home=..\..\.. -DORACLE_HOME=..\..\.. -jar ..\..\..\oc4j\j2ee\hom
    e\oc4j.jar -userThreads -config ..\..\j2ee\config\server.xml
    05/01/27 14:48:31 Invalid jsp taglib location: D:\Oracle_wb\product\10.1.0\Db__1
    \owb\bin\win32\..\..\j2ee\config\..\..\..\j2ee\home\jsp\lib\taglib does not exis
    t or is not a directory
    05/01/27 14:48:31 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)
    initialized
    Thanx for any help....

    Hi,
    Did you try to start the webpages? Mine gives the same error, but nicely works...
    Jean-Pierre

  • Errors starting OC4J through JDeveloper

    When I try to run the jsptags tutorial in JDeveloper, it attemps to start the OC4J. I get the following two errors before the startup confirmation:
    Unable to register the NameService:
    Error starting up the IIOPService ..
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    I'm assuming it's a configuration issue. Please advise.

    FYI, I found the error myself. I have ZoneAlarm running on my desktop so shutting it down solved the problem. I don't know why ZoneAlarm didn't ask if the NameService and IIOP services could be run.

Maybe you are looking for

  • How can i reset/restore my ipad from another computer thatis not the original one i used

    I forgot my password on my ipad.  I originally synced with myy iphone.  I can't resync because I do not have a plug to connect the two.  How can I do this on another computer?

  • Coverflow on iPod says Various Artists, not the album artist name

    It looks fine on iTunes, with the proper artist name under the cover, but it changes to various artists when synced to the iPod. I set it on compilation, like I did when it worked about a month ago. I took off the compilation on Get Info and then I g

  • Why some archivelogs are not being backedup

    Hi, Can you help me understand why archivelog sequence 3 to 112 are not being backed-up? Rman list backup BS Key  Type LV Size       Device Type Elapsed Time Completion Time 13      Incr 0  1.49G      SBT_TAPE    00:03:43     09-MAY-10              B

  • I Can't Install Plugins?

    Hi, I can't seem to install plugins. I know that you have to go to: Movies>Motion Templates>Effects. But the problem is that there isn't anything in my Motion Templates folder. Please help me as I kinda need the plugins to be installed. Thanks, Meg.

  • Using FID editor with GW 2014?

    Hi, is it still possible to the use the old FID editor (GW5AFE.EXE) with GW2014? Because GW2014 does not use eDirectory objects anymore, the tool should fail when trying to connect to the gw domain. Is there any other way to move appointments/jobs fr