Embedded OC4J not starting, not accessible

Hello Oracle folks,
I have JDeveloper 9.0.5.2 (1618) and had a Struts project. Trying to lauch it in the embedded OC4J does not work anymore (for my colleagues it works). I tried any combination of re-installs and re-imports of the project from CVS. I also blew away the JDeveloper files in ${user.home}(so I had to start from zero, I opened the *.JWS file out of our cvs repository). Still the embedded OC4J won't start !!
Can anybody explain this (maybe below error stack is an indication, and it only occurs in one of my workspaces)
This is the detailed error stack:
java.lang.NullPointerException
     at oracle.jdeveloper.ejb.EjbAppManager.getEjbModuleContainer(EjbAppManager.java:241)
     at oracle.jdeveloper.ejb.EjbAppManager.getOrionEjbJarNode(EjbAppManager.java:592)
     at oracle.jdeveloper.ejb.EjbAppManager.findOrionEjbJarNode(EjbAppManager.java:581)
     at oracle.jdeveloper.xml.oc4j.ejb.OrionEjbJarHelper.findOrionEjbJar(OrionEjbJarHelper.java:59)
     at oracle.jdevimpl.deploy.ejb.Oc4jEjbDeployer.validate(Oc4jEjbDeployer.java:95)
     at oracle.jdevimpl.runner.oc4j.Oc4jStarter.validate(Oc4jStarter.java:685)
     at oracle.jdevimpl.runner.oc4j.Oc4jStarter.preStart(Oc4jStarter.java:612)
     at oracle.jdevimpl.runner.oc4j.Oc4jStarter.start(Oc4jStarter.java:268)
     at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:756)
     at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:461)
     at oracle.ide.runner.RunProcess$2.run(RunProcess.java:699)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
#### Embedded OC4J Server could not be started up.

Hi,
Try to invoke the OC4j services from run using the following:
START OC4J FROM CMD LINE -> C:ORACLEBI\OC4J_BI\BIN\OC4J.CMD –START
TO STOP: C:\ORACLEBI\OC4J_BI\BIN\OC4J.CMD –STOP
1. Run the Stop initially and then run the Start Command. (If still unable to start and throwing any error make a note of it)

Similar Messages

  • Programmatically start embedded oc4j

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

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

  • Embedded OC4J Server could not be started up

    hi ,
    we are using java web services(JAX-RAC) in jdevloper for oaf page , for getting data from another application, if i run page from jdevlope with web services it is showing "failed to start embbed oc4j server". if i run without web services it is not showing any error.
    please hlep me, advanced thanks.
    regards,
    kishore
    Edited by: Saurabh on Nov 4, 2011 7:00 AM

    When I try to open the Tools/Embedded OC4J Server Preferences...
    the following error stack trace pops up:
    java.lang.NullPointerException
         at oracle.ide.net.URLFactory.newURL(URLFactory.java:85)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.transmogrifyConfigFiles(Oc4jWorkspaceConfig.java:224)
         at oracle.jdevimpl.runner.oc4j.Oc4jWorkspaceConfig.configureAll(Oc4jWorkspaceConfig.java:112)
         at oracle.jdevimpl.runner.oc4j.EmbeddedServerAdminCommand.doit(EmbeddedServerAdminCommand.java:50)
         at oracle.ide.CommandProcessor.invokeImpl(CommandProcessor.java:391)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:343)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:110)
         at oracle.ide.IdeAction.performAction(IdeAction.java:665)
         at oracle.ide.IdeAction$1.run(IdeAction.java:857)
         at java.awt.event.InvocationEvent.dispatch InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Any other way of checking the configuration? Corrupt files somewhere?
    Thanks,
    Gonzalo

  • Embeded Oc4j server not starting up in Jdeveloper 10g 10.1.3.0.3

    hi,
    I have created simle hello.jsp , but i try to run it with the embedded OC4j server i get the following error .
    C:\jdk1.4\bin\javaw.exe -client -classpath C:\jdev\j2ee\home\oc4j.jar;C:\jdev\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=172.16.233.34 -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=local.|localhost|127.0.0.1 -Dhttps.proxyHost=172.16.233.34 -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=local.|localhost|127.0.0.1 -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:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Sep 30, 2005 6:23:17 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:23 Application: system is in state FAILED
    05/09/30 18:23:23 Error initializing server: Error initializing ejb-modules: Error loading module file:/C:/jdev/jdev/system/oracle.j2ee.10.1.3.34.12/embedded-oc4j/applications/admin_ejb.jar: Syntax error in source or compilation failed in: C:\jdev\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\admin_ejb\generated\MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java
    Error: cannot read: java.lang.Enum
    05/09/30 18:23:24 Fatal error: server exiting
    Process exited with exit code 1.
    Can anyone help

    The 10.1.3 version of JDeveloper (and the embedded OC4J) requires JDK 5.0 to run.
    You can however set your project to work with JDK 1.4 in the project properties.

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

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

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

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

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

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

  • Commit working in embedded OC4J but not in Application Server 10g

    Hi all
    i am creating an application using Jdeveloper 9051+adf+uix.
    here in a form i have a Create,Delete button and a commit button. after creating or deleting a row , i press commit button and it works fine in embedded OC4J.
    But after deploying this application on Oracle Application Server 10g , create and delete buttons are working (means data in form is getting submitted) but commit button is not working (commit button is enabled but data is not getting commited in the table.) after pressing the commit button the form is coming back to its previous position and the commit button is yet enabled. if i presses it second time then button goes disabled but data is not commited at all.
    Please provide me solution to this problem.
    Thanks

    Hi Brenden
    Thanks for reply
    in the application log file it is showing the following exception-
    08/07/01 16:51:29 mail_utility_app: Servlet error
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.xml.parser.v2.XMLDOMException, msg=cannot add a node belonging
    to a different document
    at oracle.jbo.server.Serializer.passivate(Serializer.java:189)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:290)
    at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
    at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:4587)
    at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:4479)
    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:6818)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3886)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2131)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1211)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
    at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
    at oracle.adf.model.bc4j.DCJboDataControl.releaseApplicationModule(DCJboDataControl.java:1340)
    at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1198)
    at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:289)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:238)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    i have only one entity and one view object. there is no different document as it is shown in the exception.
    Thanks

  • Missing tag class on 10.1.3 but not in JDev embedded oc4j

    I have a JSP 2.0 application created with a few custom tag files in web-inf/tags. The app runs fine within Jdeveloper's embedded oc4j (10.1.3). After deploying the EAR of this application to a 10.1.3 app server, everything works fine except in the way the server compiles the tag files. It puts them in the wrong folder!
    It puts the _tags directory in this folder:
    C:\Oracle\product\10.1.3\OracleAS_1\j2ee\FastConnect\application-deployments\FastConnect\FastConnect\persistence\_tagfiles\_nullweb_2d_inf
    When I manually copy the tags up one directory, the app works and I do not get a missing class error. What is telling my app server to put the generated tag file classes in this nullweb_2d_inf folder?

    repost

  • Embedded OC4J  - Web Service works... not OC4J!

    I have a very interesting issue here.. when I run my EJB 3.0 - Web service in Jdeveloper using the embedded OC4J, I am able to successfully test my services.
    But, When I deploy the Web service to an OC4J server, I get the folowing error when I try to run one the exact same service:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://model.sofia.dryden.nasa.com/"><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Internal Server Error (Caught exception while handling request: javax.ejb.EJBException: java.lang.StackOverflowError; nested exception is:
         java.lang.StackOverflowError; nested exception is: oracle.oc4j.rmi.OracleRemoteException: java.lang.StackOverflowError; nested exception is:
         java.lang.StackOverflowError)</faultstring></env:Fault></env:Body></env:Envelope>
    Note: This has been happening since I am working on migrating from an mySQL database to Oracle.....
    It may be something in the table structure on the oracle db.... due to the conversion process... but what is puzzling is how the embedded OC4J is very forgiving!
    -Thanks for any input...

    The version of OC4J: 10.1.3.1.0
    I am thinking it has to do with the UNIQUEID.... because the same code works fine on mySQL and SQL2005 db's....
    Perhaps it is something in the Oracle table.... (tdc)
    from the log:
    More of the stack:
    <MODULE_ID>ejb.transaction</MODULE_ID>
    <THREAD_ID>14</THREAD_ID>
    <USER_ID>mritchso</USER_ID>
    <SUPPL_ATTRS>
    <ATTR NAME="J2EE_MODULE.name">oraTdcWebservice</ATTR>
    <ATTR NAME="J2EE_APP.name">oraTdcWebservice</ATTR>
    <ATTR NAME="WEBSERVICE_PORT.name">oracleTdcSessionEJB</ATTR>
    <ATTR NAME="WEBSERVICE.name">oracleTdcSessionEJBBeanService</ATTR>
    </SUPPL_ATTRS>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>IPAddress:62846:1221082977722:2164</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>[oracleTdcSessionEJB:public java.lang.String com.nasa.dryden.sofia.model.oracleTdcSessionEJBBean.getTdc(int)] exception occurred during method invocation: oracle.oc4j.rmi.OracleRemoteException: java.lang.StackOverflowError; nested exception is:
         java.lang.StackOverflowError</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.oc4j.rmi.OracleRemoteException: java.lang.StackOverflowError
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at oracleTdcSessionEJB_RemoteProxy_2ce1bo.getTdc(Unknown Source)
         at com.nasa.dryden.sofia.model.runtime.OracleTdcSessionEJBBeanSoapHttp_Tie.invoke_getTdc(OracleTdcSessionEJBBeanSoapHttp_Tie.java:411)
         at com.nasa.dryden.sofia.model.runtime.OracleTdcSessionEJBBeanSoapHttp_Tie.processingHook(OracleTdcSessionEJBBeanSoapHttp_Tie.java:1265)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    java.lang.StackOverflowError
         at com.nasa.dryden.sofia.model.oracleTdcSessionEJBBean.<init>(oracleTdcSessionEJBBean.java:20)
         at com.nasa.dryden.sofia.model.oracleTdcSessionEJBBean.getTdc(oracleTdcSessionEJBBean.java:83)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Sap server url is not accessible..Portal is not getting started

    Hi all,
    I have netweaver 2004 and portal on aix02.
    I was getting some error while accessing one of the link of the portal.
    So through OS admin I gave command <b>stopsap</b>.
    and again started sap server using <b>startsap all</b>
    Still my sap url is not accessible.
    I am getting error as <b>"Page can't be displayed"</b>
    Following is the output of the operations I performed through OS:
    <b>124> stopsap</b>
    Checking db Database
    Stopping the SAP instance SCS01
    Shutdown-Log is written to /home/jetadm/stopsap_SCS01.log
    Instance SCS01 was not running!
    Database not running
    Running /usr/sap/JET/SYS/exe/run/stopj2eedb
    Trying to stop database ...
    Log file: /home/jetadm/stopj2eedb.log
    The database state is offline.
    /usr/sap/JET/SYS/exe/run/stopj2eedb completed successfully
    <b>ctsaix02:jetadm 125> startsap all</b>
    Checking db Database
    Starting SAP Instance SCS01
    Startup-Log is written to /home/jetadm/startsap_SCS01.log
    Instance on host ctsaix02 started
    <b>Can you please help me to SOLVE this issue?</b>

    Thanks Supriya,
    I have pasted logs below:
    Can you please help?
    <u><b>logs startsap_JC00.log=></b></u>
    Trace of system startup/check of SAP System JET on Wed May 23 16:06:13 CDT 2007
    Called command: /usr/sap/JET/SYS/exe/run/startsap
    Starting SAP Instance JC00
    SAP-R/3-Startup Program Rel 640 V1.8 (2003/04/24)
    Starting at 2007/05/23 16:06:13
    Startup Profile: "/usr/sap/JET/SYS/profile/START_JC00_ctsaix02"
    (332024) SETENV LD_LIBRARY_PATH=/usr/sap/JET/JC00/j2ee/os_libs:
    Setup Environment Variables
    (332024) SETENV SHLIB_PATH=/usr/sap/JET/JC00/j2ee/os_libs:
    (332024) SETENV LIBPATH=/usr/sap/JET/JC00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/JET/SYS/exe/run
    Execute Pre-Startup Commands
    (332024) Local: rm -f jc.sapJET_JC00
    (332024) Local: ln -s -f /usr/sap/JET/JC00/j2ee/os_libs/jcontrol jc.sapJET_JC00
    Starting Programs
    (438468) Starting: local jc.sapJET_JC00 pf=/usr/sap/JET/SYS/profile/JET_JC00_CTSAIX02
    (332024) Waiting for Child Processes to terminate.
    (332024) **** 2007/05/23 16:06:13 Child 438468 terminated with Status 0 . ****
    (332024) **** No more Child Processes to wait for.
    (332024) Parent Shutdown at 2007/05/23 16:06:13
    Execute Post-Shutdown Commands
    (332024) Exiting with Return-Code 3. (No more child processes)
    Startup of Instance failed
    ~<b></b>

  • OC4J when started as Win Service does not map URL for analytics website

    Hi All,
    When OC4J is started as a console and user enters the URL http://server-1/analytics it is automatically mapped to URL http://bof-iclu-1/analytics/saw.dll?Dashboard and we get the dashboard login page displayed.
    Now I have created a Windows Service to Automatically start the OC4J serivce.
    When OC4J is started as a service and user enters the URL http://server-1/analytics it does not map to the Dashboard URL and we get the website cannot display the page. However entering the complete URL http://server-1/analytics/saw.dll?Dashboard the login page is displayed.
    I believe the issue is cause by the OC4J being started as a service and not as a console start.
    Any idea what the issue could be?
    Do I need to change any of the configuration xml files?
    Where do the configuration setting for website mapping and welcome files is mentioned in the Oc4j?
    Any help is greatly appreciated.
    Best Regards
    B

    This is not going to help but you shouldn't be using OC4J for anything other than development.

  • Starting OC4J not stand alone

    Can I start the OC4J not only from the command line but also when the Apache starts?
    I think when I close the command line window (WINDOWS) the OC4J stops running. Is it true?
    Thanks.

    Hi Manolis,
    On my PC -- running Windows2000 -- I can use the "start" command to start
    OC4J as a "background" process, i.e. it continues to run even after I
    close the DOS prompt window I used to type in the "start" command.
    Simply type "start" before your normal OC4J command, e.g.
    start java -jar oc4j.jar
    My version of OC4J is 1.0.2.2.1
    I think there was also a discussion on this forum about setting up OC4J
    as a "service" on Windows. Perhaps you could try searching the forum
    archives for this discussion?
    Hope this has helped you.
    Good Luck,
    Avi.

  • JDeveloper 10.1.3 could not run Beans with embedded OC4J 10.1.3

    Hi,
    I have downloaded JDeveloper 10.1.3 distributed with full SDK and by creating just simple HTML page and running embedded OC4J 10.1.3 I get following msgs:
    "Sep 5, 2005 3:13:53 PM com.evermind.server.ejb.EJBPackageDeployment isIIOPConfigured
    INFO: Beans associated with application default will not be available via RMI/IIOP: GenerateIIOP system property=false, enableIIOP application setting=false, server.xml configured for IIOP=false"
    (The same testing with JDeveloper 10.1.2 works fine)
    What's going on?
    Thanks for any information!
    Saulius

    A little more detail might get you some responses. Describe your project. What's the technology stack? (ADF BC?, Faces?, JSP?, Web App?, etc.). When you write about the project not opening in the WYSIWYG editor, are you talking about a JSP page, or some other component? If your page opens at all, describe the editor tabs you see.
    There are some guidelines for migrating projects from EA to R3 in the Release Notes. You might find something there that is helpful.
    Good luck.
    Johnny Lee

  • Start oc4j not working

    Hi
    I am using OBIEE 10.1.3.4 on my machine for the past 2 months and everything was fine till last week. When I start oc4j from Start - Programs - Oracle Business Intelligence - Start OC4J, console comes up and quickly vanishes i.e. its not being started. Due to this I can't use Presentation, publisher etc. I can't even open Systems management page to set oc4jadmin configurations.
    Do I need to do/check some settings? Any pointers to solve this issue will be highly appreciated.
    Thanks
    AK

    To be clear, what is the exact behaviour you've got? : -
    can you access the presentation services login page?
    do you get a 500 internal server error?
    do you get a host not found type error?
    You'll find your presentation services logs in <oraclebidata>/web/log/sawserver.out.log
    Check analytics log here: <OracleBI home>\oc4j_bi\j2ee\home\application-deployments\analytics\application.log
    Check your logs in here too: <oracle BI home>\oc4j_bi\j2ee\home\log

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

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

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

Maybe you are looking for

  • Running Scripts

    Hi, I'm new to adobe, and I've been reading lots on this forum to get info on writing scripts in forms. I'm creating a form that has two pages, one for internal and one for our client. I've written a couple things, and I was wondering what you do to

  • Netcfg2 + dhcpcd not working anymore

    Hello, I recently updated my Arch installation. Now, when I run netcfg2 $profilename, the invocation of dhcpcd fails ("dhcpcd: invalid option -- 'R'"). So, I removed the "R" parameter from /etc/conf.d/dhcpcd. But I still get the same error message wh

  • Trouble with playing videos (audio!)

    Hi, I recently bought a new iPod and wanted to upload some videos, but somehow iTunes doesn't acknowledge the fact that I want to import them. Surprisingly it happens only to certain movies (usually the longest ones). And then there's the other probl

  • How do I delete apps from iCloud?

    I have a corrupted app on iCloud which syncs with my other devices. I cannot delete it in order to get an updated version. How do I accomplish that? Arpenguy

  • I accidentally removed hp photo and imaging from computer, how do i get it back?

    Printer not printing in color. I accidentally removed HP photo and imaging from the computer, how do I get it back?