File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes WMSG0017E: Unable to lookup JMS resources, JNDI lookup exception: jms/MyMDBQueue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "WMSG0017E: Unable to lookup JMS resources, JNDI lookup exception: jms/MyMDBQueue" Watch "WMSG0017E: Unable to lookup JMS resources, JNDI lookup exception: jms/MyMDBQueue" New topic
Author

WMSG0017E: Unable to lookup JMS resources, JNDI lookup exception: jms/MyMDBQueue

Priyanka Bhatnagar
Greenhorn

Joined: Jan 31, 2005
Posts: 2
I am new to using WSAD5.0. Trying to deploy an MDB. Using Embedded messaging.. done configuration step by step as per one of the IBM's tutorials. But during server startup getting this problem:

*** Starting the server ***
************ Start Display Current Environment ************
WebSphere Platform 5.0 [BASE 5.0.0 s0245.03] running with process name localhost\localhost\server1 and process id 2496
Host Operating System is Windows 2000, version 5.0
Java version = J2RE 1.3.1 IBM Windows 32 build cn131-20021107 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
was.install.root = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5
user.install.root = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5
Java Home = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\java\jre
ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/ext;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/web/help;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqbind.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jndi.jar;C:/Program Files/SQLLIB/java/db2java.zip;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.webservice_5.0.1/runtime/worf.jar
Classpath = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jndi.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqbind.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wasToolsCommon.jar
Java Library path = C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/bin;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/bin;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/java/jre/bin;C:\Program Files\IBM\WebSphere Studio\eclipse\jre\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5\bin;C:/Program Files/IBM/WebSphere MQ/WEMPS\bin;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\IBM Connectors\Encina\bin;C:\IBMDebug\bin;C:\Program Files\IBM\WebSphere MQ\Java\bin;C:\PROGRA~1\IBM\IMNNQ;c:\winnt\system32;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;C:\Program Files\SQLLIB\BIN;C:\Program Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\SAMPLES\REPL;C:\Program Files\SQLLIB\HELP;C:\Program Files\IBM\WebSphere MQ\WEMPS\bin
************* End Display Current Environment *************
[2/1/05 10:54:40:748 IST] 6797f10b ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
[2/1/05 10:54:41:920 IST] 6797f10b AdminInitiali A ADMN0015I: AdminService initialized
[2/1/05 10:54:43:936 IST] 6797f10b Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
[2/1/05 10:54:44:061 IST] 6797f10b SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
[2/1/05 10:54:44:826 IST] 6797f10b SecurityCompo I SECJ0309I: Java 2 Security is disabled.
[2/1/05 10:54:44:842 IST] 6797f10b SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
[2/1/05 10:54:44:951 IST] 6797f10b SecurityCompo I SECJ0240I: Security service initialization completed successfully
[2/1/05 10:54:51:311 IST] 6797f10b JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[2/1/05 10:54:51:373 IST] 6797f10b SecurityCompo I SECJ0243I: Security service started successfully
[2/1/05 10:54:51:373 IST] 6797f10b SecurityCompo I SECJ0210I: Security enabled false
[2/1/05 10:54:51:686 IST] 6797f10b SystemErr R ERROR: Unable to initialize Websphere Application Server for tracing and logging: using JMS tracing and logging: com/ibm/websphere/ras/Manager
[2/1/05 10:54:51:701 IST] 6797f10b SystemErr R java.lang.NoClassDefFoundError: com/ibm/websphere/ras/Manager
[2/1/05 10:54:51:701 IST] 6797f10b SystemErr R at com.ibm.mq.jms.services.WASManager.<init>(WASManager.java:60)
[2/1/05 10:54:51:701 IST] 6797f10b SystemErr R at com.ibm.mq.jms.services.ConfigEnvironment.enableWebSphereTracingAndLogging(ConfigEnvironment.java:574)
[2/1/05 10:54:51:701 IST] 6797f10b SystemErr R at com.ibm.mq.jms.services.ConfigEnvironment.<clinit>(ConfigEnvironment.java:174)
[2/1/05 10:54:51:701 IST] 6797f10b SystemErr R at com.ibm.ws.messaging.JMSClientInit.setRunningInWebSphere(JMSClientInit.java:50)
[2/1/05 10:54:51:701 IST] 6797f10b SystemErr R at com.ibm.ws.messaging.JMSRegistration.start(JMSRegistration.java:186)
[2/1/05 10:54:51:701 IST] 6797f10b SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
[2/1/05 10:54:51:717 IST] 6797f10b SystemErr R at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
[2/1/05 10:54:51:717 IST] 6797f10b SystemErr R at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
[2/1/05 10:54:51:717 IST] 6797f10b SystemErr R at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
[2/1/05 10:54:51:717 IST] 6797f10b SystemErr R at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
[2/1/05 10:54:51:717 IST] 6797f10b SystemErr R at java.lang.reflect.Method.invoke(Native Method)
[2/1/05 10:54:51:717 IST] 6797f10b SystemErr R at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
[2/1/05 10:54:51:732 IST] 6797f10b SystemErr R at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)
[2/1/05 10:54:51:795 IST] 6797f10b JMSEmbeddedPr A MSGS0050I: Starting the Queue Manager
[2/1/05 10:54:54:701 IST] 6797f10b JMSEmbeddedPr A MSGS0051I: Queue Manager open for business
[2/1/05 10:54:54:717 IST] 6797f10b JMSEmbeddedPr A MSGS0052I: Starting the Broker
[2/1/05 10:54:59:498 IST] 6797f10b JMSEmbeddedPr A MSGS0053I: Broker open for business
[2/1/05 10:55:00:858 IST] 6797f10b ResourceMgrIm I WSVR0049I: Binding MyMDBConnectionFactory as jms/MyMDBConnectionFactory
[2/1/05 10:55:01:092 IST] 6797f10b ResourceMgrIm I WSVR0049I: Binding MyMDBQueue as jms/MyMDBQueue
[2/1/05 10:55:02:623 IST] 6797f10b CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
[2/1/05 10:55:02:873 IST] 6797f10b FileBeanStore W CNTR0023W: Directory "C:\Program Files\IBM\WebSphere Studio\runtimes\base_v5/temp" does not exist. The EJB Container will use the current directory for passivating beans.
[2/1/05 10:55:08:858 IST] 6797f10b ApplicationMg A WSVR0200I: Starting application: IBMUTC
[2/1/05 10:55:09:232 IST] 6797f10b WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
[2/1/05 10:55:09:295 IST] 6797f10b WebContainer A SRVE0162I: Servlet Specification Level: 2.3
[2/1/05 10:55:09:311 IST] 6797f10b WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
[2/1/05 10:55:09:498 IST] 6797f10b WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
[2/1/05 10:55:09:842 IST] 6797f10b WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: JSP 1.2 Processor: init
[2/1/05 10:55:10:139 IST] 6797f10b WebGroup I SRVE0180I: [IBM Universal Test Client] [/UTC] [Servlet.LOG]: SimpleFileServlet: init
[2/1/05 10:55:10:311 IST] 6797f10b ApplicationMg A WSVR0221I: Application started: IBMUTC
[2/1/05 10:55:10:326 IST] 6797f10b ApplicationMg A WSVR0200I: Starting application: adminconsole
[2/1/05 10:55:11:482 IST] 6797f10b WebContainer A SRVE0169I: Loading Web Module: adminconsole.
[2/1/05 10:55:11:561 IST] 6797f10b WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: JSP 1.2 Processor: init
[2/1/05 10:55:12:654 IST] 6797f10b WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: SimpleFileServlet: init
[2/1/05 10:55:12:686 IST] 6797f10b WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: InvokerServlet: init
[2/1/05 10:55:12:732 IST] 6797f10b WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: validator: init
[2/1/05 10:55:13:967 IST] 6797f10b WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: EventInitializer: init
[2/1/05 10:55:14:154 IST] 6797f10b WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: action: init
[2/1/05 10:55:16:436 IST] 6797f10b WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: action: Tiles definition factory loaded
[2/1/05 10:55:16:451 IST] 6797f10b WebGroup I SRVE0180I: [adminconsole] [/admin] [Servlet.LOG]: SecureCleanup: init
[2/1/05 10:55:16:514 IST] 6797f10b ApplicationMg A WSVR0221I: Application started: adminconsole
[2/1/05 10:55:16:529 IST] 6797f10b ApplicationMg A WSVR0200I: Starting application: MDBTest
[2/1/05 10:55:16:576 IST] 6797f10b WebContainer A SRVE0169I: Loading Web Module: MDBTestWeb.
[2/1/05 10:55:16:654 IST] 6797f10b WebGroup I SRVE0180I: [MDBTestWeb] [/MDBTestWeb] [Servlet.LOG]: JSP 1.2 Processor: init
[2/1/05 10:55:16:748 IST] 6797f10b WebGroup I SRVE0180I: [MDBTestWeb] [/MDBTestWeb] [Servlet.LOG]: SimpleFileServlet: init
[2/1/05 10:55:16:748 IST] 6797f10b WebGroup I SRVE0180I: [MDBTestWeb] [/MDBTestWeb] [Servlet.LOG]: InvokerServlet: init
[2/1/05 10:55:16:764 IST] 6797f10b EJBContainerI I WSVR0207I: Preparing to start EJB jar: MDBTestEJB.jar
[2/1/05 10:55:17:264 IST] 6797f10b ConnectionFac I J2CA0107I: Component-managed authentication alias not specified for connection factory or datasource JMS$MyMDBConnectionFactory.
[2/1/05 10:55:17:326 IST] 6797f10b EJBContainerI I WSVR0037I: Starting EJB jar: MDBTestEJB.jar
[2/1/05 10:55:17:732 IST] 6797f10b MDBListenerIm W WMSG0017E: Unable to lookup JMS resources, JNDI lookup exception: jms/MyMDBQueue
[2/1/05 10:55:17:795 IST] 6797f10b MDBListenerIm W WMSG0019E: Unable to start MDB Listener MyMDB, JMSDestination jms/MyMDBQueue : javax.naming.NameNotFoundException: jms/MyMDBQueue
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1503)
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1457)
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1167)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:199)
at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:474)
at com.ibm.ejs.jms.listener.MDBListenerImpl.start(MDBListenerImpl.java:404)
at com.ibm.ejs.jms.listener.MDBListenerManagerImpl.start(MDBListenerManagerImpl.java:437)
at com.ibm.ejs.jms.listener.MsgListenerPort.add(MsgListenerPort.java:144)
at com.ibm.ejs.jms.listener.MDBListenerManagerImpl.startApplicationMDBs(MDBListenerManagerImpl.java:660)
at com.ibm.ejs.jms.listener.MDBListenerManagerImpl.stateChanged(MDBListenerManagerImpl.java:631)
at com.ibm.ws.runtime.component.MessageListenerImpl.stateChanged(MessageListenerImpl.java:139)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(ApplicationMgrImpl.java:371)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectEvent(DeployedApplicationImpl.java:726)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedApplicationImpl.java:139)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedApplicationImpl.java:135)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:542)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:254)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:232)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:117)
at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:343)
at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:234)
at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:182)
at com.ibm.ws.runtime.WsServer.start(WsServer.java:135)
at com.ibm.ws.runtime.WsServer.main(WsServer.java:232)
at java.lang.reflect.Method.invoke(Native Method)
at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:94)
at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:105)

[2/1/05 10:55:17:858 IST] 6797f10b MsgListenerPo W WMSG0049E: Failed to start MDB MyMDB against listener port MyMDBListenerPort
[2/1/05 10:55:17:873 IST] 6797f10b ApplicationMg A WSVR0221I: Application started: MDBTest
[2/1/05 10:55:17:951 IST] 6797f10b HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
[2/1/05 10:55:21:436 IST] 6797f10b HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
[2/1/05 10:55:21:467 IST] 6797f10b HttpTransport A SRVE0171I: Transport http is listening on port 9,090.
[2/1/05 10:55:21:858 IST] 6797f10b HttpTransport A SRVE0171I: Transport https is listening on port 9,043.
[2/1/05 10:55:22:217 IST] 6797f10b RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
[2/1/05 10:55:22:311 IST] 6797f10b WsServer A WSVR0001I: Server server1 open for e-business
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
Swat Cat,

Welcome to JavaRanch!

Unfortunately your name doesn't gel well with our naming policy. Please take a quick look at the rules and edit your profile accordingly.

Thank you!


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WMSG0017E: Unable to lookup JMS resources, JNDI lookup exception: jms/MyMDBQueue