This content has been marked as final.
Show 2 replies
-
1. Re: can't instantiate component
swd847 Feb 6, 2009 2:27 AM (in response to gholmer)in your main components.xml there should be a line similar to:
<core:init jndi-pattern="myJNDIPattern" />
What is the jndi-pattern set to and where is the EJB actually bound to in JNDI?
-
2. Re: can't instantiate component
gholmer Feb 6, 2009 2:32 PM (in response to gholmer)The solution we found was to add this in ejb-jar.xml:
<enterprise-beans>
<session>
<ejb-name>CategoryAction</ejb-name>
<ejb-class>com.weycogroup.phoenix.sf.action.CategoryAction</ejb-class>
<ejb-local-ref>
<ejb-ref-name>phoenix/CategoryBean/local</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local>com.weycogroup.phoenix.business.local.CategoryBeanLocal</local>
<ejb-link>CategoryBean</ejb-link>
</ejb-local-ref>
</session>
</enterprise-beans>
I found this solution here in the forums:
http://www.seamframework.org/2444.lace