users@glassfish.java.net

Re: getting more server.log information

From: Qingqing Ouyang <Qingqing.Ouyang_at_Sun.COM>
Date: Tue, 14 Mar 2006 14:54:26 -0600
I normally grep on the message ID "DPL8007" to see the message key that is used in the java code.  Then grep on the message key....

For example:

[qouyang@sabu appserv-commons]$ find . -name \*.properties | xargs grep DPL8007 | grep Invalid
./src/java/com/sun/logging/enterprise/system/tools/deployment/LogStrings.properties:enterprise.deployment.backend.invalidDescriptorMappingFailure="DPL8007: Invalid Deployment Descriptors element {0} value {1}"

[qouyang@sabu appserv-commons]$ find . -name \*.java | xargs grep enterprise.deployment.backend.invalidDescriptorMappingFailure

..  there are a few places that uses this message key ...

mark@javector.com wrote:
I'm seeing this message in my server.log:


[#|2006-03-14T15:23:40.398-0500|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.tools.deployment|_ThreadID=95;_ThreadName=Thread-132;endpoint-address-uri;/deployssb/Hello;_RequestID=7f29fbaa-8b29-44b2-bffc-e055fad9379f;|"DPL8007:
Invalid Deployment Descriptors element endpoint-address-uri value
/deployssb/Hello"|#]

How can I find out the class / line number where this SEVERE issue was logged?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net