Thomas Darimont
Erfahrenes Mitglied
Hallo!
Schaut mal hier:
Das !JBOSS_CLIENT_CLASSPATH! am Anfang sieht zwar störend aus wird aber von der Java Anwendung ignoriert...
Das JBOSS\CLIENT Verzeichnis hab ich nur als Beispiel gewählt... statt "alles" in den Classpath zu legen nimmt man dort natürlich besser das jbossclient-all.jar.
Gruß Tom
Schaut mal hier:
Code:
E:\>dir jboss\4.0.4\jboss-4.0.4.CR2\client\*.jar
Datenträger in Laufwerk E: ist DISK1
Volumeseriennummer: 28A5-8F7B
Verzeichnis von E:\jboss\4.0.4\jboss-4.0.4.CR2\client
01.04.2006 01:15 54.850 activation.jar
01.04.2006 01:15 73.729 avalon-framework.jar
01.04.2006 01:40 225.375 commons-httpclient.jar
01.04.2006 01:15 37.495 commons-logging.jar
01.04.2006 01:15 172.845 concurrent.jar
01.04.2006 01:40 50.075 ejb3-persistence.jar
01.04.2006 01:15 10.940 getopt.jar
01.04.2006 01:40 286.755 hibernate-annotations.jar
01.04.2006 01:40 212.445 hibernate-client.jar
01.04.2006 01:15 5.766.899 jacorb.jar
01.04.2006 01:15 450.954 javassist.jar
01.04.2006 01:15 98.724 javax.servlet.jar
01.04.2006 01:40 28.328 jboss-annotations-ejb3.jar
01.04.2006 01:40 86.547 jboss-aop-jdk50-client.jar
01.04.2006 01:40 19.582 jboss-aspect-jdk50-client.jar
01.04.2006 01:15 331.605 jboss-backport-concurrent.jar
01.04.2006 01:15 238.456 jboss-client.jar
01.04.2006 01:15 380.697 jboss-common-client.jar
01.04.2006 01:15 58.536 jboss-deployment.jar
01.04.2006 01:40 67.250 jboss-ejb3-client.jar
01.04.2006 01:40 19.008 jboss-ejb3x.jar
01.04.2006 01:15 158.503 jboss-iiop-client.jar
01.04.2006 01:15 441.910 jboss-j2ee.jar
01.04.2006 01:15 30.394 jboss-jaxrpc.jar
01.04.2006 01:15 29.153 jboss-jsr77-client.jar
01.04.2006 01:40 599.383 jboss-remoting.jar
01.04.2006 01:15 22.112 jboss-saaj.jar
01.04.2006 01:40 103.478 jboss-serialization.jar
01.04.2006 01:15 23.247 jboss-srp-client.jar
01.04.2006 01:15 26.193 jboss-system-client.jar
01.04.2006 01:15 53.368 jboss-transaction-client.jar
01.04.2006 01:15 338.411 jboss-xml-binding.jar
01.04.2006 01:40 4.186.254 jbossall-client.jar
01.04.2006 01:15 21.715 jbosscx-client.jar
01.04.2006 01:15 50.191 jbossha-client.jar
01.04.2006 01:15 160.624 jbossjmx-ant.jar
01.04.2006 01:15 327.299 jbossmq-client.jar
01.04.2006 01:15 45.569 jbossretro-rt.jar
01.04.2006 01:15 137.097 jbosssx-client.jar
01.04.2006 01:18 865.927 jbossws-client.jar
01.04.2006 01:15 893.163 jbossws14-client.jar
01.04.2006 01:15 457.584 jmx-client.jar
01.04.2006 01:15 4.811 jmx-invoker-adaptor-client.jar
01.04.2006 01:15 26.277 jnp-client.jar
01.04.2006 01:15 9.700 juddisaaj.jar
01.04.2006 01:15 353.236 log4j.jar
01.04.2006 01:15 86.542 logkit.jar
01.04.2006 01:15 327.831 mail.jar
01.04.2006 01:15 2.756 namespace.jar
01.04.2006 01:15 76.889 scout.jar
01.04.2006 01:15 164.988 wsdl4j.jar
01.04.2006 01:15 288.641 xmlsec.jar
52 Datei(en) 18.984.341 Bytes
0 Verzeichnis(se), 28.097.495.040 Bytes frei
Code:
E:\>SET JBOSS_CLIENT_CLASSPATH
Die Umgebungsvariable "JBOSS_CLIENT_CLASSPATH" ist nicht definiert.
E:\>for %j in (E:\jboss\4.0.4\jboss-4.0.4.CR2\client\*.jar) do SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;%j
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\activation.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\avalon-framework.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\commons-httpclient.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\commons-logging.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\concurrent.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\ejb3-persistence.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\getopt.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\hibernate-annotations.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\hibernate-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jacorb.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\javassist.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\javax.servlet.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-annotations-ejb3.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-aop-jdk50-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-aspect-jdk50-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-backport-concurrent.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-common-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-deployment.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-ejb3-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-ejb3x.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-iiop-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-j2ee.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-jaxrpc.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-jsr77-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-remoting.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-saaj.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-serialization.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-srp-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-system-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-transaction-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-xml-binding.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossall-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbosscx-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossha-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossjmx-ant.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossmq-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossretro-rt.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbosssx-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossws-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossws14-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jmx-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jmx-invoker-adaptor-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jnp-client.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\juddisaaj.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\log4j.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\logkit.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\mail.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\namespace.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\scout.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\wsdl4j.jar
E:\>SET JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\xmlsec.jar
E:\>set JBOSS_CLIENT_CLASSPATH
JBOSS_CLIENT_CLASSPATH=!JBOSS_CLIENT_CLASSPATH!;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\activation.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\avalon-framework.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\commons-httpclient.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\commons-logging.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\concurrent.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\ejb3-persistence.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\getopt.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\hibernate-annotations.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\hibernate-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jacorb.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\javassist.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\javax.servlet.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-annotations-ejb3.jar;E:\jboss\4.0.4\
jboss-4.0.4.CR2\client\jboss-aop-jdk50-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-aspect-jdk50-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-backport-concurrent.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-common-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-deployment.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-ejb3-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-ejb3x.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-iiop-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-j2ee.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-jaxrpc.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-jsr77-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-remoting.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\
jboss-saaj.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-serialization.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-srp-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-system-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-transaction-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jboss-xml-binding.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossall-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbosscx-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossha-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossjmx-ant.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossmq-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossretro-rt.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbosssx-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jbossws-client.jar;E:\jboss\4.0.4\jboss-
4.0.4.CR2\client\jbossws14-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jmx-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jmx-invoker-adaptor-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\jnp-client.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\juddisaaj.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\log4j.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\logkit.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\mail.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\namespace.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\scout.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\wsdl4j.jar;E:\jboss\4.0.4\jboss-4.0.4.CR2\client\xmlsec.jar
Das !JBOSS_CLIENT_CLASSPATH! am Anfang sieht zwar störend aus wird aber von der Java Anwendung ignoriert...
Das JBOSS\CLIENT Verzeichnis hab ich nur als Beispiel gewählt... statt "alles" in den Classpath zu legen nimmt man dort natürlich besser das jbossclient-all.jar.
Gruß Tom