We are using Geronimo 2.0.1 and all classes and interfaces are inside
EJBModule (jar).
Jarek Gawor-2 wrote:
>
> What version of Geronimo are you using? Also, is the PDSBaseFacade and
> PrestarServicoBusiness class in the ejb jar file?
>
> Jarek
>
> On Mon, May 12, 2008 at 10:39 AM, filosofisto
> <[EMAIL PROTECTED]> wrote:
>>
>> I'm trying to deploy a very simple EJB/WebService exposed.
>>
>> My Bean:
>>
>> package br.com.bb.pds.negocio.facade;
>> ...
>>
>> @Stateless
>> @WebService
>> public class PrestarServicoFacade extends PDSBaseFacade
>> implements PrestarServicoBusiness {
>>
>> @TransactionAttribute (TransactionAttributeType.SUPPORTS)
>> @Interceptors (ConfigSessionWebServiceInterceptor.class)
>> @WebMethod
>> public String hello(String param)
>> throws SystemException {
>> return "hello " + param;
>> }
>> }
>>
>> My interface:
>>
>> package br.com.bb.pds.negocio.facade;
>>
>> public interface PrestarServicoBusiness {
>>
>> String hello(String param) throws SystemException;
>> }
>>
>> and I got the follow error:
>>
>> error: Could not find class file for
>> br.com.bb.pds.negocio.facade.PrestarServicoFacade
>> 1 error
>> 10:40:39,348 ERROR [EjbModuleBuilder]
>> ModuleBuilderExtension$$EnhancerByCGLIB$$8b7b4031.addGBeans() failed:
>> Unable
>> to find the service wsdl file
>> org.apache.geronimo.common.DeploymentException: Unable to find the
>> service
>> wsdl file
>> at
>>
>> org.apache.geronimo.jaxws.builder.WsdlGenerator.generateWsdl(WsdlGenerator.java:352)
>> at
>>
>> org.apache.geronimo.axis2.builder.Axis2Builder.initialize(Axis2Builder.java:327)
>> at
>>
>> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder.configureEJB(JAXWSServiceBuilder.java:402)
>> at
>>
>> org.apache.geronimo.jaxws.builder.JAXWSServiceBuilder$$FastClassByCGLIB$$5b2252ff.invoke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at
>>
>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
>> at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>> at
>>
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>> at
>>
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>> at
>>
>> org.apache.geronimo.j2ee.deployment.WebServiceBuilder$$EnhancerByCGLIB$$122d2d15.configureEJB(<generated>)
>> at
>>
>> org.apache.geronimo.jaxws.builder.JAXWSEJBModuleBuilderExtension.addGBeans(JAXWSEJBModuleBuilderExtension.java:168)
>> at
>>
>> org.apache.geronimo.jaxws.builder.JAXWSEJBModuleBuilderExtension$$FastClassByCGLIB$$74c250b4.invoke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at
>>
>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
>> at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>> at
>>
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>> at
>>
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>> at
>>
>> org.apache.geronimo.j2ee.deployment.ModuleBuilderExtension$$EnhancerByCGLIB$$8b7b4031.addGBeans(<generated>)
>> at
>>
>> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:659)
>> at
>>
>> org.apache.geronimo.openejb.deployment.EjbModuleBuilder$$FastClassByCGLIB$$cd80af20.invoke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at
>>
>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
>> at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>> at
>>
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>> at
>>
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>> at
>>
>> org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$159a1df2.addGBeans(<generated>)
>> at
>>
>> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:628)
>> at
>>
>> org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.invoke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at
>>
>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830)
>> at
>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>> at
>>
>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>> at
>>
>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>> at
>>
>> org.apache.geronimo.j2ee.deployment.CorbaGBeanNameSource$$EnhancerByCGLIB$$4cc79807.buildConfiguration(<generated>)
>> at
>> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:304)
>> at
>> org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:126)
>> at
>>
>> org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at
>>
>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865)
>> at
>>
>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>> at
>> org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
>> at
>>
>> org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at
>>
>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>> at
>>
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:865)
>> at
>>
>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>> at
>>
>> org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:168)
>> at
>>
>> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>> at
>> com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>> at
>>
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>> at
>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>> at
>>
>> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1410)
>> at
>>
>> javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
>> at
>>
>> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1247)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>>
>> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1350)
>> at
>>
>> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:784)
>> at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source)
>> at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at
>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>> at sun.rmi.transport.Transport$1.run(Transport.java:153)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>> at
>> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
>> at
>>
>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
>> at java.lang.Thread.run(Thread.java:595)
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Unable-to-find-the-service-wsdl-file-tp17188878s134p17188878.html
>> Sent from the Apache Geronimo - Users mailing list archive at
>> Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Unable-to-find-the-service-wsdl-file-tp17188878s134p17214555.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.