You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Meera Mehta <me...@yahoo.com> on 2006/12/15 07:36:37 UTC

problem with Custome Logging Utility and Websphere6.0.0.1

Hi All,

I need one help regarding my Custom-Logging-Utility
(developed using Commons-logging-1.1 and log4j1.2.8)
deployed on Websphere6.0.0.1 app-server.

Scenario:
Our Custom-Logging-Utility, commons-logging.properties
and log4j.xml is specified as a share-lib
(Environment/Shared Libraries at server level) using
admin console to make it available to all deployed
applications.
The Commons-logging-1.1 and log4j1.2.8 are in
app-server lib directory.

When we try to access the application, it gives
?NoClassDefFoundError?.
[12/15/06 11:24:50:062 IST] 0000001e WebApp E
SRVE0026E: [Servlet Error]-[/LoggingClient.jsp]:
java.lang.NoClassDefFoundError:
com/demo/test/framework/logging/facade/spi/TestLog
at
com.demo.test.framework.dbtest.DBTest.<clinit>(DBTest.java:37)
at
com.ibm._jsp._LoggingClient._jspService(_LoggingClient.java:66)
at
com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88)
...........

Note: 
(a).
com/demo/test/framework/logging/facade/spi/TestLog is
our custom Log interface Extension of
org/apache/commons/logging/Log to add some custom
logging methods.

As per our initial investigation, it looks like its
ClassLoader issue. Because its not able to locate our
class (TestLog).

Please let me know in case any other details are
needed.

Thanks & Regards,
Mehta



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org