We recently moved our JBoss 4.2.2. projekt to JBoss 5.1.0.GA. It works quite well, however, we are facing this problem:
When call a certain method of a stateful bean, the server calls antoher method of this bean before. For example, when calling bean.getPartner() the system "automatically" calls the method getName() before calling getPartner().
Is this a new AOP feature? How can we configure it?
This problem does not exists using the same code with Jboss 4.2.2.
[advisedMethod=public void com.tm3.erp.warehouse.service.impl.LogisticAdapterInboundManagerBean.commitProcess(), unadvisedMethod=public void com.tm3.erp.warehouse.service.impl.LogisticAdapterInboundManagerBean.commitProcess(), metadata=[metaData={DISPATCHER={OID=[type=AS_ISvalue=jboss.j2ee:jar=com.tm3.erp.server.jar,name=LogisticAdapterInboundManagerBean,service=EJB3]}, REMOTING={SUBSYSTEM=[type=AS_ISvalue=AOP], INVOKER_LOCATOR=[type=AS_ISvalue=InvokerLocator [socket://165.0.0.51:3873/]]}, SFSBInvocation={SessionID=[type=AS_ISvalue=4l001f-g7hi12-g1dqx5lz-1-g1drp45h-bl]}, security={principal=[type=MARSHALLEDvalue=org.jboss.aop.util.MarshalledValue@30be8490], context=[type=MARSHALLEDvalue=[org.jboss.security.plugins.JBossSecurityContext()CLIENT)]], credential=[type=MARSHALLEDvalue=org.jboss.aop.util.MarshalledValue@1acfd7cb]}, IS_LOCAL={GUID=[type=AS_ISvalue=jboss.j2ee:jar=com.tm3.erp.server.jar,name=LogisticAdapterInboundManagerBean,service=EJB3,VMID=04ca4ccf7f5e36c6:-699c128a:124a12f6931:-7ff9]}, SessionInvocation={InvokedMethod=[type=AS_ISvalue=com.tm3.erp.warehouse.service.interfaces.LogisticAdapterInboundManagerRemote: com.tm3.erp.warehouse.service.LogisticExecutionManagerInterface.getLogisticExecution()]}}], targetObject=com.tm3.erp.warehouse.service.impl.LogisticAdapterInboundManagerBean@1d46f77, arguments=[Ljava.lang.Object;@1edc5c8]