1 Reply Latest reply on Sep 15, 2003 1:13 PM by ravik_gis

    CMP 1.1 problem on JBSS 4.x

    ravik_gis

      Can anybody help me with this.I have a problem deploying my CMP 1.1 on the JBOSS 4.X.I see this in my log.This application runs successfully on Jboss 2.4.x

      15:55:29,407 INFO [MainDeployer] Starting deployment of package: file:/D:/JBOSS4.0/jboss-4.0.0DR2/server/default/deploy/xml_reg_ejb.jar
      15:55:32,682 INFO [EjbModule] Deploying Namespace
      15:55:33,293 INFO [EjbModule] Deploying CoordsysEntity
      15:55:33,413 INFO [EjbModule] Deploying ContentInstance
      15:55:33,433 INFO [EjbModule] Deploying ContentInstanceElement
      15:55:33,463 INFO [EjbModule] Deploying ContentInstanceAttribute
      15:55:33,483 INFO [EjbModule] Deploying ContentType
      15:55:33,513 INFO [EjbModule] Deploying ContentTypeElement
      15:55:33,533 INFO [EjbModule] Deploying ContentTypeAttribute
      15:55:33,553 INFO [EjbModule] Deploying ServiceOffer
      15:55:33,583 INFO [EjbModule] Deploying ServiceOfferAttribute
      15:55:33,603 INFO [EjbModule] Deploying ServiceOfferElement
      15:55:33,623 INFO [EjbModule] Deploying ServiceType
      15:55:33,653 INFO [EjbModule] Deploying ServiceTypeAttribute
      15:55:33,673 INFO [EjbModule] Deploying ServiceTypeElement
      15:55:34,575 INFO [EjbModule] Deploying Classification
      15:55:34,605 INFO [EjbModule] Deploying TaxonomyScheme
      15:55:34,625 INFO [EjbModule] Deploying ClassificationNode
      15:55:34,655 INFO [EjbModule] Deploying ServiceTypeController
      15:55:34,675 INFO [EjbModule] Deploying ContentTypeController
      15:55:34,695 INFO [EjbModule] Deploying ServiceOfferController
      15:55:34,715 INFO [EjbModule] Deploying ContentInstanceController
      15:55:34,795 INFO [EjbModule] Deploying TaxonomySchemeController
      15:55:34,825 INFO [EjbModule] Started jboss.j2ee:module=xml_reg_ejb.jar,service=EjbModule
      15:55:34,825 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@3522b5
      15:55:34,845 INFO [EntityInstancePool] Started null
      15:55:35,646 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.serviceoffer.ServiceOfferElementHome,service=EJB
      15:55:35,646 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@347456
      15:55:35,666 INFO [EntityInstancePool] Started null
      15:55:35,666 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.taxonomy.ClassificationHome,service=EJB
      15:55:35,666 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@14a5594
      15:55:35,686 INFO [EntityInstancePool] Started null
      15:55:35,686 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.contenttype.ContentTypeAttributeHome,service=EJB
      15:55:35,686 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@1501026
      15:55:35,706 INFO [EntityInstancePool] Started null
      15:55:35,706 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.taxonomy.ClassificationNodeHome,service=EJB
      15:55:35,706 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@1975d46
      15:55:35,796 INFO [EntityInstancePool] Started null
      15:55:35,796 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.serviceoffer.ServiceOfferHome,service=EJB
      15:55:35,796 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@c2c65b
      15:55:35,816 INFO [EntityInstancePool] Started null
      15:55:35,816 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.contenttype.ContentTypeElementHome,service=EJB
      15:55:35,816 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@939d40
      15:55:35,896 INFO [EntityInstancePool] Started null
      15:55:35,896 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.namespace.NamespaceHome,service=EJB
      15:55:35,896 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.StatelessSessionContainer@511a6e
      15:55:35,916 INFO [StatelessSessionInstancePool] Started null
      15:55:35,916 INFO [StatelessSessionContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.servicetypecontroller.ServiceTypeControllerHome,service=EJB
      15:55:35,916 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@9875d1
      15:55:36,007 INFO [EntityInstancePool] Started null
      15:55:36,017 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.contentinstance.ContentInstanceAttributeHome,service=EJB
      15:55:36,017 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@1e13ce3
      15:55:36,037 INFO [EntityInstancePool] Started null
      15:55:36,037 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.contentinstance.ContentInstanceHome,service=EJB
      15:55:36,037 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@213339
      15:55:36,117 INFO [EntityInstancePool] Started null
      15:55:36,117 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.servicetype.ServiceTypeAttributeHome,service=EJB
      15:55:36,117 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.StatelessSessionContainer@6ff329
      15:55:36,137 INFO [StatelessSessionInstancePool] Started null
      15:55:36,137 INFO [StatelessSessionContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.contentinstancecontroller.ContentInstanceControllerHome,service=EJB
      15:55:36,137 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@11c4041
      15:55:36,217 INFO [EntityInstancePool] Started null
      15:55:36,217 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.taxonomy.TaxonomySchemeHome,service=EJB
      15:55:36,217 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@a4911d
      15:55:36,237 INFO [EntityInstancePool] Started null
      15:55:36,237 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.servicetype.ServiceTypeElementHome,service=EJB
      15:55:36,237 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@1f74864
      15:55:36,317 INFO [EntityInstancePool] Started null
      15:55:36,317 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.contenttype.ContentTypeHome,service=EJB
      15:55:36,327 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@1d23632
      15:55:36,337 INFO [EntityInstancePool] Started null
      15:55:36,337 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.serviceoffer.ServiceOfferAttributeHome,service=EJB
      15:55:36,337 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.StatelessSessionContainer@891a0
      15:55:36,417 INFO [StatelessSessionInstancePool] Started null
      15:55:36,417 INFO [StatelessSessionContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.contenttypecontroller.ContentTypeControllerHome,service=EJB
      15:55:36,417 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.StatelessSessionContainer@b25680
      15:55:36,437 INFO [StatelessSessionInstancePool] Started null
      15:55:36,437 INFO [StatelessSessionContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.taxonomycontroller.TaxonomySchemeControllerHome,service=EJB
      15:55:36,437 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@1da9a66
      15:55:37,429 INFO [EntityInstancePool] Started null
      15:55:37,429 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.servicetype.ServiceTypeHome,service=EJB
      15:55:37,429 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@1bed674
      15:55:37,449 INFO [EntityInstancePool] Started null
      15:55:37,449 INFO [EntityContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.coordsysentity.CoordsysEntityHome,service=EJB
      15:55:37,459 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.StatelessSessionContainer@1428ffa
      15:55:37,509 INFO [StatelessSessionInstancePool] Started null
      15:55:37,509 INFO [StatelessSessionContainer] Started jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.serviceoffercontroller.ServiceOfferControllerHome,service=EJB
      15:55:37,509 INFO [TxInterceptorCMT] Setting TxSupport map for container: org.jboss.ejb.EntityContainer@67ed13
      15:55:37,529 INFO [EntityInstancePool] Started null
      15:55:37,539 INFO [ClassificationNode] Table 'CLASSIFICATIONNODE' already exists
      15:55:37,559 INFO [ContentType] Table 'CONTENTTYPE' already exists
      15:55:37,569 INFO [ContentTypeElement] Table 'CONTENTTYPEELEMENT' already exists
      15:55:37,569 ERROR [EntityContainer] Starting failed: org.jboss.deployment.DeploymentException: Home interface does not have a findByPrimaryKey method
      15:55:37,579 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=com.syncline.ows.server.ejb.registry.contentinstance.ContentInstanceElementHome,service=EJB
      org.jboss.deployment.DeploymentException: Home interface does not have a findByPrimaryKey method
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:89)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:579)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:474)
      at org.jboss.ejb.entity.CMPInterceptor.start(CMPInterceptor.java:57)
      at org.jboss.ejb.entity.SimplePersistenceManager.start(SimplePersistenceManager.java:79)
      at org.jboss.ejb.EntityContainer.typeSpecificStart(EntityContainer.java:324)
      at org.jboss.ejb.Container.startService(Container.java:1004)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:233)
      at org.jboss.ejb.Container.invoke(Container.java:1328)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:692)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:72)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1036)
      at $Proxy44.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:401)
      at org.jboss.system.ServiceController.start(ServiceController.java:426)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:172)
      at $Proxy43.start(Unknown Source)
      at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:503)
      at org.jboss.deployment.DeploymentInfo.start(DeploymentInfo.java:255)
      at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1036)
      at $Proxy44.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:401)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:798)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:594)
      at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:244)
      at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:172)
      at $Proxy31.addDeployer(Unknown Source)
      at org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSupport.java:104)
      at org.jboss.ejb.EJBDeployer.startService(EJBDeployer.java:114)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:233)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1036)
      at $Proxy14.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:401)
      at org.jboss.system.ServiceController.start(ServiceController.java:426)
      at org.jboss.system.ServiceController.start(ServiceController.java:426)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:172)
      at $Proxy6.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:227)
      at org.jboss.deployment.DeploymentInfo.start(DeploymentInfo.java:255)
      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.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:155)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:544)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1036)
      at $Proxy1.start(Unknown Source)