geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: Webservice example working on glassfish3 but not on geronimo-tomcat7-javaee6-3.0-beta-1
Date Sun, 18 Mar 2012 01:53:31 GMT
I guess that there is an issue that Geronimo could not handle those spaces
in the JDK path, could you try to use a JDK without space in the path ? if
it will work, think a JIRA is required.

2012/3/17 sim085 <sim085@hotmail.com>

> Here is the exception I get when I deploy the ear application containing
> ejb
> exposed as web service:
>
> 2012-03-17 15:58:51,215 WARN  [AdminObjectRefBuilder] Failed to build
> reference to resource env reference [java:comp/BeanManager,
> java:comp/Validator, java:comp/ValidatorFactory] defined in plan file. The
> corresponding entry in Geronimo deployment descriptor is missing.
> Process output: {}java.lang.NoClassDefFoundError:
> Files\Java\jdk1/6/0_23\jre\lib\endorsed
> Caused by: java.lang.ClassNotFoundException:
> Files\Java\jdk1.6.0_23\jre\lib\endorsed
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> Could not find the main class: Files\Java\jdk1.6.0_23\jre\lib\endorsed.
> Program will exit.
> Exception in thread "main"
> 2012-03-17 15:58:53,280 ERROR [EjbModuleBuilder]
> JAXWSEJBModuleBuilderExtension.addGBeans() failed: 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.configureEJB(JAXWSServiceBuilder.java:378)
>        at
>
> org.apache.geronimo.jaxws.ejb.builder.JAXWSEJBModuleBuilderExtension.addGBeans(JAXWSEJBModuleBuilderExtension.java:249)
>        at
>
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.doAddGBeans(EjbModuleBuilder.java:1247)
>        at
>
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:1146)
>        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(NativeMethodAccessorImpl.java:39)
>        at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        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.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
>        at
>
> org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
>        at java.lang.Thread.run(Thread.java:662)
>
> Is this because I need to configure Geronimo in some way?
>
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/Webservice-example-working-on-glassfish3-but-not-on-geronimo-tomcat7-javaee6-3-0-beta-1-tp3830574p3834663.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Ivan

Mime
View raw message