Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to run web service in Tomcat?

tien liu
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone please help on the following problem?
Question: Do I have to make any modification to the war file created with Sun Java Web Service Developer Pack before running it on Tomcat?
1. I installed Tomcat 4.1.12 (with NT service option on and port=8090) and j2sdk1.4.0 on a server.
2. I created Authentication-deployable.war in Sun's Java Web Service Developer Pack (JWSDP-1_0_01) and, after successful testing in JWSDP, copied the WAR file to Tomcat 4.1.12 /webapps directory. This WAR contains web service code. It has class files -- no servlets.
2. I restarted the Tomcat NT service. Tomcat automatically creates an
expanded directory named Authentication-deployable.
4. In the browser, I typed
5. This is the error message:
HTTP Status 404. The requested resource is not available.
In the Tomcat manager:
Application: /Authentication-deployable
Running: FALSE
When I click on the START (application) link, I go this error message:
"Fail -Application at context path /Authentication-deployable could not
Please help!!!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic