RE: Need to create a thread dump in OAS

2008-08-07 Thread Amgad Mohamed
Dear , I've removed -Xrs option from the starting parameters and still nothing. process-type id=development module-id=OC4J module-data category id=start-parameters data id=java-options value=-server -Xrs

RE: Need to create a thread dump in OAS

2008-08-07 Thread Christophe Elek
Amgad, What about this ? http://edocs.bea.com/jrockit/geninfo/diagnos/sys_hangs.html Christophe Elek - Senior Software Analyst IBM Rational Serviceability Architect IBM Toronto Lab 8200 Warden Avenue, Markham, Ontario, L6G 1C7 Phone Number: (905) 413-3467 Email: [EMAIL PROTECTED] Rational

RE: Need to create a thread dump in OAS

2008-08-07 Thread Amgad Mohamed
Dear Christophe, Thank you so much for your help, am sorry I forgot to mention that am not using Bea/Oracle Application Server instead am using Oracle Application Server (the original:-)). So any suggestion? Regards, Amgad Muhammad Software Engineer GoodNews4Me Tel: +2 02

MDC and EJB

2008-08-07 Thread Ramaseshan
We have a requirement where userid information needs to be logged along with the message. The business layer is built with stateless session bean. To log userid information we've used MDC. Achieved through 1. Added a Filter in the UI layer with the following code. A class

RE: log4j.xml

2008-08-07 Thread Scott Deboy
There is a sample receiver configuration available from the Welcome tab in Chainsaw - there's an example receiver configuration xml file available from a button on the tab's toolbar. Copy and modify that example configuration file to some place on your file system and modify the application-wide

Distributed Logging Problem (log to remote database possible?)

2008-08-07 Thread CheapLisa
We have six machines involved in a transaction (Identity Provisioning / Identity Integration). In this scenario ata is sent from a hub out to six machines. I want to log information on the hub and the six machines in one place (a database residing on yet another machine). Is this possible to

Re: Distributed Logging Problem (log to remote database possible?)

2008-08-07 Thread Jeff
On Thu, Aug 7, 2008 at 3:42 PM, CheapLisa [EMAIL PROTECTED] wrote: We have six machines involved in a transaction (Identity Provisioning / Identity Integration). In this scenario ata is sent from a hub out to six machines. I want to log information on the hub and the six machines in one

Custom Parser to handle special properties

2008-08-07 Thread Kram
Hello all, I am using Log4J 1.2.15, and I have the need to output a special, custom, pattern to my appenders. I have looked up at the samples and googled around and I sort of have it working, however, when I try to add my custom pattern property instanceId to the NT Logger, I get a NPE. My

Re: Custom Parser to handle special properties

2008-08-07 Thread Kram
Ok, so I have made some small self progress here and I think I know what the underlining issues is. When I debug the Log4J code, when I first initialise, like so, Logger.getLogger(MyClass.class); I can see that Log4J iterates over the properties contained in my properties file, then goes over

Re: Custom Parser to handle special properties

2008-08-07 Thread Kram
Ok, typical me, jumped in WAY too far too quickly. I did not even need a custom PatternParser, just a local variable in the properties file. #custom properties instanceId=PC1 log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} ${instanceId} [%t] %-5p %c - %m%n Done... -- View this