I'm running into a (basic?) problem trying to deploy an EJB to jBoss.

Platform:  Windows 2000, JDK1.3 +hotspot, jBoss version pr4-beta

Problem:

I'm using log4j as my logging package with a stateless session (not using a 
jboss.xml - accepting server defaults for anything not in the ejb-jar.xml).  
I'm not using the jBoss logging package because I want to run the same 
logging service across multiple app. servers  -the same EJB runs on WL 5.1 
with no errors.

When I try to run the EJB, I get the following stack trace:

[frameworkTester] Exception occurred; nested exception is:
        java.lang.ClassCastException: java.lang.NoClassDefFoundError



If I take out the code accessing log4j, the bean runs just fine, so it's 
definitely the culprit (although the logging doesn't tell me anything).  
I've tried putting the log4j jar file in the <<jboss_home>>\lib\ext 
directory and adding it to the classpath variable in the run.bat file but no 
luck.  Any ideas why this jar file isn't available to my EJB?  Does it need 
to get loaded somewhere else?  If so, can someone tell me where I need to 
add this entry to?

Any help appreciated.

Humphrey

PS  Probably reported already, but the autodeploy in pr4-beta isn't working 
- old copy of bean impl. is being cached somewhere and re-used.  Need to 
bounce jBoss to pick up latest version of EJB even though the console output 
indicates that auto-redeploy has occurred.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to