JavaWSTutorial cant run simpleclient.

Hello,

i am going through the JavaWSTutorial.

Now i have my first service working, but i cant run the client.

I get these errors in the console, when i try to start it.

(javawstutorial2.0 page 23)

Perhaps it is something with the classpath, but i am to new to java, to find it on my own.

thx

peter

C:\Java\jwstutorial20\jwstutorial20\examples\jaxws\simpleclient>asant run

Buildfile: build.xml

run:

[echo] To set the name, modify the client.arg property

[echo] in build.properties. If client.arg is unset,

[echo] the default name sent to the service is No Name.

appclient-command-common:

[exec] 06.06.2007 21:11:37 com.sun.enterprise.appclient.MainWithModuleSuppo

rt <init>

[exec] WARNUNG: ACC003: Application threw an exception.

[exec] java.io.FileNotFoundException: C:\Java\jwstutorial20\jwstutorial20\e

xamples\jaxws\simpleclient\simpleclient.jar

[exec]at com.sun.enterprise.deployment.archivist.PluggableArchivistsHe

lper.getArchivistForArchive(PluggableArchivistsHelper.java:73)

[exec]at com.sun.enterprise.deployment.archivist.PluggableArchivistsHe

lper.getArchivistForArchive(PluggableArchivistsHelper.java:97)

[exec]at com.sun.enterprise.deployment.archivist.ArchivistFactory.getA

rchivistForArchive(ArchivistFactory.java:84)

[exec]at com.sun.enterprise.appclient.AppClientInfoFactory.prepareArch

ivist(AppClientInfoFactory.java:153)

[exec]at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppCli

entInfo(AppClientInfoFactory.java:94)

[exec]at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(Mai

nWithModuleSupport.java:287)

[exec]at com.sun.enterprise.appclient.Main.main(Main.java:180)

[exec] Exception in thread "main" java.lang.RuntimeException: java.io.FileN

otFoundException: C:\Java\jwstutorial20\jwstutorial20\examples\jaxws\simpleclien

t\simpleclient.jar

[exec]at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(Mai

nWithModuleSupport.java:364)

[exec]at com.sun.enterprise.appclient.Main.main(Main.java:180)

[exec] Caused by: java.io.FileNotFoundException: C:\Java\jwstutorial20\jwst

utorial20\examples\jaxws\simpleclient\simpleclient.jar

[exec]at com.sun.enterprise.deployment.archivist.PluggableArchivistsHe

lper.getArchivistForArchive(PluggableArchivistsHelper.java:73)

[exec]at com.sun.enterprise.deployment.archivist.PluggableArchivistsHe

lper.getArchivistForArchive(PluggableArchivistsHelper.java:97)

[exec]at com.sun.enterprise.deployment.archivist.ArchivistFactory.getA

rchivistForArchive(ArchivistFactory.java:84)

[exec]at com.sun.enterprise.appclient.AppClientInfoFactory.prepareArch

ivist(AppClientInfoFactory.java:153)

[exec]at com.sun.enterprise.appclient.AppClientInfoFactory.buildAppCli

entInfo(AppClientInfoFactory.java:94)

[exec]at com.sun.enterprise.appclient.MainWithModuleSupport.<init>(Mai

nWithModuleSupport.java:287)

[exec]... 1 more

BUILD SUCCESSFUL

Total time: 3 seconds

C:\Java\jwstutorial20\jwstutorial20\examples\jaxws\simpleclient>

[3279 byte] By [Nukea] at [2007-11-27 6:38:21]
# 1
Sometimes is this tutorial a littlebit weird.The asant skript creates the simpleclient.jar in the wrong directory. it should be in /simpleclient but it is in /simpleclient/dist.I copied it, and it works fine.
Nukea at 2007-7-12 18:06:58 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...