File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error creating web service in eclipse

 
sayush anand
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i right click on the java click and click create web service , i get the following error :

Error occured when adding the module, DigitalSignatureWS, to the server
org.eclipse.core.runtime.CoreException: Could not load the Tomcat server configuration at \Servers\Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete.

I tried uninstalling and then re installing tomcat but that did not help either .

Any suggestions please ?
 
Kiran G Kumar
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
might be some mis-configuration of tomcat server in eclipse.

have you started the tomcat from the eclipse? is it running fine?

Thanks,
Kiran
 
sayush anand
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No i get this error when starting tomcat from eclipse . It says port already in use . How do i stop tomcat and then restart it using eclipse ?
 
Deepak Vohra
Author
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the <eclipse workspace>/Servers/<Tomcat version> Server at localhost-config have the following files:
catalina.policy
catalina.properties
context.xml
server.xml
tomcat-users.xml
web.xml

Copy the requred files from /local/tomcat/conf
 
Deepak Vohra
Author
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i stop tomcat and then restart it using eclipse ?
Stop the tomcat service from Administrative Tools>Services.
 
Ekhlas Jewel
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been searching a solution on this issue and I have come to know that youtube has some great videos of creating web services in eclipse. You can check those videos for help. It may be serialization problem, check that too. Thanks
 
Nischit Shetty
Greenhorn
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your task manager. If there is a process called "Javaw", kill it. then start the tomcat using eclipse
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic