You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by A K N <ak...@hotmail.com> on 2001/03/30 02:31:21 UTC
Log4J, Struts and WebLogic6.0
Here is what I want to accomplish. I am using struts framework with weblogic 6.0 and want to integrate log4J logging mechanism. When I tried to used log4j in one of my class files, it came back with error on weblogic console saying
<Mar 29, 2001 5:44:32 PM CST> <Error> <HTTP> <[WebAppServletContext(2888663,etest)] action: Error creating Action instance for path '/Registration', class name 'com.abc.RegistrationAction'
java.lang.NoClassDefFoundError: org/apache/log4j/Category
at com.abc.RegistrationAction.<clinit>(RegistrationAction.java:57)
Now this seems like, I need to register log4J with Action Servlet somehow. How can you accomplish that, or if this is not the case how do you set up ActionServlet to find log4j. Any replies will be appreciated
Thanks Much
Rob
Re: Log4J, Struts and WebLogic6.0
Posted by Ceki Gülcü <cg...@qos.ch>.
Rob,
You did well to send your request to this mailing list. However, although cross-posting is against netiquette, it would be wise to forward your question to struts and weblogic 6.0 fora. Otherwise, I do not know the answer to you question. Cheers, Ceki
At 18:31 29.03.2001 -0600, you wrote:
>Here is what I want to accomplish. I am using struts framework with weblogic 6.0 and want to integrate log4J logging mechanism. When I tried to used log4j in one of my class files, it came back with error on weblogic console saying
>
><Mar 29, 2001 5:44:32 PM CST> <Error> <HTTP> <[WebAppServletContext(2888663,etest)] action: Error creating Action instance for path '/Registration', class name 'com.abc.RegistrationAction'
>java.lang.NoClassDefFoundError: org/apache/log4j/Category
> at com.abc.RegistrationAction.<clinit>(RegistrationAction.java:57)
>
>Now this seems like, I need to register log4J with Action Servlet somehow. How can you accomplish that, or if this is not the case how do you set up ActionServlet to find log4j. Any replies will be appreciated
>
>Thanks Much
>Rob
--
Ceki Gülcü Web: http://qos.ch
email: cgu@qos.ch (preferred)
ceki_gulcu@yahoo.com
I hope to see you at my ApacheCon 2001 presentation
entitled "Log4j, A Logging Package for Java".
See http://ApacheCon.Com/2001/US/ for more details.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org