0 Replies Latest reply on Apr 4, 2004 6:13 PM by jkperez

    Why doesn´t the supplier receive the message sent by the cli

    jkperez Newbie

      Hello. If somebody could help me, please.
      I have a problem with chapter 7 of the lomboz tutorial. When I run the client, this executes all its instructions but the onMessage method of the RequestItemsBean is not called despite I haven´t forgot writing the next tag at level class on RequestItemsBean.
      @jboss.destination-jndi-name
      name="queue/MdbQueue"

      I can prove that this method (onMessage) isn´t called because the supplier table doesn´t change when I run the RequestMDBClient. Besides this one, I can´t see the messages which should be written by System.out.println in onMessage method of RequestItemBean.
      I have eclipse 2.1 with Lomboz and jboss 3.0.8.
      When I deploy de example on chapter 7 of the lomboz tutorial, I get the following logs:

      00:58:20,994 WARN [JMSContainerInvoker] Could not find the queue destination-jndi-name=queue/MdbQueue
      00:58:20,994 WARN [JMSContainerInvoker] destination not found: queue/MdbQueue reason: javax.naming.NameNotFoundException: MdbQueue not bound
      00:58:20,994 WARN [JMSContainerInvoker] creating a new temporary destination: queue/MdbQueue
      00:58:21,034 INFO [MdbQueue] Creating
      00:58:21,034 INFO [MdbQueue] Created
      00:58:21,034 INFO [MdbQueue] Starting
      00:58:21,034 INFO [MdbQueue] Bound to JNDI name: queue/MdbQueue
      00:58:21,044 INFO [MdbQueue] Started
      00:58:21,335 WARN [SecurityManager] No SecurityMetadadata was available for MdbQueue adding default security conf
      00:58:21,375 INFO [DLQHandler] Starting
      00:58:21,375 INFO [DLQHandler] Started
      00:58:21,375 INFO [JMSContainerInvoker] Started
      00:58:21,896 INFO [Supplier] Table 'SUPPLIER' already exists
      00:58:22,036 INFO [Item] Table 'ITEM' already exists
      00:58:22,547 INFO [EjbModule] Started
      00:58:22,547 INFO [MainDeployer] Deployed package: file:/E:/hlocal/jboss/server/all/deploy/MyStoreMgr.jar
      00:58:22,547 INFO [MainDeployer] Starting deployment of package: file:/E:/hlocal/jboss/server/all/deploy/jmx-console.war/
      00:58:24,109 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console
      00:58:25,901 INFO [jbossweb] Started WebApplicationContext[/jmx-console,file:/E:/hlocal/jboss/server/all/deploy/jmx-console.war/]
      00:58:26,522 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=DisplayMBeans
      00:58:26,582 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=DisplayOpResult
      00:58:26,622 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=InspectMBean
      00:58:26,713 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=jsp
      00:58:26,823 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=HtmlAdaptor
      00:58:26,863 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=default
      00:58:26,923 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,name=invoker
      00:58:27,003 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationContext=2,context=/jmx-console,HashSessionManager=0
      00:58:27,003 INFO [jbossweb] successfully deployed file:/E:/hlocal/jboss/server/all/deploy/jmx-console.war/ to /jmx-console
      00:58:27,003 INFO [MainDeployer] Deployed package: file:/E:/hlocal/jboss/server/all/deploy/jmx-console.war/
      00:58:27,033 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@f4949c4d { url=file:/E:/hlocal/jboss/server/all/deploy/jmx-rmi-adaptor.sar/ }
      deployer: org.jboss.deployment.SARDeployer@bad8a8
      status: Deployment FAILED reason: org/jboss/jmx/adaptor/rmi/RMIAdaptor
      state: FAILED
      watch: file:/E:/hlocal/jboss/server/all/deploy/jmx-rmi-adaptor.sar/META-INF/jboss-service.xml
      lastDeployed: 1081119437283
      lastModified: 1054795864000
      mbeans:
      jboss.jmx:type=Connector,name=RMI state: Starting
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:


      00:58:27,053 INFO [URLDeploymentScanner] Started
      00:58:27,053 INFO [MainDeployer] Deployed package: file:/E:/hlocal/jboss/server/all/conf/jboss-service.xml
      00:58:27,063 INFO [Server] JBoss (MX MicroKernel) [3.0.8 (CVSTag=JBoss_3_0_8 Date=200306050849)] Started in 1m:40s:565ms


      Thanks to anybody who read this message and I´ll be pleased if somebody could answer me somthing which help me.