• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Internal JMS Server on Websphere5 problem

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought with Websphere5 app server(the Basic one, not the ND or the enterprise one), it comes with a internal JMS server, which can support MDB.
Do I need to install MQ?
Through the Websphere5 admin console, I went to
Server->Applicaton Servers->server1->Server Components->JMS Servers
I set the Initial State for JMS Server to be Started.
Then I restarted the App Server, got the following exceptions:
[3/7/03 20:18:35:923 EST] 659f8a60 JMSRegistrati A MSGS0601I: WebSphere Embedded Messaging has not been installed
[3/7/03 20:18:38:587 EST] 659f8a60 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
[3/7/03 20:18:38:597 EST] 659f8a60 SecurityCompo I SECJ0243I: Security service started successfully
[3/7/03 20:18:38:597 EST] 659f8a60 SecurityCompo I SECJ0210I: Security enabled false
[3/7/03 20:18:38:617 EST] 659f8a60 JMSEmbeddedPr A MSGS0050I: Starting the Queue Manager
[3/7/03 20:18:38:707 EST] 659f8a60 QueueManagerM W MSGS0117W: End Queue Manager trace failed with exception: com.ibm.ws.process.exception.InvalidExecutableException: The system cannot find the file specified.
002: No such file or directory
at com.ibm.ws.process.Win32ProcessGlue.create(Native Method)
at com.ibm.ws.process.Win32ProcessImpl.create(Win32ProcessImpl.java:90)
at com.ibm.ws.process.ProcessFactory.create(ProcessFactory.java:58)
at com.ibm.ws.messaging.QueueManagerManager.setTraceNone(QueueManagerManager.java:709)
at com.ibm.ws.messaging.QueueManagerTraceListener.traceStateChanged(QueueManagerTraceListener.java:76)
at com.ibm.ws.messaging.QueueManagerManager.startQueueManager(QueueManagerManager.java:314)
at com.ibm.ws.messaging.JMSEmbeddedProviderImpl.start(JMSEmbeddedProviderImpl.java:179)
at com.ibm.ws.messaging.JMSService.start(JMSService.java:251)
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)
[3/7/03 20:18:38:747 EST] 659f8a60 QueueManagerM E MSGS0153E: The Queue Manager process strmqm could not be started - error: com.ibm.ws.process.exception.InvalidExecutableException: The system cannot find the file specified.
002: No such file or directory
[3/7/03 20:18:38:757 EST] 659f8a60 JMSService E MSGS0001E: Starting the JMS Server failed with exception: com.ibm.ws.process.exception.InvalidExecutableException: The system cannot find the file specified.
002: No such file or directory
at com.ibm.ws.process.Win32ProcessGlue.create(Native Method)
at com.ibm.ws.process.Win32ProcessImpl.create(Win32ProcessImpl.java:90)
at com.ibm.ws.process.ProcessFactory.create(ProcessFactory.java:58)
at com.ibm.ws.messaging.QueueManagerManager.startQueueManager(QueueManagerManager.java:329)
at com.ibm.ws.messaging.JMSEmbeddedProviderImpl.start(JMSEmbeddedProviderImpl.java:179)
at com.ibm.ws.messaging.JMSService.start(JMSService.java:251)
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)[3/7/03 20:18:35:923 EST] 659f8a60 JMSRegistrati A MSGS0601I: WebSphere Embedded Messaging has not been installed
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WebSphere 5.0 is J2EE 1.3 compliant, so it is required to have some sort of JMS Server. It might not be selected by default. Reinstall and choose custom and make sure the integral JMS.. is being installed. You don't need to install a seperate messaging product.
 
Jing Qian
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1st of all, the version of websphere5 I installed is the one I dowloaded from IBM website, it's a base edition(not the Network deploy or enterprise edition), during the installation, it does not have any options for JMS
The exception is saying it's trying to start the strmqm executable, which looks like an external MQ executable(queue manager).
So after several testing, I changed this file
implfactory.properties
I commented this line
#Embedded JMS Provider
#com.ibm.ws.messaging.JMSProvider=com.ibm.ws.messaging.JMSEmbeddedProviderImpl
I added the following line
#MQ Simulator for Java Developers JMS Provider for Websphere Studio Unit Test Environment
com.ibm.ws.messaging.JMSProvider=com.ibm.ws.messaging.JMSMQJDProviderImpl
Then the JMS started working.
Can you check this properties file in your websphere50, see what it's set to? Is your websphere50 the basic edition?
Also, do you have the envrionment variable(on the node level)
MQ_INSTALL_ROOT set to an existing mq directory?
Thank you
reply
    Bookmark Topic Watch Topic
  • New Topic