Yes. A null transAttr implies Both, but an explict Both is not being
checked. I'll fix it, but this is an issue we have with the current
descriptor parsing. We say we have a DTD but in fact were not
actually parsing the descriptor consistent with the DTD. At some
point I think we should be generating the meta data objects using
SAX to avoid this.

----- Original Message ----- 
From: "Mike Swainston-Rainford" <[EMAIL PROTECTED]>
To: "Jboss-Development@Lists. Sourceforge. Net" 
<[EMAIL PROTECTED]>
Sent: Monday, June 25, 2001 10:29 AM
Subject: [JBoss-dev] ContainerFactory problem in 2.4


> Hi
> 
> I've been checking container configurations with 2.4.0.6 and I've found 
> that the Entity container config I've created doesn't work.
> 
> I get an error message at deployment
> 
> [Container factory] There are no interceptors configured. Check the 
> standardjboss.xml file
> 
> There are interceptors configured - they are identical to the standard cmp 
> entity bean in standardjboss.xml (the only difference is the name of the 
> container config).
> 
> If I use "Standard CMP EntityBean" as the container config name in the 
> entity element it works fine. But if I use an identical config in jboss.xml 
> the deploy throws up the message about no interceptors.
> 
> I have traced it to the ContaineerFactory code line 818
> 
>   if( transAttr.length() == 0 || transAttr.equalsIgnoreCase(transTypeString) )
> 
> The transAttr is "Both" but the transTypeString is "Container"
> 
> hence none of the interceptors are added - hence the error message
> 
> Shouldn't the interceptor always be added if its type is Both?
> 
> Mike S-R
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-development
> 


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to