Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

problem creating helloWorld web service

Posted on 2003-11-21
6
Medium Priority
?
535 Views
Last Modified: 2011-10-03
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
0
Comment
Question by:TimB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 35

Assisted Solution

by:girionis
girionis earned 100 total points
ID: 9796117
 It can't find the DeployTask class. I guess the ant.jar file is already in the classpath. Can you make sure that you do not have an older/newer version of the ant (just check if there are two or more ants installed). It is probably a classpath conflict.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9796124
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.
0
 
LVL 35

Accepted Solution

by:
TimYates earned 100 total points
ID: 9796131
You need the catalina-ant jar file...

Not sure if it's in the JBoss bundle...

have a look... :-)

Tim
0
How To Install Bash on Windows 10

Windows’ budding partnership with Canonical has certainly led to some great improvements. One of them being the ability to use Bash on your Windows machine without third party applications! This might be one of the greatest things a cloud engineer in a Windows environment can do!

 
LVL 86

Expert Comment

by:CEHJ
ID: 9796170
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 9796277
Off topic, but thought you might like to put your oar in here Tim ;-)

http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20803113.html
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9796322
:-)
0

Featured Post

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question