Starting OC4J Server

I've installed OC4J on Oracle 9i Application Server 1.0.2.2 on
Solaris v 5.7. I have Java version 1.2.1 as my default Java
environment.
The installation of OC4J went through fine. However, when trying
to start the OC4J server, I get the following error:
$ java -jar orion.jar
Error initializing server: Error instantiating default
application at file:/app.
Any suggesstions?
Thanks,
Ricardo R. Guzman

Did you do this first:
java -jar orion.jar -install
This will set your admin password. Not absolutely necessary, but
useful. The error indicates that you don't have write access to
some directory. Here is the layout of oc4j:
/../j2ee/home
this should be the directory you start oc4j from. The .. is
whereever you have installed oc4j.
j2ee/home/application-deployments
this directory is where the applications are actually deployed.
j2ee/home/applications
this directory is where ear files can be automatically deployed,
if you want to do that. By default, this feature is not enabled.
j2ee/home/config
various configuration xml files.
j2ee/home/default-web-app
this directory has the startup default web application.
The message you got doesn't make sense, unless you have your
default-web-site.xml file pointing to a directory /app for your
default-web-app. If you have done this, oc4j needs read/write
access to the directory. If you have not setup this permission,
this would explain the error you are getting.
regards,
the elephantwalker
www.elephantwalker.com

Similar Messages

  • Unable to start OC4J server - Oracle SOA suite 10.1.3.5

    Hi,
    We are getting the following error, while start the server. Please help us.
    11/06/30 20:46:26 java.lang.ClassCastException: org.apache.log4j.PatternLayout cannot be cast to org.apache.log4j.Layout
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parseLayout(DOMConfigurator.java:446)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:186)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:335)
    11/06/30 20:46:26 at com.collaxa.ServerLoggerManager$DOMConfigurator.parseCategory(ServerLoggerManager.java:464)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:781)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
    11/06/30 20:46:26 at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
    11/06/30 20:46:26 at com.collaxa.ServerLoggerManager.init(ServerLoggerManager.java:69)
    11/06/30 20:46:26 at oracle.bpel.services.common.ServicesLogger.initLoging(ServicesLogger.java:602)
    11/06/30 20:46:26 at oracle.bpel.services.common.ServicesLogger.getLogger(ServicesLogger.java:183)
    11/06/30 20:46:26 at oracle.bpel.services.common.ServicesLogger.canLog(ServicesLogger.java:373)
    11/06/30 20:46:26 at oracle.bpel.services.workflow.util.LogUtil.isLoggingEnabled(LogUtil.java:56)
    11/06/30 20:46:26 at oracle.bpel.services.workflow.util.LogUtil.isDebugLoggingEnabled(LogUtil.java:67)
    11/06/30 20:46:26 at oracle.bpel.services.workflow.util.LogUtil.verifyAndLogDebugMessage(LogUtil.java:138)
    11/06/30 20:46:26 at oracle.bpel.services.workflow.query.impl.TaskQueryService.authenticate(TaskQueryService.java:157)
    11/06/30 20:46:26 at com.abc.workflow.task.service.ABCTaskService.getWorkFlowContext(ABCTaskService.java:2011)
    11/06/30 20:46:26 at com.abc.workflow.task.service.ABCTaskService.customTaskAction(ABCTaskService.java:1647)
    11/06/30 20:46:26 at com.abc.workflow.task.facade.runtime.ABCTaskServiceSOAPPortBinding_Tie.invoke_customTaskAction(ABCTaskServiceSOAPPortBinding_Tie.java:910)
    11/06/30 20:46:26 at com.abc.workflow.task.facade.runtime.ABCTaskServiceSOAPPortBinding_Tie.processingHook(ABCTaskServiceSOAPPortBinding_Tie.java:1474)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:430)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:379)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:294)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:151)
    11/06/30 20:46:26 at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
    11/06/30 20:46:26 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    11/06/30 20:46:26 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    11/06/30 20:46:26 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
    11/06/30 20:46:26 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    11/06/30 20:46:26 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    11/06/30 20:46:26 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    11/06/30 20:46:26 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    11/06/30 20:46:26 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    11/06/30 20:46:26 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    11/06/30 20:46:26 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    11/06/30 20:46:26 at java.lang.Thread.run(Thread.java:619)
    11/06/30 20:46:26 log4j:ERROR Could not create an Appender. Reported error follows.

    Hi Pardi ,
    Hope you have done this workaround , If not please try to Look for basic Server URLs, Port Numbers, Connection Strings, Domains & File Locations in BPEL.xml file /.esbsvc and try to
    Change according to new (Current) Server URLs, Port Numbers, Connection Strings, Domains & File Locations
    Example:
    ======
    partnerLinkBinding name=”BPELProcess1”>
    <property name=”wsdlLocation”> BPELProcess1.wsdl</property>
    <property name=”wsdlRuntimeLocation”>http://host:port/orabpel/default/ABCDistribution /1.0/ABCDistribution?wsdl</property>
    </partnerLinkBinding>
    To
    <partnerLinkBinding name=”BPELProcess1“>
    <property name=”wsdlLocation”>BPELProcess1.wsdl</property>
    <property
    name=”wsdlRuntimeLocation”>http://mysoaserver.mydomain.com:7777/orabpel/default/BPELProcess1/1.0/BPELProcess1?wsdl</property>
    </partnerLinkBinding>
    Regards,
    Kiran
    Edited by: Kiranlal on Jul 25, 2011 4:29 AM

  • Start OC4J Server from JButton

    I have JClient Swing applicaton and i have to start the Embedded OC4J Server from JButton because after that a jsp file must be run from this button. I tried this:Runtime.getRuntime().exec("java -jar oc4j.jar") but no effect. Any ideas?!

    I tried what you suggested. Put the link which is like
    "http://localhost:port/context-root/my.jsp" before
    Runtime.getRuntime().exec("java.exe -jar oc4j.jar");
    but with no effect again. The Embedded OC4J Server doesn't start.What I do wrong?

  • Start OC4J Server

    I have JClient Swing applicaton and i have to start the Embedded OC4J Server from JButton. I tried this:Runtime.getRuntime().exec("java -jar oc4j.jar") but no effect. Any ideas?!

    I tried what you suggested. Put the link which is like
    "http://localhost:port/context-root/my.jsp" before
    Runtime.getRuntime().exec("java.exe -jar oc4j.jar");
    but with no effect again. The Embedded OC4J Server doesn't start.What I do wrong?

  • It is error to start oc4j server

    Administrator 14:53:50
    C:\oc4j\bin>oc4j -start
    Starting OC4J from C:\oc4j\j2ee\home ...
    2010-4-20 14:49:42 com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    10/04/20 14:49:46 WARN: Application.setConfig Application: default is in failed
    state as initialization failed.
    java.lang.NullPointerException
    10/04/20 14:49:46 Error initializing server: Application: default is in failed s
    tate as initialization failed
    10/04/20 14:49:47 Fatal error: server exiting
    Edited by: user13005697 on 2010-4-19 下午11:57

    The error message
    "This class was compiled for a newer version of the JRE. Expected version
    48.0, found 49.0."
    has the following meaning: you start OC4J with JDK 1.4 but the classes in the ear are compiled for JDK 1.5 (aka Java 5).
    Best,
    Manfred

  • Error when trying to start oc4j server from jdev10g

    Any ideas?
    05/07/01 09:50:56 Exception in thread "OC4J Launcher" oracle.oc4j.loader.util.An
    notatedNoClassDefFoundError:
    Missing class: com.sun.corba.se.internal.iiop.CDRInputStream
    Dependent class: com.evermind.server.ApplicationContext
    Loader: oc4j:10.1.3
    Code-Source: /D:/JDeveloper_1013/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in boot.xml in D:\JDeveloper_1013\j2ee\ho
    me\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    05/07/01 09:50:56 at oracle.oc4j.loader.PolicyClassLoader.handleClassNotFo
    und (PolicyClassLoader.java:1956) [/D:/JDeveloper_1013/j2ee/home/oc4j.jar (from
    system property java.class.path), by sun.misc.Launcher$AppClassLoader@20120943]
    at oracle.oc4j.loader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1641) [/D:/JDeveloper_1013/j2ee/home/oc4j.jar (from system property ja
    va.class.path), by sun.misc.Launcher$AppClassLoader@20120943]
    at oracle.oc4j.loader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1591) [/D:/JDeveloper_1013/j2ee/home/oc4j.jar (from system property java.class
    .path), by sun.misc.Launcher$AppClassLoader@20120943]
    at oracle.oc4j.loader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1577) [/D:/JDeveloper_1013/j2ee/home/oc4j.jar (from system property java.class
    .path), by sun.misc.Launcher$AppClassLoader@20120943]
    at java.lang.ClassLoader.loadClassInternal (Unknown source file) [jre bo
    otstrap, by  jre bootstrap]
    at com.evermind.server.ApplicationContext.<clinit> (ApplicationContext.j
    ava:62) [/D:/JDeveloper_1013/j2ee/home/lib/oc4j-internal.jar (from <code-source>
    in boot.xml in D:\JDeveloper_1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.Application.<init> (Application.java:173) [/D:/JD
    eveloper_1013/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in
    D:\JDeveloper_1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServer.initializeApplications (Applica
    tionServer.java:1403) [/D:/JDeveloper_1013/j2ee/home/lib/oc4j-internal.jar (from
    <code-source> in boot.xml in D:\JDeveloper_1013\j2ee\home\oc4j.jar), by oc4j:1
    0.1.3]
    at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.ja
    va:944) [/D:/JDeveloper_1013/j2ee/home/lib/oc4j-internal.jar (from <code-source>
    in boot.xml in D:\JDeveloper_1013\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerL
    auncher.java:87) [/D:/JDeveloper_1013/j2ee/home/lib/oc4j-internal.jar (from <cod
    e-source> in boot.xml in D:\JDeveloper_1013\j2ee\home\oc4j.jar), by oc4j:10.1.3
    at java.lang.Thread.run (Unknown source file) [jre bootstrap, by  jre bo
    otstrap]

    Do you mean July or Dec for 10.1 DP4, remembering that seasons are reversed on opposite sides of the planet, and I'm in Sydney :-)
    Are you able to give a closer estimate for 10gAS production that supports J2EE 1.4 / JSP 2.0 / Java 5.0?
    We're currently planning the next phase of our project, and one risk is that a JSP 2.0 / Java 5.0 / J2EE 1.4 container won't be available when we want to begin the testing phase, or worse, when we want to go live.
    We want to be well into testing by Jan next year.
    If we can't get a firm estimate then we'd have to use jdk1.4 + jsp1.2 which we don't want to do.
    Thanks,
    Greg

  • Can't start Oc4j Server with EJBs

    My application consists of a few jsf sides and one ejb for database connection. When
    I started the application for the first time everything worked wonderful. But when
    I started it for the second time i got this error-message:
    Error instantiating application 'current-workspace-app' at file: /C:/documents/myFiles/project/RDV-Project-oc4j-app.xml : Error initializing ejb-module; Exception null
    Could anybody help me?

    I found the solution. In Jdeveloper you have to make a right click on the EJB and then select Verify Enterprise Bean.
    bye

  • How to Starting and Stopping OC4J Server using Ant

    How to Starting and Stopping OC4J Server using Ant
    In the ant task definitions for ant-oracle-classes.jar (see antlib.xml) there are two tasks called
         name="restartServer" classname="oracle.ant.taskdefs.deploy.JSR88StartServer"
         name="shutdownServer" classname="oracle.ant.taskdefs.deploy.JSR88ShutdownServer"
    I thought that these would shutdown and start the OC4J server. I guessed the parameters as – (Does anyone know where 50 ant targets are documented?)
    <oracle:restartServer
    userid="${oc4j.admin.user}"
         password="${oc4j.admin.password}"
         deployeruri="${deployer.uri}"
    />
    <oracle:shutdownServer
         userid="${oc4j.admin.user}"
         password="${oc4j.admin.password}"
         deployeruri="${deployer.uri}"
    />
    This, however does not start and stop the SOA suite. To do that I've hacked this solution together -
    <path id="oc4j.console">
         <pathelement location="${oracle.home}/config"/>
         <pathelement location="${oracle.home}/jlib/startupconsole.jar"/>
         <pathelement location="${oracle.home}/opmn/lib/optic.jar"/>
         <pathelement location="${oracle.home}/lib/xmlparserv2.jar"/>
    </path>
    <target name="stop" description="stop oc4j server" depends="init">
         <java classname="oracle.appserver.startupconsole.view.Runner">
              <classpath refid="oc4j.console"/>
              <sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
              <arg value="stop"/>
         </java>
    </target>
    <target name="start" description="restart oc4j server" depends="init">
         <java classname="oracle.appserver.startupconsole.view.Runner">
              <classpath refid="oc4j.console"/>
              <sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
              <arg value="start"/>
         </java>
    </target>
    This sort of works – except when the SOA suite doesn't stop cleanly – and needs user interaction to press a Close button. This isn't very useful when doing a continous integration build and deploy.
    So, does anyone have any suggestions or alternative methods to do this?
    - frank

    Actually if the server throws exceptions when it stops (which it always has since we applied patch 10.1.3.3) this technique will pause until a user responds to pop-up ... So a better way (I think) is -
    <target name="start" description="start oc4j server" depends="init">
    <java classname="oracle.appserver.startupconsole.view.Runner">
    <classpath refid="oc4j.console"/>
    <sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
    <arg value="start"/>
    </java>
    </target>
    <target name="stop" description="stop oc4j server" depends="init">
    <echo message="We expect OC4J *NOT* to stop cleanly, so we will timeout after 3 minutes ..."/>
    <java classname="oracle.appserver.startupconsole.view.Runner" fork="true" timeout="180000">
    <classpath refid="oc4j.console"/>
    <sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
    <arg value="stop"/>
    </java>
    </target>
    <target name="restart" description="restart oc4j server">
    <antcall target="stop"/>
    <!-- wait for server to quieten down -->
    <waitfor maxwait="2" maxwaitunit="minute">
    <not><http url="http://${oc4j.http.hostname}:${oc4j.http.port}"/></not>
    </waitfor>
    <antcall target="start"/>
    </target>

  • Oc4j server starting

    how to start oc4j server using -start command and how to increase heap memory in that???????

    Use the following:
    java -Xms512m -Xmx512m -jar oc4j.jar

  • 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

  • Start OC4J - Http server won't start

    Receive the following message:
    F:\OC4J\j2ee\home>java -jar oc4j.jar
    Error starting HTTP-Server: Address already in use: JVM_Bind
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Is that mean the localhost:8888 port is occupied already, how can I change it to other port?
    Any help?
    Thanks and Regards
    Pak

    Yes, 9iAS is in its own home. Even in its own partition.
    No. The messages are different. The Agent msg I reported in my first post. The HTTP Server msg says the request had an unexepected result and an error #. That's all.
    I had no trouble with Portal 30 EA install. Worked fine. But I do have an HTTP Server service from Poartl 30 EA still in my NT services. Actually,there are quite a few orphaned services from prior installs of software, such as DataGatherer and some others.
    John

  • How to start the oc4j server

    I install oracle 9ias 9.0.3,but i don't know how to start the oc4j server.
    thanks for any help?

    hi
    Refer "Starting and Stopping OC4J" from
    http://otn.oracle.com/tech/java/oc4j/doc_library/902/A95880_01/html/toc.htm
    hope this helps.
    shrini

  • Failed to start embedded oc4j server

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

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

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

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

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

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

Maybe you are looking for