Where is the default location for the OC4J logs?

Where is the default location for the OC4J logs?

Depends on what variant of the product you are using.
In an Oracle Applicaiton Server environment (ie the one you install versus unzip) the stdout/stderr streams from OC4J are captured in the $ORACLE_HOME/opmn/logs/<group-instance> directory.
If you are using standalone then stdout goes to the console where you started the process.
The logs for the OC4J instance itself are located in $ORACLE_HOME/j2ee/home/log/<instance_group> directory. In this directory you'll see different logs for differet areas of the server. Most of the logs however are captured in the oc4j sub-directory in the log.xml file. Whenever you enable an OC4J component logger in the j2ee-logging.xml file or via ASControl, this is where the logs will end up.
Take a look at the $ORACLE_HOME/j2ee/home/config/j2ee-logging.xml file -- the log handlers will give you some idea on the different log files that are in use.
You can configure your application loggers to also direct their log into this file if you wish. See http://buttso.blogspot.com/2007/09/directing-log-messages-into-oc4j.html for an example.

Similar Messages

Maybe you are looking for

  • Problem using iPod as encrypted disk for G4 Backup

    i have created an encrypted disk image on my iPod for backing up my G4 desktop folder. works like a charm. however, OSX limits the size of this disk image to 500MB when it is created using Disk Utility. that is unfortunate since my desktop folder is

  • Credit limit of Customer

    Hi all, can anyone tell me how to change or increase the credit limit of a customer. Thanks and i will assign points.

  • Importing XML - white spaces before tags

    Hello, I'm importing XML into an inDesign document. Everything imports fine but I get extra spaces whenever there is a paragraph return. How could I get rid of those extra white spaces? I don't want to go and edit out all those white spaces by hand..

  • Battery indicator showing fully charged when plugged in but battery percentage is not

    I've had the iPhone 5 for about 6 months now and starting about a week ago the battery started messing up.  I plug in my phone to charge and the indicator at the top right shows the fully charged indicator when the battery percentage is clearly not 1

  • What is latest Flash for Solaris/UNIX?

    Hello, I am currently running Firefox2 on Solaris 9 (UNIX) operating system. I have the following flash version installed: Flash Player 7 for Solaris Version 7.0.66.0 September 2006 When going to certain websites, they tell me that I need "Flash 8".