1 Reply Latest reply on Oct 7, 2005 4:54 AM by Prachueb Sirivongrungson

    Not able to run the JMS Samples when using MySql

    Anand Verma Newbie

      Hi,

      I am trying to run the JBossMQ samples using mySql database.
      Everything is alright except whenever I am trying to access the testQueue then JBoss gives me following exception.
      2005-10-02 19:32:35,652 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=Invoker
      jboss.web:service=WebServer

      ObjectName: jboss.mq.destination:service=Topic,name=testTopic
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq.destination:service=Queue,name=testQueue
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq.destination:service=Queue,name=A
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:service=Queue,name=B
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:service=Queue,name=C
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:service=Queue,name=D
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq.destination:service=Queue,name=ex
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager

      ObjectName: jboss.mq:service=Invoker
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=TracingInterceptor
      jboss:service=Naming
      Depends On Me:
      jboss.mq:service=InvocationLayer,type=HTTP
      jboss.mq:service=InvocationLayer,type=JVM
      jboss.mq:service=InvocationLayer,type=UIL2

      ObjectName: jboss.mq:service=TracingInterceptor
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=SecurityManager
      Depends On Me:
      jboss.mq:service=Invoker

      ObjectName: jboss.mq:service=SecurityManager
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      Depends On Me:
      jboss.mq.destination:service=Topic,name=testTopic
      jboss.mq.destination:service=Topic,name=securedTopic
      jboss.mq.destination:service=Topic,name=testDurableTopic
      jboss.mq.destination:service=Queue,name=testQueue
      jboss.mq:service=TracingInterceptor
      jboss.mq.destination:service=Queue,name=DLQ

      ObjectName: jboss.mq.destination:service=Queue,name=DLQ
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      ObjectName: jboss.mq:service=InvocationLayer,type=JVM
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=Invoker

      ObjectName: jboss.mq:service=DestinationManager
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=MessageCache
      jboss.mq:service=PersistenceManager
      jboss.mq:service=StateManager
      Depends On Me:
      jboss.mq.destination:service=Topic,name=testTopic
      jboss.mq.destination:service=Topic,name=securedTopic
      jboss.mq.destination:service=Topic,name=testDurableTopic
      jboss.mq.destination:service=Queue,name=testQueue
      jboss.mq.destination:service=Queue,name=A
      jboss.mq.destination:service=Queue,name=B
      jboss.mq.destination:service=Queue,name=C
      jboss.mq.destination:service=Queue,name=D
      jboss.mq.destination:service=Queue,name=ex
      jboss.mq:service=SecurityManager
      jboss.mq.destination:service=Queue,name=DLQ

      ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
      State: CONFIGURED
      I Depend On:
      jboss.mq:service=Invoker

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.mq:service=StateManager
      State: NOTYETINSTALLED
      Depends On Me:
      jboss.mq:service=DestinationManager

      2005-10-02 19:36:00,393 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
      2005-10-02 19:36:00,393 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@64dd79, cl=org.jboss.mx.loading.UnifiedClassLoader3@973678{ url=null ,addedOrder=0}
      2005-10-02 19:36:00,425 INFO [STDOUT] javax.naming.NameNotFoundException: testQueue not bound
      2005-10-02 19:36:00,426 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
      2005-10-02 19:36:00,427 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
      2005-10-02 19:36:00,427 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
      2005-10-02 19:36:00,427 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
      2005-10-02 19:36:00,428 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2005-10-02 19:36:00,428 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2005-10-02 19:36:00,428 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2005-10-02 19:36:00,429 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
      2005-10-02 19:36:00,429 INFO [STDOUT] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
      2005-10-02 19:36:00,429 INFO [STDOUT] at sun.rmi.transport.Transport$1.run(Transport.java:153)
      2005-10-02 19:36:00,430 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
      2005-10-02 19:36:00,430 INFO [STDOUT] at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
      2005-10-02 19:36:00,430 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      2005-10-02 19:36:00,431 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      2005-10-02 19:36:00,431 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
      2005-10-02 19:36:00,432 INFO [STDOUT] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
      2005-10-02 19:36:00,432 INFO [STDOUT] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
      2005-10-02 19:36:00,432 INFO [STDOUT] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
      2005-10-02 19:36:00,433 INFO [STDOUT] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      2005-10-02 19:36:00,433 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
      2005-10-02 19:36:00,433 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
      2005-10-02 19:36:00,434 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:351)
      2005-10-02 19:36:00,434 INFO [STDOUT] at test.mdb.MDBTestServlet.doGet(MDBTestServlet.java:40)
      2005-10-02 19:36:00,434 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      2005-10-02 19:36:00,435 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      2005-10-02 19:36:00,435 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      2005-10-02 19:36:00,436 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2005-10-02 19:36:00,436 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      2005-10-02 19:36:00,436 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      2005-10-02 19:36:00,437 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      2005-10-02 19:36:00,437 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      2005-10-02 19:36:00,438 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      2005-10-02 19:36:00,438 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      2005-10-02 19:36:00,438 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
      2005-10-02 19:36:00,439 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      2005-10-02 19:36:00,439 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      2005-10-02 19:36:00,440 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      2005-10-02 19:36:00,440 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      2005-10-02 19:36:00,440 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      2005-10-02 19:36:00,441 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      2005-10-02 19:36:00,441 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      2005-10-02 19:36:00,442 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      2005-10-02 19:36:00,442 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      2005-10-02 19:36:00,442 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
      2005-10-02 19:40:00,175 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 450000

      -------------------------------------------------
      has anybody seen the same exception being thrown? what may be the reasons for this exception.
      ---------------------------------
      Thanks in Advance
      Warm Regards,
      Anand