I had the same problem trying to select individual jar files, to avoid including desnecesary classes (like servlet stuff) in the classpath.
I found that the InvalidClassException was caused by a missing class (EDU.oswego.cs.dl.util.concurrent.SynchronizedLong), which is included only in the jbossall jar. Then, I just created a jar file with this classes. Here is the list of jars files that I use to make remote calls to EJBs in JBoss 4.0.3: - jboss-client.jar - jboss-common-client.jar - jbosssx-client.jar - jboss-system-client.jar - jboss-transaction-client.jar - jnp-client.jar - concurrent.jar (EDU.oswego.cs.* classes) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916445#3916445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916445 ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
