geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li yanli <liyanl...@gmail.com>
Subject Re: Webservice example working on glassfish3 but not on geronimo-tomcat7-javaee6-3.0-beta-1
Date Tue, 20 Mar 2012 07:17:58 GMT
Hi Ivan,

I tried on windows using 3.0-beta-1,and two scenario that jdk path
with/without space, for jdk without space, it works well, for jdk with
space,popup problem.So for sure it is a space related problem.
I'll open a jira to track this.

Hi sim085,

Many thanks to you for finding this problem.

On Mon, Mar 19, 2012 at 10:28 PM, Ivan <xhhsld@gmail.com> wrote:
> Thanks for helping to validate this, Tina. If it is really caused by space,
> need a JIRA for fixing this. And I remembered that there should be some test
> cases for this, not sure why we miss that.
>
>
> 2012/3/19 li yanli <liyanlyee@gmail.com>
>>
>> Hi, tried on linux and jdk without space, sample works well.
>>
>> On Sun, Mar 18, 2012 at 9:53 AM, Ivan <xhhsld@gmail.com> wrote:
>> > 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
>>
>>
>>
>> --
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Best Wishes!
>> Tina Li
>
>
>
>
> --
> Ivan



-- 


















Best Wishes!
Tina Li

Mime
View raw message