Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Apache Geronimo - Eclipse Indigo- JAXWS deployment problem (Apache Geronimo - Eclipse Indigo- JAXWS deployment problem )
Apache Geronimo - Eclipse Indigo- JAXWS deployment problem [message #787545] Tue, 31 January 2012 17:50 Go to next message
Arun Adiththan is currently offline Arun AdiththanFriend
Messages: 2
Registered: January 2012
Junior Member
I use Eclipse Indigo and Apache geronimo server. "Developing a JAX-WS POJO Web Service" following the tutorial from cwiki.apache.org - developing-a-jax-ws-pojo-web-service throws the following error on deployment. The geronimo server starts fine but could not deploy the service.


I double checked to confirm that JDK (1.6.0_30) has been installed.

The path is:
C:\Program Files\Java
(jdk1.6.0_31 folder)
(jre6 folder)

The lib folder mentioned in this path "C:\Program Files\Java\lib" as appear in the below given error does not exist on my machine


Geronimo Application Server started
2012-01-31 22:58:54,312 WARN [JAXWSTools] Missing C:\Program Files\Java\lib. This may be required for wsgen to run.
Process output: {}java.lang.NoClassDefFoundError: Adiththan\geronimo-tomcat7-javaee6-3/0-beta-1\repository\org\apache\geronimo\specs\geronimo-jaxws_2/2_spec\1/1;E:\Arun
Caused by: java.lang.ClassNotFoundException: Adiththan\geronimo-tomcat7-javaee6-3.0-beta-1\repository\org\apache\geronimo\specs\geronimo-jaxws_2.2_spec\1.1;E:\Arun
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Adiththan\geronimo-tomcat7-javaee6-3.0-beta-1\repository\org\apache\geronimo\specs\geronimo-jaxws_2.2_spec\1.1;E:\Arun. Program will exit.
Exception in thread "main"

--------------

WSDL generation failed
org.apache.geronimo.common.DeploymentException: WSDL generation failed
at org.apache.geronimo.jaxws.sun.tools.WsdlGenerator.generateWsdl(WsdlGenerator.java:176)
at org.apache.geronimo.jaxws.sun.tools.SunWsdlGenerator.generateWsdl(SunWsdlGenerator.java:34)
at org.apache.geronimo.axis2.builder.Axis2Builder.initialize(Axis2Builder.java:153)
at org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configurePOJO(JAXWSServiceBuilder.java:321)
at org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.addGBeans(TomcatModuleBuilder.java:637)
at org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:174)
at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:763)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:131)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


I have checked the "geronimo-tomcat7-javaee6-3/0-beta-1\repository\org\apache\geronimo\specs\geronimo-jaxws_2/2_spec\" directory and found a jaxws jar with version 2.1. Is the difference in the version of jaxws jar (2.1) and geronimo server (3.0) introduces such problem and preventing the service from getting deployed.

Please help me in fixing the problem.

Regards,
Arun
Re: Apache Geronimo - Eclipse Indigo- JAXWS deployment problem [message #787624 is a reply to message #787545] Tue, 31 January 2012 19:58 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 31-Jan-12 10:50, Arun Adiththan wrote:
> I use Eclipse Indigo and Apache geronimo server. "Developing a JAX-WS
> POJO Web Service" following the tutorial from cwiki.apache.org -
> developing-a-jax-ws-pojo-web-service throws the following error on
> deployment. The geronimo server starts fine but could not deploy the
> service.
> [snip]
> Please help me in fixing the problem.
>
> Regards,
> Arun

There's a much bigger chance that you'll get help with this in the
Eclipse web tools forum.
Previous Topic:How do I delete unused workspace in dropdown list?
Next Topic:One parameter, Multiple data sets
Goto Forum:
  


Current Time: Fri Jun 25 12:48:51 GMT 2021

Powered by FUDForum. Page generated in 0.03095 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top