Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in calling to web service in dedicated server

 
Satchidananda Mohanty
Ranch Hand
Posts: 78
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I want to sift my share server to a dedicated server. So I have added my application into the new one. In my new server i saw all the servlets are working properly.
But in the web service calling program showing the error.

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.NoClassDefFoundError: javax/xml/ws/Service
java.lang.ClassLoader.defineClass1(Native Method)

java.lang.ClassLoader.defineClass(ClassLoader.java:620)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1853)

org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:875)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1330)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1209)

java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Health.RGICLPolicyDetails.doPost(RGICLPolicyDetails.java:722)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


can any body help me regarding this.. ??I hope we have to add some more jar files..But in devlopment application it is working properly.

Thanks in advance.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
The JARFinder webpage can help you to find the missing JARs:
http://www.jarfinder.com/index.php/java/info/javax.xml.ws.Service

My guess is that you have not installed a web service stack (such as Metro: https://metro.dev.java.net/) in the dedicated server.
Best wishes!
 
Satchidananda Mohanty
Ranch Hand
Posts: 78
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Ivan..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic