Web Service Deployment Error "java.lang.ClassNotFoundException: org.apache.cxf.Bus " in JBEDS
Issue
- I'm getting the below error when deploying a JBEDS VDB that has web services defined in it.
2012-07-17 17:09:46,434 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (New I/O server worker #2-1) Error installing to Start: name=jboss.jca:name=GlobalWeather,service=ManagedConnectionFactory state=Create mode=Manual requiredState=Installed
java.lang.NoClassDefFoundError: org/apache/cxf/Bus
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 org.jboss.resource.connectionmanager.ManagedConnectionFactoryDeployment.setManagedConnectionFactoryAttribute(ManagedConnectionFactoryDeployment.java:930)
at org.jboss.resource.connectionmanager.ManagedConnectionFactoryDeployment.setMcfProperties(ManagedConnectionFactoryDeployment.java:1045)
at org.jboss.resource.connectionmanager.ManagedConnectionFactoryDeployment.startService(ManagedConnectionFactoryDeployment.java:425)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:124)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189)
at $Proxy38.start(Unknown Source).....
Environment
- JBoss Enterprise Data Services (JBEDS) 5.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
