Please help me in this.
I tried to put the jaxb-api.jar in JAVA_HOME/lib/endorsed or JAVA_HOME/jre/lib/endorsed directory but in both case not worked for me.
Strange part is that it is not running when started using eclipse but If I launch it from JBOSS_HOME/bin/ it is running fine
I need to get it run from Eclipse.
-----------------------------------------Eclipse Console Output-------------------------------------------------------------------------------------------------------------
10:44:38,562 INFO [ServerImpl] Starting
JBoss (Microcontainer)...
10:44:38,562 INFO [ServerImpl] Release ID: JBoss [
Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)
10:44:38,578 INFO [ServerImpl] Bootstrap URL: null
10:44:38,578 INFO [ServerImpl] Home Dir: E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA
10:44:38,578 INFO [ServerImpl] Home URL: file:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/
10:44:38,578 INFO [ServerImpl] Library URL: file:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/lib/
10:44:38,578 INFO [ServerImpl] Patch URL: null
10:44:38,578 INFO [ServerImpl] Common Base URL: file:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/common/
10:44:38,578 INFO [ServerImpl] Common Library URL: file:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/common/lib/
10:44:38,578 INFO [ServerImpl] Server Name: default
10:44:38,578 INFO [ServerImpl] Server Base Dir: E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server
10:44:38,578 INFO [ServerImpl] Server Base URL: file:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/
10:44:38,578 INFO [ServerImpl] Server Config URL: file:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/conf/
10:44:38,578 INFO [ServerImpl] Server Home Dir: E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server\default
10:44:38,578 INFO [ServerImpl] Server Home URL: file:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/
10:44:38,578 INFO [ServerImpl] Server Data Dir: E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server\default\data
10:44:38,578 INFO [ServerImpl] Server Library URL: file:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/lib/
10:44:38,578 INFO [ServerImpl] Server Log Dir: E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server\default\log
10:44:38,578 INFO [ServerImpl] Server Native Dir: E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server\default\tmp\native
10:44:38,578 INFO [ServerImpl] Server Temp Dir: E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server\default\tmp
10:44:38,578 INFO [ServerImpl] Server Temp Deploy Dir: E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server\default\tmp\deploy
10:44:39,203 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/E:/jboss-5.0.0.GA-jdk6/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
10:44:39,828 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
10:44:39,828 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
10:44:40,125 INFO [CopyMechanism] VFS temp dir: E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server\default\tmp
10:44:40,125 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
10:44:41,093 INFO [ServerInfo]
Java version: 1.6.0,Sun Microsystems Inc.
10:44:41,093 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0-b105,Sun Microsystems Inc.
10:44:41,093 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
10:44:41,171 INFO [JMXKernel] Legacy JMX core initialized
10:44:42,859 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1197d83(root=E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
10:44:42,859 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1197d83(root=E:\jboss-5.0.0.GA-jdk6\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
10:44:42,859 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@a46cf8{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
10:44:44,484 INFO [WebService] Using RMI server codebase:
http://127.0.0.1:8083/
10:44:48,671 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:/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/)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:173)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:432)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:297)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javax.xml.bind.ContextFinder.newInstance(Unknown Source)
at javax.xml.bind.ContextFinder.find(Unknown Source)
at javax.xml.bind.JAXBContext.newInstance(Unknown Source)
at javax.xml.bind.JAXBContext.newInstance(Unknown Source)
at org.jboss.resource.deployers.ManagedConnectionFactoryParserDeployer.create(ManagedConnectionFactoryParserDeployer.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
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:47)
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:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
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:171)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:297)
at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
at org.jboss.Main.boot(Main.java:209)
at org.jboss.Main$1.run(Main.java:547)
at java.lang.Thread.run(Unknown Source)
10:44:51,906 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
10:44:51,906 INFO [NativeServerConfig] 3.0.4.SP1
10:44:54,406 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:/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/)
10:44:54,406 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812042120)] Started in 15s
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Any help in this case appreciated.
Thanks.