hi, sorry..i realized myself afterwards.... messages have to be sent to the MessageBean jndi....so to topic/EMailMsg
br marco > -----Original Message----- > From: ext [mailto:[EMAIL PROTECTED] > Sent: 27 June, 2003 09:54 > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Weird problem when deploying MessageBean > > > hi all, > i have a weird problem when trying to deploy a MessageBean. > i have put following info in jboss.xml > > <?xml version="1.0"?> > <jboss> > <enterprise-beans> > <message-driven-descriptor> > <ejb-name>EMailMsgBean</ejb-name> > <configuration-name>EMail MessageBean</configuration-name> > <destination-jndi-name>topic/myTestTopic</destination-jndi-name> > </message-driven-descriptor> > </enterprise-beans> > </jboss> > > > so, if i am correct, the messagebean will listen for messages > coming to the > topic with JNDI name topic/myTestTopic > > however, when i deploy the MessageBean, i got following on the console > > 09:44:17,482 WARN [JMSContainerInvoker] destination not > found: topic/EMailMsgBe > an reason: javax.naming.NameNotFoundException: EMailMsgBean not bound > 09:44:17,492 WARN [JMSContainerInvoker] creating a new > temporary destination: t > opic/EMailMsgBean > 09:44:17,502 INFO [EMailMsgBean] Creating > 09:44:17,502 INFO [EMailMsgBean] Created > 09:44:17,512 INFO [EMailMsgBean] Starting > 09:44:17,512 INFO [EMailMsgBean] Bound to JNDI name: > topic/EMailMsgBean > 09:44:17,522 INFO [EMailMsgBean] Started > 09:44:17,652 WARN [SecurityManager] No SecurityMetadadata > was available for EMa > ilMsgBean adding default security conf > 09:44:17,692 INFO [DLQHandler] Starting > 09:44:17,692 INFO [DLQHandler] Started > 09:44:17,702 INFO [JMSContainerInvoker] Started > 09:44:17,702 INFO [MessageDrivenInstancePool] Starting > 09:44:17,702 INFO [MessageDrivenInstancePool] Started > 09:44:17,712 INFO [MessageDrivenContainer] Started > 09:44:17,712 INFO [EjbModule] Started > 09:44:17,722 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.1_tomcat-4.1.24/se rver/default/deploy/EMailMBean.jar 09:44:17,773 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.1_tomcat- 4.1.24/server/default/deploy/EMailMBean.jar i have added, in the jbossmq-destination-service.xml following entry <mbean code="org.jboss.mq.server.jmx.Topic" name="jboss.mq.destination:service=Topic,name=myTestTopic"> <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends> <depends optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends> </mbean> and in the console i can see that this topic is bound to jndi name topic/myTestTopic so, where do i have to send my messages so that the messagebean can receive and process them? i was assuming that i have to send to what i have specified in the <destination-jndi-name> element. can anyone clarify me? i was used to use JMS with weblogic.. thanx in advance and regards marco ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user