Thanks You help me.
I use xdoclet. I thought the PartnerAgency bean lookup does not work. Correctly 
the Partner bean lookup fails.
I had to add 


  |  * @ejb.ejb-ref
  |  *      ejb-name="Partner"
  |  *      view-type="local"
  |  *          ref-name="ejb/PartnerLocal"
  | 

to generate the necessary ejb-local-ref entry in ejb-jar.xml.
The next error I think has the reason that I have no entry in the database 
table.

Thanks


  | Caused by: javax.ejb.EJBException: Could not instantiate bean; 
CausedByException is:
  |     createBeanClassInstanceCommand == null
  |     at 
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:191)
  |     at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:98)
  |     at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
  |     at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
  |     at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
  |     at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
  |     at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
  |     at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
  |     at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116)
  |     at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
  |     at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
  |     at 
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
  |     at org.jboss.ejb.Container.invoke(Container.java:894)
  |     at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:344)
  |     at 
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
  |     at $Proxy169.findByNickName(Unknown Source)
  |     at 
org.partneragency.ejb.PartnerAgencyBean.login(PartnerAgencyBean.java:56)
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902329#3902329

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902329


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to