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 "Mullica, Bill" <bm...@inovant.com> on 2003/02/04 20:31:28 UTC

Websphere Studio Application Developer and Log4j

Hello,

I'm a relative novice trying to create a J2EE Enterprise Application which
can use Log4j logging in both the Application Client and the EJB's. 

I created a Java project containing the log4j-1.2.7.jar file and a
log4j.properties file. After adjusting the JavaBuildPath in the Client I
could get logging to work when I ran the Client as a Java Application.
However, when I tried to test the Application Client on the Websphere
server, I encountered this error message:

WSCL0100E: Exception received: java.lang.NoClassDefFoundError:
org/apache/log4j/Category

Apparently the something is wrong with the deployment of the Application
and/or Client.

Can anyone suggest the "proper" way to incorporate Log4j into a J2EE
Enterprise Application under WSAD? (BTW, I have the new version 5.0 of
WSAD.)

Thanks,

Bill Mullica


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


questions related to config xml file

Posted by Nancy <lo...@softhome.net>.
Hi:

I am implementing remote debugging using SocketHubAppender. I want to use
XML to write the configuration file. I read log4j.dtd, but not fully
understand it. I guess because I am doing remote debugging, so I need to
config log4j:eventSet, and inside the element, there can be 0-many
log4j:event elements.I tried to find an example on how to config this, but
unfortunatly, I didn't find. Could you help me on how to config the
configuration file, or point me to a link where there is an example. Thank
you very much for your help.

regards,

Nancy


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


UDP appender & server?

Posted by "Sanjay Gupta (sanjaygu)" <sa...@cisco.com>.
Hello,

I want to send UDP packets as log messages from the client.
We didn't see UDP appender and UDP Server with the log4j api.

What is the best way to have UDP Server and all the capabilities of the
log4j.

Thanks in advance.

Sanjay


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