I'm having the same problem.  I made a MDB using the deployment descriptor
info same as in the example testMDB3.  Am also using JBoss 3.2.1

-----Original Message-----
From: Xu, Xiangdong [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 1:29 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] RE: MDB registered as EntityBean


I am having the problem making testMessage MDB work. Any help will be highly
appreciated.

The MDB is deployed without any error message except the log enter shown
below which says the j2eeType is EntityBean rather than MessageDrivenBean.
The MDB is bound to testQueue. I can see testMessage through jmx-console. I
have a client program sending message to testQueue. The problem is that
there is not indication that the MDB is reacting to the message. In each of
the MDB method, there is a System.out.println but there is no entry in the
log. The log does have the entries showing the MDB is created.
I compared my DD with the example, I could not find any difference. 
I am using JBoss 3.2.1. I know I have must done something wrong but just
could not pinpoint it. 

thanks

-xiangdong

>  -----Original Message-----
> From:         Xu, Xiangdong  
> Sent: Wednesday, July 16, 2003 6:08 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      MDB registered as EntityBean
> 
> Hi,
> After deploying a MDB, TestMessage, I found the following entry in the
> log:
> 2003-07-16 17:49:11,066 DEBUG
> [org.jboss.management.j2ee.factory.EJBModuleFactory] Create container:
> jboss.j2ee:jndiName=local/TestMessage,service=EJB, module:
> jboss.management.local:EJBModule=ejb-test.jar,J2EEApplication=null,J2EESer
> ver=Local,j2eeType=EntityBean,name=TestMessage
> 
> Below is the entire TestMessage related log:
> 
> 2003-07-16 17:49:01,177 DEBUG [org.jboss.ejb.EJBDeployer.verifier] Bean
> checked: TestMessage: Verified.
> 2003-07-16 17:49:02,091 INFO  [org.jboss.ejb.EjbModule] Deploying
> TestMessage
> 2003-07-16 17:49:02,288 DEBUG [org.jboss.ejb.EjbModule] creating binding
> for TestMessage:message-driven-bean
> 2003-07-16 17:49:02,966 DEBUG [org.jboss.system.ServiceController]
> Creating service jboss.j2ee:jndiName=local/TestMessage,service=EJB
> 2003-07-16 17:49:02,969 DEBUG [org.jboss.ejb.MessageDrivenContainer]
> Mapped onMessage 1175993645 to public void
> test.message.TestMessageDrivenBean.onMessage(javax.jms.Message)
> 2003-07-16 17:49:02,990 DEBUG
> [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification:
> javax.management.Notification[source=jboss.system:service=S
> erviceController,type=org.jboss.system.ServiceMBean.create,sequenceNumber9
> 6,timeStamp1058392142989,message=null,userData=jboss.j2ee:jndiName=local/T
> estMessage,service=EJB]
> 2003-07-16 17:49:02,990 DEBUG
> [org.jboss.management.j2ee.factory.DefaultManagedObjectFactoryMap] Failed
> to find factory for event: javax.management.Notification
> [source=jboss.system:service=ServiceController,type=org.jboss.system.Servi
> ceMBean.create,sequenceNumber96,timeStamp1058392142989,message=null,userDa
> ta=jboss.j2ee:jndiName=local/TestMessage,service=EJB]
> 2003-07-16 17:49:02,990 DEBUG [org.jboss.system.ServiceController]
> Creating dependent components for:
> jboss.j2ee:jndiName=local/TestMessage,service=EJB dependen
> ts are: []
> 2003-07-16 17:49:02,990 DEBUG [org.jboss.ejb.EjbModule] Bound
> jmxName=jboss.j2ee
> :jndiName=local/TestMessage,service=EJB, hash=551757964into Registry
>     jboss.j2ee:jndiName=local/TestMessage,service=EJB state: Created
>     jboss.j2ee:jndiName=local/TestMessage,service=EJB state: Created
> 2003-07-16 17:49:10,474 DEBUG [org.jboss.ejb.EjbModule] startService,
> starting container: TestMessage
> 2003-07-16 17:49:10,474 DEBUG [org.jboss.system.ServiceController]
> starting service jboss.j2ee:jndiName=local/TestMessage,service=EJB
> 2003-07-16 17:49:10,475 DEBUG [org.jboss.ejb.MessageDrivenContainer] Begin
> java:comp/env for EJB: TestMessage
> 2003-07-16 17:49:10,498 DEBUG [org.jboss.ejb.MessageDrivenContainer] End
> java:comp/env for EJB: TestMessage
> 2003-07-16 17:49:10,498 DEBUG
> [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] TestMessage cannot be
> Bound, doesn't have local and local home interfaces
> 2003-07-16 17:49:10,687 DEBUG
> [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Got destination type Queue
> for TestMessage
> 2003-07-16 17:49:10,989 DEBUG [org.jboss.system.ServiceController]
> Starting dependent components for:
> jboss.j2ee:jndiName=local/TestMessage,service=EJB dependen
> t components: []
>     jboss.j2ee:jndiName=local/TestMessage,service=EJB state: Started
> 2003-07-16 17:49:11,066 DEBUG [org.jboss.management.j2ee.EJB] Created
> JSR-77 EJB:
> jboss.management.local:EJBModule=ejb-test.jar,J2EEApplication=null,J2EESer
> ver=Local,j2eeType=EntityBean,name=TestMessage
> 2003-07-16 17:49:11,066 DEBUG
> [org.jboss.management.j2ee.factory.EJBModuleFactory] Create container:
> jboss.j2ee:jndiName=local/TestMessage,service=EJB, module:
> jboss.management.local:EJBModule=ejb-test.jar,J2EEApplication=null,J2EESer
> ver=Local,j2eeType=EntityBean,name=TestMessage
> 
> 
> Please find my jboss.xml and ejb-jar.xml in the attachment. 
> 
> Thank you very much for help.
> 
> 
> -xiangdong << File: ejb-jar.xml >>  << File: jboss.xml >> 


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to