geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From search4mahesh <search4mah...@gmail.com>
Subject Error while deploying daytrader 2.2.1 application(geronimo) in jboss5
Date Fri, 21 Jan 2011 15:00:23 GMT

Hi I am getting following error while deploying daytrader 2.2.1 in jboss AS
5.

10:51:33,015 ERROR [Ejb3ClientDeployer] Could not deploy
vfszip:/C:/jboss-5.0.1.
GA/server/default/deploy/daytrader-ear-2.2.1.ear/streamer.jar/
java.lang.RuntimeException: message-destination has no
jndi-name/resolved-jndi-n
ame
MessageDestinationReferenceMetaData{name=jms/TradeStreamerTopic,type=javax.j
ms.Topic,link=jms/TradeStreamerTopic,ignore-dependecy=false,jndi-name=null,resol
voed-jndi-name=null,usage=Produces}
        at
org.jboss.ejb3.clientmodule.ResourceHandler.loadXmlMessageDestination
Refs(ResourceHandler.java:261)
        at
org.jboss.ejb3.clientmodule.ResourceHandler.loadXml(ResourceHandler.j
ava:275)
        at
org.jboss.ejb3.clientmodule.ClientENCInjectionContainer.processMetaDa
ta(ClientENCInjectionContainer.java:325)
        at
org.jboss.ejb3.clientmodule.ClientENCInjectionContainer.<init>(Client
ENCInjectionContainer.java:175)
        at
org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
.java:162)
        at
org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
.java:61)
        at
org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.de
ploy(AbstractSimpleVFSRealDeployer.java:56)
        at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
nternalDeploy(AbstractSimpleRealDeployer.java:62)
        at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
        at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:171)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1439)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1157)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1210)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:1098)
        at
org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
        at
org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
        at
org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
        at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
        at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
        at
org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
        at
org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:781)
        at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:698)
        at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:304)
        at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:205)
        at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
405)
        at org.jboss.Main.boot(Main.java:209)
        at org.jboss.Main$1.run(Main.java:547)
        at java.lang.Thread.run(Thread.java:662)
10:51:33,796 ERROR [AbstractKernelController] Error installing to Real:
name=vfs
zip:/C:/jboss-5.0.1.GA/server/default/deploy/daytrader-ear-2.2.1.ear/
state=PreR
eal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Could not deploy
vfszip:/C:/jboss-5
.0.1.GA/server/default/deploy/daytrader-ear-2.2.1.ear/streamer.jar/
        at
org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
.java:174)
        at
org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
.java:61)
        at
org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.de
ploy(AbstractSimpleVFSRealDeployer.java:56)
        at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
nternalDeploy(AbstractSimpleRealDeployer.java:62)
        at
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
AbstractRealDeployer.java:50)
        at
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:171)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
sImpl.java:1439)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1157)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:1210)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:1098)
        at
org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:348)
        at
org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1598)
        at
org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:934)
        at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:1062)
        at
org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:984)
        at
org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:822)
        at
org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:553)
        at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:781)
        at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:698)
        at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:304)
        at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:205)
        at
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
405)
        at org.jboss.Main.boot(Main.java:209)
        at org.jboss.Main$1.run(Main.java:547)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.RuntimeException: message-destination has no
jndi-name/reso
lved-jndi-name
MessageDestinationReferenceMetaData{name=jms/TradeStreamerTopic,t
ype=javax.jms.Topic,link=jms/TradeStreamerTopic,ignore-dependecy=false,jndi-name
=null,resolvoed-jndi-name=null,usage=Produces}
        at
org.jboss.ejb3.clientmodule.ResourceHandler.loadXmlMessageDestination
Refs(ResourceHandler.java:261)
        at
org.jboss.ejb3.clientmodule.ResourceHandler.loadXml(ResourceHandler.j
ava:275)
        at
org.jboss.ejb3.clientmodule.ClientENCInjectionContainer.processMetaDa
ta(ClientENCInjectionContainer.java:325)
        at
org.jboss.ejb3.clientmodule.ClientENCInjectionContainer.<init>(Client
ENCInjectionContainer.java:175)
        at
org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
.java:162)
        ... 24 more
10:51:34,655 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary
of
incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
 
 
DEPLOYMENTS IN ERROR:
  Deployment
"vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/daytrader-ear-2.2.
1.ear/" is in error due to the following reason(s):
java.lang.RuntimeException:
message-destination has no jndi-name/resolved-jndi-name
MessageDestinationRefere
nceMetaData{name=jms/TradeStreamerTopic,type=javax.jms.Topic,link=jms/TradeStrea
merTopic,ignore-dependecy=false,jndi-name=null,resolvoed-jndi-name=null,usage=Pr
oduces}

content of daytrader-jboss5-destinations-service.xml is for JMS config is as

<?xml version="1.0" encoding="UTF-8"?>
<server>
  <mbean code="org.jboss.jms.server.destination.TopicService"
     
name="jboss.messaging.destination:service=Topic,name=jms/TradeStreamerTopic"
      xmbean-dd="xmdesc/Topic-xmbean.xml">
      <depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="JNDIName">TradeStreamerTopic</attribute>
   </mbean>
   <mbean code="org.jboss.jms.server.destination.QueueService"
     
name="jboss.messaging.destination:service=Queue,name=jms/TradeBrokerQueue"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <depends
optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
      <attribute name="JNDIName">TradeBrokerQueue</attribute>
   </mbean>
</server>

Though I have followed all the steps mentioned README.JBOSS5 doc in
application still getting above error.
Please suggest.

-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Error-while-deploying-daytrader-2-2-1-application-geronimo-in-jboss5-tp2302290p2302290.html
Sent from the Users mailing list archive at Nabble.com.

Mime
View raw message