This week's book giveaway is in the Cloud forum.
We're giving away four copies of Terraform in Action and have Scott Winkler on-line!
See this thread for details.
Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Queue creation problem with deploying ear

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Today I Tried one MDB example with following entries.

MDB:
step 1 :
@MessageDriven(
activationConfig = {
@ActivationConfigProperty(propertyName="destinationName",propertyValue="myMDBQueue") ,
@ActivationConfigProperty(propertyName="destinationType",propertyValue="javax.jms.Queue")
},
mappedName="myMDBQueue"
)

step 2:
@Resource(name="jms/QueueConnectionFactory")
private ConnectionFactory connectionFactory;

@Resource(name="jms/myMDBQueue",mappedName="myMDBQueue")
private Destination saveQueue;



while deploying i am getting following error on admin console (using glassfish)

Deployment has succeeded with following warning, please look at the log file for details

Error occurred during application loading phase. The application will not run properly. Please fix your application and redeploy. WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException: Error while loading application [Ejb3InAction]. Please refer to the server log for more details. com.sun.enterprise.deployment.backend.IASDeploymentException: Error while loading application [Ejb3InAction]. Please refer to the server log for more details.



following error found from log file of my server.


[#|2008-03-27T20:32:52.125+0530|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.lifecycle|_ThreadID=10;_ThreadName=main;|MQJMSRA_RA1101: SJSMQ JMSRA Started IRECT|#]

[#|2008-03-27T20:32:52.140+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;_ThreadName=main;MyMDB;com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : myMDBQueue;_RequestID=a729b1cb-e7b9-44ff-b49b-8dc6280ea89b;|MDB00017: [MyMDB]: Exception in creating message-driven bean container: [com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : myMDBQueue]|#]

[#|2008-03-27T20:32:52.140+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;_ThreadName=main;_RequestID=a729b1cb-e7b9-44ff-b49b-8dc6280ea89b;|com.sun.enterprise.connectors.ConnectorRuntimeException
com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : myMDBQueue
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:1546)
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:1380)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:170)
at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:209)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:524)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:536)
at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:188)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:126)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:244)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:225)
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:217)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
|#]

[#|2008-03-27T20:32:52.140+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : myMDBQueue;_RequestID=a729b1cb-e7b9-44ff-b49b-8dc6280ea89b;|EJB5090: Exception in creating EJB container [com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : myMDBQueue]|#]

[#|2008-03-27T20:32:52.140+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.ejb|_ThreadID=10;_ThreadName=main;_RequestID=a729b1cb-e7b9-44ff-b49b-8dc6280ea89b;|appId=Ejb3InAction moduleName=MyClass_jar ejbName=MyMDB|#]

[#|2008-03-27T20:32:52.140+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.core.classloading|_ThreadID=10;_ThreadName=main;_RequestID=a729b1cb-e7b9-44ff-b49b-8dc6280ea89b;|LDR5004: UnExpected error occured while creating ejb container
com.sun.enterprise.connectors.ConnectorRuntimeException: JMS resource not created : myMDBQueue
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.getPhysicalDestinationFromConfiguration(ActiveJmsResourceAdapter.java:1546)
at com.sun.enterprise.connectors.system.ActiveJmsResourceAdapter.updateMDBRuntimeInfo(ActiveJmsResourceAdapter.java:1380)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:170)
at com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanCo
 
reply
    Bookmark Topic Watch Topic
  • New Topic