1 Reply Latest reply on Jul 13, 2009 1:20 AM by amitgupt

    eSubmission building block RCA deployment failed

    Long Su2

      I saw the following exception while deploying the RCA audit service component “adobe-rca-audit-dsc.jar".  Does anyone have any idea of what it is?

       

      2009-06-22 18:37:43,207 INFO  [com.adobe.solutions.dao.hibernate.HibernateUtil] Hibernate Utils initialization started

      2009-06-22 18:37:43,207 INFO  [com.adobe.solutions.dao.hibernate.HibernateUtil] Initializing ThreadLocals

      2009-06-22 18:37:43,207 INFO  [com.adobe.solutions.dao.hibernate.HibernateUtil] Creating SessionFactory

      2009-06-22 18:37:44,191 INFO  [com.adobe.solutions.dao.hibernate.HibernateUtil] Found DataSource: java:/IDP_DS

      2009-06-22 18:37:44,191 INFO  [com.adobe.solutions.dao.hibernate.HibernateUtil] Detected Application Server: JBOSS

      2009-06-22 18:37:44,238 INFO  [com.adobe.solutions.dao.hibernate.HibernateUtil] Using dialect [org.hibernate.dialect.MySQLDialect] - Detected DB Product name - MySQL and version 5

      2009-06-22 18:37:44,457 WARN  [net.sf.ehcache.config.ConfigurationFactory] No configuration found. Configuring ehcache from ehcache-failsafe.xml  found in the classpath: jar:file:D:\temp\adobejb_server1\ArchiveStore\906/ehcache-1.2.3.jar!/ehcache-failsafe.xml

      2009-06-22 18:37:44,785 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterLocal.doRequiresNe w(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transa ctionCallback) throws com.adobe.idp.dsc.DSCException:

      ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.

                     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:249)

                     at sun.reflect.GeneratedMethodAccessor935.invoke(Unknown Source)

                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                     at java.lang.reflect.Method.invoke(Method.java:585)

                     at org.jboss.invocation.Invocation.performCall(Invocation.java:345)

                     at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)

                     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)

                     at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)

                     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)

                     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)

                     at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)

                     at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)

                     at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)

                     at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)

                     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)

                     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)

                     at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)

                     at org.jboss.ejb.Container.invoke(Container.java:873)

                     at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)

                     at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)

                     at $Proxy280.doRequiresNew(Unknown Source)

                     at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:145)

                     at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)

                     at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:407)

                     at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl.install(ComponentRegistry Impl.java:254)

                     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:585)

                     at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)

                     at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)

                     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)

                     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)

                     at sun.reflect.GeneratedMethodAccessor931.invoke(Unknown Source)

                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                     at java.lang.reflect.Method.invoke(Method.java:585)

                     at org.jboss.invocation.Invocation.performCall(Invocation.java:345)

                     at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)

                     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)

                     at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)

                     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)

                     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)

                     at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)

                     at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62)

                     at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)

                     at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)

                     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)

                     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)

                     at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)

                     at org.jboss.ejb.Container.invoke(Container.java:873)

                     at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)

                     at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)

                     at $Proxy280.doBMT(Unknown Source)

                     at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)

                     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)

                     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                     at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)

                     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                     at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)

                     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                     at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:109)

                     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                     at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)

                     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)

                     at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)

                     at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)

                     at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)

                     at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)

                     at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)

                     at sun.reflect.GeneratedMethodAccessor934.invoke(Unknown Source)

                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                     at java.lang.reflect.Method.invoke(Method.java:585)

                     at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)

                     at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)

                     at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)

                     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)

                     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

                     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

                     at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)

                     at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)

                     at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)

                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

                     at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252)

                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                     at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)

                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)

                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202)

                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

                     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

                     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

                     at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)

                     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159)

                     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)

                     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

                     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

                     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

                     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

                     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

                     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744)

                     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)

                     at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)

                     at java.lang.Thread.run(Thread.java:595)

      Caused by: java.lang.NoSuchMethodError: net.sf.cglib.core.ClassEmitter.declare_field(ILjava/lang/String;Lorg/objectweb/asm/Type;L java/lang/Object;)V

                     at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:484)

                     at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)

                     at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)

                     at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)

                     at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)

                     at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer. java:127)

                     at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:4 3)

                     at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:1 62)

                     at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)

                     at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)

                     at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTup lizerMapping.java:56)

                     at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:302)

                     at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.jav a:434)

                     at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersist er.java:109)

                     at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)

                     at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)

                     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1300)

                     at com.adobe.solutions.dao.hibernate.HibernateUtil.<init>(HibernateUtil.java:168)

                     at com.adobe.solutions.dao.hibernate.HibernateUtil.updateSchema(HibernateUtil.java:273)

                     at com.adobe.solutions.dsc.BaseBootstrap.onInstall(BaseBootstrap.java:46)

                     at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl$7.doInTransaction(Compone ntRegistryImpl.java:410)

                     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)

                     ... 106 more

       

       

        • 1. Re: eSubmission building block RCA deployment failed
          amitgupt Adobe Employee

           

          Hibernate uses cglib byte code enhancer by default and it can have conflict with the cglib shipped with LC.

           

          hibernate.properties configures hibernate to use javaassist as byte code enhancer instead of cglib.

          Steps to correct the issue:

           

          Please insert attached hibernate.properties into following jars (all these jars can be located in sa/building_blocks/rca_1_0/dist/dsc):
          adobe-bb-rca-externalUser-dsc.jar
          adobe-rca-audit-dsc.jar
          adobe-bb-rca-core-dsc.jar

          Please also refer to eSubmissions FAQ