7 Replies Latest reply on Jul 29, 2014 3:40 AM by Neeraj Srivastava

    When I try to start Jboss AS7 I see the following exception. I am trying to run jboss using Ant . Can someone help me if I am missing something.

    Narendra Chennareddy Newbie

      Here is how jboss target looks like in xml file.

       

      <target name="launch-jboss" description="launches jboss">

                          <fail message="ERROR: 'jboss.maxmemory' property not set." unless="jboss.maxmemory" />

                          <echo>starting jboss...  MAXMEMORY is ${jboss.maxmemory}</echo>

                          <java jar="${jboss.dir}\jboss-modules.jar" fork="true" failonerror="true" maxmemory="${jboss.maxmemory}">

            <arg value="-mp"/>

            <arg value="${jboss.dir}\modules"/>

            <arg value="-jaxpmodule"/>

            <arg value="javax.xml.jaxp-provider"/>     

            <arg value="org.jboss.as.standalone"/>

            <arg value="-Djboss.home.dir=${jboss.dir}"/>

       

            <jvmarg value="-Dorg.jboss.boot.log.file=${jboss.dir}\standalone\log\server.log"/>

             <jvmarg value="-Dlogging.configuration=file:${jboss.dir}\standalone\configuration\logging.properties"/>

       

       

            <arg value="-Djboss.bind.address=${web.host}"/>

                          </java>

                </target>

       

       

      ${jboss.dir} in the above xml refers to jboss_root folder

      ===================================

       

        [java] WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager

           [java] May 22, 2013 10:34:10 AM org.jboss.msc.service.ServiceContainerImpl <clinit>

           [java] INFO: JBoss MSC version 1.0.4.GA-redhat-1

           [java] May 22, 2013 10:34:10 AM org.jboss.as.server.ApplicationServerService start

           [java] INFO: JBAS015899: JBoss EAP 6.1.0.Beta1 (AS 7.2.0.Final-redhat-4) starting

           [java] May 22, 2013 10:34:12 AM org.jboss.as.controller.AbstractOperationContext executeStep

           [java] ERROR: JBAS014612: Operation ("parallel-extension-add") failed - address: ([])

           [java] java.lang.RuntimeException: JBAS014670: Failed initializing module org.jboss.as.logging

           [java]           at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:99)

           [java]           at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440)

           [java]           at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322)

           [java]           at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229)

           [java]           at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224)

           [java]           at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:232)

           [java]           at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:225)

           [java]           at org.jboss.as.server.ServerService.boot(ServerService.java:333)

           [java]           at org.jboss.as.server.ServerService.boot(ServerService.java:308)

           [java]           at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:188)

           [java]           at java.lang.Thread.run(Thread.java:662)

           [java] Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: JBAS011592: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"

           [java]           at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)

           [java]           at java.util.concurrent.FutureTask.get(FutureTask.java:83)

           [java]           at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:91)

           [java]           ... 10 more

           [java] Caused by: java.lang.IllegalStateException: JBAS011592: The logging subsystem requires the log manager to be org.jboss.logmanager.LogManager. The subsystem has not be initialized and cannot be used. To use JBoss Log Manager you must add the system property "java.util.logging.manager" and set it to "org.jboss.logmanager.LogManager"

           [java]           at org.jboss.as.logging.LoggingExtension.initialize(LoggingExtension.java:103)

           [java]           at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:97)

           [java]           at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)

           [java]           at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:113)

           [java]           at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

           [java]           at java.util.concurrent.FutureTask.run(FutureTask.java:138)

           [java]           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

           [java]           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

           [java]           at java.lang.Thread.run(Thread.java:662)

           [java]           at org.jboss.threads.JBossThread.run(JBossThread.java:122)

           [java] May 22, 2013 10:34:12 AM org.jboss.as.server.ServerService boot

           [java] FATAL: JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.