"[EMAIL PROTECTED]" wrote : ejb 2.1 and below are supported Hi,
i have problems with ejb 2.1. i am trying to deploy a mdb, the ejb-jar.xml looks like this: <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" | version="2.1" | > | <enterprise-beans> | <message-driven > | <ejb-name>SomeQueueBean</ejb-name> | <ejb-class>de.codebox.ejb.SomeQueueBean</ejb-class> | <messaging-type>javax.jms.MessageListener</messaging-type> | <transaction-type>Container</transaction-type> | <message-destination-type>javax.jms.Queue</message-destination-type> | <message-destination-link>JustALink</message-destination-link> | <activation-config> | <activation-config-property> | <activation-config-property-name>acknowledgeMode | </activation-config-property-name> | <activation-config-property-value>Auto-acknowledge | </activation-config-property-value> | </activation-config-property> | <activation-config-property> | <activation-config-property-name>destinationType | </activation-config-property-name> | <activation-config-property-value>javax.jms.Queue | </activation-config-property-value> | </activation-config-property> | ... When i deploy the bean i get the following warning: 10:19:15,093 WARN [JMSContainerInvoker] No message-driven-destination given; using; guessing type 10:19:15,109 WARN [JMSContainerInvoker] Could not determine destination type, defaults to: javax.jms.Topic ... I thought "message-driven-destination" is not(!) in ejb 2.1(?). The source code (MessageDrivenMetaData.java) in JBoss 4.0: // messaging-type is new to EJB-2.1 | messagingType = getOptionalChildContent(element, "messaging-type", DEFAULT_MESSAGING_TYPE); | | // destination is optional | Element destination = getOptionalChild(element, "message-driven-destination"); | if (destination != null) ... Also i couldn't find any support for "message-destination-link". How did you get the examples (with <message-destination-type>javax.jms.Queue</message-destination-type>) in the wiki working? Thanks for your help! boris View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850750#3850750 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850750 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
