Patches item #576184, was opened at 2002-07-01 19:38
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=576184&group_id=22866

Category: JBossServer
Group: v2.4 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: Craig Demyanovich (cdemyanovich)
Assigned to: Nobody/Anonymous (nobody)
Summary: Default to non-durable topic subscr.

Initial Comment:
While deploying a message-driven bean that subscribes 
to a non-durable topic, JBoss 2.4.7 indicated a 
NullPointerException in 
MessageDrivenMetaData.importEjbJarXml().  An 
analysis of the JBoss code revealed that this exception 
was thrown due to the fact that the subscr variable in 
the aforementioned method was not checked for null 
before calling methods on it.

The subscr variable was null because the subscription-
durability element was not present in the ejb-jar.xml 
deployment descriptor for this bean.  According to the 
EJB 2.0 specification, section 15.4.9, a non-durable 
subscription should be assumed if the subscription-
durability element is not present.  The attached patch 
contains a very minor fix that provides support for this 
section of the specification.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=576184&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to