OC4J LOG FILES

OC4J:
If I have multiple applications app1 and app2 on single OC4J server instance bound to diffrent urls How do I create diffrent log files (STDOUT and STDERR )separate for each application
to log messages .
Satish Juware

As per my knowledge you cannot specify different STDOUT and STDERR for each application. it's one per the server. however you can specify a log file for each deployed application and it registers all events, exceptions in that log file. this log file is by default created in the $J2EE_HOME/j2ee/home/application-deployments/<application-name> directory.
If you want different STDERR and STDOUT for each application may be you can create different instances of Oc4J for each application.
regards
Debu

Similar Messages

  • Moving oc4j logs files in other filesystems

    Hi,
    I want to change the path of all oc4j logs files. For best performance and maintenance I want to put the logs in other filesystems. It is a good way and does someone try this.
    I need this change because my devlopper want to see all oc4j logs and I don't want to create many symbolic links or many samba share.
    Thanks !

    You can move all oc4j logs files in other filesytems. I have heard of people doing it. The product OCS, oracle collaboration suite, might have provided a single global option to do that in their next release. However, I do not think there is a single global option in oc4j itself that can accomplish that in a single swoop. I would suggest that you try it step by step, moving a subset of log files at a time.

  • Oc4j log file: many java.lan.NullPointerException in log file

    I use oc4j 10.1.3 Developer Preview 4
    I found many java.lan.NullPointerException in log file.
    I don't know if this is normal or not, but it makes me a little suspicious
    PEC Barnes

    As an example :
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2005-12-14T11:26:19.330+01:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>oracle</COMPONENT_ID>
    <MSG_TYPE TYPE="WARNING"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>yale.domain.com</HOST_ID>
    <HOST_NWADDR>129.233.33.12</HOST_NWADDR>
    <THREAD_ID>11</THREAD_ID>
    <USER_ID>barnes</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>129.233.33.12:6613:1134555978780:1</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Caught exception: java.lang.NullPointerException.</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
         at oracle.oc4j.admin.management.mbeans.J2EELogging.setLoggerLevel(J2EELogging.java:282)
         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1079)
         at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:604)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:822)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
         at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:343)
         at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:310)
         at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.evermind.server.ejb.interceptor.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:39)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:45)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:62)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:32)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:379)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:637)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:36)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
         at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
         at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:46)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:62)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
         at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:28)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:43)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
         at MBeanServerEjbRemote_StatefulSessionBeanWrapper0.invoke(MBeanServerEjbRemote_StatefulSessionBeanWrapper0.java:50)
         at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.evermind.server.rmi.ServerRmiMessageHandler.doMethodCall(ServerRmiMessageHandler.java:560)
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation(ServerRmiMessageHandler.java:471)
         at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest(ServerRmiMessageHandler.java:262)
         at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest(ServerRmiMessageHandler.java:231)
         at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand(RMIServerConnection.java:155)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:151)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:534)
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>

  • Oc4j log file

    Dear All
    I have a Oracle application server version 10,1,3
    some applications have been deployed on it
    in current setting all system.out.println('xxxx')
    writed to OracleAS\opmn\logs\default_group~home~default_group~1.log
    i want oc4j dont do this and dose not write system.out to this log file
    where should i change ?
    regards

    Dear All
    I have a Oracle application server version 10,1,3
    some applications have been deployed on it
    in current setting all system.out.println('xxxx')
    writed to OracleAS\opmn\logs\default_group~home~default_group~1.log
    i want oc4j dont do this and dose not write system.out to this log file
    where should i change ?
    regards

  • Directing Log4J messages into OC4J log file

    Hi,
    We currently have a web application that is running on Tomcat. We want to migrate that application over to OC4J. The application currently uses Log4J for messages. What do I have to do to have the application still write to the log4j logs.
    Thanks,
    J

    Try this:
    http://buttso.blogspot.com/2007/09/directing-log4j-logs-into-oc4j-logging.html
    The application still issues log messages via log4j, but you as an administrator can configure OC4J so that the log4j messages get captured in the OC4J log system so they can be viewed using the log viewer mechanism of OC4J.
    -steve-

  • AFP log file - how to log file moving

    Hi all,
    I am trying to find out who moved file from one folder to another on share point. I've noticed that AFP service do not log file moving/copying.
    It is not a big deal, but will be nice to find this information.
    Any ideas?
    Thanks!

    Sure you can do that or, if you want
    without stopping, only do this in the command line
    *>oc4j_default_island...whatever...1.log*
    and it will put the file size in 0.
    the *>* will sent input of nothing into the file, deleting all existing data, witout lossing the file lock.
    And like 20 post earlier we have discuss about the rotation of oc4j log files under opmn.
    Regards.

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How to create separate log files for each deployed web application in oc4j

    Hi All,
    I am using Windows2000, Oracle9iAS(OC4J). Say I have deployed 3 web applications onto this oc4j server. Then how to create 3 different log files so that I can see the log messages(System.out.println's) of each of these web appliations in a different log file.
    Thanks and Regards,
    Ravi.

    Where do the messages printed via ServletContext.log() go? Is this configurable separately by web application? If so, you could at least replace your System.out.println() with sc.log() statements. For exceptions, you could trap them and log them since the log() method takes a throwable as well as a String.
    John H.

  • OC4J components produce islands of log files

    What can I do about these files that continue to grow in my OMS?
    For each OC4J Oracle Application Server Component in my OMS I have a file called default-web-access.log
    $OMS_HOME/j2ee/OC4J_EM/log/OC4J_EM_default_island_1/
    $OMS_HOME/j2ee/OC4J_EMPROV/log/OC4J_EMPROV_default_island_1/
    $OMS_HOME/j2ee/home/log/home_default_island_1/
    And I would like to do something about these in $OMS_HOME//Apache/Apache/logs -
    access_log.numbers

    What can I do about these files that continue to grow in my OMS? You can configure the max dump size for each of the log files. Once the files "rollover" to a new copy after it reached the max size, you can either manually delete the files with .number extensions or schedule OS jobs to clean them up periodically.

  • Has 903 oc4j fixed / added rotating log files; -out and -err ?

    To be 24/7 an appserver needs to at least support managing the System.out traffic
    that apps, frameworks (BC4J) spew.
    It was suggested that 903 OC4J will support rotating log files?
    Is this true and any help or doc pointers would be great.
    BTW, I'm moving to 903 enterprise with OEM.
    Thanks, curt

    To be 24/7 an appserver needs to at least support managing the System.out traffic
    that apps, frameworks (BC4J) spew.
    It was suggested that 903 OC4J will support rotating log files?
    Is this true and any help or doc pointers would be great.
    BTW, I'm moving to 903 enterprise with OEM.
    Thanks, curt Curt - there is no way in 903 to rotate log files for a specific OC4J instance.
    There is a feature request in place for this functionality but I am not sure which version it will be delivered with.
    -steve-

  • Error message in opmn OC4J log for my BPEL cluster setup

    I am settings up my 2 nodes BPEL cluster in the same subnet, i prepared my jgroups-protocols.xml as:
    <config>
    <UDP mcast_send_buf_size="32000"
    mcast_port="45788"
    ucast_recv_buf_size="64000"
    mcast_addr="228.8.15.24"
    receive_on_all_interfaces="true"
    loopback="true"
    mcast_recv_buf_size="64000"
    max_bundle_size="48000"
    max_bundle_timeout="30"
    use_incoming_packet_handler="false"
    use_outgoing_packet_handler="false"
    ucast_send_buf_size="32000"
    ip_ttl="32"
    enable_bundling="false"/>
    <PING timeout="2000"
    num_initial_members="3"/>
    <MERGE2 max_interval="10000"
    min_interval="5000"/>
    <FD timeout="2000"
    max_tries="3"
    shun="true"/>
    <VERIFY_SUSPECT timeout="1500"/>
    <pbcast.NAKACK max_xmit_size="8192"
    use_mcast_xmit="false"
    gc_lag="50"
    retransmit_timeout="600,1200,2400,4800"/>
    <UNICAST timeout="1200,2400,3600"/>
    it is same as the default file, the configuration is same in both nodes, however, in OC4J log, i found it return the address is already in use:
    zed adaptors for platform 'ias_10g'
    Feb 22, 2008 2:58:17 PM org.collaxa.thirdparty.jgroups.protocols.UDP createSockets
    INFO: sockets will use interface 0.0.0.0
    08/02/22 14:58:17 java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: Address already in use
    08/02/22 14:58:17 at org.collaxa.thirdparty.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:600)
    08/02/22 14:58:17 at org.collaxa.thirdparty.jgroups.stack.DownHandler.run(Protocol.java:117)
    <2008-02-22 14:58:18,453> <INFO> <collaxa> <ServerManager::uninit> Shutting down all domains
    <2008-02-22 14:58:18,453> <INFO> <collaxa> <ServerManager::uninit> Done shutting down all domains
    <QuartzPublisherInit::init> Notification Retry publisher scheduled at every 15 minute(s)
    08/02/22 14:59:18 Oracle Containers for J2EE 10g (10.1.3.3.0) initialized
    what is the problem ? how to fix it ?
    thanks.

    Hi,
    Remove "receive_on_all_interfaces" and set bind_to_all_interfaces=false i think.
    It might not be exactly what you want to do, but read up on those parameters on the internet on Jgroups.

  • Log file locations

    Where is the OC4J server logs? I have found several empty log files in the j2ee_home\logs directory. How do I configure more log details? Also, do servlet/JSP logs go somewhere else?i.e. to the APache logs directory?
    I am using Oracle9iAS Release 2 (9.0.3)
    Thanks,
    Allan

    In oracle9ias env
    also see
    /ora9ias/opmn/logs
    You could use log4J as well.
    -Prasad

  • 500 Internal Server Error again pleas (including log file)..please help

    1. After i unziped and installed jdeveloper to:
    C:\Jdevstudio successfully
    2. Then i created the untitled1.jsp page ---> only showed Hello world and save
    3. the Embedded OC4J Server compiled successfully ..i thought this meant nothing wrong with the code.
    Successful compilation:0 errors, 0 warnings..
    4. But when i looked into the Embedded OC4J Server-Log
    i found the error :
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Jdevstudio\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
    C:\Jdevstudio\jdk\bin\javaw.exe -client -classpath C:\Jdevstudio\j2ee\home\oc4j.jar;C:\Jdevstudio\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=wwwcache.aber.ac.uk -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.aber.ac.uk|localhost|127.0.0.1|win2006 -Dhttps.proxyHost=wwwcache.aber.ac.uk -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=*.aber.ac.uk|localhost|127.0.0.1|win2006 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Jdevstudio\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    14 ส.ค. 2551 15:30:33 com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    14 ส.ค. 2551 15:30:34 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    14 ส.ค. 2551 15:30:34 com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 7813 ms.
    Target URL -- http://144.124.120.45:8988/Application1-view-context-root/faces/untitled1.jsp
    51/08/14 15:30:38 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    This caused 500 Internal Server error
    5. Then i went to Tools--> Preferences--> Deployment--> unchecked Bundle Default data-source.xml During Deployment...
    I got less error showing:
    C:\Jdevstudio\jdk\bin\javaw.exe -jar C:\Jdevstudio\j2ee\home\admin.jar ormi://144.124.120.45:23891 oc4jadmin **** -updateConfig
    14 ส.ค. 2551 15:33:58 com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl preInitApplicationServer
    WARNING: ORB ignoring configuration changes. Restart OC4J to apply new ORB configuration.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 8109 ms.
    Target URL -- http://144.124.120.45:8988/Application1-view-context-root/faces/untitled1.jsp
    This still caused 500 Internal Server Error
    6. I still did know the real problems then i read the installation guide of jdev
    is it necessary to set the JavaHome in C:\Jdevstudio\jdev\bin\jdev.conf
    or do i need to set ORACLEHome in this file
    7. from the log file the server called Jdk under Jdevstudio\jdk\bin\javaw.exe -jar
    it seemed fine...
    8. Anything wrong with admin.jar....
    9. is the problem from setting not setting jdk (javahome) or admin.jar...or OC4J problems please help
    i would appreciate you help
    thank you

    i deleted pesistence directory like what you said but i found the bigger error in the log ...
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Jdevstudio\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config>
    C:\Jdevstudio\jdk\bin\javaw.exe -client -classpath C:\Jdevstudio\j2ee\home\oc4j.jar;C:\Jdevstudio\jdev\lib\jdev-oc4j-embedded.jar -Dhttp.proxyHost=wwwcache.aber.ac.uk -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.aber.ac.uk|localhost|127.0.0.1|win2006 -Dhttps.proxyHost=wwwcache.aber.ac.uk -Dhttps.proxyPort=8080 -Dhttps.nonProxyHosts=*.aber.ac.uk|localhost|127.0.0.1|win2006 -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Jdevstudio\jdev\system\oracle.j2ee.10.1.3.39.84\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    14 ส.ค. 2551 17:05:46 com.evermind.server.jms.JMSMessages log
    SEVERE: Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/C:/Jdevstudio/jdev/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/jms.xml]
    java.lang.InstantiationException: The system cannot find the path specified
         at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1072)
         at com.evermind.server.jms.JMSUtils.toInstantiationException(JMSUtils.java:1237)
         at com.evermind.server.jms.JMSServer.recoverState(JMSServer.java:1831)
         at com.evermind.server.jms.JMSServer.internalSetConfig(JMSServer.java:209)
         at com.evermind.server.jms.JMSServer.setConfig(JMSServer.java:182)
         at com.evermind.server.ApplicationServer.initializeJMS(ApplicationServer.java:2412)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:955)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.io.IOException: The system cannot find the path specified
         at java.io.WinNTFileSystem.createFileExclusively(Native Method)
         at java.io.File.createNewFile(File.java:850)
         at com.evermind.server.jms.ServerFile.safeOpenFile(ServerFile.java:775)
         at com.evermind.server.jms.ServerFile.access$000(ServerFile.java:77)
         at com.evermind.server.jms.ServerFile$2.run(ServerFile.java:719)
         at oracle.oc4j.security.OC4JSecurity.doUnprivileged(OC4JSecurity.java:325)
         at com.evermind.server.jms.ServerFile.openFile(ServerFile.java:716)
         at com.evermind.server.jms.ServerFile.<init>(ServerFile.java:133)
         at com.evermind.server.jms.PersistentMap.loadFile(PersistentMap.java:100)
         at com.evermind.server.jms.PersistentMap.<init>(PersistentMap.java:61)
         at com.evermind.server.jms.JMSServer.recoverState(JMSServer.java:1823)
         ... 6 more
    51/08/14 17:05:46 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/C:/Jdevstudio/jdev/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/jms.xml]
    14 ส.ค. 2551 17:05:46 com.evermind.server.ServerMessages severeJmsServerStartupException
    SEVERE: JMS: Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/C:/Jdevstudio/jdev/system/oracle.j2ee.10.1.3.39.84/embedded-oc4j/config/jms.xml]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 7719 ms.
    Target URL -- http://144.124.120.45:8988/Application1-view-context-root/faces/untitled1.jsp
    51/08/14 17:05:50 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    anything problems that came from admin.jar..????

  • Errors in alert log fileand application log file

    Hi,
    Oracle EBS version 12.1.1
    RDBMS version 11.1.0.7.0
    OS RHEL 5.4
    All of a sudden I am not able to access my R12 system.It shows me 500 Internal server error.
    I am not able to connect to database from client either.(SQLPLUS or any other tools hangs while trying to connect to DB)
    Although I can connect to database from server.
    Errors in DB alert log file is :
    =================
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:08:12
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (12562_47163992198336)
    Sat Jul 30 14:10:12 2011
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:10:12
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (12599_47919733853376)
    Sat Jul 30 14:11:43 2011
    Incremental checkpoint up to RBA [0x137.8b97e.0], current log tail at RBA [0x137.8c0c4.0]
    Sat Jul 30 14:11:52 2011
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:11:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (12627_47439235198144)
    Sat Jul 30 14:14:32 2011
    Fatal NI connect error 12547, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:14:32
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12547
    TNS-12547: TNS:lost contact
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (12890_47772667911360)
    Sat Jul 30 14:15:08 2011
    Beginning log switch checkpoint up to RBA [0x138.2.10], SCN: 10132185231186
    Thread 1 advanced to log sequence 312 (LGWR switch)
    Current log# 3 seq# 312 mem# 0: /u01/oracle/VIS/db/apps_st/data/log1.dbf
    Sat Jul 30 14:15:52 2011
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:15:52
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (13156_47242339073216)
    Sat Jul 30 14:20:15 2011
    Completed checkpoint up to RBA [0x138.2.10], SCN: 10132185231186
    Sat Jul 30 14:32:04 2011
    Incremental checkpoint up to RBA [0x138.5646.0], current log tail at RBA [0x138.6444.0]
    Sat Jul 30 14:40:33 2011
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:40:33
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (14536_47011734056128)
    Sat Jul 30 14:45:33 2011
    Fatal NI connect error 12537, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:45:33
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12537
    TNS-12537: TNS:connection closed
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    ORA-609 : opiodr aborting process unknown ospid (14688_47186744614080)
    Sat Jul 30 14:47:13 2011
    Fatal NI connect error 12170.
    VERSION INFORMATION:
         TNS for Linux: Version 11.1.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.1.0.7.0 - Production
    Time: 30-JUL-2011 14:47:13
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12606
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Client address: <unknown>
    ORA-609 : opiodr aborting process unknown ospid (14684_46999375879360)
    --Repeatedly getting this error.
    Error in application log is:
    ================
    11/07/30 14:45:53.449 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    11/07/30 14:49:53.591 html: Broken pipe
    11/07/30 14:49:53.591 html: Broken pipe
    11/07/30 14:49:53.592 html: Broken pipe
    11/07/30 14:49:53.592.592 html: Broken pipe
    11/07/30 14:49:53.592 html: Broken pipe
    11/07/30 14:49:53.592.592 html: Broken pipe
    11/07/30 14:49:53.593 html: Broken pipe
    11/07/30 14:49:53.593 html: Broken pipe
    11/07/30 14:49:53.594 html: Broken pipe
    11/07/30 14:49:53.594 html: Servlet error
    java.io.IOException: Broken pipe
    11/07/30 14:49:53.594 html: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    11/07/30 14:49:53.594 html: Servlet error
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.630 html: Broken pipe
    11/07/30 14:49:57.631 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    11/07/30 14:49:57.632 html: Broken pipe
    11/07/30 14:49:57.632 html: Broken pipe
    11/07/30 14:49:57.632 html: Broken pipe
    11/07/30 14:49:57.633 html: Broken pipe
    11/07/30 14:49:57.633 html: Broken pipe
    11/07/30 14:49:57.633 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:619)
    11/07/30 14:55:33.775 html: Broken pipe
    11/07/30 14:55:33.775 html: Broken pipe
    11/07/30 14:55:33.775 html: Broken pipe
    11/07/30 14:55:33.776 html: Broken pipe
    11/07/30 14:55:33.776 html: Broken pipe
    11/07/30 14:55:33.776 html: Servlet error
    java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
    at sun.nio.ch.IOUtil.write(IOUtil.java:75)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
    at java.nio.channels.Channels.write(Channels.java:60)
    at java.nio.channels.Channels.access$000(Channels.java:47)
    at java.nio.channels.Channels$1.write(Channels.java:134)
    at com.evermind.server.http.AJPOutputStream.endRequest(AJPOutputStream.java:117)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:317)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    I tried to bounce the system.
    When I executed ./adstpall.sh it took a long time (about 15 mins) and exited with status 1.
    You are running adstpall.sh version 120.10
    adstpall.sh: Database connection could not be established. Either the database is down or the APPS credentials supplied are wrong.
    USAGE: adstpall.sh <appsusername/appspassword>
    adstpall.sh: exiting with status 1
    But I check from server that the database is up and running.
    Please help asap
    Thanks,
    Rushi

    Oracle support has given me two docs
    Note 550859.1 TROUBLESHOOTING GUIDE TNS - 12518 TNS listener could not hand off client connection
    Note 340089.1 New Connections to the Database lead to ORA-12518 or TNS-12518
    I do not any ORA-12518 or TNS-12518 errors in the log file entries you posted above. However, please see (ORA-00610 And/Or "unable to spawn jobq slave process " And/Or "Process(<>) creation failed" In The Alert Log And/Or TNS-12518/ TNS-12500 In Listener Log [ID 416244.1]).
    Thanks,
    Hussein

  • How to create different log files for different users in log4j

    I want to create different logs for different users, using different appenders for each user so that logs are created in his file only.
    Confusion:How to direct them to different files in my logger class

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

Maybe you are looking for

  • Help needed in Authenticating Users via A Stand-Alone Web_Application

    Hi all, I've just begun to explore the Human Workflow Services in the Oracle SOA Suite... I want to create a BPEL Process with a Human Workflow involving 2 users say, P1 & P2 ( which i have configured to be in the default "realm", say..) Could Anyone

  • Fonts unavailable in FM 8.0 but available in MS Word

    Several Futura and Garamond fonts were installed on my laptop but are not available in FM. When the documents are open containing these fonts, the "unavailable fonts" message boxes displays. When I access the Paragraph Designer and select the Default

  • HT4528 is there a way to reset an iphone 5

    my phone will not turn on, just a blank screen ...any suggestions?

  • How do i find what my OS is?

    where do i go to see what my current operating system is?

  • Business Content for CRM

    All, We are in the Blue Print phase of our CRM project.  During the Integration of CRM 7 EHP 1 to our BW 7 EHP 1 system we notice a parcular issue.  After executing all the necessary steps on both the CRM side and the BW side, we notice that only a h