[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: LinkageError starting JBossAS 5.0.0CR1

jaikiran do-not-reply at jboss.com
Tue Jul 1 09:23:31 EDT 2008


"jaikiran" wrote :  I have downloaded CR1 and have been able to get it running with this issue.
  | 

Spoke too soon :) Was using JDK 5 with JBoss-5.0 CR1 and everything works. Switched to Java 1.6 and i see the same LinkageErrors:

  | 18:45:53,619 INFO  [CopyMechanism] VFS temp dir: D:\jboss-5.0.0.CR1\server\jaikiran\tmp
  | 18:45:53,619 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
  | 18:45:58,307 INFO  [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
  | 18:45:58,307 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_03-b05,Sun Microsystems Inc.
  | 18:45:58,307 INFO  [ServerInfo] OS-System: Windows 2003 5.2,x86
  | 18:45:58,401 INFO  [JMXKernel] Legacy JMX core initialized
  | 18:46:00,963 INFO  [MetaDataAwareProfile] Using profile root:D:\jboss-5.0.0.CR1\server\jaikiran
  | 18:46:05,557 INFO  [WebService] Using RMI server codebase: http://ps3346:8083/
  | 18:46:12,698 ERROR [AbstractKernelController] Error installing to Create: name=ManagedConnectionFactoryParserDeployer state=Configured
  | java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from vfszip:/D:/jboss-5.0.0.CR1/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/)
  |         at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:173)
  |         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
  |         at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
  |         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
  |         at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
  |         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:597)
  |         at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
  |         at javax.xml.bind.ContextFinder.find(ContextFinder.java:368)
  |         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
  |         at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
  |         at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.create(ManagedConnectionFactoryParserDeployer.java:120)
  |         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:597)
  |         at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)
  |         at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)
  |         at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
  |         at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
  |         at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
  |         at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
  |         at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
  |         at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
  |         at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
  |         at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  |         at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
  |         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:624)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
  |         at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
  |         at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:46)
  |         at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
  |         at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  |         at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  |         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
  |         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
  |         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
  |         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
  |         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
  |         at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
  |         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:250)
  |         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
  |         at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
  |         at org.jboss.Main.boot(Main.java:209)
  |         at org.jboss.Main$1.run(Main.java:544)
  |         at java.lang.Thread.run(Thread.java:619)
  | 18:46:18,526 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  | 
  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | ManagedConnectionFactoryParserDeployer -> java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from vfszip:/D:/jboss-5.0.0.CR1/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/)
  | 
  | 
  | 18:46:18,526 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 27s:438ms
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4161789#4161789

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4161789



More information about the jboss-user mailing list