Hi,
 
I'm trying to set up JMS topics in a WAR file using XDoclet.  I have the following Xdoclet tags in a Java file within this WAR (as well as others):
 
* @web.resource-ref
* name = "jms/TopicFactory"
* type = "javax.jms.TopicConnectionFactory"
* auth = "Container"
* @web.resource-env-ref
* name = "jms/myEventTopic"
* type = "javax.jms.Topic"
* @weblogic.resource-description
* res-ref-name = "jms/TopicFactory"
* jndi-name = "weblogic.jms.myConnectionFactory"
* @weblogic.resource-env-description
* res-env-ref-name = "jms/myEventTopic"
* jndi-name = "weblogic.jms.myEventTopic"
 
My resulting web.xml file contains the fo llowing relevant entries:
 
<resource-env-ref >
  <resource-env-ref-name>jms/myEventTopic</resource-env-ref-name>
  <resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
</resource-env-ref>
<resource-ref >
  <res-ref-name>jms/TopicFactory</res-ref-name>
  <res-type>javax.jms.TopicConnectionFactory</res-type>
  <res-auth>Container</res-auth>
</resource-ref>
 
However, my resulting weblogic.xml file only contains the following relevant entry:
 
<reference-descriptor>
  <resource-description>
    <res-ref-name>jms/TopicFactory</res-ref-name>
    <jndi-name>weblogic.jms.myConnectionFactory</jndi-name>
  </resource-description>
</reference-descriptor>
 
I am expecting to also see a resource-env-description in the weblogic.xml file as well, similar to the following:
 
<resource-env-description>
  <res-env-ref-name>jms/myEventTopic</res-env-ref-name>
  <jndi-name>weblogic.jms.myEventTopic</jndi-name>
</resource-env-description>
 
It looks like Xdoclet puts the above <resource-env-description> tag into the weblogic-ejb-jar.xml file, but sho uldn't it also put this tag into the weblogic.xml file when you simply have a web application?  Any thoughts or help people could send my way would be much appreciated!!!
 
Thanks,
 
Jacob


Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

Reply via email to