Link to home
Start Free TrialLog in
Avatar of TimB
TimB

asked on

problem creating helloWorld web service

Hello,

I've downloaded the JWS tutorial from the sun site (jwsdp-1_3-tutorial.zip).
I've unzipped it to a local directory.

I've installed Ant (v.1.5.4)

I've gone to the directory which contains the build.xml in the samples directory, and here's what I get:

---------------------------------------------
D:\download\j2ee\jwstutorial13\examples\jaxrpc\helloservice>ant build
Buildfile: build.xml

BUILD FAILED
file:D:/download/j2ee/jwstutorial13/examples/jaxrpc/common/targets.xml:30: taskdef class org.apache.catalina.ant.DeployTask cannot be found

Total time: 3 seconds

---------------------------------------------

I don't have Tomcat installed.  Do I need this, if so, can I just use the version that's bundled with JBoss v3.2.2?

Thanks for any help,
TimB
SOLUTION
Avatar of girionis
girionis
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Make sure Ant is in your classpath.

>>Do I need this

Can't give you an authorative answer on this, but i'd think almost certainly you do (or another server)

>>can I just use the version that's bundled with JBoss v3.2.2?

Possibly, although you'll have to be careful that the JBoss configuration has not, because of its interceptors, effectively hobbled its normal operation.

Sorry not to be more definite. I'm sure someone else will be able to be, although that should give you a start.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Off topic, but thought you might like to put your oar in here Tim ;-)

https://www.experts-exchange.com/questions/20803113/Setting-Classpaths-and-importing-packages.html