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

Reply via email to