[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Finder method returns internal error

2006-06-06 Thread urswag
Is open source always such a pain?

I changed jbosscmp.xml exception.

  | 
  | LoginEntityBean
  | login
  | 
  | 
  | 
  | org.person.ejb.login.LoginKey
  | 
  | loginKey
  | loginid
  | 
  | 
  | 
  | 
  | userName
  | username
  | 
  | 
  | passWord
  | password
  | 
  | 
  | 
I get now the following exception:

anonymous wrote : 
  | org.jboss.tm.JBossTransactionRolledbackException: Could not instantiate 
bean; nested exception is: 
  | javax.ejb.EJBException: Could not instantiate bean; - nested throwable: 
(javax.ejb.EJBException: Could not instantiate bean)
  | at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:281)
  | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:210)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)
  | at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:643)
  | at org.jboss.ejb.Container.invoke(Container.java:917)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819)
  | at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
  | at sun.rmi.transport.Transport$1.run(Transport.java:153)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
  | at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
  | at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: javax.ejb.EJBException: Could not instantiate bean
  | at 
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:206)
  | at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:113)
  | at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
  | at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:43)
  | at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
  | at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
  | at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:135)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
  | at 
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:525)
  | at org.jboss.ejb.Container.invoke(Container.java:938)
  | at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
  | at 
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
  | at $Proxy240.findByUserName(Unknown Source)
  | at 
org.person.ejb.visitor.VisitorSessionBean.login(VisitorSessionBean.java:31)
  | at sun.reflect.NativeMethodAcces

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Finder method returns internal error

2006-06-05 Thread urswag
jbosscmp-jdbc.xml entry of the entity

anonymous wrote : 
  | 
  | 
  | LoginEntityBean
  | login
  | 
  | loginKey
  | loginid
  | 
  | 
  | 
  | userName
  | username
  | 
  | 
  | passWord
  | password
  | 
  | 
  | 

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

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


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user