aspose file tools*
The moose likes Web Services and the fly likes error in calling to web service in dedicated server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "error in calling to web service in dedicated server" Watch "error in calling to web service in dedicated server" New topic
Author

error in calling to web service in dedicated server

Satchidananda Mohanty
Ranch Hand

Joined: Mar 12, 2008
Posts: 77

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.

Zeet

SCJP 6.0
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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

Joined: Mar 12, 2008
Posts: 77

Thanks a lot Ivan..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error in calling to web service in dedicated server