0

I am using Apache Tomcat 7.0 for web-service deployment and eclipse IDE.I have made the web service using eclipse but when i close eclipse and try to use the web service it gives an error while giving the result stating

exception: java.net.ConnectException: Connection refused: connect

but when i start eclipse and start the tomcat localhost server(i.e clicking Run Tomcat Server at localhost) from eclipse then the web service works fine and give the result as it should. How to use the web-service without starting eclipse and just starting tomcat 7.0 normally.

4

1 に答える 1

0
  1. warアプリケーションを(Web ARchive)ファイルとしてパッケージ化します
  2. あなたの<TOMCAT_DIR>/webappsフォルダに入れてください。
  3. を使用してTomcatを起動します<TOMCAT_DIR>/bin/startup.bat
于 2012-06-04T15:43:10.060 に答える