1 Reply Latest reply on Dec 9, 2003 7:12 PM by kobezig

    Very Challenging.... upgrade to jboss 3.2.2 and 3.2.3

    kobezig Newbie

      Hello:

      I am getting problems with code that works in 3.2.1 but not on 3.2.2 or 3.2.3 (and I need to use 3.2.2 and up for the fix with CMR and null cmr column field)

      I am getting the following exception:

      javax.ejb.EJBException: Method is not a known CMP field accessor, CMR field accessor, or ejbSelect method:

      We have a class that provides audit information that we extend for CMP ejb that require audit information. It has methods such as getUserIdCreated, etc.. the problem is that these methods (provided in this base class) that are recognized in 3.2.1 are not visible in 3.2.2 or 3.2.3?

      This may be a configuration issue, or a porting issue?

      Here is the exception:


      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)


      Thankyou for your help..