The problems seems to be because the class I am passing in the remote call
comes from two different classloaders.
We are using Spring and if I instantiate the class in the WAR controller and
dump the classloader it comes out as below:
| 23:00:29,807 INFO [STDOUT] WebappClassLoader
| delegate: false
| repositories:
| --> Parent Classloader:
| [EMAIL PROTECTED]
|
When I instantiate the same class in the EJB it comes out as follows:
| 23:00:29,907 INFO [STDOUT] [EMAIL PROTECTED]
url=file:/usr/local/jboss-4.0.2/server/default/tmp/deploy/tmp5306102-os-onevehiclecheck.ear
,addedOrder=45}
|
However I have other classes in this ejb jar that do come from the same
classloader and their EJB calls are successful.
When we were on 3.0.6 we were on Jetty and now we are moving to Tomcat. Are
there any differences here?
Help is much appreciated.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916304#3916304
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916304
---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user