[jboss-user] [JBossWS] - org.jboss.ws.WSException: Cannot obtain UnifiedBeanMetaData

MmarcoM do-not-reply at jboss.com
Wed Sep 6 14:19:56 EDT 2006


hi all,
 i have deployed an EJB webservice in jboss4.0.4GA.. using latest download of jbossws..

this is my wsdl-config


  | <configuration xmlns="http://www.jboss.org/jbossws-tools">
  |     
  |     <java-wsdl>
  |             <service name="MessengerService" style="rpc" endpoint="com.mw.webservices.MessengerService"/>
  |             <namespaces target-namespace="http://mw.com/messengerservice"
  |                         type-namespace="http://mw.com/messengerservice/types"/>
  |             <mapping file="mss-mapping.xml"/>
  |             <webservices ejb-link="ResponderBean" append="true"/>
  |     </java-wsdl>
  |     
  | </configuration>
  | 
  | 

here's the ejb-jar (for ResponderBean part)


  | <session id="Session_Responder">
  |          <description><![CDATA[]]></description>
  | 
  |          <ejb-name>Responder</ejb-name>
  | 
  |       	    <service-endpoint>com.mw.webservices.MessengerService</service-endpoint>
  |          <ejb-class>com.mw.ejb.ResponderBean</ejb-class>
  |          <session-type>Stateless</session-type>
  |          <transaction-type>Container</transaction-type>
  | 
  |          <ejb-local-ref id="EJBLocalRef_5">
  |             <ejb-ref-name>ejb/ContactLocalHome</ejb-ref-name>
  |             <ejb-ref-type>Entity</ejb-ref-type>
  |             <local-home>com.ejb.partners.contact.ContactLocalHome</local-home>
  |             <local>com.ejb.partners.contact.ContactLocal</local>
  |          </ejb-local-ref>
  | 


i have generated mapping.xml and webservices.xml, and i have put
them in the META-INF directory of the jar file where my ejbs are ..

when i deploy  my ear, i have received this exception


  | org.jboss.ws.WSException: Cannot obtain UnifiedBeanMetaData for: ResponderBean
  |         at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JS
  | 109ServerMetaDataBuilder.java:152)
  |         at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpoi
  | tDeployer.java:85)
  |         at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerIn
  | erceptor.java:80)
  |         at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(Deploye
  | InterceptorEJB.java:44)
  |         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor
  | create(SubDeployerInterceptorSupport.java:180)
  |         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterc
  | ptor.java:91)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy31.create(Unknown Source)
  |         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
  |         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  |         at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercep
  | or.java:133)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(Model
  | BeanOperationInterceptor.java:142)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy6.deploy(Unknown Source)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeployme
  | tScanner.java:421)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeployment
  | canner.java:634)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread
  | doScan(AbstractDeploymentScanner.java:263)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(
  | bstractDeploymentScanner.java:336)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBean
  | upport.java:289)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceM
  | eanSupport.java:245)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceContro
  | ler.java:978)
  |         at $Proxy0.start(Unknown Source)
  |         at org.jboss.system.ServiceController.start(ServiceController.java:417)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
  | sorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatc
  | er.java:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker
  | java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 

what am i doing wrong? 

can anyone help me out?

thanx and regards
 marco



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969829#3969829

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969829



More information about the jboss-user mailing list