java.lang.NoClassDefFoundError: com/tc/object/dna/api/DNA

Terracotta Project Issue Tracker | Boyan Ivanov | 9 years ago
  1. 0

    The bug description can be seen at this url : http://forums.terracotta.org/forums/posts/list/592.page In short - axis2 does not work in a clustered environment. Axis is deployed following these steps : http://wso2.org/library/90 The exception I get during tomcat startup is : Error: java.lang.NoClassDefFoundError: com/tc/object/dna/api/DNA at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) at java.lang.Class.getDeclaredMethods(Class.java:1763) at org.codehaus.jam.internal.reflect.ReflectClassBuilder.populate(ReflectClassBuilder.java:105) at org.codehaus.jam.internal.elements.ClassImpl.ensureLoaded(ClassImpl.java:674) at org.codehaus.jam.internal.elements.ClassImpl.getSuperclass(ClassImpl.java:147) at org.apache.ws.java2wsdl.SchemaGenerator.generateSchema(SchemaGenerator.java:357) at org.apache.ws.java2wsdl.SchemaGenerator.generateSchemaForType(SchemaGenerator.java:589) at org.apache.ws.java2wsdl.SchemaGenerator.generateSchema(SchemaGenerator.java:297) at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:317) at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:339) at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:98) at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:140) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:79) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:582) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:201) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:271) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:189) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:110) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:257) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:74) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:486) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:406) at org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:51) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at com.tc.tomcat55.session.SessionValve55.tcInvoke(SessionValve55.java:63) at com.tc.tomcat55.session.SessionValve55.invoke(SessionValve55.java:50) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595)

    Terracotta Project Issue Tracker | 9 years ago | Boyan Ivanov
    java.lang.NoClassDefFoundError: com/tc/object/dna/api/DNA
  2. 0

    @Configurable, <aop:configured> and Spring OSGi - any chance in making it work ?

    Google Groups | 10 years ago | Damian Golda
    java.lang.NoClassDefFoundError: org/aspectj/lang/ NoAspectBoundException
  3. 0

    why is aopalliance required?

    Google Groups | 7 years ago | Pablo Fernandez
    java.lang.NoClassDefFoundError: [Lorg/aopalliance/intercept/ MethodInterceptor;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error When Building Application with Ant: Requires AOPAlliance jars

    Google Groups | 7 years ago | Kartik Kumar
    java.lang.NoClassDefFoundError: [Lorg/aopalliance/intercept/ MethodInterceptor;
  6. 0

    Injecting generic objects

    Google Groups | 8 years ago | Matt G
    java.lang.NoClassDefFoundError: [Lorg/ aopalliance/intercept/MethodInterceptor;
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    com/tc/object/dna/api/DNA

    at java.lang.Class.getDeclaredMethods0()
  2. Java RT
    Class.getDeclaredMethods
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
    3. java.lang.Class.getDeclaredMethods(Class.java:1763)
    3 frames
  3. org.codehaus.jam
    ClassImpl.getSuperclass
    1. org.codehaus.jam.internal.reflect.ReflectClassBuilder.populate(ReflectClassBuilder.java:105)
    2. org.codehaus.jam.internal.elements.ClassImpl.ensureLoaded(ClassImpl.java:674)
    3. org.codehaus.jam.internal.elements.ClassImpl.getSuperclass(ClassImpl.java:147)
    3 frames
  4. org.apache.ws
    SchemaGenerator.generateSchema
    1. org.apache.ws.java2wsdl.SchemaGenerator.generateSchema(SchemaGenerator.java:357)
    2. org.apache.ws.java2wsdl.SchemaGenerator.generateSchemaForType(SchemaGenerator.java:589)
    3. org.apache.ws.java2wsdl.SchemaGenerator.generateSchema(SchemaGenerator.java:297)
    3 frames
  5. org.apache.axis2
    ConfigurationContextFactory.createConfigurationContext
    1. org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:317)
    2. org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:339)
    3. org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:98)
    4. org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:140)
    5. org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:79)
    6. org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:582)
    7. org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:201)
    8. org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:271)
    9. org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:189)
    10. org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:110)
    11. org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:257)
    12. org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:74)
    12 frames
  6. Apache Axis2 - Transport - HTTP
    AxisAdminServlet.init
    1. org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:486)
    2. org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:406)
    3. org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:51)
    3 frames
  7. Glassfish Core
    StandardEngineValve.invoke
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
    2. org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    7 frames
  8. com.tc.tomcat55
    SessionValve55.invoke
    1. com.tc.tomcat55.session.SessionValve55.tcInvoke(SessionValve55.java:63)
    2. com.tc.tomcat55.session.SessionValve55.invoke(SessionValve55.java:50)
    2 frames
  9. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    1 frame
  10. Grizzly HTTP
    LeaderFollowerWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    4 frames
  11. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    1 frame
  12. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame