OC4J start Up

Hi,
I have just installed BIEE on our server and am fairly new to this product.
when I sign into the server it is possible to view OC4J but when I log out of the server OC4J shuts down.
How can I get it to run in the background without rebooting the server and or automatically restart without logging on to the server?
Many thanks in anticipation
Kind regards
Colin

I am not sure what you mean by logging in to the server? Do you mean logging into windows? By default OC4J would start automatically when you log in to windows. You can create a windows service and associate the start OC4J to it. But when you log out of the server(log out of windows), all applications will be shut down. So unless you are logging in remotely or using terminal connection actual logging out of windows will bring down OC4J.
Thanks,
Venkat
http://oraclebizint.wordpress.com

Similar Messages

  • Issue while running page OC4J start up failed.

    Hi,
    I am working on two instances one is Local and another is in abroad.
    Now when I am running simple Hello World Page by giving Local Instance connections The page is loading quickly and running fine.
    Now when I am running the same Hello World Page by giving Abroad Instance connections The page load is taking almost 9-10 mins and running fine.
    In the above cases what might be the issue with Abroad Instances for loading page.
    1) Is it the Network Issue?
    2) Is it the OC4J Issue?
    Can anyone breif this senario and how to over come this issue.
    And one more Issue is
    Took the remote desktop of the Abroad Machine Installed JDeveloper in it and while running the Hello World page the Message OC4J start up failed is getting popedup in the Message.
    In which cases we will get OC4J start up failed error.
    Thanks,
    Krishna
    Edited by: user1000 on Feb 7, 2011 5:29 AM

    I am working on two instances one is Local and another is in abroad.What is your application release?
    In the above cases what might be the issue with Abroad Instances for loading page.
    1) Is it the Network Issue?Could be one or more.
    Can you reproduce the issue with other Self-Service pages? Any performance issues with forms?
    2) Is it the OC4J Issue?What about local users who access the same page from the same network, do they encounter the same performance issues?
    Can anyone breif this senario and how to over come this issue.Before investigating the performance issues with the instance/server (which are discussed many times in the forum, so just search old threads for performance tuning and you will get many hits), I would suggest you answer the above two questions to determine whether this is a network issue or an instance/server issue.
    And one more Issue is
    Took the remote desktop of the Abroad Machine Installed JDeveloper in it and while running the Hello World page the Message OC4J start up failed is getting popedup in the Message.
    In which cases we will get OC4J start up failed error.What is the error?
    Thanks,
    Hussein

  • Oc4j starting with Oracle Database & oc4j App Server on same machine

    Hi ALL, can anybody help me(pls read this)
    This is Sagar, i have created a GIS Application(java) using Oracle 10g.
    Senario I:
    oc4j server and oracle 10g Database Server on different machines:
    When i start oc4j server with NO. OF Mappers = 64 or 30 in DNS using
    1. oc4j -start (normally)
    from the path c:/oc4j/bin by setting ORACLE_HOME path normally
    application is working fine but when users are increased say 4 to 5 oc4j server gives error:
    java.lang.OutOfMemoryError: Java Heap Space
    I searched for this error i found a solution for starting oc4j as follows:
    2.Java -Xmx1024m -Xms1024m -jar oc4j.jar
    from the path c:/oc4j/j2ee/home --- oc4j.jar
    Then map & application works fine and fast since heap space is increased to 1GB (speed is noticable)
    but if...(in other senario)
    Senario II:
    oc4j server and oracle 10g Database Server on same machine:
    if step 2: is used form above senario, oc4j Server does not gets started only it gets initialized...(server does not gets started)
    but Step 1: is used application works fine but again heap space error as mentioned above is seen.
    Again if changes are made in oc4j.cmd file in c:/oc4j/bin ....by giving the heap space command oc4j works fine but the application(performance) is very very slow but heap space error is not seen.
    Please can any body suggest the solution.. application should work fast and also the heap space should be increased but taking the senario - oc4j App Server & Oracle 10g Database Server on Same machine..

    Hello,
    How much RAM do you have on the machine? What is the size of the SGA for the database you are using?
    if step 2: is used form above senario, oc4j Server does not gets started only it gets >initialized...(server does not gets started)What do you mean by this? Provide the output from the server when you start your server.

  • OBIEE -oc4j starting scripts

    Hi All,
    Is there any script to start oc4j as a background process in Linux OS.
    Why because i am opening the terminal window and start the oc4j server using this command ./oc4j -start for this we need keep open the terminal window.
    If any body have the any information please let me know.
    As well i am longing user as EBS to OBIEE answers but not able to saving the report in Shared folders its saying that access denied for user to path /share/
    Thanks in Advance.
    Best Regards,
    Venkat.

    Hi Mika,
    Thank you for your help, its working.
    Best Regrads,
    Venkat.

  • Run logic AFTER oc4j started

    My J2EE requires a lot of initialization action for data caching and resources preload. Typically, this initialization action takes 5 mins to finish. I execute this action in my servlet's init() function, which is invoked during OC4J. However, in my oc4j, I need to run 5 J2EE applications of this kind. It means my OC4J takes 25 mins to start. It makes my oc4j 'seems to be' failed to start for most of the time.
    Apart from servlet's init() and startup class, is there any way I can execute my initialization actions AFTER oc4j startup? It can at least make my oc4j start normally and timely. Thx

    There's no inherent functionality in OC4J that can do this for you. I think you need to look at your architecture -- if this was me, I'd be offloading the work to a MDB or something of that manner so it can be executed asynchronously and in parallel. The tricky bit there is to work out how to stop the corresponding applications from being used until there cache initialization is completed, and perhaps also sharing the cache between the worker and the consumer. You could synchronize the application aliveness on a file, or perhaps use an MBean in which an active attribute is checked by the application and updated from the end result of the MDB processing.
    -steve-

  • Oracle Grid root.sh is failing onFirstNode configuration failed at /u01/app/grid/11.2.0.4/crs/instal due to ora.oc4j start timeout

    We have a 4 node Rac, oracle root.sh is failing on the First Node. when I looked at the logs I found the oc4j is timeout to start on Node1 whereas it is able to start on all other nodes with in 2 mins. this is causing to fail root.sh. Can you please help me what is the issue.
    Oracle Rac Node 1 oc4j failed on Node1 due to timeout able to start on other node.
     oracle:]/u01/app/grid/11.2.0.4/bin > ./crsctl start res ora.oc4j -n node1
    CRS-2672: Attempting to start 'ora.oc4j' node1
    CRS-2674: Start of 'ora.oc4j' on 'node1' failed
    CRS-2679: Attempting to clean 'ora.oc4j' on node1
    CRS-2681: Clean of 'ora.oc4j' on 'node1' succeeded
    CRS-4000: Command Start failed, or completed with errors.  [oracle:]/u01/app/grid/11.2.0.4/bin > ./crsctl start res ora.oc4j -n node2
    CRS-2672: Attempting to start 'ora.oc4j' on 'node2'
    CRS-2676: Start of 'ora.oc4j' on 'node2' succeeded

    Please follow Metalink Note 1050908.1.
    This might help
    Cheers
    FJFranken

  • How to resolve the problem in jdeveloper903 oc4j starting:JspTagLib listener error

    I just download a jdeveloper903,i hava a problem:
    when i start the oc4j alone,it prompt "JspTagLib listener error:null". Then,After depoly the jsp application with JspTag to oc4j,I found the jsp page can not run,but,the jsp application can run in the
    develope environment.
    how can resolve the problem,help!!Thanks.

    I think you might have better luck asking your question in the JDeveloper forum at:
    http://forums.oracle.com/forums/forum.jsp?id=315684
    later -- Jeff

  • In What Order Does OC4J starts Modules contained in Application?

    Hi all,
    I would like to know if it is possible to choose the order in which EJB & Web modules are started.
    As a matter of fact, I need some Web modules to be started prior to some other Ejb modules. All are deployed in a single application.
    I though the startup order would be the same as the deployment order, driven by 'application.xml', but after testing, it does not seem to be the case
    I am using oc4j version 10.1.3.2
    thanks for your help
    henri

    Eric,
    Thanks for that. Your replies, some trial and error and reading the Ligthroom SDK Manual means I'm starting to understand it.
    I think some of my confusion comes from the layout of the modules in the "Export Screen"
    All the Ligthtroom ones are ABOVE all the LR2 Mogrify ones
    which of course suggests that the Lightroom bits get executed before the Mogrify ones.
    For Export actions that's not too bad, but for Post-process actions it would be nice if the mogrify ones were ABOVE the Lightroom ones.
    Ideally interelave the modules into the correct order!
    I realise from a S/W development perspective this might be impossible.
    An alternative might be to re-inforce the "order of execution" in both the Users Guide and the SDK manual, and perhpas a one-line note on the Export page itself.
    Once again thanks for the helpful repsonse.
    Best wishes
    Terry

  • Do we require OC4J started before running reports

    I noticed that starting and stopping OC4J path in Developer Forms and Reports is the same.
    For Forms I have to start the OC4J before running forms.
    Is that a requirement even for reports or it't not necessary. The reason I was curious is, because, if reports does not need it, then why it appears even in the reports developer --> sub menu
    Thanks in advance.

    Hello,
    The Reports Builder uses its own "in-process reports server". It is configured by rwbuilder.conf.
    So, if you execute the reports from the Reports Builder, you don't need to start the OC4J.
    But if you want use the "Reports Servlet", it will be necessary to start it.
    Regards

  • OC4J starting problem

    When I try to strart oc4j, it shows the following message:
    Unable to register the NameService:
    Error starting up the IIOPService...
    Oracle application server containers for j2EE 10g initialized ...
    !!!No valid java compiler found!!!
    javac.exe not found under c:\program files\java\jre1.6.0_06, please use a valid jdk or sepcify the location of your java compiler in server.xml using the <java-compiler..../> tag
    Whats the problem? What should I do?

    Hmm...javac should be installed in the jdk/bin directory of your ORACLE_HOME. And OC4j should be set to look there :-S
    Try this,
    Open the server.xml file found at ORACLE_HOME\j2ee\DevSuite\config
    Add the following between the opening and closing <application-server> tags:
    &lt;j2ee-logging-config path="./j2ee-logging.xml" /&gt;
    &lt;java-compiler name="javac"
    bindir="<Your ORACLE_HOME here>\\jdk\\bin" /&gt;
    &lt;log&gt;
    &lt;file path="../log/server.log"/&gt;
    &lt;/log&gt;And restart the OC4J instance.
    Otherwise, is it possible to do a clean install?
    Hope it helps,
    A

  • Oc4j start problem

    I am installing OBIEE on windows server 2003 with java version 1.6.0_12
    find below java - version command output
    java version"1.6.0_12"
    java(TM)SE Runtime Environment (build 1.6.0_12-bo4)
    java Hotspot (TM) client VM (build 11.2-b01,mixed mode,sharing)
    everything was working fine untill suddenly OC4j failed to start with the following error
    Starting oc4j from c:\oracleBi\oc4j_bi\j2ee\home
    WARNING:Application.setconfig Application:default is in failed state as initialization failed
    java.lang.ClassCastException: B cannot be cast to javax.naming context
    Error initializating server:application:default is in failed state as initialization failed
    Fatal error server exiting
    Thanks in advance
    Edited by: user12266474 on Feb 7, 2010 3:26 AM

    J Developer 11 is too slow also. Yesterday I have downloaded J developer 10.1.1.3 version and I is really fast. Moreover this version OC4J run faster than Jdev 11. At this point I have one more question, in older version I have tryed to run ADF Faces Rich Client Components demo but I couldn't.
    I think it is because the version problem. I want to start a project to use adf faces and I am really beginner and I need to know that if I can use some components from ADF Faces Rich Client Components demo project in the older version of Jdeveloper. (10.1.1.3) thank you my friends.

  • Error when OC4J starts

    When I want to run very simple jspx page from Jdeveloper Tehnology preview 3 I get this message in OC4J log:
    [Starting Embedded OC4J Server using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Documents and Settings\saso\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
    D:\oracle\jdevstudio1111\jdk\bin\javaw.exe -client -classpath D:\oracle\jdevstudio1111\j2ee\home\oc4j.jar;D:\oracle\jdevstudio1111\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\saso\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\saso\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
    [waiting for the server to complete its initialization...]
    17.1.2008 11:34:27 oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
    SEVERE: Could not open wallet. null
    java.io.IOException: Could not open wallet. null
         at oracle.security.pki.OracleWallet.open(OracleWallet)
         at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:136)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:139)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:109)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:47)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:129)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:124)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:590)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:585)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:584)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:244)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:238)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:103)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2054)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2130)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2149)
         at com.evermind.server.OC4JServer.main(OC4JServer.java:420)
         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.classloader.util.MainClass.invoke(MainClass.java:128)
         at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
    17.1.2008 11:34:27 oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    17.1.2008 11:34:29 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: credential store is not available.
    17.1.2008 11:34:29 oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.lang.NullPointerException
         at oracle.security.jps.fmw.JpsUserAdaptor.getAuthenticatedRoleName(JpsUserAdaptor.java:881)
         at oracle.security.jps.fmw.JpsUserAdaptor.<init>(JpsUserAdaptor.java:180)
         at oracle.security.jps.fmw.JpsUserManager.createJpsUserAdaptor(JpsUserManager.java:1490)
         at oracle.security.jps.fmw.JpsUserManager.getAdminUser(JpsUserManager.java:652)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
         at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
         at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
         at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    17.1.2008 11:34:29 oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
    What is wrong here?
    Regards,
    Saso

    restart of jdeveloper.. still get error
    reboot of machine.. still get error
    Jdeveloper 11g tech preview 3.. dead in water..
    need help...
    Finished processing prepared classes.
    Jan 24, 2008 12:48:35 PM oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
    SEVERE: Could not open wallet. null
    java.io.IOException: Could not open wallet. null
         at oracle.security.pki.OracleWallet.open(OracleWallet)
         at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:136)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.<init>(SspCredentialStore.java:139)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:109)
         at oracle.security.jps.internal.credstore.ssp.SspCredentialStoreProvider.getInstance(SspCredentialStoreProvider.java:47)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.findServiceInstance(ContextFactoryImpl.java:139)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:170)
         at oracle.security.jps.internal.core.runtime.ContextFactoryImpl.getContext(ContextFactoryImpl.java:191)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:129)
         at oracle.security.jps.internal.core.runtime.JpsContextFactoryImpl.getContext(JpsContextFactoryImpl.java:124)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:590)
         at oracle.security.jps.internal.policystore.PolicyUtil$1.run(PolicyUtil.java:585)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPolicyStore(PolicyUtil.java:584)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:244)
         at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:238)
         at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:103)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at oracle.security.jazn.JAZNConfig.setJAASPolicyProvider(JAZNConfig.java:2054)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2130)
         at oracle.security.jazn.JAZNConfig.setSecurityProperties(JAZNConfig.java:2149)
         at com.evermind.server.OC4JServer.main(OC4JServer.java:420)
         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.classloader.util.MainClass.invoke(MainClass.java:128)
         at oracle.oc4j.loader.boot.BootStrap.main(BootStrap.java:41)
    Jan 24, 2008 12:48:35 PM oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    Jan 24, 2008 12:48:36 PM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    WARNING: findSystemUser: credential store is not available.
    Jan 24, 2008 12:48:36 PM oracle.oc4j.util.SystemLog log
    SEVERE: Server start failed processing configuration
    java.lang.NullPointerException
         at oracle.security.jps.fmw.JpsUserAdaptor.getAuthenticatedRoleName(JpsUserAdaptor.java:881)
         at oracle.security.jps.fmw.JpsUserAdaptor.<init>(JpsUserAdaptor.java:180)
         at oracle.security.jps.fmw.JpsUserManager.createJpsUserAdaptor(JpsUserManager.java:1490)
         at oracle.security.jps.fmw.JpsUserManager.getAdminUser(JpsUserManager.java:652)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
         at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
         at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
         at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
         at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
         at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
         at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
         at java.lang.Thread.run(Thread.java:595)
    Jan 24, 2008 12:48:36 PM oracle.oc4j.util.SystemLog logNoStack
    SEVERE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
    Process exited.
    Debugger disconnected from local process.

  • How can resolve the problem in jdeveloper903 oc4j starting:JspTagLib listener error

    when i start oc4j in jdeveloper903,it prompt "JspTagLib listener error:null".
    Then ,after depoly the jsp application with jsptaglib,i found the jsp page can not run.but,the jsp application
    can run in develop environment.
    how can i resolve the problem,Help.
    Thanks.

    I think you might have better luck asking your question in the JDeveloper forum at:
    http://forums.oracle.com/forums/forum.jsp?id=315684
    later -- Jeff

  • Auto-Run Code on OC4J start

    Hi,
    Is is possible to Auto-Run a piece of code, either by
    calling a method on a Session bean or calling a Servlet,
    when OC4J is started up?
    Cheers,
    Ro

    Hi
    You can also use a servlet that implements ServletContextListener - this fires before the application server opens up for user requests. Great for loading lookup codes, etc....

  • WebCenter Preconfigured OC4J start error....

    When we want to start WebCenter Preconfigured OC4J a error dialog opens and contains fallowing messages.
    the directory this external tool is set to tun in does not exist
    or is not a directory.
    are you sure you want to run this tool
    when we say "yes"
    external tool failed exception occurs.
    log window contains...
    C:\jdev10132\jdev\\extensions\oracle.adfp.seededoc4j.10.1.3.2.0/bin/adfp_oc4j.cmd C:\jdev10132\jdk\jre/.. C:\jdev10132\ C:\jdev10132\jdev\\extensions\oracle.adfp.seededoc4j.10.1.3.2.0 -start
    We are using Jdev 10.1.3.2 with default install on win XP
    The directory is here but some backslash (/) charakter seem to be wrong
    but even we change directory from external tool editor nothing change
    Thanks for your help..

    same error after some magical upgrade.
    we got the SVN plugin and jdev did an upgrade. I'm not sure or aware this ever worked prior to this reboot upgrade series of messages for the svn plugin.
    The behavior was no response. log file showed this:
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3/bin/adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev10133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3 -start
    pasted this into dos prompt:
    file not found.
    search directory for adfp_oc4j.cmd
    actually in
    \srcimage\bin
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\bin\adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev10133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3 -start
    c-C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\bin\adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev1
    0133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3 -start
    wsrp not installed
    installing wsrp......
    The system cannot find the path specified.
    oracle.portlet.server.containerimpl.install.InstallException: Error: Could not find file "C:\jdev10133\jdev\extensions\c
    onfig\server.xml"
    at oracle.portlet.server.containerimpl.install.Main.copyFile(Main.java:346)
    at oracle.portlet.server.containerimpl.install.Main.applyTransformation(Main.java:305)
    at oracle.portlet.server.containerimpl.install.Main.install(Main.java:169)
    at oracle.portlet.server.containerimpl.install.Main.main(Main.java:126)
    The system cannot find the path specified.
    Create WebClipping repository path
    Create portal conf
    A subdirectory or file C:\jdev10133\\portal already exists.
    The system cannot find the path specified.
    Error: Can not find C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\j2ee\home\config\server.xml.
    Stop OC4J command finished.
    What oracle_home and java_home did you set?
    How do I get jdev to properly launch this?
    ask and answer my own question...
    TOOLS, Edit External Tool
    add this path.
    A subdirectory or file C:\jdev10133\\portal already exists.
    A subdirectory or file C:\jdev10133\\portal\conf already exists.
    The system cannot find the path specified.
    Error: Can not find C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\j2ee\home\config\server.xml.
    Stop OC4J command finished.
    What is the srcimage directory? Was does my system have this and default is broken? I had to edit the settings and add this.
    --- almost have it working ... here's the oracle home issue.
    C:\jdev10133\ (dont use the trailing slash)
    tarting OC4J from C:\jdev10133\\j2ee\home ...
    Executing: C:\jdev10133\jdk\jre/..\bin\java -XX:MaxPermSize=128m -Xmx512m -jar "C:\jdev10133\\j2ee\home\oc4j.jar" -config C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\j2ee\home\config\server.xml
    08/02/26 18:33:41 Error initializing server: IO error reading system
    08/02/26 18:33:41 Fatal error: server exiting
    Stop OC4J command finished.
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\bin>
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3/srcimage/bin/adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev10133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage -start
    now i've really screwed it up. doesnt work at all. I'm going to look at 10.1.3.2 and see the settings.
    C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3/srcimage/bin/adfp_oc4j.cmd C:\jdev10133\jdk\jre/.. C:\jdev10133\ C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage -start
    Starting OC4J from C:\jdev10133\\j2ee\home ...
    Executing: C:\jdev10133\jdk\jre/..\bin\java -XX:MaxPermSize=128m -Xmx512m -jar "C:\jdev10133\\j2ee\home\oc4j.jar" -config C:\jdev10133\jdev\extensions\oracle.adfp.seededoc4j.10.1.3\srcimage\j2ee\home\config\server.xml
    08/02/26 18:57:33 Error initializing server: IO error reading system
    08/02/26 18:57:33 Fatal error: server exiting
    Stop OC4J command finished.

  • Exception while OC4J Start up

    Hi All,
    while i start up one OC4J, it show below message in oc4j log file (default_group~OC4J_TEST~default_group~1.log)
    13/02/20 11:57:49 Start process
    13/02/20 11:57:57 WARNING: Application.setConfig Application: javasso is in failed state as initialization failed.
    java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
    13/02/20 11:57:57 WARNING: Application.setConfig Application: datatags is in failed state as initialization failed.
    java.lang.IllegalAccessError: tried to access method oracle.xml.jaxp.JXDocumentBuilder.<init>()V from class oracle.xml.jaxp.JXDocumentBuilderFactory
    13/02/20 11:57:57 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized
    What's wrong on this.... i get crazy now :-(
    Thanks
    best regards
    billy

    Have you configured SSO in your application server? if yes then generate ssodebug logs during the occurrence of error. Ssodebug will give you the details of all configurations which can be shared with Oracle support for their analysis.
    Try to execute command opmnctl status (from opmn/bin log folder) & verify all resources are up & running. And also look for errors in the opmn logs. Because as per your comments given below:
    “Application.setConfig Application: datatags is in failed state as initialization failed.”
    It seems that some components were not started successfully. Try to individually start the failed component using the command
    Opmnctl startproc ias-component=<component-name> (+e.g. opmnctl startproc ias-component=OC4J+)

Maybe you are looking for

  • Problem when switching over to a Logical Standby - RESOLVED

    I used GRID to create a logical standby. The primary and standby servers have the same OS's and are both 64-bit. I am using Oracle 10gR3 on both, and the same patches have been applied to both servers. Prior to doing the switchover, I queried switcho

  • Info about 5,25'' fatality's b

    Hi... Just a question about my Sound Blaster X-Fi Fatality I/O Dri've... It is normal that only ONE of the TWO optical connection is red-lighted?! Only the "OUT" connection has the red led ON... Thanx and excuse my bad english!

  • Tracking Application in Apex

    Hi gurus Is there any Application for the System Change tracking in Apex THANKS

  • System creates group for every share point

    Every time I create a new share point on my OS X Server 10.5, a group is created by the system on the fly along with it. For example, I created a folder nameded Research Office and shared in Server Admin. Then when I assign the permission for the sha

  • Changed password, now neither one works

    just changed my admin password and after I changed it a popup appeared that I exited out of without reading, saying I needed to do something in order for my new password to work; Now I can't use my old or new password to access things, I'm at college