OC4J configuration

This is an Oracle 10g environment.
when starting OC4J on my workstation I get the following messages:
10/09/23 09:41:51 log4j:WARN No appenders could be found for logger (com.workbrain2.platform.util.Copyright).
10/09/23 09:41:51 log4j:WARN Please initialize the log4j system properly.
10/09/23 09:42:47 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2) initialized
I run netstat -an to confirm that port 1521 is established for the database and its there. I can bring up the application - everything is working - great.
I had a colleague copy my OC4J directory onto their workstation - use the same startup script. They configured it to their directory setup. They get the same messages for OC4J initializing however: 1 - their startup (initialization) is a lot quicker and 2. port 1521 is NOT established. Net result is they cannot bring up the application. Oracle client is installed but the tnsnames.ora is does NOT reside there. For that matter it does not reside in my Oracle client directory either.
That is one area of confusion for me. Where is the reference to it? I check for a mapped drive via environmental variable - nothing.
Anyone have any ideas on what is going wrong here. Any suggestions are appreciated. Thanks.

Hi,
I am not so clear about your scenario but I think its related to the configuration problem for opmn.
Try to run the "opmnctl config " ,at colleagues system, to reconfiguring the whole service from tamp-let.
I think it will resolve the issue.
Regards

Similar Messages

  • OC4J configuration assistant failure at infrastructure installation

    Hi all,
    We want to upgrade our client server application(forms 6i and 9iDB) to Application server(3 tire). I am trying to install Oracle 9iAS Release 2, Release 9.0.2.0.1 on Win 2000 server with service pack 2.
    OC4J configuration assistant is failing by showing the below error log. Please suggest me what is the problem and how to rectify it.
    Reading ini file - 'D:\ora9ias/j2ee/deploy.ini'
    OC4J instance 'OC4J_Demos': Adding property 'jbo.server.in_oc4j=true'
    OC4J instance 'OC4J_Demos': Adding property 'org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB'
    OC4J instance 'OC4J_Demos': Adding property 'org.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORB'
    OC4J instance 'OC4J_Demos': Adding OC4J command line option '-userThreads'
    OC4J instance 'OC4J_Demos': Adding java command line option '-Xmx512M'
    OC4J instance 'OC4J_Demos': Adding property 'oracle.path=%s_javapPath%'
    OC4J instance 'OC4J_Demos': Adding property 'oracle.display=:0.0'
    OC4J instance 'OC4J_Demos': Adding Environment variable '%LIB_PATH_ENV%' with value '%LIB_PATH_VALUE%'
    OC4J instance 'OC4J_Demos': Adding Environment variable 'PATH' with value 'D:/ora9ias/bin'
    OC4J instance 'OC4J_Demos': Property 'jbo.server.in_oc4j' already exists with value 'true'
    OC4J instance 'home': Adding property 'jbo.server.in_oc4j=true'
    OC4J instance 'OC4J_DAS': Adding java command line option '-server'
    OC4J instance 'OC4J_DAS': Adding java command line option '-Xincgc'
    OC4J instance 'OC4J_DAS': Adding java command line option '-Xmx256m'
    OC4J instance 'OC4J_DAS': Adding java command line option '-Xnoclassgc'
    OC4J instance 'OC4J_DAS': Adding Environment variable 'PATH' with value 'D:\ora9ias\bin'
    Initializing DCM...done.
    Creating OC4J instance 'OC4J_Demos'...done.
    OC4J instance 'home' already exists.
    Creating OC4J instance 'OC4J_DAS'...done.
    Starting OC4J instance 'OC4J_Demos'...done.
    Deploying application 'jocdemo' to OC4J instance 'OC4J_Demos'...done.
    Deploying application 'ojspdemos' to OC4J instance 'OC4J_Demos'...done.
    Adding dependent libraries for application 'ojspdemos'...done.
    Deploying application 'sqljdemos' to OC4J instance 'OC4J_Demos'...
    ERROR: Deploy failed.
    Error message returned is: Instance: soft.DEMO.PENTASOFT.COM.MY Message:
    See base exception for details.
    Base Exception:
    java.lang.NullPointerException:nullSee base exception for details.
    Deploying application 'jazndemos' to OC4J instance 'OC4J_Demos'...
    ERROR: Caught exception during deploy.
    Deploying application 'BC4JJSPDemo' to OC4J instance 'OC4J_Demos'...oracle.ias.sysmgmt.exception.TaskException:
    The configuration files for this Oracle9iAS instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the
    configuration on the filesystem is resolved. This condition arises when a prior operation was
    unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    *     permissions on files
    *     file contention issues on Windows NT
    *     EMD and dcmctl running concurrently
    *     internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
         at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle9iAS instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    *     permissions on files
    *     file contention issues on Windows NT
    *     EMD and dcmctl running concurrently
    *     internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
         at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    ERROR: Caught exception during deploy.
    Stopping OC4J instance 'OC4J_Demos'...done.
    Starting OC4J instance 'home'...done.
    Deploying application 'BC4J' to OC4J instance 'home'...
    ERROR: Caught exception during deploy.
    Stopping OC4J instance 'home'...oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle9iAS instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    *     permissions on files
    *     file contention issues on Windows NT
    *     EMD and dcmctl running concurrently
    *     internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
         at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    done.
    Starting OC4J instance 'OC4J_DAS'...done.
    Deploying application 'oiddas' to OC4J instance 'OC4J_DAS'...
    ERROR: Caught exception during deploy.
    Stopping OC4J instance 'OC4J_DAS'...oracle.ias.sysmgmt.exception.TaskException: The configuration files for this Oracle9iAS instance are inconsistent with the
    configuration stored in the repository. In order to protect the repository,
    no further configuration or deployment operations are allowed until the problem with the configuration on the filesystem is resolved. This condition arises when a prior operation was unsuccessful. Please check the logs located at
    ORACLE_HOME/dcm/logs to determine why DCM was unsuccessful in updating
    the configuration files on disk. Some possible causes are:
    *     permissions on files
    *     file contention issues on Windows NT
    *     EMD and dcmctl running concurrently
    *     internal Oracle error
    After resolving the problem that prevented DCM from updating the configuration
    files, you may use the dcmctl resyncInstance command to resolve the problem.
    Alternatively, you can stop and then restart the active dcmctl or EMD
    process and resyncInstance will automatically be performed.
         at oracle.ias.sysmgmt.task.TaskMaster.evaluate(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deployCommon(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.ApplicationDeployment.deploy(Unknown Source)
         at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    done.
    DCM Terminated.
    if I see the ORACLE_HOME/DCM/LOGS, it like below.
    DCMCTL_LOG:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2004-03-16T17:06:11.854+08:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>iAS_dcm</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>n/a</MSG_GROUP>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>demo</HOST_ID>
    <HOST_NWADDR>128.10.4.22</HOST_NWADDR>
    <MODULE_ID>oracle/defaultLogger/ExceptionLogger</MODULE_ID>
    <PROCESS_ID>null-Thread[main,5,main]</PROCESS_ID>
    <USER_ID>Administrator</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>[ RM ] Exception in repository API getDBConnect()</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.ias.repository.schema.SchemaException: Unable to
         connect to Directory Server:javax.naming.CommunicationException:
         DEMO.PENTASOFT.COM.MY:4032 [Root exception is java.net.ConnectException:
         Connection refused: connect]
         at oracle.ias.repository.directory.DirectoryReader.connect(DirectoryReader.java:104)
         at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:330)
         at oracle.ias.repository.IASSchema.getDBConnect(IASSchema.java:415)
         at oracle.ias.repository.SchemaManager.getDBConnect(SchemaManager.java:197)
         at oracle.ias.sysmgmt.persistence.SeedDbAccess.getDBConnect(Unknown Source)
         at oracle.ias.sysmgmt.persistence.PersistenceManager.getSeedInfo(Unknown Source)
         at oracle.ias.sysmgmt.persistence.PersistenceManager.isDBConfigured(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.initRepository(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.execute(Unknown Source)
         at oracle.ias.sysmgmt.cmdline.DcmCmdLine.main(Unknown Source)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    EMD_LOGS:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2004-03-16T17:24:22.382+08:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>OC4J</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_GROUP>n/a</MSG_GROUP>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>demo</HOST_ID>
    <HOST_NWADDR>128.10.4.22</HOST_NWADDR>
    <MODULE_ID>iAS_dcm/oracle/defaultLogger/ExceptionLogger</MODULE_ID>
    <PROCESS_ID>null-Thread[Orion Launcher,5,main]</PROCESS_ID>
    <USER_ID>SYSTEM</USER_ID>
    </HEADER>
    <PAYLOAD>
    <MSG_TEXT>[TM] Config/LoadEdit/ImportExport Adapter resync error</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.ias.sysmgmt.repository.plugin.orionp.exceptions.SMIOC4JMissMatchedStructureException: OC4J Instance OC4J_demos does not exist in the current iAS instance, unable to save its configuration.
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl._saveChanges(Unknown Source)
         at oracle.ias.sysmgmt.repository.plugin.orionp.PlugInImpl.resyncConf(Unknown Source)
         at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromPersistence(Unknown Source)
         at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.syncUp(Unknown Source)
         at oracle.ias.sysmgmt.task.ConfigAdapter.resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.resync(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.resync(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.ias.sysmgmt.EntryPoint.init(Unknown Source)
         at oracle.sysman.emSDK.eml.util.iAS.IASEntryPoint.initialize(IASEntryPoint.java:98)
         at oracle.sysman.emSDK.eml.svlt.NavCfgHandler.startElement(NavCfgHandler.java:220)
         at org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java:580)
         at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:166)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1082)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:287)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:254)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:141)
         at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:430)
         at oracle.sysman.emSDK.eml.svlt.EMServlet.init(EMServlet.java:332)
         at oracle.sysman.eml.app.ConsoleSN.init(ConsoleSN.java:87)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:1687)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4020)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4119)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:579)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:376)
         at com.evermind.server.Application.getHttpApplication(Application.java:657)
         at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:663)
         at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:524)
         at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:230)
         at com.evermind.server.http.HttpServer.setSites(HttpServer.java:244)
         at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:147)
         at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:1818)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1154)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:70)
         at java.lang.Thread.run(Thread.java:484)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:49)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Please suggest me what to do and how to rectify. Can we work with forms without this component. I am getting the same component failure when I install 9IAS option on infrastructure.
    With best regards and Thanks
    Varma.

    Hi,
    Thank you for the information. I installed 3 times but still the same problem persists. Apache is working fine. Hosts file also configured with the same system IP. Is this component important for executing 9i forms and reports. Is there any way to install this component alone.
    Can u suggest any good document about installation and configuration of Oracle 9i application for a layman in Oracle 9iAS. if you have any documents can u send them to [email protected]
    Waiting for your replay....
    With best regards
    Varma.

  • OC4J Configuration issue

    Hi,
    I tried to put my database in Archivelog mode through EM , at the time of restarting the database it didnt start... instance is starting but database is not opening....
    I tried this command but its giving error... ( I am running 10g r2 , on RHEL 5 which is install on Oracle virtual toolbox )
    emctl start dbconsole
    OC4J Configuration issue. /opt/oracle/oraclehome_112/db_1/oc4j/j2ee/OC4J_DBConsole_myhostname_orcl not found.
    where orcl is the instance name.
    and this directory, OC4J_DBConsole_myhostname_orcl, does not exist on the file system.
    In some article I read ... the solution I tried to type...
    http://kamranagayev.com/2011/03/21/step-by-step-installing-oracle11g-on-linux/
    Feedback no. 19
    ./emca -deconfig dbcontrol db -repos drop
    bash : ./emca : No Such file or Directory
    ./emca -config dbcontrol db -repos create
    Thanks and regards...

    Hello;
    I'm thinking this step was either missed of you have a typo :
    Change the entry of .bash_profile file of the oracle user and add following lines:
    vi /home/oracle/.bash_profile
    export ORACLE_HOME=/u01/home/oracle/product/11.2.0/db_1
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$PATHIf your ORACLE_HOME is set it should find the "emca".
    You can test by running these export commands at the Linux prompt.
    The which command is your friend
    which emca
    /u01/app/oracle/product/11.2.0.2/bin/emcaBest Regards
    mseberg
    Edited by: mseberg on Feb 29, 2012 2:52 PM

  • OracleAS Patchset 10.1.2.3 Fails running oc4j  Configuration Assist

    Hi,
    We are upgrading our 12.0.4 EBS to 12.1.1.
    As part of pre -upgrade steps, i am applying 10.1.2.3 patch on 10.1.2.0.2.
    It is failing while running oc4j configuration assistant with below error.
    oracle.ons.SubscriptionException: Subscription request timed out after 120000 millseconds. Possible causes: OPMN may not be running, you may have an OPMN running in an alternate ORACLE_HOME using duplicate port values, or OPMN may be misconfigured.
    at oracle.ons.SubscriptionNotification.waitForReply(SubscriptionNotification.java:82)
         at oracle.ons.ONS.addSubscriber(ONS.java:336)
         at oracle.ons.Subscriber.realStartup(Subscriber.java:92)
         at oracle.ons.Subscriber.<init>(Subscriber.java:80)
         at oracle.ons.ONS.createNewSubscriber(ONS.java:690)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    ERROR: Caught exception while initializing DCM.
    Oc4jDeploy tool completed, but with errors.
    Please help.
    Thanks,

    Hussein,
    After successful completion of setup, while running configuration assistants, i got this error.
    This is the complete output.
    ================================================================================================================
    Output generated from configuration assistant "Application Server website Configuration Assistant":
    Configuration assistant "Application Server website Configuration Assistant" succeeded
    ================================================================================================================
    Output generated from configuration assistant "OC4J Instance Configuration Assistant":
    Reading ini file - '/u01/TST4ZA/apps/tech_st/10.1.2/j2ee/deploy.ini'Adding web-app 'webapp.war' for app 'BC4J'.
    OC4J instance 'home': Adding property 'jbo.server.in_oc4j=true'
    Adding web-app 'IsWebCacheWorkingWeb.war' for app 'IsWebCacheWorking'.Initializing DCM..oracle.ons.SubscriptionException: Subscription request timed out after 120000 millseconds. Possible causes: OPMN may not be running, you may have an OPMN running in an alternate ORACLE_HOME using duplicate port values, or OPMN may be misconfigured.
         at oracle.ons.SubscriptionNotification.waitForReply(SubscriptionNotification.java:82)
         at oracle.ons.ONS.addSubscriber(ONS.java:336)
         at oracle.ons.Subscriber.realStartup(Subscriber.java:92)
         at oracle.ons.Subscriber.<init>(Subscriber.java:80)
         at oracle.ons.ONS.createNewSubscriber(ONS.java:690)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.TaskMaster.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.sysInit(Unknown Source)
         at oracle.ias.sysmgmt.task.InstanceManager.init(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.deploy(Unknown Source)
         at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    ERROR: Caught exception while initializing DCM.
    Oc4jDeploy tool completed, but with errors.
    Configuration assistant "OC4J Instance Configuration Assistant" failed
    =====================================================
    I stopped all apps services before starting the patch, but when it failed during relink phase, i cancelled the installation and did necessary steps and restarted installation.
    If at this stage i need to re apply the patch do i have to recover the 10.1.2 oracle home from backup?
    Thanks,

  • OC4J Configuration issue Oracle 11g R2 Windows XP and Windows 7

    Hallo!I have installed Oracle Database 11.2.0.1.0 on both Windows XP and Windows 7 on 2 different machines.
    Before installing on both OSs,I had installed Microsoft Loopback Adapter and had set hostname as JOEY-PC and IP address 192.168.0.X.Once the installations were complete and I restarted the machines,I could not start OEM and the error below appears
    C:\Documents and Settings\JOEY>emctl start dbconsole
    OC4J Configuration issue. C:\app\JOEY\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_DBConsole_JOEY-PC_orcl not found.
    When I went to the C:\app\JOEY\product\11.2.0\dbhome_1\oc4j\j2ee directory,I found the folder OC4J_DBConsole_localhost_orcl instead of OC4J_DBConsole_JOEY-PC_orcl.
    I assumed that by using Microsoft Loopback Adapter,I would avoid the error above and that the OC4J_DBConsole folder would permanently remain as OC4J_DBConsole_JOEY-PC_orcl instead of OC4J_DBConsole_localhost_orcl.
    Why is this folder changing its name and how can I resolve this issue?
    Thanks.

    Pl post the contents of the file C:\WINDOWS\System32\drivers\etc\hosts on both servers
    What steps did you take to set the hostname to JOEY-PC ?
    Srini

  • OC4J Configuration issue.  when trying to enable OEM on 10g

    Good Morning to all ;
    Just now i posted question related to OEM (when getting error).
    I can't connect my OEM with any user
    Here i created DB using DBCA with OEM but i couldn't login via BROWSER ...
    Please ignore this question here .. ( Not a Duplicate Question)
    This question is different ,  but related to OEM ( Ok . I am explaining my issues here. I created Database using DBCA without enabling OEM.
    then i set ORACLE_SID and tried to execute OEM but getting error.
    $ emctl start dbconsole
    TZ set to Asia/Calcutta
    OC4J Configuration issue. /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_linuxserver_orcltest not found.
    NOTE : I want to know answer for 2nd question. what is OC4J Configuration issue. - How can i resolve that ? or
    Thanks in advance ..

    Hello Sb
    I perfectly upgraded my DB with OEM  to 10.2.0.4.0  on OEL4. i'm going to do on rhel-5
    *$ export ORACLE_SID=orcl*
    [oracle@oel ~]$ sqlplus /nolog
    SQLPlus: Release 10.2.0.4.0 - Production on Sun Apr 21 00:59:53 2013*
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    SQL> conn /as sysdba
    Connected.
    SQL> startup
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> cl scr
    SQL> select comp_name , version , status from dba_registry;
    COMP_NAME
    VERSION STATUS
    Oracle Database Catalog Views
    10.2.0.4.0 VALID
    Oracle Database Packages and Types
    10.2.0.4.0 VALID
    Oracle Workspace Manager
    10.2.0.4.3 VALID
    COMP_NAME
    VERSION STATUS
    JServer JAVA Virtual Machine
    10.2.0.4.0 VALID
    Oracle XDK
    10.2.0.4.0 VALID
    Oracle Database Java Packages
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Expression Filter
    10.2.0.4.0 VALID
    Oracle Data Mining
    10.2.0.4.0 VALID
    Oracle Text
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle XML Database
    10.2.0.4.0 VALID
    Oracle Rule Manager
    10.2.0.4.0 VALID
    Oracle interMedia
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    OLAP Analytic Workspace
    10.2.0.4.0 VALID
    Oracle OLAP API
    10.2.0.4.0 VALID
    OLAP Catalog
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Spatial
    10.2.0.4.0 VALID
    Oracle Enterprise Manager
    10.2.0.4.0 VALID
    17 rows selected.
    Thanks ..

  • ERROR INSTALLING OC4J CONFIGURATION FILES

    Hi,
    Steps:
    1. Downloaded Oracle11g Rel2 from download.oracle
    2.Installed Software only option and completed installation on my laptop Windows7 ultimate. Selected Enterprise Version, unchecked OLAP,DATA MINING.
      Error message during installation, some files missing .jar files. I have opted to ignore and continue and finally got success installation message.
    3.Configured DB using DBCA.
    4.Able to connect as SYS, SYSTEM.
    Problem.
    I tried to reconfigure DB using DBCA for OEM, received the msg
    ERROR INSTALLING OC4J CONFIGURATION FILES. The summary error log is here.   Appreciate any help.
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml (The system cannot find the file specified)
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml (The system cannot find the file specified)
    CONFIG: Could not find or correctly parse file C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml in searching for tag web-site with attribute port
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\http-web-site.xml (The system cannot find the file specified)
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\server.xml (The system cannot find the file specified)
    Mar 8, 2014 9:15:42 AM oracle.sysman.emcp.EMDBCConfig instantiateOC4JConfigFiles
    CONFIG: Failed to set value in server.xml for application-server tag
    Mar 8, 2014 9:15:42 AM oracle.sysman.emcp.EMConfig perform
    oracle.sysman.emcp.exception.EMConfigException: Error instantiating OC4J configuration files
    CONFIG: Could not find or correctly parse file C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml in searching for tag jms-server with attribute port
    java.io.FileNotFoundException: C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\jms.xml (The system cannot find the file specified)
    CONFIG: Could not find or correctly parse file C:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\rmi.xml in searching for tag rmi-server with attribute port
    thanks
    Ram

    Hi,
    Seems you have not extracted downloaded zip files into same directory. In that case you get error like
    java.io.FileNotFoundException:
    /Disk2/database/stage/Components/oracle.rsf.hybrid/11.1.0.6.0/1/DataFiles/filegroup12.jar (A file or directory in the path name does not exist.)
    java.io.FileNotFoundException:
    /Disk2/database/stage/Components/oracle.rsf.hybrid/11.1.0.6.0/1/DataFiles/filegroup5.jar (A file or directory in the path name does not exist.)
    Also after installation dbca will throw error.
    Try the below
    For AIX platform:
    unzip in the same folder
    $ mkdir 1120
    $ mv aix.ppc64_11g_database_1of2.zip  1120
    $ mv aix.ppc64_11g_database_2of2.zip  1120
    $ cd 1120
    $ unzip aix.ppc64_11g_database_1of2.zip
    $ unzip aix.ppc64_11g_database_2of2.zip 
    $ cd database
    $ ./runInstaller
    This is true for all platforms on which you get two .zip files to download
    For Windows 64 bit example on 11.2.0.1 you can do the following  :
    - create a directory C:\tmp\1120
    - copy winx64_11g_database_1of2.zip and winx64_11g_database_2of2.zip under  C:\tmp\1120
    - unzip winx64_11g_database_1of2.zip and winx64_11g_database_2of2.zipunder  C:\tmp\1120
    Thanks,
    Krishna

  • [EPM Configuration] OracleDB - OC4J Configuration issue .... not found

    Hello,
    after analysing endlessly the existing workarounds for this problem, i conclude that mine is not posted yet.
    Intro
    In order to install EPM, i had to install Oracle Database 11g. After the installation, an error ocurred stating that configurations were not saved and i could run manually "ECMA.bat" later.
    I tried to configure it by creating environment variables such as:
    - ORACLE_SID
    - ORACLE_HOSTNAME
    - ORACLE_UNQNAME
    So far, i haven't tried to executed ECMA.bat for the last time, since I am quite sure that i will fail due to not recognizing the hostname.
    The issue
    Whili trying to make sure that the database is correctly configured, i tried to access to the webpage, unsuccessfully.
    Then i found my problem in the forums:
    When i type in CMD:
    --> (I type)
    C:\OracleDB_app\alexandreyin\product\11.2.0\dbhome_1>emctl status dbconsole
    --> (returns)
    OC4J Configuration issue. C:\OracleDB_app\alexandreyin\product\11.2.0\dbhome_1/o
    c4j/j2ee/OC4J_DBConsole_HPCM.lab.pt_orcl not found.
    In fact there was no folder with that name, nor something like "/OC4J_DBConsole_localhost_orcl" as many posts suggests.
    I only have folders like:
    - "home"
    - "oc4j_applications"
    - "OC4J_DBConsole"
    - "OC4J_Workflow_Component_Container"
    - "OC4J_Workflow_Management_Container"
    - "utilities"
    - "deploy_db_wf"
    Some posts suggests me to change my /driver/etc/host file, but i think my current file is correct:
    --> (Content of host gile)
    127.0.0.1 localhost
    XX.XXX.XXX.XXX HPCM.lab.pt
    Honestly, i am out of ideas and i wish any experienced colleague could give me a hint.
    Thanks in advance

    Hi,
    It is worth having a look at the following document on Oracle support.
    Problem - emctl start dbconsole Fails with Error OC4J Configuration issue OC4J_DBConsole_<HOSTNAME>_<DBNAME> not found *[ID 555218.1]*
    Linux 64bit DBConsole Fails With "OC4J Configuration issue cannot find /oc4j/j2ee/oc4j_DBConsole_..." *[ID 462325.1]*
    Thanks,
    HyperEPM

  • 10g OEM grid control: OC4J configuration assistant failed

    hello,
    i have an HPUX 11i system which has 8i and 9204 EE single-instance databases running on it. it has no 10g related isntallations. i am doing OEM 10g installation which goes on smoothly till it reaches the Configuration Assistants stage. there the OC4J instance configuration assistant fails and the log file shows below errors:
    Initializing DCM...done.
    OC4J instance 'home' already exists.
    OC4J instance 'OC4J_EM' already exists.
    Starting OC4J instance 'home'...done.
    Deploying application 'BC4J' to OC4J instance 'home'...
    ERROR: Caught exception during deploy.
    oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Cannot get xml document by
    parsing META-INF/application.xml: The entry named META-INF/application.xml cannot be found in fil
    e /himalay/oracle/app/oracle/product/10.1.0/oem10g/BC4J/redist/bc4j.ear
    Root Cause: Permission denied
    Resolution:
    Resolution:
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.init(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(Unknown S
    ource)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(Unknown S
    ource)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Deploying application 'BC4JManager' to OC4J instance 'home'...
    ERROR: Caught exception during deploy.
    oracle.ias.sysmgmt.deployment.j2ee.exception.J2eeDeploymentException: Cannot get xml document by
    parsing META-INF/application.xml: The entry named META-INF/application.xml cannot be found in fil
    e /himalay/oracle/app/oracle/product/10.1.0/oem10g/BC4J/oem/bc4joembean.ear
    Root Cause: Permission denied
    Resolution:
    Resolution:
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.init(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.file.EarFile.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.EarDeployerImpl.<init>(Unknown Source)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(Unknown S
    ource)
    at oracle.ias.sysmgmt.deployment.j2ee.console.J2eeDeploymentImpl.getEarDeployer(Unknown S
    ource)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.doDeploy(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.execute(Unknown Source)
    at oracle.j2ee.tools.deploy.Oc4jDeploy.main(Unknown Source)
    Deploying application 'IsWebCacheWorking' to OC4J instance 'home'...
    so on.
    can anyone kindly throw some light on what is going wrong and how to take care of it??
    note that i am doing the installation as oracle owner only... also /tmp has enough free space (600MB)...also TMPDIR set to point to a location that has about few GB's free.
    please reply soon.
    rgds,
    hitesh

    I've managed to get past this error thanks to the forums over on the Oracle Metalink site. Apparently, you need two environmental variables set: TMP and TMP_DIR. What is happening is that the installer is writing temporarty files to the directory pointed to by $TMP. If it is not set, it writes the temporary files to the root directory, which in most systems, is read-only to the oracle user. You can either set the TMP and TMP_DIR environmental variables to a valid directory, or give write permissions to the root directory.

  • OC4J Configuration - javax.naming.NameNotFoundException

    Here is a description of the problem we are having:
    The Problem
         We have a remote client that wishes to invoke services
    that we are
    going to provide. These services will be accessible via a JNDI
    lookup from
    the client's JVM. The client, is operating in a JRE, version
    1.2.2, but is
    an in-house Java Server Engine (developed before the Servlet API
    specification) and not a command line client application. It is
    desirable to
    do a simple JNDI lookup from the RMIInitialContext and gain
    access to the
    services (Home Interface). Attached is a demonstration of a
    client
    application doing a lookup against the deployment shown below
    (orion-ejb-jar.xml ). Notice the name of the service in the
    lookup on the
    client application are exactly the same as the location
    declaration of the
    session deployment element of the orion-ejb-jar.xml. The service
    (EJB, not
    attached) was deployed without any errors. The exception we are
    getting is:
    Exception in thread "main" javax.naming.NameNotFoundException:
    DAServicesDemo not found
    at com.evermind.server.rmi.RMIContext.lookup
    (RMIContext.java:121)
    at javax.naming.InitialContext.lookup
    (InitialContext.java:350)
    at test.RemoteServiceClient.main
    (RemoteServiceClient.java:26)
         The RMI server has been configured with the default
    settings, and is
    listening on port 8474
    The Source
    package test;
    import ORG.oclc.da.beans.*;
    import javax.naming.*;
    import java.util.*;
    import java.rmi.*;
    import javax.ejb.*;
    public class RemoteServiceClient
         public static void main(String[] args)
         throws NamingException, CreateException,
    RemoteException,
    Exception{
    Properties h = new Properties();
    h.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.evermind.server.rmi.RMIInitialContextFactory");
    h.put
    (Context.PROVIDER_URL, "ormi://risc14.dev.oclc.org:8474");
    InitialContext context = new InitialContext(h);
    DAServicesDemoHome remoteServiceHome =
    (DAServicesDemoHome) (new
    InitialContext(h)).lookup("DAServicesDemo");
    DAServicesDemo remoteService =
    (DAServicesDemo)remoteServiceHome.create();
    System.out.println("Here it is: " +
    remoteService.getContentGroup());
    C_DemoServices remoteService = new C_DemoServices();
    String result = remoteService.getContentGroup();
    System.out.println("This is the result form the remote
    service: " +
    result);
    EJB-jar.xml
    <ejb-jar>
    <description>
    Proof of concept application for the integration of DA to
    CORC
    </description>
    <display-name>Digital Archive Remote Services</display-name>
    <enterprise-beans>
    <session>
    <ejb-name>DAServicesDemo</ejb-name>
    <home>ORG.oclc.da.beans.DAServicesDemoHome</home>
    <remote>ORG.oclc.da.beans.DAServicesDemo</remote>
    <ejb-class>ORG.oclc.da.beans.DAServicesDemoBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>DAServicesDemo</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>NotSupported</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    Orion-ejb.jar
    <orion-ejb-jar deployment-version="1.0.2.2" deployment-
    time="ea2215b915">
         <enterprise-beans>
              <session-deployment name="DAServicesDemo"
    location="DAServicesDemo"
    wrapper="DAServicesDemoHome_StatelessSessionHomeWrapper1"
    timeout="1800"
    persistence-filename="DAServicesDemo" />
         </enterprise-beans>
         <assembly-descriptor>
              <default-method-access>
                   <security-role-mapping
    name="&lt;default-ejb-caller-role&gt;" impliesAll="true" />
              </default-method-access>
         </assembly-descriptor>
    </orion-ejb-jar>
    Any help would be greatly appreciated, thanks in advanced...

    Hi Jonathan,
    If I understand you correctly, you are trying to access an EJB in
    OC4J from a separate, external JVM. If that is correct, then, in
    order to achieve that, the (EJB) home interface "stub" class must
    be located in the client's JVM. Unfortunately, I haven't figured
    out how to do that, and therefore, as far as I can see, the only
    two client options available are:
    1. Web-based client -- servlet or JSP
    2. Application client -- standalone java application.
    However, for both options, the client must also be deployed to
    OC4J. I don't know how to obtain "stub" classes generated by OC4J
    so that I can give external clients access to them.
    According to the J2EE spec, application clients need to be run
    within containers, too -- albeit thin containers. I presume that
    means you need 2 instances of OC4J running -- one for the server
    and one for the client. Seems a bit "heavy" to me, so for now I'm
    going with the web-based (servlet) client and having external
    java classes communicate with the servlet.
    Hope this has been of assistance to you,
    Avi.

  • OC4J : configuring queues programmatically than in jms.xml file.

    Hi All,
    I'm using MDB-Queues and OC4J Scheduler in my application deployed in OC4J 10.1.3.1. I need to get rid of the dependency of "jms.xml" (under "<OC4J>\j2ee\home\config") where the queues are defined for the OC4J Scheduler. This is because, I cant always expect my client to add these entries into their app server setting. Can anyone please let me how this can be achieved..?
    Thanks
    Rajasekaran Iyanu

    hi,
    You can enter jms information in jms-server.xml which can be deploy with application and you dont need to configure AS .
    Regards

  • OC4J configuration choices help - instances, islands or processes

    I need advice about the architecture for an OC4J environment. We need to do the following:
    The internet request comes over a firewall to a load balancer.
    This request will be routed to 1 or more OHS services.
    These OHS services will by using OC4j loadbalancing re-route over a firewall to 1 or more OC4J instances. All transactions are stateless. I am aware that I can create the following layouts for 4 identical inital OC4J proceses.
    Question 1: which one is best and why
    layout one: 4 OC4J instances - 1 island - 1 process
    layout two: 1 OC4J instances - 4 islands - 1 process
    layout three:1 OC4J instances - 1 island - 4 proceses
    Question 2: I am right in saying that I do not want to cluster the instances as I will be left with a single point of failure.

    Hi,
    yes, on metalink you get in touch with real experts....
    You have to install serveral application servers to get different ORACLE_HOMEs.
    For each one, you can install a BPEL PM.
    But: For each BPEL PM you need your own database instance, or you have to configure them as a clustered BPEL installation.... (but i do not know if this work with non RAC DBs)

  • OC4J configuration File

    Hi,
    I have created a new forms confirmation file MYFormweb.cfg. Now I want that OC4J should call this file upon form deployment.
    Can any body help me on this issue, i.e. which file I should modify.
    Thanks.

    Hi Khayyam2 ,
    You mean that you want to use your configuration file instead of formsweb.cfg?
    If "Yes", then you can do either of the following:
    1. Take backup of your formsweb.cfg file and rename your configuration file to formsweb.cfg.
    2. Edit forms.properties file last line typically like below to replace formsweb.cfg file name with your configuration file name.
    servlet.frmservlet.initArgs=configFileName=C:\DevSuiteHome_1/forms/server/formsweb.cfg,testmode=false
    Hope it helps.
    Please mark answer as helpful / correct, if it helps you
    Navnit
    Edited by: Navnit Punj on 13-Jul-2009 00:41

  • Deployment destroys OC4j configuration

    Sometimes the following problem occures during deplyoment from JDeveloper to oc4j:
    We have a Webapp with JSPs, Servlets, Java classes and XSQL.
    The deplyoment finish as usual and normally with exit code 0:
    But the problem is the server.xml file and the http-web-site.xml are destroyed.
    Is it a known bug?
    We are using JDeveloper 9i Production (Windows XP) and an oc4j 9.0.2.0.0 on Solaris.
    Thank you
    Michael

    I'm not sure whether you have the same problem as I have:
    I deployed EAR from NWDS and log configuration didn't change even if I had created log-configuration.xml. Then I found this file in root of EAR instead of inside META-INF folder. I made manual modificaton to that and manually deployed. And configuration worked. Still I want to have correct deployment automatically from NWDS.

  • Oc4j Configurations

    Hi,
    Please explain me every parameters why & what it means on the following configuration values:
    Also there are many debug enabled, let me know every debug option, which log file writes.
    OC4J options: -properties -userThreads
    Java options:
    -server -XX:NewRatio=3 -Xms1024m -Xmx1028m -XX:+AggressiveHeap -Dstandalone.application.properties=/l01/ncamprod/ncamp/as10g/10.1.2/j2ee/OC4J_rpgApp/config/rpgApp_config/Standalone.xml -Dexperio.application.properties=/l01/ncamprod/ncamp/as10g/10.1.2/j2ee/OC4J_rpgApp/config/rpgApp_config/Application.xml -Djdbc.connection.debug=true -Djdbc.debug=true -DNativeJDBCDebug=true
    thanks
    with regards

    Hi,
    OC4J options: -properties -userThreads
    enables context lookup support from user-created threadsJava options:
    -server
    Instructs the VM to use the server HotSpot VM.
    This also implies that default heap sizes and permanent generation sizes
    are different. -XX:NewRatio=3
    Sets the ratio between young and old generation.
    Example:
    -XX:NewRatio=3 means that the ratio between the young and old generation
    is 1:3; in other words, the combined size of eden and the survivor spaces
    will be one fourth of the heap. See -XX:NewSize and -XX:MaxNewSize-Xms1024m
    Minimum/Initial heap size. You may use k, m and g for kilobyte,
    megabyte and gigabyte.
    Example: -Xms256m sets the minimum heap size to 256mb-Xmx1028m
    Sets the size of the young generation. You may use k, m and g for kilobyte,
    megabyte and gigabyte.
    Example: -Xmn64m sets the young generation size to 64mb-XX:+AggressiveHeap
    Instructs the JVM to push memory use to the limit.
    It inspects the machine resources (size of memory and number of processors)
    and attempts to set various parameters to be optimal for long-running,
    memory allocation-intensive jobs. This option is recommended for dedicated
    server machines.
    The physical memory on the machines must be at least 256MB before
    AggressiveHeap can be used.
    Beginning with JVM 1.3.1_02 some GC activity is done in parallel.
    Beginning with JVM 1.4 this option implies -XX:+UseParallelGC
    and -XX:+UseAdaptiveSizePolicy. You can use the next options giving you the code used to access, set, and release the jdbc driver.
    -Djdbc.connection.debug=true
    Include the following Debugging options to see if it is possible to identify
    the leak (find out where the leaked connection is created).-Djdbc.debug=true
    If true, provides very verbose information when JDBC calls are made-DNativeJDBCDebug=true
    Gives you the Native JDBC debug messages.See
    [http://download-west.oracle.com/docs/cd/B14099_11/web.1012/b14361/apdx_a.htm#i677197|http://download-west.oracle.com/docs/cd/B14099_11/web.1012/b14361/apdx_a.htm#i677197]
    Under section B.8
    Regards,
    Steff
    Edited by: steff2 on Jun 19, 2009 3:20 PM

Maybe you are looking for