java.lang.LinkageError: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from vfs:/E:/jboss-6.0.0.20100429-M3/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/)

Coderanch | Somnath Mallick | 6 years ago
  1. 0

    JBOSS 6.0 Error While Starting Up.. [Solved] (JBoss/WildFly forum at JavaRanch)

    coderanch.com | 12 months ago
    java.lang.LinkageError: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from vfs:/E:/jboss-6.0.0.20100429-M3/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/)
  2. 0

    JBOSS 6.0 Error While Starting Up..

    Coderanch | 6 years ago | Somnath Mallick
    java.lang.LinkageError: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from vfs:/E:/jboss-6.0.0.20100429-M3/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/)
  3. 0

    Jboss server stopping automatically

    Oracle Community | 5 years ago | enzo_rio
    java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from vfszip:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Linkage Error while starting JBoss in eclipse 3.4 [Issue not occuring when I start JBoss from /bin]

    Coderanch | 7 years ago | Bhavesh Dak
    java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from vfszip:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
  6. 0

    A problem apear on weblogic 10.3,but tomcat is worked

    Coderanch | 6 years ago | zhiquan mai
    java.lang.LinkageError: loader constraint violation: when resolving field "DATETIME" the class loader (instance of weblogic/utils/classloaders/ChangeAwareClassLoader) of the referring class, javax/xml/datatype/DatatypeConstants, and the class loader (instance of <bootloader>) for the field's resolved type, javax/xml/namespace/QName, have different Class objects for that type

    4 unregistered visitors
    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.LinkageError

      JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from vfs:/E:/jboss-6.0.0.20100429-M3/lib/jaxb-impl.jar/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/)

      at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>()
    2. Old JAXB Runtime
      ContextFactory.createContext
      1. com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:173)[:2.2]
      2. com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:456)[:2.2]
      3. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:302)[:2.2]
      4. com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140)[:2.2]
      5. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)[:2.2]
      6. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)[:2.2]
      6 frames
    3. Java RT
      JAXBContext.newInstance
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0]
      4. java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0]
      5. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)[:1.6.0]
      6. javax.xml.bind.ContextFinder.find(ContextFinder.java:368)[:1.6.0]
      7. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)[:1.6.0]
      8. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)[:1.6.0]
      8 frames
    4. JBoss Application Server Connector
      ManagedConnectionFactoryParserDeployer.create
      1. org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.create(ManagedConnectionFactoryParserDeployer.java:92)[:6.0.0.20100429-M3]
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0]
      4. java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0]
      4 frames
    6. JBoss Reflection
      BasicMethodJoinPoint.dispatch
      1. org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)[jboss-reflect.jar:2.2.0.Alpha4]
      2. org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)[jboss-reflect.jar:2.2.0.Alpha4]
      3. org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)[jboss-reflect.jar:2.2.0.Alpha4]
      3 frames
    7. JBoss Microcontainer Kernel
      InstallsAwareAction.installAction
      1. org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257)[jboss-kernel.jar:2.2.0.Alpha9]
      2. org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)[jboss-kernel.jar:2.2.0.Alpha9]
      3. org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)[jboss-kernel.jar:2.2.0.Alpha9]
      4. org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)[jboss-kernel.jar:2.2.0.Alpha9]
      5. org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)[jboss-kernel.jar:2.2.0.Alpha9]
      6. org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)[jboss-kernel.jar:2.2.0.Alpha9]
      7. org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)[jboss-kernel.jar:2.2.0.Alpha9]
      7 frames
    8. JBoss Microcontainer Dependency
      AbstractController.install
      1. org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)[jboss-dependency.jar:2.2.0.Alpha9]
      2. org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)[jboss-dependency.jar:2.2.0.Alpha9]
      3. org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)[jboss-dependency.jar:2.2.0.Alpha9]
      4. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:377)[jboss-dependency.jar:2.2.0.Alpha9]
      5. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2042)[jboss-dependency.jar:2.2.0.Alpha9]
      6. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1081)[jboss-dependency.jar:2.2.0.Alpha9]
      7. org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1320)[jboss-dependency.jar:2.2.0.Alpha9]
      8. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1244)[jboss-dependency.jar:2.2.0.Alpha9]
      9. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1137)[jboss-dependency.jar:2.2.0.Alpha9]
      10. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:892)[jboss-dependency.jar:2.2.0.Alpha9]
      11. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:639)[jboss-dependency.jar:2.2.0.Alpha9]
      11 frames
    9. JBoss Deployers VFS
      BeanMetaDataDeployer.deploy
      1. org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:180)[:2.2.0.Alpha4]
      2. org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58)[:2.2.0.Alpha4]
      2 frames
    10. JBoss Deployers SPI
      AbstractRealDeployer.deploy
      1. org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)[:2.2.0.Alpha4]
      2. org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)[:2.2.0.Alpha4]
      2 frames
    11. JBoss Deployers Impl
      DeployersImpl.install
      1. org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)[:2.2.0.Alpha4]
      2. org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1857)[:2.2.0.Alpha4]
      3. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1575)[:2.2.0.Alpha4]
      4. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1596)[:2.2.0.Alpha4]
      5. org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1516)[:2.2.0.Alpha4]
      5 frames
    12. JBoss Microcontainer Dependency
      AbstractController.change
      1. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:377)[jboss-dependency.jar:2.2.0.Alpha9]
      2. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2042)[jboss-dependency.jar:2.2.0.Alpha9]
      3. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1081)[jboss-dependency.jar:2.2.0.Alpha9]
      4. org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1320)[jboss-dependency.jar:2.2.0.Alpha9]
      5. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1244)[jboss-dependency.jar:2.2.0.Alpha9]
      6. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1137)[jboss-dependency.jar:2.2.0.Alpha9]
      7. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:937)[jboss-dependency.jar:2.2.0.Alpha9]
      8. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:652)[jboss-dependency.jar:2.2.0.Alpha9]
      8 frames
    13. JBoss Deployers Impl
      MainDeployerImpl.process
      1. org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:2008)[:2.2.0.Alpha4]
      2. org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1101)[:2.2.0.Alpha4]
      3. org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)[:2.2.0.Alpha4]
      3 frames
    14. JBoss Application Server System
      AbstractProfileService.install
      1. org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)[:6.0.0.20100429-M3]
      2. org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)[:6.0.0.20100429-M3]
      3. org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)[:6.0.0.20100429-M3]
      4. org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)[:6.0.0.20100429-M3]
      4 frames
    15. JBoss Microcontainer Dependency
      AbstractController.install
      1. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:377)[jboss-dependency.jar:2.2.0.Alpha9]
      2. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2042)[jboss-dependency.jar:2.2.0.Alpha9]
      3. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1081)[jboss-dependency.jar:2.2.0.Alpha9]
      4. org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1320)[jboss-dependency.jar:2.2.0.Alpha9]
      5. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1244)[jboss-dependency.jar:2.2.0.Alpha9]
      6. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1137)[jboss-dependency.jar:2.2.0.Alpha9]
      7. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:892)[jboss-dependency.jar:2.2.0.Alpha9]
      8. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:639)[jboss-dependency.jar:2.2.0.Alpha9]
      8 frames
    16. JBoss Application Server System
      AbstractProfileService.registerProfile
      1. org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)[:6.0.0.20100429-M3]
      1 frame
    17. org.jboss.system
      ProfileServiceBootstrap.start
      1. org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)[:6.0.0.20100429-M3]
      2. org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:97)[:6.0.0.20100429-M3]
      2 frames
    18. org.jboss.bootstrap
      AbstractServer$StartServerTask.run
      1. org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827)[jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
      2. org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417)[jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
      2 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)[:1.6.0]
      1 frame