VERIFIED SOLUTION i
X

error deploying E2VaultWS web services

Issue

We have an issue with a Web Service WAR Deployment on one of our Vault Installation at a customer site. This is an On Premises install for a Customer SF Water. The customer is trying to deploy the E2VaultWS WAR file on Linux Tomcat Installation. The Deployment process seems to be fine. However when we try to access the E2VaultWS Web Application we get a message stating requested resource cannot be found. We are using "apache-tomcat-6.0.37"  and java 1.6.0_45.

Cause

Error in the Tomcat catalina log:
 
SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.NoSuchMethodError: javax.xml.ws.WebFault.messageName()Ljava/lang/String;
java.lang.NoSuchMethodError: javax.xml.ws.WebFault.messageName()Ljava/lang/String;
at com.sun.xml.ws.model.RuntimeModeler.processExceptions(RuntimeModeler.java:1162)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:898)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:666)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:420)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:254)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:338)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:201)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:505)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:124)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jan 14, 2014 2:34:22 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jan 14, 2014 2:34:22 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/E2VaultWS] startup failed due to previous errors
 

Resolution

UPDATED: September 18, 2017


Checked the logs and found out that the methods for web-service E2VaultWS were not found from ( TOMCAT6.0.37 + JVM-1.6.0.45 ).
 
This is because 6.1 E2VaultWS is using 2.2.1 jax-ws and 2.2 servlet.
 
But as the default the JVM-1.6.0.45 is using 2.1.10 jax-ws.
 
So what you can do is copy the jax-ws libs to <TOMCAT>/endorsed/ dir (if no dir of <TOMCAT>/endorsed/, exists please create one).
 
I've uploaded a file to the FTP site called endorsed.zip that contains the files you need.
 
Please and unzip it and copy the jar files to <TOMCAT>/endorsed/
 
Then restart Tomcat and try the following URLs again, and you should see better results:
 
http://localhost:8080/E2VaultWS/ # ==> hello ...
http://localhost:8080/E2VaultWS/E2VaultWS # ==> Web Services information, ....
http://localhost:8080/E2VaultWS/E2VaultWS?wsdl # ==> E2VaultWS WSDL data, ...
 

Downloads

  • No Downloads