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

legolas do-not-reply at jboss.com
Tue Jul 1 09:03:49 EDT 2008


Hi all,

I've just downloaded and unzipped the JBossAS 5.0.0CR1 package, and eager as I am, I immediately started it using bin\run.bat.
This error appeared on the console:
14:58:48,222 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:/C:/Java/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)

I am running JBoss on a Windows Vista SP1 machine with a sun JVM build 1.6.0_04-b12.

Did I forget a configuration step, or should this run OOTB?

Thanks,
Marcel

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

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



More information about the jboss-user mailing list