What client jars do I need?
On the client classpath you need the following for the ejb3 profile (installed from the installer with ejb3 selected):
<path id="jbossws.client.classpath"> <pathelement location="${jboss.client}/activation.jar"></pathelement> <pathelement location="${jboss.client}/commons-logging.jar"></pathelement> <pathelement location="${jboss.client}/javassist.jar"></pathelement> <pathelement location="${jboss.client}/jbossall-client.jar"></pathelement> <pathelement location="${jboss.client}/jbossws-client.jar"></pathelement> <pathelement location="${jboss.client}/log4j.jar"></pathelement> <pathelement location="${jboss.client}/mail.jar"></pathelement> </path>
If you are not using the ejb3 profile (standard jboss 4.0.4 install), you need the following:
<path id="jbossws.client.classpath"> <pathelement location="${jboss.client}/activation.jar"></pathelement> <pathelement location="${jboss.client}/commons-logging.jar"></pathelement> <pathelement location="${jboss.client}/javassist.jar"></pathelement> <pathelement location="${jboss.client}/jbossall-client.jar"></pathelement> <pathelement location="${jboss.client}/jbossws14.client.jar"></pathelement> <pathelement location="${jboss.client}/log4j.jar"></pathelement> <pathelement location="${jboss.client}/mail.jar"></pathelement> <pathelement location="${jboss.client}/jbossretro-rt.jar"></pathelement> <pathelement location="${jboss.client}/jboss-backport-concurrent.jar"></pathelement> </path>
You also need to use the Xerces XML parser on the client.
-Djava.endorsed.dirs=$JBOSS_HOME/lib/endorsed
-
Referenced by:
Comments