3 Replies Latest reply on Oct 16, 2011 4:34 AM by enzo_rio

    Jboss server stopping automatically

    enzo_rio
      12:40:49,284 INFO [ServerImpl] Starting JBoss (Microcontainer)...
      12:40:49,287 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)
      12:40:49,288 INFO [ServerImpl] Bootstrap URL: null
      12:40:49,288 INFO [ServerImpl] Home Dir: C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA
      12:40:49,288 INFO [ServerImpl] Home URL: file:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/
      12:40:49,289 INFO [ServerImpl] Library URL: file:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/lib/
      12:40:49,290 INFO [ServerImpl] Patch URL: null
      12:40:49,290 INFO [ServerImpl] Common Base URL: file:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/common/
      12:40:49,291 INFO [ServerImpl] Common Library URL: file:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/common/lib/
      12:40:49,291 INFO [ServerImpl] Server Name: default
      12:40:49,292 INFO [ServerImpl] Server Base Dir: C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server
      12:40:49,292 INFO [ServerImpl] Server Base URL: file:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/server/
      12:40:49,293 INFO [ServerImpl] Server Config URL: file:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/server/default/conf/
      12:40:49,293 INFO [ServerImpl] Server Home Dir: C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server\default
      12:40:49,293 INFO [ServerImpl] Server Home URL: file:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/server/default/
      12:40:49,294 INFO [ServerImpl] Server Data Dir: C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server\default\data
      12:40:49,294 INFO [ServerImpl] Server Library URL: file:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/server/default/lib/
      12:40:49,294 INFO [ServerImpl] Server Log Dir: C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server\default\log
      12:40:49,295 INFO [ServerImpl] Server Native Dir: C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server\default\tmp\native
      12:40:49,295 INFO [ServerImpl] Server Temp Dir: C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server\default\tmp
      12:40:49,295 INFO [ServerImpl] Server Temp Deploy Dir: C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server\default\tmp\deploy
      12:40:51,026 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Softwares/jboss-5.0.0.GA/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
      12:40:52,684 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
      12:40:52,696 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
      12:40:53,320 INFO [CopyMechanism] VFS temp dir: C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server\default\tmp
      12:40:53,360 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      12:40:58,111 INFO [ServerInfo] Java version: 1.6.0_02,Sun Microsystems Inc.
      12:40:58,111 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_02-b06,Sun Microsystems Inc.
      12:40:58,111 INFO [ServerInfo] OS-System: Windows Vista 6.0,x86
      12:40:58,240 INFO [JMXKernel] Legacy JMX core initialized
      12:41:02,985 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@162e79c(root=C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      12:41:02,995 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@162e79c(root=C:\Softwares\jboss-5.0.0.GA\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      12:41:02,995 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@1cba031{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
      12:41:10,576 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      12:41:20,417 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:/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/)
           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)
      12:41:26,812 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core
      12:41:26,812 INFO [NativeServerConfig] 3.0.4.SP1
      12:41:31,025 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:/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/)


      12:41:31,026 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 41s:727ms
        • 1. Re: Jboss server stopping automatically
          710251
          Hi,

          It seems you are using the JDK 1.6.02 with JBOSS 5.0.0 GA. I would recommend you run JBOSS 5.0.0 EAP and minimum jdk 1.6.18. The error you are getting is because of an older JDK version. If you use a newer JDK this error should not come.

          Refer to http://www.atg.com/repositories/ContentCatalogRepository_en/supported_envs/atg_100.htm

          with warm regards,

          Jai
          • 2. Re: Jboss server stopping automatically
            Gautam Singh
            If you are using the right JBoss and JDK version try following JVM argument while running JBoss
            -Djava.endorsed.dirs="${JBOSS_HOME}\lib\endorsed"
            • 3. Re: Jboss server stopping automatically
              enzo_rio
              Hi All,

              I am using JDK (jdk1.6.0) and Jboss (jboss-5.0.0.GA/JBoss-4.0.0) and ATG (9.3/10.0.3).

              i saw the support environment for the ATG 9.3 and ATG 10 in the ATG site. But the Jboss EAP version is licensed. As i am practicing i need free ware jboss version.

              Is there any round about to make it work?? with Jboss (jboss-5.0.0.GA/JBoss-4.0.0).

              Please let me know the environment that can work with ATG (9.3/10.0.3) using free ware JDK and Jboss.