activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael <mtarullo...@optonline.net>
Subject SOAP\JMS with ActiveMQ problem
Date Sun, 01 Jan 2012 14:53:28 GMT
I am trying to deploy a SOAP\JMS service to JBoss 6.0.  This service was
developed using the CXF WSDL extensions for SOAP\JMS.  Our JBoss instance
was modified to use ActiveMQ.

 

When Attempting to deploy this service I am getting errors indicating that
my JNDI registered queues cannot be found.  The queues are registered as can
be seen from the following, taken from the JBoss JMX Console.

 

I recognize that this is probably not an ActiveMQ issue.  I have posted here
only to try and get a broader range of input to the solution of this
problem.

 

I can provide my WSDL file and ActiveMQ config files, or any other config
file that might be needed upon request.

 

Thank you.

 

JNDI java: namespace

+- activemq (class: org.jnp.interfaces.NamingContext)

  |   +- QueueConnectionFactory (class:

org.apache.activemq.ra.ActiveMQConnectionFactory)

 

JNDI Global namespace

  +- activemq (class: org.jnp.interfaces.NamingContext)

  |   +- queue (class: org.jnp.interfaces.NamingContext)

  |   |   +- GetForecastRequestQueue (class:

org.apache.activemq.command.ActiveMQQueue)

  |   |   +- GetForecastResponseQueue (class:

org.apache.activemq.command.ActiveMQQueue)

 

The following are the stack traces I am getting when I try to deploy.

 

DEPLOYMENTS IN ERROR:

 

  Deployment

"vfs:///C:/Programs/jboss-6.0.0.Final/server/default/deploy/SoapJmsWeatherFo

recast.war" is in error due to the following reason(s):

javax.naming.NameNotFoundException: GetForecastResponseQueue

 

        at

org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersI

mpl.java:1228) [:2.2.0.GA]

 

        at

org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployer

Impl.java:905) [:2.2.0.GA]

 

        at

org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkCom

plete(MainDeployerPlugin.java:87) [:6.0.0.Final]

 

        at

org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllCo

mplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]

 

        at

org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra

p.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]

 

        at

org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstra

p.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]

 

        at

org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(Abstract

Server.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

 

        at

org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(Abst

ractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]

 

        at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

 

 

Caused by: java.lang.RuntimeException:

 

org.springframework.beans.factory.BeanCreationException:

 

Error creating bean with name 'soapjmsweather': 

 

Invocation of init method failed; nested exception is

javax.xml.ws.WebServiceException: 

 

org.springframework.jms.support.destination.DestinationResolutionException: 

 

Destination[GetForecastResponseQueue] not found in JNDI; nested exception is

javax.naming.NameNotFoundException: GetForecastResponseQueue

 

        at

org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeplo

ymentAspect.java:100) [:3.4.1.GA]

 

        at

org.jboss.webservices.integration.deployers.WSDeploymentAspectDeployer.inter

nalDeploy(WSDeploymentAspectDeployer.java:123) [:6.0.0.Final]

 

        at

org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(Abstrac

tRealDeployer.java:55) [:2.2.0.GA]

 

        at

org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper

.java:179) [:2.2.0.GA]

 

        ... 43 more

 

Caused by: org.springframework.beans.factory.BeanCreationException: 

 

Error creating bean with name 'soapjmsweather': 

 

Invocation of init method failed; nested exception is

javax.xml.ws.WebServiceException: 

 

org.springframework.jms.support.destination.DestinationResolutionException: 

 

Destination [GetForecastResponseQueue] not found in JNDI; nested exception
is javax.naming.NameNotFoundException: GetForecastResponseQueue

 

        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory

.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)

[:3.0.5.RELEASE]

 

        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory

.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [:3.0.5.RELEASE]

 

        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory

.createBean(AbstractAutowireCapableBeanFactory.java:456) [:3.0.5.RELEASE]

 

        at

org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Ab

stractBeanFactory.java:291) [:3.0.5.RELEASE]

 

        at

org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSi

ngleton(DefaultSingletonBeanRegistry.java:222) [:3.0.5.RELEASE]

 

        at

org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abst

ractBeanFactory.java:288) [:3.0.5.RELEASE]

 

        at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra

ctBeanFactory.java:190) [:3.0.5.RELEASE]

 

        at

org.springframework.beans.factory.support.DefaultListableBeanFactory.preInst

antiateSingletons(DefaultListableBeanFactory.java:580) [:3.0.5.RELEASE]

 

        at

org.springframework.context.support.AbstractApplicationContext.finishBeanFac

toryInitialization(AbstractApplicationContext.java:895) [:3.0.5.RELEASE]

 

        at

org.springframework.context.support.AbstractApplicationContext.refresh(Abstr

actApplicationContext.java:425) [:3.0.5.RELEASE]

 

        at

org.jboss.wsf.stack.cxf.configuration.SpringBusHolder.loadAdditionalConfig(S

pringBusHolder.java:164) [:3.4.1.GA]

 

        at

org.jboss.wsf.stack.cxf.configuration.SpringBusHolder.createBus(SpringBusHol

der.java:90) [:3.4.1.GA]

 

        at

org.jboss.wsf.stack.cxf.configuration.SpringBusHolder.<init>(SpringBusHolder

.java:71) [:3.4.1.GA]

 

        at

org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeplo

ymentAspect.java:93) [:3.4.1.GA]

 

        ... 46 more

 

Caused by: javax.xml.ws.WebServiceException: 

 

org.springframework.jms.support.destination.DestinationResolutionException: 

 

Destination [GetForecastResponseQueue]not found in JNDI; nested exception is

javax.naming.NameNotFoundException: GetForecastResponseQueue

 

        at

org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:335) [:2.3.1]

 

        at

org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:

62) [:3.4.1.GA]

 

       at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:238)

[:2.3.1]

 

        at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:481)

[:2.3.1]

 

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[:1.6.0_24]

 

       at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39

) [:1.6.0_24]

 

        at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

.java:25) [:1.6.0_24]

 

        at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]

 

        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory

.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1544)

[:3.0.5.RELEASE]

 

        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory

.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1485)

[:3.0.5.RELEASE]

 

        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory

.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)

[:3.0.5.RELEASE]

 

        ... 59 more

 

Caused by:

org.springframework.jms.support.destination.DestinationResolutionException: 

 

Destination [GetForecastResponseQueue] not found in JNDI; nested exception
is javax.naming.NameNotFoundException: GetForecastResponseQueue

 

        at

org.springframework.jms.support.destination.JndiDestinationResolver.resolveD

estinationName(JndiDestinationResolver.java:122) [:3.0.5.RELEASE]

 

        at

org.apache.cxf.transport.jms.JMSFactory$1.doInJms(JMSFactory.java:349)

[:2.3.1]

 

        at

org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)

[:3.0.5.RELEASE]

 

        at

org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:431)

[:3.0.5.RELEASE]

 

        at

org.apache.cxf.transport.jms.JMSFactory.resolveOrCreateDestination(JMSFactor

y.java:337) [:2.3.1]

 

        at

org.apache.cxf.transport.jms.JMSFactory.createJmsListener(JMSFactory.java:29

0) [:2.3.1]

 

        at

org.apache.cxf.transport.jms.JMSFactory.createJmsListener(JMSFactory.java:17

5) [:2.3.1]

 

        at

org.apache.cxf.transport.jms.JMSDestination.activate(JMSDestination.java:111

) [:2.3.1]

 

        at

org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObser

vable.java:48) [:2.3.1]

 

        at

org.apache.cxf.binding.AbstractBindingFactory.addListener(AbstractBindingFac

tory.java:181) [:2.3.1]

 

        at

org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactor

y.java:836) [:2.3.1]

 

        at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:127)

[:2.3.1]

 

        at

org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:326) [:2.3.1]

 

        ... 69 more

 

Caused by: javax.naming.NameNotFoundException: 

 

GetForecastResponseQueue

 

        at

org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:235)

[:5.4.2-fuse-02-00]

 

        at javax.naming.InitialContext.lookup(InitialContext.java:392)

[:1.6.0_24]

 

        at

org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:154)

[:3.0.5.RELEASE]

 

        at

org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:87)

[:3.0.5.RELEASE]

 

        at

org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:152)

[:3.0.5.RELEASE]

 

        at

org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)

[:3.0.5.RELEASE]

 

        at

org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:9

5) [:3.0.5.RELEASE]

 

        at

org.springframework.jms.support.destination.JndiDestinationResolver.resolveD

estinationName(JndiDestinationResolver.java:111) [:3.0.5.RELEASE]

 

        ... 81 more

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message