OC4J instance crashing after Ping Failed: default_group~home~default_group~

Hi All,
I have noticed from opmn logs that [pm-process] Process Crashes and System has been restarted automatically by itself.
I have read the tread with title "OC4J instance crashing - can't find any diagnostics " and I have configured the opmn.xml file in order to enable opmn.dbg logs.
In the meantime I have suspected that the BPEL crashes are the same date with default_group~home~default_group logs rotation.
[oracle@csporacle1 logs] cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
[oracle@csporacle1 logs] cat opmn.log | grep "Restarting"
10/05/06 17:10:18 [pm-process] Process Crashed: default_group~home~default_group~1 (481247799:27664) - Restarting
10/07/08 03:38:12 [pm-process] Process Crashed: default_group~home~default_group~1 (481247801:12964) - Restarting
10/08/05 15:01:08 [pm-process] Process Crashed: default_group~home~default_group~1 (481247802:22304) - Restarting
10/09/10 04:19:56 [pm-process] Process Crashed: default_group~home~default_group~1 (481247803:5081) - Restarting
10/10/15 00:04:21 [pm-process] Process Crashed: default_group~home~default_group~1 (481247804:7275) - Restarting
10/11/20 14:56:29 [pm-process] Process Crashed: default_group~home~default_group~1 (481247806:28469) - Restarting
10/12/25 11:15:39 [pm-process] Process Crashed: default_group~home~default_group~1 (481247807:17717) - Restarting
11/02/02 22:09:16 [pm-process] Process Crashed: default_group~home~default_group~1 (481247808:540) - Restarting
11/02/26 12:14:55 [pm-process] Process Crashed: default_group~home~default_group~1 (481247809:26490) - Restarting
11/03/12 04:28:19 [pm-process] Process Crashed: default_group~home~default_group~1 (481247812:7348) - Restarting
11/04/25 05:43:59 [pm-process] Process Crashed: default_group~home~default_group~1 (481247817:9090) - Restarting
11/05/21 08:27:55 [pm-process] Process Crashed: default_group~home~default_group~1 (481247818:26304) - Restarting
11/06/18 08:04:03 [pm-process] Process Crashed: default_group~home~default_group~1 (481247826:28958) - Restarting
11/07/12 19:04:46 [pm-process] Process Crashed: default_group~home~default_group~1 (481247828:10867) - Restarting
11/08/21 14:33:08 [pm-process] Process Crashed: default_group~home~default_group~1 (481247832:13556) - Restarting
11/09/18 20:40:16 [pm-process] Process Crashed: default_group~home~default_group~1 (481247835:22024) - Restarting
11/10/17 13:56:47 [pm-process] Process Crashed: default_group~home~default_group~1 (481247838:20504) - Restarting
[oracle@csporacle1 logs] ls -lrt
total 6020344
-rw-r--r--  1 oracle dba          0 Feb 17  2010 opmn.out
-rw-r--r--  1 oracle dba   84895911 Feb  2  2011 default_group~home~default_group~1.log.11-02-02_22:09:16.gz
-rw-r--r--  1 oracle dba   83151884 Feb 26  2011 default_group~home~default_group~1.log.11-02-26_12:14:55.gz
-rw-r--r--  1 oracle dba   79803990 Mar 12  2011 default_group~home~default_group~1.log.11-03-12_04:28:19.gz
-rw-r--r--  1 oracle dba   66470738 Mar 29  2011 default_group~home~default_group~1.log.11-03-29_00:17:05.gz
-rw-r--r--  1 oracle dba   84542865 Apr 25  2011 default_group~home~default_group~1.log.11-04-25_05:43:59.gz
-rw-r--r--  1 oracle dba   83672948 May 21 08:27 default_group~home~default_group~1.log.11-05-21_08:27:55.gz
-rw-r--r--  1 oracle dba   84825282 Jun 18 08:04 default_group~home~default_group~1.log.11-06-18_08:04:03.gz
-rw-r--r--  1 oracle dba   86740423 Jul 12 19:04 default_group~home~default_group~1.log.11-07-12_19:04:46.gz
-rw-r--r--  1 oracle dba   66921060 Aug  3 23:06 default_group~home~default_group~1.log.11-08-04_02:28:06.gz
-rw-r--r--  1 oracle dba   71221025 Aug 21 14:33 default_group~home~default_group~1.log.11-08-21_14:33:08.gz
-rw-r--r--  1 oracle dba 2147483647 Sep 18 20:39 default_group~home~default_group~1.log.11-09-18_20:40:16
-rw-r--r--  1 oracle dba 2147483647 Oct 17 13:56 default_group~home~default_group~1.log.11-10-17_13:56:49
drwxr-x---  2 oracle dba       4096 Oct 24 00:11 states
-rw-r--r--  1 oracle dba      64203 Oct 24 20:09 opmn.log
-rw-r--r--  1 oracle dba  976001440 Oct 28 02:35 default_group~home~default_group~1.log
-rw-r--r--  1 oracle dba   95431960 Oct 28 02:36 opmn.dbg
[oracle@csporacle1 logs] After this I have check the opmn.xml and found that the ORACLE_HOME has been set to other oracle on the same Unit.
oracle@csporacle1 opmn] cat conf/opmn.xml | head -20
<?xml version = '1.0' encoding = 'UTF-8'?>
<opmn xmlns="http://www.oracle.com/ias-instance">
   <log path="$ORACLE_HOME/opmn/logs/opmn.log" comp="internal;ons;pm" rotation-size="1500000"/>
   <debug path="$ORACLE_HOME/opmn/logs/opmn.dbg" comp="internal;pm;ons" rotation-size="1500000"/>
   <notification-server interface="ipv4">
      <port local="6100" remote="6200" request="6003"/>
      <ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/>
   </notification-server>
   <process-manager>
      <process-modules>
         <module path="$ORACLE_HOME/opmn/lib/libopmnohs">
            <module-id id="OHS"/>
         </module>
         <module path="$ORACLE_HOME/opmn/lib/libopmnoc4j">
            <module-id id="OC4J"/>
         </module>
         <module path="$ORACLE_HOME/opmn/lib/libopmncustom">
            <module-id id="CUSTOM"/>
         </module>
         <module path="$ORACLE_HOME/opmn/lib/libopmniaspt">
[oracle@csporacle1 opmn] pwd
/space/u01/app/oracle/product/10.1.3.1/OracleAS_1/opmn
[oracle@csporacle1 opmn] cd $ORACLE_HOME
[oracle@csporacle1 10.1] pwd
/u01/app/oracle/product/10.1
[oracle@csporacle1 10.1] Are these error are related with my findings or are there any criteria must i check further.
Could you please help me to solve this problem.
Thanks & Best Regards,
Bahtiyar

gday mattysmith --
Unfortunately that's a very good question.
As OPMN is in the picture here, the first step may be to enable debug logging for OPMN in the chance that it may give you more information about why it thinks the process crashed.
Generally speaking, when OPMN is restarting a process, it can be because it recognized that a managed process has dissapeared (ie JVM core dumped, etc.) or it can also be because the JVM didn't respond to any of OPMNs requests to let it know it was still alive. In which case OPMN will kill then restart the managed process. This can be caused by situations where the JVM has run out of memory, etc. and becomes unresponsive, leading to it eventually being detected as such and restarted.
What you can do is to add the OPMN PM submodule to the OPMN debug logger.
<opmn xmlns="http://www.oracle.com/ias-instance">
<log path="$ORACLE_HOME\opmn\logs\opmn.log" comp="internal;ons;pm" rotation-s
ize="1500000"/>
<debug path="$ORACLE_HOME\opmn\logs\opmn.dbg" comp="internal;pm;ons" rotation-size="1500000"/>
</opmn>
That should then produce an opmn.dbg file in the $ORACLE_HOME/opmn/logs directory. It'll be very verbose, so you'll need to associate the restart times from the other log file to locate the relevant section of the file. Hopefully that may shed some light on what is happening, at least at the restart level.
Usually if there are runtime exceptions such as OOM errors, etc. then those are dumped to stderr/stdout. Check the contents of the other log files in the opmn/logs directory of the form default_group~home~default_group~1.log to see if there is anything obvious in there.
There has been reports of an issue with PermGen space usage -- that could be something you are running into under the covers. Try resizing the permgen space to be a little larger and see if the problem goes away -- that can be done in opmn.xml in the java > start-options section of the instance in question.
See how any of that goes!
-steve-

Similar Messages

  • Configuring default_group~home~default_group~1.log

    Hi
    Where can i configure the location/size/rotation properties for the OPMN log file default_group~home~default_group~1.log which is created under <ORACLE_HOME>/opmn/logs.
    I searched the whole oracle_home but could not find any reference to it. The opmn.log is defined in the opmn.xml, but i can't find any reference for this log file.
    Thanks
    Sam

    http://kaukovuo.blogspot.com/2006/02/oc4j-904-1012-and-1013-log-file.html
    this thread is also discussing your problem :
    SOA 10.1.3 log file size

  • OC4J Instance crashes on Linux

    We have a standalone OC4J instance version 10.1.3.2 on Linux that we use to provide pdf print service for applications developed using APEX. Java version is 1.4.2. I have deployed the fop ear file to the instance, this is delivered with APEX. On several occasions, end users have reported that they can not open the pdf report. When I check the server, the OC4J instance is not running. There is nothing in the java logs or OC4J instance logs to indicate why the instance crashed. When I restart the OC4J instance, printing once again works. Has anyone else had stability problems with this product?
    Thanks,
    Don Morse

    Standalone OC4J runs quite stable on every platform.
    You should check the log files or the standard output (where you started OC4J). Also check the memory settings for the JDK. A common problem is that the JDK throws an OutOfMemoryException and won't respond anymore. You should also consider using JDK 1.5.0_x since it has a better memory management.
    If this doesn't help post the complete command line.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Instance Crash after generating few trace files

    Hi,
    I am using oracle 10gR2 on Aix 5.3 Server.
    We have 32 processors machine with 128GB RAM.
    Few minutes back my instance was crashed after generating some trace files.
    Here is the output of alert log:
    ======================================
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p053_1184082.trc:
    ORA-00600: internal error code, arguments: [kghfrh:ds], [0x700000499EDB760], [], [], [], [], [], []
    ORA-10388: parallel query server interrupt (failure)
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p123_1032326.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p110_1040486.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p021_946388.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p043_1245478.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p096_860242.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p059_1143086.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p040_1253800.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p032_1094578.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:19 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p121_1130812.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:20 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p076_893180.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:20 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p038_1090482.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:07:20 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_p112_1175992.trc:
    ORA-07445: exception encountered: core dump [] [] [] [] [] []
    Tue Jul 1 12:08:11 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_pmon_1188084.trc:
    ORA-00600: internal error code, arguments: [kghfrh:ds], [0x700000499EDB760], [], [], [], [], [], []
    Tue Jul 1 12:08:14 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_pmon_1188084.trc:
    ORA-00600: internal error code, arguments: [kghfrh:ds], [0x700000499EDB760], [], [], [], [], [], []
    Tue Jul 1 12:08:14 2008
    PMON: terminating instance due to error 472
    Tue Jul 1 12:08:17 2008
    Errors in file /u01/app/oracle/admin/pakedwp/bdump/pakedwp_rbal_1249422.trc:
    ORA-00472: PMON process terminated with error
    Tue Jul 1 12:08:45 2008
    Instance terminated by PMON, pid = 1188084
    ============================================
    There was some business users activity going on at that time.
    These trace files are not readable.
    I have restarted the instance and it has successfully opened.
    Can any one help me to find whats the root cause of this crash???

    Actually My metalink account has just expired and right now I only have read only access to metalink Thats why I have asked for help here. I am waiting for the access grants from my manager and defiantly i will open SR for this.
    Parameter setting for this parameter is 400
    SQL> show parameter parallel_max
    NAME TYPE VALUE
    parallel_max_servers integer 400
    I haven't brought any change for last 10 hours on database. No OS or DB patch has been applied. My database was working fine and queries were returning results.

  • Nokia 5800 completely crashed after a failed softw...

    Whilst carrying out a software update my computer lost connection with the internet, this turned my phone off, after trying to continue with the update which was un-successful I unplugged my phone from the computer, this resulted in my phone completely crashing? Now when I switch it on it just vibrates for about 20 seconds with nothing on the screen! After it has finished vibrating it is then completely shut down again.  I have tried some methods of starting up but to no avail as I'm limited as to what I can do with it as it is touch screen!
    Any advice & help would be much appreciated.
    Cheers
    Al

    I bought a brand new Nokia 5800.... As Nokia site sayings Nokia 5800 can plays music up to 35 hours... But my Nokia 5800 plays only 18 hours... My phone has original battery and latest firmware version... Please let me know about this matter...
    Glad to help

  • PURGE default_group~home~default_group~1.log WHEN OC4J is UP

    Anybody knows?
    Regards,
    bj

    http://kaukovuo.blogspot.com/2006/02/oc4j-904-1012-and-1013-log-file.html
    this thread is also discussing your problem :
    SOA 10.1.3 log file size

  • JNDI lookup name in a standalone oc4j instance

    Hi,
    Could you please let me know how to create a JNDI lookup name for a database in a stanalone OC4j Instance?
    Both OC4J and oracle 9i database are in the same server.
    Thanks in advance,
    Sukonya

    Hi,
    I have the oracle 9i database as well as the oc4j instance in my local machine.I am trying to deploy a J2ee Application on the OC4j instance,using eclipse IDE.I have not created any connection pool or datasource in the oc4j instance but after i build the application I see that the connection pool and datasource instance have been created in the OC4j instance.
    following are the contents of the build.xml file(for the ant build tool)
    <?xml version="1.0" encoding="UTF-8" ?>
    - <project name="TicketLoggingSystem" default="bind-web-app" basedir="../">
    <property name="app.server" value="D:/oc4j/j2ee/home" />
    <property name="dest.dir" value="${basedir}/dest" />
    <property name="war.file" value="${dest.dir}/TicketLoggingSystem.war" />
    <property name="ear.file" value="${dest.dir}/TicketLoggingSystem.ear" />
    <property name="web.inf" value="${basedir}/WEB-INF" />
    <property name="web.classes" value="${dest.dir}/classes" />
    <property name="app.xml" value="${basedir}/application.xml" />
    <property name="src.dir" value="${basedir}/src" />
    <property name="oc4j.host" value="localhost" />
    <property name="oc4j.admin.port" value="23791" />
    <property name="oracle.home" value="D:/oc4j" />
    <property name="j2ee.home" value="${oracle.home}/j2ee/home" />
    <property name="oc4j.admin.username" value="oc4jadmin" />
    <property name="oc4j.admin.password" value="welcome" />
    <property name="oc4j.ormi" value="ormi://${oc4j.host}:${oc4j.admin.port}" />
    <property name="app.name" value="TicketLoggingSystem" />
    <property name="jdbc.url" value="jdbc:oracle:thin:@localhost:1521:80" />
    <property name="jdbc.username" value="scott" />
    <property name="jdbc.password" value="tiger" />
    <property name="connection.driver" value="oracle.jdbc.driver.OracleDriver" />
    <property name="connection.datasource" value="oracle.jdbc.pool.OracleDataSource" />
    <property name="xa.location" value="jdbc/xa/MpsiDS" />
    - <!-- Delete dest folder
    -->
    - <target name="init">
    <delete dir="${dest.dir}" includeemptydirs="true" />
    <mkdir dir="${dest.dir}" />
    <mkdir dir="${web.classes}" />
    </target>
    - <!-- Compile all Java files
    -->
    - <target name="wscompile">
    - <javac srcdir="${src.dir}" destdir="${web.classes}" deprecation="on" debug="on">
    <exclude name="**/*.properties,**/*.xml" />
    - <classpath>
    <fileset dir="${web.inf}/lib" includes="*.jar" />
    <fileset dir="${app.server}/lib" includes="servlet.jar" />
    </classpath>
    </javac>
    </target>
    - <!-- Build Web archive file
    -->
    - <target name="buildWar" depends="init,wscompile">
    - <war destfile="${war.file}" webxml="${web.inf}/web.xml">
    - <fileset dir="${basedir}">
    <include name="content*/**" />
    </fileset>
    <webinf dir="${web.inf}" includes="*.xml,*.tld" excludes="web.xml" />
    <classes dir="${web.inf}/classes" />
    <lib dir="${web.inf}/lib" includes="*.jar" />
    </war>
    </target>
    - <!-- Build Enterprsie Archive
    -->
    - <target name="buildEar" depends="buildWar">
    - <ear destfile="${ear.file}" appxml="${app.xml}">
    <fileset dir="${dest.dir}" includes="*.war" />
    </ear>
    </target>
    - <!-- Checking availability of oc4j
    -->
    - <target name="check-oc4j-available">
    <echo message="------> Checking to see if OC4J is started ." />
    <echo message="[checking oc4j on machine =${oc4j.host}]" />
    <echo message="[port=${oc4j.admin.port}]" />
    - <condition property="oc4j.started">
    <socket server="${oc4j.host}" port="${oc4j.admin.port}" />
    </condition>
    </target>
    - <!-- Remove data source
    -->
    - <target name="remove-data-source" depends="check-oc4j-available" if="oc4j.started">
    <echo message="Removing DataSource" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-application" />
    <arg value="${app.name}" />
    <arg value="-removeDataSource" />
    <arg value="-location" />
    <arg value="jdbc/TicketLoggingSystem" />
    </java>
    <echo message="Removed DataSource Successfully" />
    </target>
    - <!-- Undeploy
    -->
    - <target name="undeploy" depends="remove-data-source" description="Undeploying the application" if="oc4j.started">
    <echo message="Undeploying the Application ${app.name}" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-undeploy" />
    <arg value="${app.name}" />
    </java>
    <echo message="Undeploying the Application ${app.name} is Successful" />
    </target>
    - <!-- Deploy
    -->
    - <target name="deploy" depends="undeploy,buildEar" if="oc4j.started">
    <echo message="Deploying the Application ${app.name}" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-deploy" />
    <arg value="-file" />
    <arg value="${ear.file}" />
    <arg value="-deploymentName" />
    <arg value="${app.name}" />
    </java>
    <echo message="Deploying the Application ${app.name} is Successful" />
    </target>
    - <!-- Create data source
    -->
    - <target name="create-data-source" depends="check-oc4j-available" if="oc4j.started">
    <echo message="Creating DataSource for Application ${app.name}" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-application" />
    <arg value="${app.name}" />
    <arg value="-installDataSource" />
    <arg value="-jar" />
    <arg value="${oracle.home}/jdbc/lib/ojdbc14dms.jar" />
    <arg value="-url" />
    <arg value="${jdbc.url}" />
    <arg value="-connectionDriver" />
    <arg value="${connection.driver}" />
    <arg value="-location" />
    <arg value="jdbc/TicketLoggingSystem" />
    <arg value="-username" />
    <arg value="${jdbc.username}" />
    <arg value="-password" />
    <arg value="${jdbc.password}" />
    <arg value="-className" />
    <arg value="${connection.datasource}" />
    </java>
    <echo message="Created DataSource Successfully for Application ${app.name}" />
    </target>
    - <!-- Binding web-app
    -->
    - <target name="bind-web-app" depends="deploy,create-data-source" if="oc4j.started">
    <echo message="executing bind web app" />
    - <java jar="${j2ee.home}/admin.jar" fork="true">
    <arg value="${oc4j.ormi}" />
    <arg value="${oc4j.admin.username}" />
    <arg value="${oc4j.admin.password}" />
    <arg value="-bindWebApp" />
    <arg value="${app.name}" />
    - <!-- app deployname
    -->
    <arg value="${app.name}" />
    - <!-- web module name
    -->
    <arg value="default-web-site" />
    - <!-- web site name
    -->
    <arg value="/${app.name}" />
    - <!-- context root
    -->
    </java>
    <echo message="Access the application using: http://${oc4j.host}:8888/${app.name}" />
    </target>
    </project>
    Following are the contents of Oc4J home->services->jdbc resources:
    Datasource:
    Name jdbc/TicketLoggingSystem
    Application TicketLoggingSystem
    JNDI Location jdbc/TicketLoggingSystem
    Connection Pool
    Managed by OC4j
    Test
    when i click the datasource name,I see that its type is Native datasource with no related connection pool.
    Whereas for the default datasource oracleDS,
    Type     Managed Data Source
    Connection Pool     Example Connection Pool
    However on deployment a connection pool is also created along with the datasource
    Name jdbc/TicketLoggingSystem_connectionPool
    Application TicketLoggingSystem
    ConnectionFactory class : oracle.jdbc.pool.OracleDataSource
    Do we need to bind this connection pool to our datasource?If yes how is it done.And if that is not required,why is this connection pool created?Are the datasource and connection pool already bound to each other?
    Also when I test either the datasource or connection pool,it says
    Confirmation     
    Connection to "jdbc/TicketLoggingSystem_connectionPool" established successfully
    or
    Connection to "jdbc/TicketLoggingSystem" established successfully.
    and displays both the connection pool and datasource details together for both the tests.
    In my java code,while trying to establish connection to the database what should I mention in lookup i.e,
    InitialContext context = new InitialContext();
    DataSource dataSource = (DataSource) context.lookup("     jdbc/TicketLoggingSystem or      jdbc/TicketLoggingSystem_connectionPool");
    con = dataSource.getConnection();
    Sorry if I am sounding novice.Thanks a lot in advance,
    Sukanya

  • OC4J 10.1.3.0.0 :: How to create a Parent OC4J Instance ?

    Hi,
    I have an Oracle Application Server Instance on a Windows System :-
    D:\OraAppServer1\j2ee\home>ver
    Microsoft Windows 2000 [Version 5.00.2195]
    D:\OraAppServer1\j2ee\home>java -jar oc4j.jar -version
    Oracle Containers for J2EE 10g (10.1.3.0.0)  (build 060119.1546.05277)I have created two OC4J Instances & the hierarchy is as follows :-
    home
    |
    |
    |-------OC4J_SS1
    |
    |-------OC4J_SS2Now, I am trying to create an additional OC4J instance that can act as the parent instance for the two OC4J isntances. I am trying to setup a hieararchy that looks like this :-
    home
    |
    |
    |-------OC4J_SS
                  |
                  |-------OC4J_SS1
                  |
                  |-------OC4J_SS2The reason for this setup is to have a Parent JNDI NameSpace that the Child Instances can access. We are trying to setup JMS Queues ( File / Memory based Persistence ) & the applications in both the instances ( MDBs ) will be listening to the same Queues.
    We are trying to setup the Queues in the Parent OC4J ( OC4J_SS ) so that the applications in OC4J_SS1 and OC4J_SS2 can access the Queues.
    We noticed that the createInstance command does not have the facility to specify the parent - all the OC4J Instances seem to inherit from the default home instance.
    D:\OraAppServer2\opmn\bin>createinstance -?
    Error: Unknown argument: -?
    Usage:
    createinstance <arguments>
    where arguments are:
      -instanceName <name> :Name of new instance to be created.
      -port <http port>    :(optional)User specified HTTP port.
                            Required in J2EE Server and Process Management
                            install type only.
      -startASControl      :(optional)Start the Application Server Control
                            when starting this new instance.
      -ASControlIsRoutable :(optional)Make the Application Server Control
                            routable when started.We do not want to play with the home instance - instead, we want to deploy our solutions in our own OC4Js.
    Can you please guide us in this solution ?
    Please do let me know if I need to include any other information.
    Regards,
    Sandeep

    Hi Steve,
    Thanks again - I was able to create a Group & put the OC4J instances that I need as a Group.
    It's a very useful feature.
    Now, when I check the Administration page for the Group,
    I notice that I can " Create/delete/view _____________ for the instances in this group."
    I do not want to replicate the JNDI Connection settings for every instance in my Group
    ( the # could easily bloat up to 5 / 6 in the future ).
    I am trying to create a common JNDI Lookup Service that will be available to both the OC4J Instances.
    It's something like this:-
    |          |
    |   OC4J_SS1     |
    |          |
    |          |
         |
         |
         |
         V
    |          |------> jdbc / xxxxx
    |   Group JNDI  |------> jms  / xxxxx ( especially, file based Queues )
    |   Bindings     |
    |          |
         ^
         |
         |
         |
    |          |
    |   OC4J_SS2     |
    |          |
    |          |
    ----------------Is this possible in OC4J ? Or, do I need to use a heavy duty product like the
    Oracle Internet Directory to achieve this ?
    Can you once again post some Documents / WhitePapers that discuss this ?
    Regards,
    Sandeep

  • Oracle instance crashed with error 472

    My Oracle instance crashed after running for 2 days
    with 5 reads and 2 updates in every 4 seconds. The
    alert log are
    Fri Oct 24 02:59:13 2003
    found dead multi-threaded server 's000',pid=(10,1)
    Fri Oct 24 03:00:31 2003
    LGWR: terminating instance due to error 472
    Instance terminated by LGWR, pid = 109
    The client access the data through stored procedures.
    The database is running on Windows NT 4.0 service pack 6a.
    The Oracle is v8.1.5.0.0
    Any help will be greatly appreciated.

    ORA-00472 PMON process terminated with error
    Cause: The Process Monitor process terminated abnormally.
    Action: Check the accompanying messages, and the background process trace file. Correct the problem mentioned in the messages. Then shut down and restart the instance. If the trace file mentions any other background process messages, check the trace file for the mentioned process until the root message is found.
    Follow the recomendations above
    Joel P�rez

  • OC4J Instance Configuration Assistant

    Hi All,
    OC4J Instance Configuration Assistant is failed to install at the time of installation of 9iAS infrastructure. Is the component important for running forms. We want to upgrade our client server application(forms 6i and 9iDB) to Application server(3 tire). We are doing the testing. We want to see the forms(.fmx) files on the web.
    Please help me in this to move forward.
    With Best Regards
    Varma.

    Varma -- you'd be better off posting this to the general Oracle Application Server forum where the people monitoring it may be able to answer your specific question.
    cheers
    -steve-

  • File oc4j~home~default_group~1 - Consuming all the space available on disk

    Hi all,
    I developed an application using Oracle MapViewer and this application is running on a Oracle Application Server 10.1.3 using OC4J container.
    After two months in a production environment the file oc4j~home~default_group~1 is consuming 46 Gb of disk space.
    I suspect that this file holds information about OC4J and my application logs. (I use log4j to handle the logs) but I´m not sure.
    Is there any thing I can do to avoid that this file gets bigger?
    Am I correct about the log stuff?
    Best Regards,
    Luis Paolini

    qlin,
    I read the documentation that you suggested, but I still could not solve the problem. I don´t know which .xml file must be modified to use ODL. I´ve tried some of them without success.
    The file I mentioned is created in D:\product\10.1.3\OracleAS_1\opmn\logs
    and its content has OC4J logs and my application logs (Log4j). Something like
    INFO [OC4J Launcher] 127 ::: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    INFO [OC4J Launcher] 127 ::: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    INFO [AJPRequestHandler-ApplicationServerThread-0] 72 ::: LoginAction: validaUsuario
    Regards,
    Luis

  • OC4J instance restarts automatically after 10 seconds.

    Hello Friends,IT System Administrators,
    I am using Oracle Application Server 10.1.2 on IBM AIX 5.3 Platform. Since many days, my "OC4J" service restarts automatically in 10 seconds. By counting error logs in /ORACLE_HOME/opmn/logs/ipm.log,i have found below errors.
    10/01/01 15:05:20 [4] Process Crashed: OC4J~WEBVAT~default_island~1 (864289932:626744) - Restarting
    10/01/01 15:05:22 [4] Starting Process: OC4J~WEBVAT~default_island~1 (864289933:0)
    10/01/01 15:05:29 [4] Process Alive: OC4J~WEBVAT~default_island~1 (864289933:729570)
    10/01/01 15:28:29 [3] [libopmnoc4j] Could not connect to socket while pinging an OC4J process
    10/01/01 15:28:29 [4] [libopmnoc4j] Process Ping Failed: OC4J~WEBVAT~default_island~1 (864289933:729570)
    10/01/01 15:28:29 [4] Job 0 9969720 result:
    ias_admin.gjvatwb1~OC4J~WEBVAT~default_island~864289933:729570
    Status: Alive
    Operation: internal (Connection refused)
    ErrFile: /oracle/ora10gas/opmn/logs/OC4J~WEBPROBE~default_island~1
    Kindly help me out to sort out this issue.
    Nishith Vyas

    Hi,
    To see the log files,
    You can create an iView based on the below par file
    com.sap.portal.runtime.admin.logviewer.
    Use the component default in the PAR File.
    Preview this iview to see the console for logs.
    And regarding your error,Please check if the there is free space in the Hard Drive of USR folder
    Also recheck the JVM settings according to Note 723909 - Java VM settings for J2EE 6.40/7.0.
    Based on the 32 bit or 64 bit OS,the parameter values differ
    Following are the Parameters for 64 bit OS.
    -XX:MaxPermSize=512M
    -XX:PermSize=512M
    -Xmx2048M
    -Xms2048M
    -XX:NewSize=320M
    -XX:MaxNewSize=320M
    Hope it helps.
    Cheers,
    Santhosh

  • OC4J Instance Configuration Assistant fails

    hi guys,
    I am trying to install OEM Release 2 (10.2.0.2) on 2003 server, and below error shows up. Any comment would be useful
    thanks in advance..
    Calling updateConfig to notify DCM of new deployments...failed!
    ERROR: Caught exception calling updateConfig: oracle.ias.sysmgmt.exception.TransactionFailedException: An exception occurred in the "apache" plugin provided by the "OHS" component while validating configuration files for that component.
    Resolution:
    The resolution information provided by the "OHS" component may be helpful.
    In addition, here are some common causes of problems:
         incorrect permissions on files
         configuration files are missing or invalid
         syntax error in configuration files
    Exception thrown by plugin "apache":
    java.io.IOException
    CreateProcess: C:\OracleHomes\oms10g//Apache//Apache//bin//apachectl configtest -f C:\OracleHomes\oms10g\Apache\Apache\conf\httpd.conf.ohsPluginTmp -D SSL error=2
    ERROR! DEPLOY TOOL CANNOT CONTINUE DEPLOYMENTS: could not update DCM repository with newly deployed applications - ALL APPLICATIONS WILL BE UNDEPLOYED.
    Undeploying application 'IsWebCacheWorking' from OC4J instance 'home'.
    Application 'IsWebCacheWorking' successfully undeployed.
    Stopping OC4J instance 'home'...done.
    Terminating DCM...done.
    Copying C:\OracleHomes\oms10g/j2ee/deploy.ini to C:\OracleHomes\oms10g/j2ee/deploy.ini.1214993246828.bak.
    Writing any undeployed entries back to C:\OracleHomes\oms10g/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.

    Are your system regional settings not English?
    You may be hitting this issue:
    Subject:      Problem While Upgrading To 10.2.0.3.0 Configuration assistant "OMS Patch Configuration" failed
         Doc ID:      NOTE:459705.1      TYPE:      PROBLEM
         Last Revision Date:      25-JUN-2008      Status:      MODERATED
    In this Document
    Symptoms
    Cause
    Solution
    References
    This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
    Applies to:
    Enterprise Manager Grid Control - Version: 10.2.0.2.0
    Microsoft Windows
    Symptoms
    From installActions2007-09-07_04-21-44PM.log,
    INFO: Configuration assistant "Repository Upgrade" succeeded
    INFO: Command = oracle.sysman.emcp.oms.OmsPatchUpgrade -configureOms
    Operation Stopping OPMN Processes is in progress.
    Operation EM Deploying is in progress.
    Command = oracle.sysman.emcp.oms.OmsPatchUpgrade has failed
    INFO: Configuration assistant "OMS Patch Configuration" failed
    Cause
    This is caused due to Bug 4377902 in the Application server which comes with Oracle Management Server.
    "In Turkish, the capitalized form of character "i" is not "I". Instead it is an"I" with a dot on top. (To explain further - there is also capital "I" but the lowercase of that letter does not have a dot - and i with dot and without dot are different vowels).
    When Turkish locale is set and if somehow the Java capitalizes the lowercase i , that in turn can become invalid for eg. Windows."
    From oracle.sysman.top.oms_2007-09-07_04-29-59-PM.log,
    Redeploying application 'em' to OC4J instance 'OC4J_EM'.
    Notification ==> Application Deployer for em STARTS [ 2007-09-07T16:43:02.612EEST ]
    Notification ==> Undeploy previous deployment
    Notification ==> Copy the archive to D:\oracle\oms10g\j2ee\OC4J_EM\applications\em.ear
    Notification ==> Unpack em.ear begins...
    Notification ==> Unpack em.ear ends...
    Notification ==> Initialize em.ear begins...
    Notification ==> Initialize em.ear ends...
    Notification ==> Initialize em begins...
    Notification ==> Initialize em ends...
    Notification ==> Application Deployer for em COMPLETES [ 2007-09-07T16:45:19.076EEST ]
    Calling updateConfig to notify DCM of new deployments...failed!
    ERROR: Caught exception calling updateConfig:
    oracle.ias.sysmgmt.exception.TransactionFailedException: An exception occurred in the "apache"
    plugin provided by the "OHS" component while validating configuration files for that component.
    Resolution:
    The resolution information provided by the "OHS" component may be helpful.
    In addition, here are some common causes of problems:
    incorrect permissions on files
    configuration files are missing or invalid
    syntax error in configuration files
    Exception thrown by plugin "apache":
    java.io.IOException
    CreateProcess: d:\Oracle\oms10g//Apache//Apache//bin//apachectl configtest -f
    d:\Oracle\oms10g\Apache\Apache\conf\httpd.conf.ohsPluginTmp -D SSL error=2
    ERROR! DEPLOY TOOL CANNOT CONTINUE DEPLOYMENTS: could not update DCM repository with newly
    deployed applications - ALL APPLICATIONS WILL BE UNDEPLOYED.
    Undeploying application 'EMAgentPush' from OC4J instance 'OC4J_EMPROV'.
    Application 'EMAgentPush' successfully undeployed.
    Stopping OC4J instance 'OC4J_EMPROV'...done.
    Undeploying application 'rlmgr' from OC4J instance 'OC4J_EM'.
    Application 'rlmgr' successfully undeployed.
    Undeploying application 'em' from OC4J instance 'OC4J_EM'.
    Application 'em' successfully undeployed.
    Stopping OC4J instance 'OC4J_EM'...done.
    Terminating DCM...done.
    Copying d:/Oracle/oms10g/j2ee/deploy.ini to d:/Oracle/oms10g/j2ee/deploy.ini.1189172785308.bak.
    Writing any undeployed entries back to d:/Oracle/oms10g/j2ee/deploy.ini.
    Oc4jDeploy tool completed, but with errors.
    INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stderr:
    'java.io.IOException: CreateProcess: d:\Oracle\oms10g//Apache//Apache//bin//apachectl configtest
    -f d:\Oracle\oms10g\Apache\Apache\conf\httpd.conf.ohsPluginTmp -D SSL error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:428)
    at java.lang.Runtime.exec(Runtime.java:364)
    at java.lang.Runtime.exec(Runtime.java:326)
    at
    oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.checkConfigFileValidity(Unknown
    Source)
    at
    oracle.ias.sysmgmt.repository.plugin.advanced.apache.StateTranslator.validateConfigDuringEvaluate(Un
    known Source)
    at oracle.ias.sysmgmt.repository.plugin.advanced.apache.PlugInImpl.localConfigValidation(Unknown
    Source)
    at oracle.ias.sysmgmt.repository.DcmPlugin.localConfigValidation(Unknown Source)
    at oracle.ias.sysmgmt.repository.RepositoryImpl.performLocalValidation(Unknown Source)
    at oracle.ias.sysmgmt.repository.SyncUpHandler._updatePluginConfigData(Unknown Source)
    at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromLocalFiles(Unknown Source)
    at oracle.ias.sysmgmt.repository.SyncUpHandler.syncUpFromLocalFiles(Unknown Source)
    at oracle.ias.sysmgmt.repository.RepositoryImpl.syncUpFromLocalFiles(Unknown Source)
    at oracle.ias.sysmgmt.configsvc.LocalEditsHandler.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.configsvc.ConfigurationServiceImpl.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.LocalEditPropagateAdapter.evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.sync_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.TaskMaster.internal_evaluate(Unknown Source)
    at oracle.ias.sysmgmt.task.RemoteEvaluate.execCommand(Unknown Source)
    at oracle.ias.sysmgmt.task.DaemonWorker.run(Unknown Source)
    Died at d:\Oracle\oms10g\sysman\install\emdeploy.pl line 154.
    INFO: oracle.sysman.top.oms:Oms deploying
    INFO: oracle.sysman.top.oms:OmsPlugIn:Requested Configuration Step 1 have been completed with
    status=false
    INFO: oracle.sysman.top.oms:EmcpPlug:invoke:Completed EmcpPlug invoke method on an
    aggregate=oracle.sysman.top.oms for Action=patchsetConfiguration in step=1:microstep=0
    INFO: oracle.sysman.top.oms:The plug-in OMS Patch Configuration has failed its perform method
    Solution
    A workaround on MS Windows is to set the system regional settings to English (for the time of the install) as indicated below:
    1. Go to Regional Settings in Control Panel and set the locale and Default Locale to US English and reboot the computer.
    2. Repeat the install
    References
    Bug 4377902 - JAVA SECURITY CONFIG ASSISTANT FAILS WHEN LOCALE IS SET TO TURKISH
    Note 373962.1 - OMNIPortlet Error - Unsupported IANA Encoding - 1so-8859-9 for Turkish
    Note 311910.1 - Turkish Locale Install of OAS Forms & Reports Services Fails: ADMN-202027 Java Security Assistant

  • Oc4j instance deployment failed

    hello
    i create new oc4j instance and enable the ssl on oc4j instance.i try to deploy the .ear and .war files on oc4j instance . i am getting this error.
    Deployment failed: See base exception for details.
    Resolution:
    See base exception for details.
    Base Exception:
    Unknown web-site default-web-site, for OC4J instance ormi://localhost:12402
    Resolution:
    . Base Exception:
    Unknown web-site default-web-site, for OC4J instance ormi://localhost:12402
    Resolution:

    Hi ,
    I am getting below exception, while deploying my EJB in oc4j 10.1.2, after enabling SSL
    Deployment failed: Base Exception:
    Changing value to OFF for Attribute KeepAlive, Entity et="system";ei="0",et="ApacheMainServer";ei="11" resulted in a constraint violation.Base Exception:
    The value OFF must match with one of the values from the list: [On,Off].
    Resolution:
    User must supply a value which matches one of the possible predefined values..
    Resolution:
    Please make sure that new value passes all the constraints defined
    Please help to resolve. Previously i didnt get this error when SSL is not enabled

  • Issue after configuring the oc4j_soa OC4J Instance to use OID

    Hi All,
    I just tried to configure the oc4j_soa OC4J instance of SOA suite to use Oracle Internet Directory. as a part of this process, after selecting orbpel and hw_services applications, we tried to restart the oc4j_soa OC4J instance however got the error: OPMN could not start all the processes...we Stoped and Started the SOA suite.
    When I tried to stop the ascontrol of home and started the ascontrol of oc4j_soa from the back end by updating the server.xml file of corresponding oc4j instances.
    unable to start the Application server Control i.e. not even getting the SSO login page..why?
    Thanks
    Krrish

    Check the log files for exceptions.
    --Shiv                                                                                                                                                                                                                   

Maybe you are looking for

  • Dll function calls from VB6 to Labview do not work.

    HI, We are transferring our production test systems from VB6 to Labview, and we are using "CAN-AC2-PCI" cards. When call functions of dll "canacpci.dll", UUT does not response at all, and Labview program does not report any error either. Attached are

  • Links to document in OBIEE 11G

    Hi, I would like to know, how certain links to stored document can be configured in OBIEE 11G eg: We have 'Help' icon, on click it opens up the 'Help Doc' which is stored in default (../analytics/olh/l_en) location. I want to know where are the setti

  • Which equipment for that ?

    Is there any NI equipment which can do next thing on 60-100 channels: - need to measure resistance, or just voltage (if i have constant current source) - constant current source (need about 100 mA per channel) What's the best solution for that. I nee

  • Trigger the workflow for a minimum amount.

    Hi all, I would like to trigger the workflow if only the PO amount meet the minimum of 50 euros or more.  Is there any config settings for these. i have checked the release strategies in SPRO..but cant find the amount field.. Thanks, Neslin.

  • Financial Statements

    How to build a Financial Statement  ( Profit and Loss / Balance Sheet) ? Do we have any custom reports available? Or First I have to build a FSVersion and then place that FSV in the standard report? Please give me the full path in the SPRO. Appreciat