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\jwstutori al13\examp les\jaxrpc \helloserv ice>ant build
Buildfile: build.xml
BUILD FAILED
file:D:/download/j2ee/jwst utorial13/ examples/j axrpc/comm on/targets .xml:30: taskdef class org.apache.catalina.ant.De ployTask 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
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\jwstutori
Buildfile: build.xml
BUILD FAILED
file:D:/download/j2ee/jwst
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The DeployTask is actually Tomcat:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/ant/DeployTask.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/ant/DeployTask.html
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
https://www.experts-exchange.com/questions/20803113/Setting-Classpaths-and-importing-packages.html
:-)
>>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.