Could you increase log level to DEBUG for org.jboss.ejb.plugins and
post executed SQL stack trace before the exception?
I read about exact same problem in forums.

alex

Wednesday, October 02, 2002, 10:10:16 PM, you wrote:

MG> I just installed jboss 3.0.3 + tomcat 4.1 and my application
MG> fails with following exception (it worked well in 3.0.2).
MG> There's Klient CMP EB with get/setNazwa mapped to nazwa
MG> field in database, the .getValueObject looks like this:
MG>     public KlientEntityData getValueObject()
MG>     {
MG>        KlientEntityData lData = new KlientEntityData();
MG>        lData.setId(getId());
MG>        lData.setNazwa(getNazwa());
MG>        return lData;
MG>     }

MG> so getId() seems to work. No idea what's the problem.

MG> javax.ejb.EJBException: Could not load field value: nazwa
MG>          at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.getInstanceValue(JDBCCMP2xFieldBridge.java:60)
MG>          at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.getValue(JDBCAbstractCMPFieldBridge.java:156)
MG>          at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:124)
MG>          at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59)
MG>          at pl.obligo.extranet.klient.KlientEntityCMP$Proxy.getNazwa(<generated>)
MG>          at 
pl.obligo.extranet.klient.KlientEntityBean.getValueObject(KlientEntityBean.java:114)
MG>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
MG>          at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
MG>          at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
MG>          at java.lang.reflect.Method.invoke(Method.java:324)
MG>          at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1194)
MG>          at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:95)
MG>          at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:308)
MG>          at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
MG>          at 
org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:90)
MG>          at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:152)
MG>          at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:107)
MG>          at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69)
MG>          at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107)
MG>          at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178)
MG>          at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60)
MG>          at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130)
MG>          at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:203)
MG>          at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
MG>          at org.jboss.ejb.Container.invoke(Container.java:712)
MG>          at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
MG>          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
MG>          at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
MG>          at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:102)
MG>          at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:77)
MG>          at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:80)
MG>          at 
org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:116)
MG>          at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
MG>          at $Proxy73.getValueObject(Unknown Source)
MG>          at 
pl.obligo.extranet.user.UserSessionBean.getKlient(UserSessionBean.java:179)
MG>         ...




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to