By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,727 Members | 766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,727 IT Pros & Developers. It's quick & easy.

how to start up jboss in windows?

P: 10
I am new to jboss and I just downloaded jboss folder on my windows.I am having super hard time starting up jboss. I was able to startup jboss without any parameters and it works fine.

Problem: The problem is when ever I add port in my parameters than I get an error. I am not sure if I need to change some xml file or something.... I have no idea how to fix this. Any help will be greatly appreciated!!!

I want to start up jboss with following parameters.


Expand|Select|Wrap|Line Numbers
  1. -Djava.util.logging.manager=org.jboss.logmanager.LogManager
  2. -Djava.rmi.server.hostname=127.0.0.1
  3. -Dcom.sun.management.jmxremote=true
  4. -Dcom.sun.management.jmxremote.port=8080
  5. -Dcom.sun.management.jmxremote.ssl=false
  6. -Dcom.sun.management.jmxremote.authenticate=true
  7. -Dcom.sun.management.jmxremote.password.file=C:\Java\jdk1.7\jre\lib\management\jmxremote.password
  8. -Dcom.sun.management.jmxremote.access.file=C:\Java\jdk1.7\jre\lib\management\jmxremote.access
  9.  

This is the error I get.

Expand|Select|Wrap|Line Numbers
  1. alling "C:\jboss-eap-6.1\bin\standalone.conf.bat" 
  2. ===============================================================================
  3.   JBoss Bootstrap Environment
  4.  
  5.   JBOSS_HOME: C:\jboss-eap-6.1
  6.   JAVA_HOME: C:\Java\jdk1.7
  7.   JAVA: C:\Java\jdk1.7\bin\java
  8.  
  9.  
  10.   JAVA_OPTS: -XX:+TieredCompilation -XX:+UseCompressedOops -Dprogram.name=standalone.bat -Xms1303M -Xmx1303M -XX:MaxPermSize=256M -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Djava.rmi.server.hostname=127.0.0.1 -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=8080 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.password.file=C:\Java\jdk1.7.0_60_X64\jre\lib\management\jmxremote.password -Dcom.sun.management.jmxremote.access.file=C:\Java\jdk1.7.0_60_X64\jre\lib\management\jmxremote.access
  11. ===============================================================================
  12.  
  13.  
  14. Could not load Logmanager "org.jboss.logmanager.LogManager"
  15. java.lang.ClassNotFoundException: org.jboss.logmanager.LogManager
  16.         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  17.         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  18.         at java.security.AccessController.doPrivileged(Native Method)
  19.         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  20.         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
  21.         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
  22.         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
  23.         at java.util.logging.LogManager$1.run(LogManager.java:191)
  24.         at java.security.AccessController.doPrivileged(Native Method)
  25.         at java.util.logging.LogManager.<clinit>(LogManager.java:181)
  26.         at java.util.logging.Logger.demandLogger(Logger.java:339)
  27.         at java.util.logging.Logger.getLogger(Logger.java:393)
  28.         at com.sun.jmx.remote.util.ClassLogger.<init>(ClassLogger.java:55)
  29.         at sun.management.jmxremote.ConnectorBootstrap.<clinit>(ConnectorBootstrap.java:823)
  30.         at sun.management.Agent.startAgent(Agent.java:260)
  31.         at sun.management.Agent.startAgent(Agent.java:456)
  32.  
  33.  
  34. WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager
  35. Jul 23, 2014 2:18:50 PM org.jboss.msc.service.ServiceContainerImpl <clinit> INFO: JBoss MSC version 1.0.4.GA-redhat-1
  36. Jul 23, 2014 2:18:50 PM org.jboss.as.server.ApplicationServerService start INFO: JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting
  37. Jul 23, 2014 2:18:51 PM org.jboss.as.controller.AbstractOperationContext executeStep
  38.  
  39.  
  40.  
  41. ERROR: JBAS014612: Operation ("parallel-extension-add") failed - address: ([])
  42. java.lang.RuntimeException: JBAS014670: Failed initializing module org.jboss.as.logging
  43.         at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:99)
  44.         at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440)
  45.         at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322)
  46.         at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229)
  47.         at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224)
  48.         at org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:232)
  49.         at org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:225)
  50.         at org.jboss.as.server.ServerService.boot(ServerService.java:333)
  51.         at org.jboss.as.server.ServerService.boot(ServerService.java:308)
  52.             at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:188)
  53.             at java.lang.Thread.run(Thread.java:745)
  54.  
  55.  
  56. 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"
  57.         at java.util.concurrent.FutureTask.report(FutureTask.java:122)
  58.         at java.util.concurrent.FutureTask.get(FutureTask.java:188)
  59.         at org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:91)
  60.     ... 10 more
  61.  
  62.  
  63. 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"
  64.          at org.jboss.as.logging.LoggingExtension.initialize(LoggingExtension.java:103)
  65.         at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:97)
  66.         at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
  67.         at org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:113)
  68.         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  69.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  70.          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  71.         at java.lang.Thread.run(Thread.java:745)
  72.         at org.jboss.threads.JBossThread.run(JBossThread.java:122)
  73.  
  74.  
  75. Jul 23, 2014 2:18:51 PM org.jboss.as.server.ServerService boot
  76. FATAL: JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
  77. Press any key to continue . . .
  78.  
Jul 24 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.