I've been wrestling with a problem where it appears
that my classes are out of sync between my client and
my server. I've been getting "Local class not
compatible" and "java.lang.NullPointerException:
METHOD NOT FOUND" errors. I think I've found out
what's going on.

I'm running jboss-tomcat-2.1-beta. I'm using both
tomcat as a client and stand alone clients. Most of my
development up until now has been done with my stand
alone client. Early on in my development I put a
version of my client jar file in a lib directory in
one of my webapps. It appears that jboss is loading
the jar file from the tomcat webapp/WEB-INF/lib
directory into its classpath and using those classes
instead of the ones in the deploy directory.

After much head banging, It dawned on me to remove
that jar and now everything works the way it should. 

I thought I'd pass this along incase anyone else was
having a similar problem.

Does anyone know if this is the expected behavior of
jboss (to put classes in tomcat/webapp/WEB-INF/lib in
the class path ahead of classes in the jboss/deploy
directory)? Is this a result of a trade off made to
support tomcat to jboss optimization?

Thanks,
Carles

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to