Using inheritance with jboss 3.2.2 not working
kobezig Dec 10, 2003 6:03 PMHello,
I am using inheritance for my CMP classes. I used a base class that has abstract methods that I need in a super class and have other classes that extend it to get these methods. These are cmp beans so the super class just has some abstract methods ....
This has worked in jboss 3.2.1 but now fails in Jboss 3.2.2 or jboss 3.2.3
here is the exception stack:
Thanks for the help....
2003-12-02 11:29:59,032 INFO [org.jboss.deployment.scanner.URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
2003-12-02 11:29:59,048 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/D:/jboss/jboss-3.2.2/server/phoenix/conf/jboss-service.xml
2003-12-02 11:29:59,048 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3_2_1 date=200305041533)] Started in 1m:39s:32ms
2003-12-02 11:43:15,641 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException, causedBy:
javax.ejb.EJBException: Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method: methodName=getUserIdCreated
at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:111)
at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59)
at com.taliantsoftware.customer.address.ejb.CustomerAddressBean$Proxy.getUserIdCreated()
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:324)
at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1044)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:95)
at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:301)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:82)
at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:174)
at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:53)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:273)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:483)
at org.jboss.ejb.Container.invoke(Container.java:674)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:353)
at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:38)
at $Proxy1006.getUserIdCreated(Unknown Source)
at com.taliantsoftware.customer.address.ejb.CustomerAddressDTOFactory.getDTO(CustomerAddressDTOFactory.java:628)
at com.taliantsoftware.customer.address.ejb.CustomerAddressDTOFactory.retrieveAddresses(CustomerAddressDTOFactory.java:250)
at com.taliantsoftware.policy.risk.ejb.RiskHelper.retrieveCustomerAddress(RiskHelper.java:1273)
at com.taliantsoftware.policy.risk.ejb.RiskHelper.buildDTO(RiskHelper.java:1240)
at com.taliantsoftware.policy.risk.ejb.RiskHelper.retrieveRiskLocations(RiskHelper.java:702)
at com.taliantsoftware.policy.ejb.PolicyDTOFactory.retrieveRiskLocations(PolicyDTOFactory.java:810)
at com.taliantsoftware.policy.ejb.PolicyServiceBean.retrieveRiskLocations(PolicyServiceBean.java:1680)
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:324)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)