Click here to Skip to main content
15,899,314 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
Hi,

I have created a jax-ws web service. It runs fine in my development environment. When deploying to linux server machine, jdk1.6.0_10, tomcat 5.5.23, I get the following errors:

Cause of error is

failed to parse runtime descriptor: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found


/*********************************************************
com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Apr 27, 2011 3:28:32 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
at com.sun.xml.ws.util.xml.XmlUtil.<clinit>(XmlUtil.java:212)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.createEntityResolver(DeploymentDescriptorParser.java:402)
at

*************************************************************************************/

I'm stuck on this issue. Please help me to find the solution
Posted

1 solution

Check out this link: http://xml.apache.org/xalan-j/faq.html#faq-N100EF[^].

See if following the instructions for "I'm having a problem running Xalan-Java on JDK/JRE 1.4 or higher" helps.
 
Share this answer
 
Comments
Member 7876819 28-Apr-11 5:35am    
Hi Rick,
Thanks for your help. But still web service problems are there. I created a web service application in netbeans 6.8 and tomcat 6.0 and jdk 1.6. That works fine.. When i deployed the generated war file from netbeans 6.8, the follwing error occured.

failed to parse runtime descriptor: javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found

In server the java version is 1.6 and tomcat version is 5.523.
What are the jar files needed for web service.
Please reply me with your suggestion
Member 7876819 28-Apr-11 7:36am    
The above error got solved by adding all jax web service jar files on application lib folder.

But now showing a new error

WSSERVLET11: failed to parse runtime descriptor: runtime modeler error: Wrapper class calendar.jaxws.CalSyncLogin is not found. Have you run APT to generate them?
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:107)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4212)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1105)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1203)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)

Please help
Rick Shaub 28-Apr-11 9:42am    
Sounds like this could be a lot of things. maybe a problem with sun-jaxws.xml or web.xml? Here's a google search that may help: http://www.google.com/search?hl=en&q=failed+to+parse+runtime+descriptor%3A+runtime+modeler+error%3A+Wrapper+class+is+not+found.+Have+you+run+APT+to+generate+them%3F&aq=f&aqi=&aql=&oq=

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900