JBoss não inicia

1 resposta
M

Boa noite pessoal!
Participei algumas vezes do fórum, a uns 2 anos qdo tirei a certificação java. Nunca mais mexi com programação e agora estou precisando em um projeto.
Só que ao tentar colocar o JBoss p/ funcionar no Eclipse, ele buga e não inicia. Estou colando console p/ vcs verem. Quem puder ajudar eu agradeceria muito.

18:34:10,064 INFO  [ServerImpl] Starting JBoss (Microcontainer)

18:34:10,064 INFO  [ServerImpl] Release ID: JBoss [Morpheus] <a href="http://5.0.1.GA">5.0.1.GA</a> (build: SVNTag=JBoss_5_0_1_GA date=200902231221)

18:34:10,064 INFO  [ServerImpl] Bootstrap URL: null

18:34:10,064 INFO  [ServerImpl] Home Dir: C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>

18:34:10,080 INFO  [ServerImpl] Home URL: file:/C:/jboss/jboss-5.0.1.GA/

18:34:10,080 INFO  [ServerImpl] Library URL: file:/C:/jboss/jboss-5.0.1.GA/lib/

18:34:10,080 INFO  [ServerImpl] Patch URL: null

18:34:10,080 INFO  [ServerImpl] Common Base URL: file:/C:/jboss/jboss-5.0.1.GA/common/

18:34:10,080 INFO  [ServerImpl] Common Library URL: file:/C:/jboss/jboss-5.0.1.GA/common/lib/

18:34:10,080 INFO  [ServerImpl] Server Name: default

18:34:10,080 INFO  [ServerImpl] Server Base Dir: C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server

18:34:10,080 INFO  [ServerImpl] Server Base URL: file:/C:/jboss/jboss-5.0.1.GA/server/

18:34:10,080 INFO  [ServerImpl] Server Config URL: file:/C:/jboss/jboss-5.0.1.GA/server/default/conf/

18:34:10,080 INFO  [ServerImpl] Server Home Dir: C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server\default

18:34:10,080 INFO  [ServerImpl] Server Home URL: file:/C:/jboss/jboss-5.0.1.GA/server/default/

18:34:10,080 INFO  [ServerImpl] Server Data Dir: C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server\default\data

18:34:10,080 INFO  [ServerImpl] Server Library URL: file:/C:/jboss/jboss-5.0.1.GA/server/default/lib/

18:34:10,080 INFO  [ServerImpl] Server Log Dir: C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server\default\log

18:34:10,080 INFO  [ServerImpl] Server Native Dir: C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server\default\tmp\native

18:34:10,080 INFO  [ServerImpl] Server Temp Dir: C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server\default\tmp

18:34:10,080 INFO  [ServerImpl] Server Temp Deploy Dir: C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server\default\tmp\deploy

18:34:11,078 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/jboss/jboss-5.0.1.GA/server/default/conf/bootstrap.xml

18:34:12,078 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]

18:34:12,078 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]

18:34:12,514 INFO  [CopyMechanism] VFS temp dir: C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server\default\tmp

18:34:12,514 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.

18:34:13,997 INFO  [ServerInfo] Java version: 1.6.0-oem,Sun Microsystems Inc.

18:34:13,997 INFO  [ServerInfo] Java Runtime: Java SE Runtime Environment (build 1.6.0-oem-b104)

18:34:13,997 INFO  [ServerInfo] Java VM: Java HotSpot Client VM 1.6.0-oem-b104,Sun Microsystems Inc.

18:34:13,997 INFO  [ServerInfo] OS-System: Windows Vista 6.0,x86

18:34:14,061 INFO  [JMXKernel] Legacy JMX core initialized

18:34:16,760 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1e13a2c(root=C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])

18:34:16,760 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1e13a2c(root=C:\jboss\<a href="http://jboss-5.0.1.GA">jboss-5.0.1.GA</a>\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])

18:34:16,760 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl@104bce3{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}

18:34:18,992 INFO  [WebService] Using RMI server codebase: <a href="http://127.0.0.1:8083/">http://127.0.0.1:8083/</a>

18:34:24,126 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:/jboss/jboss-5.0.1.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 <a href="http://java.sun.com/j2se/1.5.0/docs/guide/standards/">http://java.sun.com/j2se/1.5.0/docs/guide/standards/</a>)

at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:173)

at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:432)

at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(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:698)

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)

18:34:28,011 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core

18:34:28,011 INFO  [NativeServerConfig] <a href="http://3.0.5.GA">3.0.5.GA</a>

18:34:31,366 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
Deployment “ManagedConnectionFactoryParserDeployer” is in error due to the following reason(s): java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from vfszip:/C:/jboss/jboss-5.0.1.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/)

18:34:31,366 INFO [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 21s:286ms

valeu!!!

1 Resposta

M

Resolvido (afobação e falta de leitura de minha parte), para futura consulta de quem tiver o mesmo problema:

criar um diretorio chamado endorsed: “Java\jre1.6.0\lib\endorsed” e adicionar o seguinte jar: jaxb-api.jar

valeu!

Criado 10 de fevereiro de 2010
Ultima resposta 10 de fev. de 2010
Respostas 1
Participantes 1