Solved

EJB message driven bean Queue

Posted on 2013-05-19
3
733 Views
Last Modified: 2013-06-19
Hi,

I configured mdb queue at
C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default\deploy\messaging

destinations-service.xml file as below wiht GpQueue2 name

<?xml version="1.0" encoding="UTF-8"?>

<!--
     Messaging Destinations deployment descriptor.

     $Id: destinations-service.xml 72251 2008-04-16 00:38:50Z clebert.suconic@jboss.com $
 -->

<server>

   <!--
      The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container.
   -->

   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=DLQ"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>      
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
   </mbean>
   
   <!--
      The Default Expiry Queue.
   -->

   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=ExpiryQueue"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>      
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
   </mbean>   

 <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=ExpiryQueue2"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>      
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
   </mbean>
   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=GPQueue2"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>      
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>
   </mbean>
</server>

Open in new window



I also created MDB project and also application client project(GpMDBQProjClient. When i add application project to jboss server and run jboss server getting below error

11:39:51,902 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
11:39:51,905 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171046)
11:39:51,912 INFO  [ServerImpl] Home Dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2
11:39:51,912 INFO  [ServerImpl] Home URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/
11:39:51,913 INFO  [ServerImpl] Library URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/lib/
11:39:51,915 INFO  [ServerImpl] Patch URL: null
11:39:51,915 INFO  [ServerImpl] Server Name: default
11:39:51,915 INFO  [ServerImpl] Server Home Dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default
11:39:51,916 INFO  [ServerImpl] Server Home URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/
11:39:51,916 INFO  [ServerImpl] Server Data Dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default\data
11:39:51,916 INFO  [ServerImpl] Server Temp Dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default\tmp
11:39:51,917 INFO  [ServerImpl] Server Config URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/conf/
11:39:51,917 INFO  [ServerImpl] Server Library URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/lib/
11:39:51,918 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
11:39:53,372 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/conf/bootstrap.xml
11:39:55,204 INFO  [CopyMechanism] VFS temp dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default\tmp
11:39:55,247 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
11:39:58,658 INFO  [ServerInfo] Java version: 1.7.0_02,Oracle Corporation
11:39:58,659 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 22.0-b10,Oracle Corporation
11:39:58,659 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64
11:39:58,746 INFO  [JMXKernel] Legacy JMX core initialized
11:40:01,937 INFO  [MetaDataAwareProfile] Using profile root:C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default
11:40:04,807 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
11:40:19,937 WARN  [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for  vfsfile:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
11:40:21,042 INFO  [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@21a9afe5 for BaseClassLoader@459714ea{vfsfile:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/ejb3-interceptors-aop.xml}
11:40:34,494 WARN  [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean FirstDemoEJB
11:40:34,564 WARN  [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean MDBQueue01
11:40:38,860 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
11:40:38,958 INFO  [MailService] Mail Service bound to java:/Mail
11:40:39,765 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
11:40:39,765 INFO  [NativeServerConfig] 3.0.3.GA
11:40:40,822 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
11:40:41,046 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
11:40:41,046 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
11:40:41,343 INFO  [TransactionManagerService] Initializing recovery manager
11:40:41,570 INFO  [TransactionManagerService] Recovery manager configured
11:40:41,570 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
11:40:41,612 INFO  [TransactionManagerService] Starting transaction recovery manager
11:40:42,272 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_02\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\QuickTime\QTSystem\;JAVA_HOME\bin;C:\Program Files\apache-maven-3.0.4-bin\apache-maven-3.0.4\bin;.
11:40:42,376 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
11:40:42,378 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
11:40:42,379 INFO  [Catalina] Initialization processed in 380 ms
11:40:42,379 INFO  [StandardService] Starting service jboss.web
11:40:42,386 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR7
11:40:42,482 INFO  [Catalina] Server startup in 103 ms
11:40:42,538 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
11:40:43,777 INFO  [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
11:40:43,976 INFO  [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
11:40:44,625 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
11:40:44,653 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
11:40:44,711 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/jms-ra.rar/META-INF/ra.xml
11:40:44,739 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/mail-ra.rar/META-INF/ra.xml
11:40:44,779 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
11:40:44,935 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
11:40:44,984 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
11:40:44,990 INFO  [RAMJobStore] RAMJobStore initialized.
11:40:44,990 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
11:40:44,991 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
11:40:44,992 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
11:40:45,959 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
11:40:46,425 WARN  [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
11:40:46,512 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
11:40:46,517 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
11:40:46,518 INFO  [JobStoreCMT] Using db table-based data access locking (synchronization).
11:40:46,562 INFO  [JobStoreCMT] Removed 0 Volatile Trigger(s).
11:40:46,563 INFO  [JobStoreCMT] Removed 0 Volatile Job(s).
11:40:46,564 INFO  [JobStoreCMT] JobStoreCMT initialized.
11:40:46,565 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
11:40:46,565 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
11:40:46,573 INFO  [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
11:40:46,579 INFO  [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
11:40:46,579 INFO  [JobStoreCMT] Recovery complete.
11:40:46,583 INFO  [JobStoreCMT] Removed 0 'complete' triggers.
11:40:46,586 INFO  [JobStoreCMT] Removed 0 stale fired job entries.
11:40:46,591 INFO  [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
11:40:47,028 INFO  [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
11:40:47,314 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
11:40:47,315 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@70f2cc60 started
11:40:47,318 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
11:40:47,318 WARN  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
11:40:47,324 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
11:40:47,324 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@724eb13e started
11:40:47,348 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
11:40:47,352 INFO  [QueueService] Queue[/queue/GPQueue2] started, fullSize=200000, pageSize=2000, downCacheSize=2000
11:40:47,412 INFO  [QueueService] Queue[/queue/ExpiryQueue2] started, fullSize=200000, pageSize=2000, downCacheSize=2000
11:40:47,413 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
11:40:47,413 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@73b57a52 started
11:40:47,418 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
11:40:47,568 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
11:40:47,601 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
11:40:47,785 INFO  [TomcatDeployment] deploy, ctxPath=/TestEJB, vfsUrl=TestEJB.war
11:40:47,908 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
11:40:49,005 INFO  [JBossASKernel] Created KernelDeployment for: DemoEJB.jar
11:40:49,012 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=DemoEJB.jar,jar=DemoEJB.jar,name=FirstDemoEJB,service=EJB3
11:40:49,012 INFO  [JBossASKernel]   with dependencies:
11:40:49,012 INFO  [JBossASKernel]   and demands:
11:40:49,012 INFO  [JBossASKernel]       jboss.ejb:service=EJBTimerService
11:40:49,012 INFO  [JBossASKernel]   and supplies:
11:40:49,013 INFO  [JBossASKernel]       jndi:FirstDemoEJB/remote-com.demo.FirstDemoEJBRemote
11:40:49,013 INFO  [JBossASKernel]       Class:com.demo.FirstDemoEJBRemote
11:40:49,013 INFO  [JBossASKernel]       jndi:FirstDemoEJB/remote
11:40:49,013 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=DemoEJB.jar,jar=DemoEJB.jar,name=FirstDemoEJB,service=EJB3) to KernelDeployment of: DemoEJB.jar
11:40:49,530 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=DemoEJB.jar,jar=DemoEJB.jar,name=FirstDemoEJB,service=EJB3
11:40:49,549 INFO  [EJBContainer] STARTED EJB: com.demo.FirstDemoEJB ejbName: FirstDemoEJB
11:40:49,557 WARN  [SessionSpecContainer] Populating JBoss-specific annotation metadata manually until done by deployers: jboss.j2ee:ear=DemoEJB.jar,jar=DemoEJB.jar,name=FirstDemoEJB,service=EJB3
11:40:49,917 INFO  [JBossASKernel] Created KernelDeployment for: GpMDBQProj.jar
11:40:49,917 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=GpMDBQProj.jar,jar=GpMDBQProj.jar,name=MDBQueue01,service=EJB3
11:40:49,917 INFO  [JBossASKernel]   with dependencies:
11:40:49,917 INFO  [JBossASKernel]   and demands:
11:40:49,917 INFO  [JBossASKernel]       jboss.ejb:service=EJBTimerService
11:40:49,917 INFO  [JBossASKernel]   and supplies:
11:40:49,918 INFO  [JBossASKernel]       jndi:null
11:40:49,918 INFO  [JBossASKernel]       Class:javax.jms.MessageListener
11:40:49,918 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=GpMDBQProj.jar,jar=GpMDBQProj.jar,name=MDBQueue01,service=EJB3) to KernelDeployment of: GpMDBQProj.jar
11:40:50,036 INFO  [EJBContainer] STARTED EJB: com.gp.MDBQueue01 ejbName: MDBQueue01
11:40:50,069 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=GpMDBQProj.jar,jar=GpMDBQProj.jar,name=MDBQueue01,service=EJB3 state=Create
org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@54f77e7e[name=destination descriptions=[DescriptionMetaData@2eb8ec3a[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [ActivationConfigProperty(destinationType=javax.jms.GPQueue2)] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
      at org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:95)
      at org.jboss.resource.deployers.RARDeployment.createActivationSpec(RARDeployment.java:313)
      at org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:277)
      at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:58)
      at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:287)
      at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:185)
      at org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:204)
      at org.jboss.ejb3.mdb.MessagingContainer.lockedStart(MessagingContainer.java:173)
      at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:858)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
      at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
      at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
      at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
      at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
      at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
      at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:124)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:627)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:544)
      at java.lang.Thread.run(Unknown Source)
11:40:50,144 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** CONTEXTS IN ERROR: Name -> Error

jboss.j2ee:ear=GpMDBQProj.jar,jar=GpMDBQProj.jar,name=MDBQueue01,service=EJB3 -> org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@54f77e7e[name=destination descriptions=[DescriptionMetaData@2eb8ec3a[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [ActivationConfigProperty(destinationType=javax.jms.GPQueue2)] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'


11:40:50,167 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
11:40:50,212 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
11:40:50,237 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171046)] Started in 58s:313ms



How do i fix the error.

Please advise. Any ides, links, resources, sample code highly appreciated. thanks in advance
0
Comment
Question by:gudii9
  • 3
3 Comments
 
LVL 7

Author Comment

by:gudii9
ID: 39179424
I wrote a java client to above MDB as below

import java.util.Properties;

import javax.jms.JMSException;
import javax.jms.Queue;
import javax.jms.QueueConnection;
import javax.jms.QueueConnectionFactory;
import javax.jms.QueueSender;
import javax.jms.QueueSession;
import javax.jms.TextMessage;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;


public class Main {
	public static void main(String[] args) throws JMSException {
		// TODO Auto-generated method stub
		System.out.println("entering main of mdbq client");
		Context context;
		try {
			context = Main.getInitialContext();
			
			Queue queue=(Queue) context.lookup("queue/GPQueue2");
			QueueConnectionFactory factory=(QueueConnectionFactory) context.lookup("ConnectionFactory");
			QueueConnection queueConnection= factory.createQueueConnection();
			QueueSession queueSession= queueConnection.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE);
			TextMessage textMessage=queueSession.createTextMessage("msg from mdbqclient main class");
			QueueSender queueSender=queueSession.createSender(queue);
			queueSender.send(textMessage);
			
		} catch (NamingException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
		
		
		System.out.println("exitinging main of mdbq client");
	}

public static Context getInitialContext() throws NamingException{
	
	Properties properties=new Properties();
	properties.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
	properties.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming");
	properties.setProperty("java.naming.provider.url", "127.0.0.1:1099");
	properties.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory");
	return new InitialContext(properties);
	
	
	
}
}

Open in new window


when i run above java client getting output as


12:16:04,692 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
12:16:04,695 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171046)
12:16:04,702 INFO  [ServerImpl] Home Dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2
12:16:04,702 INFO  [ServerImpl] Home URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/
12:16:04,703 INFO  [ServerImpl] Library URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/lib/
12:16:04,704 INFO  [ServerImpl] Patch URL: null
12:16:04,705 INFO  [ServerImpl] Server Name: default
12:16:04,705 INFO  [ServerImpl] Server Home Dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default
12:16:04,705 INFO  [ServerImpl] Server Home URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/
12:16:04,706 INFO  [ServerImpl] Server Data Dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default\data
12:16:04,706 INFO  [ServerImpl] Server Temp Dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default\tmp
12:16:04,707 INFO  [ServerImpl] Server Config URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/conf/
12:16:04,707 INFO  [ServerImpl] Server Library URL: file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/lib/
12:16:04,708 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
12:16:06,198 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/conf/bootstrap.xml
12:16:07,833 INFO  [CopyMechanism] VFS temp dir: C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default\tmp
12:16:07,876 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
12:16:10,446 INFO  [ServerInfo] Java version: 1.7.0_02,Oracle Corporation
12:16:10,446 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 22.0-b10,Oracle Corporation
12:16:10,447 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64
12:16:10,523 INFO  [JMXKernel] Legacy JMX core initialized
12:16:12,962 INFO  [MetaDataAwareProfile] Using profile root:C:\softwares\jboss-5.0.0.CR2\jboss-5.0.0.CR2\server\default
12:16:15,718 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
12:16:31,479 WARN  [HackClassloaderMetaDataDeployer] FIXME Using loader repository config: jboss.console:sar=console-mgr.sar for  vfsfile:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/management/console-mgr.sar/ use classloading metadata not loader repository config
12:16:33,615 INFO  [AspectDeployer] Deploying xml into org.jboss.aop.AspectManager@27fcd3fe for BaseClassLoader@7f7d499e{vfsfile:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/ejb3-interceptors-aop.xml}
12:16:47,692 WARN  [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean FirstDemoEJB
12:16:52,327 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
12:16:52,450 INFO  [MailService] Mail Service bound to java:/Mail
12:16:53,215 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
12:16:53,215 INFO  [NativeServerConfig] 3.0.3.GA
12:16:54,230 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
12:16:54,486 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
12:16:54,486 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
12:16:54,848 INFO  [TransactionManagerService] Initializing recovery manager
12:16:55,110 INFO  [TransactionManagerService] Recovery manager configured
12:16:55,110 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
12:16:55,158 INFO  [TransactionManagerService] Starting transaction recovery manager
12:16:55,796 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.7.0_02\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\QuickTime\QTSystem\;JAVA_HOME\bin;C:\Program Files\apache-maven-3.0.4-bin\apache-maven-3.0.4\bin;.
12:16:55,913 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
12:16:55,920 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
12:16:55,920 INFO  [Catalina] Initialization processed in 412 ms
12:16:55,920 INFO  [StandardService] Starting service jboss.web
12:16:55,927 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR7
12:16:56,039 INFO  [Catalina] Server startup in 118 ms
12:16:56,145 INFO  [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
12:16:57,408 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
12:16:57,567 INFO  [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
12:16:58,177 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
12:16:58,201 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
12:16:58,243 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/jms-ra.rar/META-INF/ra.xml
12:16:58,268 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/mail-ra.rar/META-INF/ra.xml
12:16:58,315 INFO  [RARDeployment] Required license terms exist, view vfszip:/C:/softwares/jboss-5.0.0.CR2/jboss-5.0.0.CR2/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
12:16:58,520 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
12:16:58,652 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
12:16:58,660 INFO  [RAMJobStore] RAMJobStore initialized.
12:16:58,661 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
12:16:58,662 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
12:16:58,663 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
12:16:59,618 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
12:17:00,151 WARN  [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
12:17:00,225 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
12:17:00,230 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
12:17:00,231 INFO  [JobStoreCMT] Using db table-based data access locking (synchronization).
12:17:00,249 INFO  [JobStoreCMT] Removed 0 Volatile Trigger(s).
12:17:00,249 INFO  [JobStoreCMT] Removed 0 Volatile Job(s).
12:17:00,250 INFO  [JobStoreCMT] JobStoreCMT initialized.
12:17:00,250 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
12:17:00,251 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
12:17:00,255 INFO  [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
12:17:00,269 INFO  [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
12:17:00,269 INFO  [JobStoreCMT] Recovery complete.
12:17:00,269 INFO  [JobStoreCMT] Removed 0 'complete' triggers.
12:17:00,270 INFO  [JobStoreCMT] Removed 0 stale fired job entries.
12:17:00,274 INFO  [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
12:17:00,604 INFO  [ServerPeer] JBoss Messaging 1.4.1.CR1 server [0] started
12:17:00,773 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
12:17:00,848 INFO  [QueueService] Queue[/queue/ExpiryQueue2] started, fullSize=200000, pageSize=2000, downCacheSize=2000
12:17:01,026 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
12:17:01,028 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@62ec1663 started
12:17:01,038 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
12:17:01,040 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
12:17:01,041 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@130ac6d3 started
12:17:01,043 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
12:17:01,043 WARN  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
12:17:01,053 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
12:17:01,054 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@28835069 started
12:17:01,062 INFO  [QueueService] Queue[/queue/GPQueue2] started, fullSize=200000, pageSize=2000, downCacheSize=2000
12:17:01,245 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
12:17:01,260 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
12:17:01,416 INFO  [TomcatDeployment] deploy, ctxPath=/TestEJB, vfsUrl=TestEJB.war
12:17:01,536 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
12:17:02,640 INFO  [JBossASKernel] Created KernelDeployment for: DemoEJB.jar
12:17:02,645 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=DemoEJB.jar,jar=DemoEJB.jar,name=FirstDemoEJB,service=EJB3
12:17:02,646 INFO  [JBossASKernel]   with dependencies:
12:17:02,646 INFO  [JBossASKernel]   and demands:
12:17:02,646 INFO  [JBossASKernel]       jboss.ejb:service=EJBTimerService
12:17:02,646 INFO  [JBossASKernel]   and supplies:
12:17:02,646 INFO  [JBossASKernel]       jndi:FirstDemoEJB/remote-com.demo.FirstDemoEJBRemote
12:17:02,646 INFO  [JBossASKernel]       Class:com.demo.FirstDemoEJBRemote
12:17:02,647 INFO  [JBossASKernel]       jndi:FirstDemoEJB/remote
12:17:02,647 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=DemoEJB.jar,jar=DemoEJB.jar,name=FirstDemoEJB,service=EJB3) to KernelDeployment of: DemoEJB.jar
12:17:03,301 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=DemoEJB.jar,jar=DemoEJB.jar,name=FirstDemoEJB,service=EJB3
12:17:03,322 INFO  [EJBContainer] STARTED EJB: com.demo.FirstDemoEJB ejbName: FirstDemoEJB
12:17:03,329 WARN  [SessionSpecContainer] Populating JBoss-specific annotation metadata manually until done by deployers: jboss.j2ee:ear=DemoEJB.jar,jar=DemoEJB.jar,name=FirstDemoEJB,service=EJB3
12:17:03,631 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
12:17:03,684 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
12:17:03,706 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.CR2 (build: SVNTag=JBoss_5_0_0_CR2 date=200809171046)] Started in 58s:993ms
12:17:08,566 WARN  [EjbMetadataJndiPolicyDecoratorDeployer] Defaulting to DefaultJndiBindingPolicy of "org.jboss.metadata.ejb.jboss.jndipolicy.plugins.BasicJndiBindingPolicy" for Session Bean MDBQueue01
12:17:08,660 INFO  [JBossASKernel] Created KernelDeployment for: GpMDBQProj.jar
12:17:08,660 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=GpMDBQProj.jar,jar=GpMDBQProj.jar,name=MDBQueue01,service=EJB3
12:17:08,660 INFO  [JBossASKernel]   with dependencies:
12:17:08,661 INFO  [JBossASKernel]   and demands:
12:17:08,661 INFO  [JBossASKernel]       jboss.ejb:service=EJBTimerService
12:17:08,661 INFO  [JBossASKernel]   and supplies:
12:17:08,661 INFO  [JBossASKernel]       jndi:null
12:17:08,661 INFO  [JBossASKernel]       Class:javax.jms.MessageListener
12:17:08,661 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=GpMDBQProj.jar,jar=GpMDBQProj.jar,name=MDBQueue01,service=EJB3) to KernelDeployment of: GpMDBQProj.jar
12:17:08,804 INFO  [EJBContainer] STARTED EJB: com.gp.MDBQueue01 ejbName: MDBQueue01
13:09:12,609 WARN  [MicroSocketClientInvoker] numberOfRetries is no longer used
13:09:13,938 INFO  [ServerSessionEndpoint] Received send for ID:JBM-d0c67d68-89e5-46bd-8454-c940d505dc80 reliable: true
13:09:13,990 INFO  [ServerSessionEndpoint] Done send
13:09:14,106 WARN  [LifecycleCallbacks] EJBTHREE-1480: LifecycleCallbackStack has not been defined for domain 'Message Driven Bean'
13:09:14,226 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
13:09:14,230 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
13:09:14,238 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void com.gp.MDBQueue01.onMessage(javax.jms.Message)
13:09:14,257 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void com.gp.MDBQueue01.onMessage(javax.jms.Message)
13:09:14,277 INFO  [STDOUT] GpMDBQ onMessage method received msgdelegator->JBossMessage[22429482253320192]:PERSISTENT, deliveryId=0


I expected to see something like Header and then body with below message

msg from mdbqclient main class



Please advise on how to fix this issue
0
 
LVL 7

Author Comment

by:gudii9
ID: 39198063
please advise
0
 
LVL 7

Accepted Solution

by:
gudii9 earned 0 total points
ID: 39261005
I found the solution. I tweaked the code. Also there was some configuration issue which resolved the problem
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now