For a workaround, think you could pre-generate the wsdl file. 2010/11/12 Ivan <xhh...@gmail.com>
> Guess that HttpException is used in your method signatures of the SEI. > It might be a bug, or an improvment might be required, think that Geronimo > should try its best to add as more dependency jar files in the classloader > tree of wgen, at least those jar files ( seems that no way to collect all > the parent car ). > I opened a JIRA https://issues.apache.org/jira/browse/GERONIMO-5687 for > it. > > 2010/11/12 jcyim <jongch...@gmail.com> > > >> Actually I defined JAVA_HOME and JRE_HOME. >> JAVA_HOME=/usr/java/default -> this is linked to jdk1.6. >> JRE_HOME=/usr/java/default/jre >> >> my server is Redhat Enterprise Edition 5.5. >> >> followings are parts of geronimo.log. >> >> >> 2010-11-11 20:56:19,377 INFO [SupportedModesServiceImpl] Portlet mode >> 'edit' not found for portletId: '/console-base.EJBModules!-36911321|0' >> 2010-11-11 20:56:19,377 INFO [SupportedModesServiceImpl] Portlet mode >> 'help' not found for portletId: '/console-base.EJBModules!-36911321|0' >> 2010-11-11 20:56:23,555 INFO [DirectoryMonitor] Hot deployer notified >> that >> an artifact was removed: org.etri.csp.ucws/ThirdPartyCall/1.0/car >> 2010-11-11 20:56:23,781 INFO [SupportedModesServiceImpl] Portlet mode >> 'edit' not found for portletId: '/console-base.EJBModules!-36911321|0' >> 2010-11-11 20:56:23,781 INFO [SupportedModesServiceImpl] Portlet mode >> 'help' not found for portletId: '/console-base.EJBModules!-36911321|0' >> 2010-11-11 20:56:28,025 INFO [SupportedModesServiceImpl] Portlet mode >> 'edit' not found for portletId: '/plugin.Deployment!227983155|0' >> 2010-11-11 20:56:35,728 INFO [config] Configuring >> Service(id=DefaultStatelessContainer, type=Container, provider-id=Default >> Stateless Container) >> 2010-11-11 20:56:35,728 INFO [config] Configuring >> Service(id=DefaultStatefulContainer, type=Container, provider-id=Default >> Stateful Container) >> 2010-11-11 20:56:35,729 INFO [config] Configuring >> Service(id=DefaultSingletonContainer, type=Container, provider-id=Default >> Singleton Container) >> 2010-11-11 20:56:35,729 INFO [config] Configuring >> Service(id=DefaultBMPContainer, type=Container, provider-id=Default BMP >> Container) >> 2010-11-11 20:56:35,730 INFO [config] Configuring >> Service(id=DefaultCMPContainer, type=Container, provider-id=Default CMP >> Container) >> 2010-11-11 20:56:35,730 INFO [config] Configuring enterprise application: >> org.etri.csp.ucws/ThirdPartyCall/1.0/car >> 2010-11-11 20:56:35,757 INFO [OpenEJB] Auto-deploying ejb >> ThirdPartyCallEjb: >> EjbDeployment(deployment-id=ThirdPartyCall/ThirdPartyCallEjb) >> 2010-11-11 20:56:35,757 INFO [OpenEJB] Auto-deploying ejb >> ThirdPartyCallBean: >> EjbDeployment(deployment-id=ThirdPartyCall/ThirdPartyCallBean) >> 2010-11-11 20:56:35,758 INFO [config] Enterprise application >> "org.etri.csp.ucws/ThirdPartyCall/1.0/car" loaded. >> 2010-11-11 20:56:36,308 DEBUG [EJBWebServiceFinder] Found EJB Web Service: >> ThirdPartyCallEjb >> 2010-11-11 20:56:36,315 DEBUG [EJBWebServiceFinder] Found EJB Web Service: >> ThirdPartyCallBean >> 2010-11-11 20:56:36,336 INFO [JAXWSServiceBuilder] Configuring EJB JAX-WS >> Web Service: ThirdPartyCallEjb at /ThirdPartyCall >> 2010-11-11 20:56:36,346 DEBUG [JAXWSTools] Invoking wsgen >> 2010-11-11 20:56:36,387 INFO [SAAJFactoryFinder] Default SAAJ universe >> not >> set >> 2010-11-11 20:56:37,293 ERROR [EjbModuleBuilder] >> JAXWSEJBModuleBuilderExtension.addGBeans() failed: Unable to generate the >> wsdl file using wsgen. >> org.apache.geronimo.common.DeploymentException: Unable to generate the >> wsdl >> file using wsgen. >> at >> >> org.apache.geronimo.jaxws.builder.WsdlGenerator.generateWsdl(WsdlGenerator.java:169) >> at >> >> org.apache.geronimo.jaxws.builder.SunWsdlGenerator.generateWsdl(SunWsdlGenerator.java:34) >> at >> >> org.apache.geronimo.axis2.builder.Axis2Builder.initialize(Axis2Builder.java:241) >> at >> >> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configureEJB(JAXWSServiceBuilder.java:218) >> at >> >> org.apache.geronimo.jaxws.builder.JAXWSEJBModuleBuilderExtension.addGBeans(JAXWSEJBModuleBuilderExtension.java:234) >> at >> >> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:816) >> at >> >> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:652) >> at >> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:257) >> at >> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:136) >> 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:130) >> at >> >> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:851) >> at >> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237) >> 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:619) >> Caused by: java.lang.reflect.InvocationTargetException >> 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.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java:222) >> at >> org.apache.geronimo.jaxws.builder.JAXWSTools.invoke(JAXWSTools.java:201) >> at >> >> org.apache.geronimo.jaxws.builder.JAXWSTools.invokeWsgen(JAXWSTools.java:188) >> at >> >> org.apache.geronimo.jaxws.builder.WsdlGenerator.invokeWsgen(WsdlGenerator.java:175) >> at >> >> org.apache.geronimo.jaxws.builder.WsdlGenerator.generateWsdl(WsdlGenerator.java:149) >> ... 19 more >> Caused by: java.lang.NoClassDefFoundError: >> org/apache/commons/httpclient/HttpException >> at java.lang.Class.getDeclaredMethods0(Native Method) >> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427) >> at java.lang.Class.getMethod0(Class.java:2670) >> at java.lang.Class.getMethod(Class.java:1603) >> at >> com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:505) >> at >> com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:402) >> at >> >> com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:258) >> at >> com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:218) >> at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:119) >> at >> >> com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:61) >> at >> >> com.sun.tools.ws.spi.WSToolsObjectFactory.wsgen(WSToolsObjectFactory.java:107) >> ... 28 more >> Caused by: java.lang.ClassNotFoundException: >> org.apache.commons.httpclient.HttpException >> 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 java.lang.ClassLoader.loadClass(ClassLoader.java:248) >> ... 39 more >> 2010-11-11 20:56:37,846 INFO [startup] Assembling app: >> >> /usr/local/geronimo22/var/temp/geronimo-deployer65679104692597600.tmpdir/ThirdPartyCall.jar >> 2010-11-11 20:56:37,921 INFO [startup] >> Jndi(name=ThirdPartyCallBeanRemote) >> --> Ejb(deployment-id=ThirdPartyCall/ThirdPartyCallBean) >> 2010-11-11 20:56:37,921 INFO [startup] Created >> Ejb(deployment-id=ThirdPartyCall/ThirdPartyCallEjb, >> ejb-name=ThirdPartyCallEjb, container=DefaultStatelessContainer) >> 2010-11-11 20:56:37,922 INFO [startup] Created >> Ejb(deployment-id=ThirdPartyCall/ThirdPartyCallBean, >> ejb-name=ThirdPartyCallBean, container=DefaultStatelessContainer) >> 2010-11-11 20:56:37,922 INFO [startup] Deployed >> >> Application(path=/usr/local/geronimo22/var/temp/geronimo-deployer65679104692597600.tmpdir/ThirdPartyCall.jar) >> 2010-11-11 20:56:37,982 INFO [SupportedModesServiceImpl] Portlet mode >> 'edit' not found for portletId: '/plugin.Deployment!227983155|0' >> -- >> View this message in context: >> http://apache-geronimo.328035.n3.nabble.com/Stateless-Session-Bean-and-WebService-tp1881870p1886983.html >> Sent from the Users mailing list archive at Nabble.com. >> > > > > -- > Ivan > -- Ivan