Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

eSubmission building block RCA deployment failed

Avatar

Level 1

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.doRequiresNew(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.TransactionCallback) 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(StatelessSessionContainer.java:214)

               at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.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:158)

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

               at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.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(EjbTransactionProvider.java:145)

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

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

               at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl.install(ComponentRegistryImpl.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.java:118)

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

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

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

               at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTransactionBMTAdapterBean.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(StatelessSessionContainer.java:214)

               at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.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:158)

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

               at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.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(EjbTransactionProvider.java:95)

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

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

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

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

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

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

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

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

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

               at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.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(AbstractMessageReceiver.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.java: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.java: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.java: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.java: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(Http11Protocol.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;Ljava/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:43)

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

               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>(EntityEntityModeToTuplizerMapping.java:56)

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

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

               at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.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(ComponentRegistryImpl.java:410)

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

               ... 106 more

1 Reply

Avatar

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