Listener port could not be started.

Hello ,

I am using JMS,MDB and IBM MQSeries with Websphere Application server 6.0. i have configured every thigh in WAS like MQQueue connection cactory and MQQueue Destination.

After that , i have configured listener port for the message driven bean. .

configuratin's are :

Application servers > server1 > Message Listener Service > Listener Ports > mdblistener

Name mdblistener

Initial StateStarted

Connection factory JNDI name-jms/nb21queueconnectionfactory

Destination JNDI name-jms/nb21queuedestination

when i am starting mdblistener port it's giving following error

Listener port mdblistener could not be started.

The Exception in websphere log file is :

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRjavax.management.InstanceNotFoundException: MBeanServer cannot find MBean with ObjectName WebSphere:type=ListenerPort,name=mdblistener,node=nvenkataNode01,process=server1,*

at mx4j.server.MX4JMBeanServer.findMBeanMetaData(MX4JMBeanServer.java:493)

at mx4j.server.MX4JMBeanServer.getMBeanInfo(MX4JMBeanServer.java:1318)

at com.ibm.ws.management.AdminServiceImpl.getMBeanInfo(AdminServiceImpl.java:1026)

at com.ibm.ws.management.AdminServiceImpl.checkForOpDeprecation(AdminServiceImpl.java:1719)

at com.ibm.ws.management.AdminServiceImpl.preInvoke(AdminServiceImpl.java:1670)

at com.ibm.ws.management.AdminServiceImpl.access$400(AdminServiceImpl.java:100)

at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:899)

at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:817)

at com.ibm.ws.console.servermanagement.messagelistener.ListenerPortCollectionAction.execute(ListenerPortCollectionAction.java:317)

at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:275)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))

at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))

at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))

at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)

at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)

at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)

at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)

at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))

at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)

at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat mx4j.server.MX4JMBeanServer.findMBeanMetaData(MX4JMBeanServer.java:493)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat mx4j.server.MX4JMBeanServer.getMBeanInfo(MX4JMBeanServer.java:1318)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.management.AdminServiceImpl.getMBeanInfo(AdminServiceImpl.java:1026)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.management.AdminServiceImpl.checkForOpDeprecation(AdminServiceImpl.java:1719)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.management.AdminServiceImpl.preInvoke(AdminServiceImpl.java:1670)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.management.AdminServiceImpl.access$400(AdminServiceImpl.java:100)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:899)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java(Compiled Code))

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:817)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.console.servermanagement.messagelistener.ListenerPortCollectionAction.execute(ListenerPortCollectionAction.java:317)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:275)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat org.apache.struts.action.ActionServlet.process(ActionServlet.java:1486)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:528)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat javax.servlet.http.HttpServlet.service(HttpServlet.java:763)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:80)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)

[2/8/06 20:09:04:922 IST] 0000002f SystemErrRat com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))

Any one can help me to over come this problem.

Thanks in advance

venkat

[8305 byte] By [matchaa] at [2007-10-2 11:46:11]
# 1
Did you ever got thsi resolved..? Please let me know
sunil_B_2312a at 2007-7-13 5:54:34 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2
I too have hit this exact same problem. If anyone has any ideas I would be interested to hear them.
AdrianBatesa at 2007-7-13 5:54:34 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 3
The solution to this 'problem' is simple enough - you have to create a Message Driven Bean that is attached to the listener port.
AdrianBatesa at 2007-7-13 5:54:34 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 4
Could you please post how you created a MDB and atttached it to the listening port? Many thanks!
kjwchua at 2007-7-13 5:54:34 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 5
No, creating a MDB and binding to the Listener Port doesn't work. May be there is some patch for the WAS from IBM.
s_prasada at 2007-7-13 5:54:34 > top of Java-index,Enterprise & Remote Computing,AVK Portability...