"dkuanwang" wrote : Hi Clebert/Tim,
|
| I did check the class dependencies and found all the classes in jboss-remoting.jar or
jbossall-client.jar.
|
| I have tried putting the jboss jars in Sun AS classpath perfix but the same exception
happens:
|
I don't know how ClassLoader would work on
SunOne/Gassfish/JavaApplicationServer/WhateverNameTheyAreUsingNow. I used to work with it
years ago, and I remember being somewhat different in regard to hierarchies.. etc.
You have the JAR list you need to use, you just need to make sure the application will
have access to those classes.
anonymous wrote :
| On the other hand, if JBAS 5 deprecated jbossall-client.jar, what jar should a client
use instead of it?
jbossall-client.jar is an evil aggregation of jars. You will need to use the individual
client jars from /jboss/client. I have changes the examples to make use of the correct
jars, and we have documented the minimal set for JBM, but depending on the other EE
features you use you may need to add more client jars. I would suggest looking at the
JBossAS docs. (Or ask on the jbas forum if you still miss anything).
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224931#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...