users@glassfish.java.net

Re: EJB Module & JMS

From: <glassfish_at_javadesktop.org>
Date: Mon, 29 Oct 2007 17:34:58 PST

thanks. The following is my ejb-jar.xml & sun-ejb-jar.xml for JEE5.0, which i manually created in Netbeans. I couldn't even able to validate the ejb-jar.xml file, which NB created.

Here is my,
CF:jms/OutboundTopicConnectionFactory
Topic:jms/OutboundTopic

Can you update these 2 xml files with resource-ref & resource-env-ref elements?
(i tried many options, didn't work for me)

[1] ejb-jar.xml

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

<ejb-jar xmlns = "http://java.sun.com/xml/ns/javaee"
         version = "3.0"
         xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
</ejb-jar>

[2]sun-ejb-jar.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 EJB 3.0//EN" "http://www.sun.com/software/appserver/dtds/sun-ejb-jar_3_0-0.dtd">
<sun-ejb-jar>
  <enterprise-beans>
    <message-destination>
      <message-destination-name>jms/OutboundTopic</message-destination-name>
      <jndi-name>jms/OutboundTopic</jndi-name>
    </message-destination>
  </enterprise-beans>
</sun-ejb-jar>

Thanks,
-Uday.
[Message sent by forum member 'udaysubbarayan' (udaysubbarayan)]

http://forums.java.net/jive/thread.jspa?messageID=242810