Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to run web service in Tomcat?

 
tien liu
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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?
Steps:
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
"http://localhost:8090/Authentication-deployable/"
or
"http://localhost:8090/Authentication-deployable/Authentitation?WSDL"
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
start"
Please help!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!