This same code runs successfully on RH7.2 with Sun's 1.3.1_04

alex

Friday, July 12, 2002, 10:44:10 AM, you wrote:

AL> It seems like SUBJ, gentlemen.

AL> I tested my app on linux and windows with JRockit JRE 1.3.1.

AL> Here is the problem. I have a simple entity bean AddresseeEJB that
AL> declares bulk-read method 'public abstract AddresseeValue
AL> getAddresseeValue()' that is generated by XDoclet and implemented in
AL> the generated class AddresseeCMP.

AL> ejb-jar.xml contains correct ejb-class for Addressee:
AL> <ejb-class>com.imedia.feedback.ejb.addressee.bean.AddresseeCMP</ejb-class>

AL> The interfaces are local.

AL> Calling AddresseeLocal.getAddresseeValue() produces the exception
AL> below on both: RH7.2 and Win2K.
AL> This same code runs fine under Sun's 1.3.1_01 on Win2K.

AL> JBoss version is 3.0.1RC1 recompiled for each platform with its
AL> JRockit 1.3.1.

AL> DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Addressee] Executing 
SQL: SELECT email,name FROM Addressee WHERE (email=?) OR (email=?)
AL> ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackException, 
causedBy:
AL> javax.ejb.EJBException: Method is not a known CMP field accessor, CMR field 
accessor, or ejbSelect method: methodName=getAddresseeValue
AL>         at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(Compiled 
Code)@109e6460
AL>         at org.jboss.proxy.compiler.Runtime.invoke(Compiled Code)@109e63d0
AL>         at 
com.imedia.feedback.ejb.addressee.bean.AddresseeCMP$Proxy.getAddresseeValue(Compiled 
Code)@f5900a0
AL>         at java.lang.reflect.Method.invoke(Native Method)@d2b293e
AL>         at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(Compiled 
Code)@109e5f10
AL>         at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(Compiled 
Code)@109e5710
AL>         at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(Compiled 
Code)@109e0a20
AL>         at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Compiled 
Code)@e788f50
AL>         at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(Compiled 
Code)@f65f5a0
AL>         at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(Compiled 
Code)@f65dd70
AL>         at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(Compiled 
Code)@f65dd30
AL>         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(Compiled 
Code)@f6548b0
AL>         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Compiled 
Code)@f6530c0
AL>         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(Compiled Code)@f656d50
AL>         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(Compiled Code)@f656cb0
AL>         at org.jboss.ejb.plugins.LogInterceptor.invoke(Compiled Code)@f656890
AL>         at org.jboss.ejb.EntityContainer.invoke(Compiled Code)@f65dcf0
AL>         at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.invoke(Compiled 
Code)@f65dae0
AL>         at org.jboss.ejb.plugins.local.EntityProxy.invoke(Compiled Code)@f65d810
AL>         at $Proxy40.getAddresseeValue(Compiled Code)@f152dc0
AL>         at 
com.imedia.feedback.web.commands.FetchFeedbackAllCommand.justDoIt(Compiled 
Code)@f67b510
AL>         at 
com.imedia.feedback.web.commands.FetchFeedbackAllCommand.execute(Compiled Code)@f67b4d0
AL>         at 
com.imedia.patterns.command.ejb.bean.CommandServerEJB.executeCommand(Compiled 
Code)@f152790
AL>         at java.lang.reflect.Method.invoke(Native Method)@d2b293e
AL>         at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Compiled 
Code)@f6579a0
AL>         at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(Compiled 
Code)@e788f50
AL>         at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Compiled Code)@f656f50
AL>         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(Compiled 
Code)@f6548b0
AL>         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Compiled 
Code)@f6530c0
AL>         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(Compiled Code)@f656d50
AL>         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(Compiled Code)@f656cb0
AL>         at org.jboss.ejb.plugins.LogInterceptor.invoke(Compiled Code)@f656890

-- 
Best regards,
 Alex Loubyansky




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to