3 Replies Latest reply on Oct 14, 2007 10:19 PM by Peter Johnson

    how i can start jboss server

    Nagendra Kumar Newbie

      Hi,

      i download jboss server an unzip in C:\opt\jboss\jboss-4.2.1 this folder

      now what i will do next.


      thanks in adv.

        • 1. Re: how i can start jboss server
          Peter Johnson Master

          Open a command prompt, cd to the bin directory, and run the run.bat script. Like this:

          cd c:\opt\jboss\jboss-4.2.1\bin
          run


          You should then get a log out log messages showing in the command window. The last message will contain the text "Stared in xxx seconds". After you see that message, open a browser and enter the URL:

          http://localhost:8080

          (By the way, make sure that JAVA_HOME is set.)

          • 2. Re: how i can start jboss server
            Ujwal Makhija Newbie

            We stored JBoss in c:\jboss on a windows xp machine; already have Java v1.5.0_09. However, we get the following log while executing run:

            16:39:42,218 WARN [Server] Caught Throwable Error, this probably means we've already set the URLStreamHAndlerFactory before
            16:39:42,250 INFO [Server] Starting JBoss (MX MicroKernel)...
            16:39:42,250 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
            16:39:42,250 DEBUG [Server] Using config: org.jboss.system.server.ServerConfigImpl@76cbf7
            16:39:42,250 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl
            16:39:42,250 DEBUG [Server] Server loaded through: org.jboss.system.server.NoAnnotationURLClassLoader
            16:39:42,250 DEBUG [Server] Boot URLs:
            16:39:42,250 DEBUG [Server] file:/C:/jboss/lib/endorsed/serializer.jar
            16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/endorsed/xalan.jar
            16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/endorsed/xercesImpl.jar
            16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/jboss-jmx.jar
            16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/concurrent.jar
            16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/log4j-boot.jar
            16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/jboss-common.jar
            16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/jboss-system.jar
            16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/jboss-xml-binding.jar
            16:39:42,265 INFO [Server] Home Dir: C:\jboss
            16:39:42,265 INFO [Server] Home URL: file:/C:/jboss/
            16:39:42,265 DEBUG [Server] Library URL: file:/C:/jboss/lib/
            16:39:42,265 INFO [Server] Patch URL: null
            16:39:42,265 INFO [Server] Server Name: default
            16:39:42,265 INFO [Server] Server Home Dir: C:\jboss\server\default
            16:39:42,265 INFO [Server] Server Home URL: file:/C:/jboss/server/default/
            16:39:42,265 INFO [Server] Server Log Dir: C:\jboss\server\default\log
            16:39:42,265 DEBUG [Server] Server Data Dir: C:\jboss\server\default\data
            16:39:42,265 INFO [Server] Server Temp Dir: C:\jboss\server\default\tmp
            16:39:42,265 DEBUG [Server] Server Config URL: file:/C:/jboss/server/default/conf/
            16:39:42,265 DEBUG [Server] Server Library URL: file:/C:/jboss/server/default/lib/
            16:39:42,265 INFO [Server] Root Deployment Filename: jboss-service.xml
            16:39:42,265 DEBUG [Server] Starting General Purpose Architecture (GPA)...
            16:39:42,562 WARN [BasicMBeanRegistry] preRegister() failed for JMImplementation:type=MBeanServerDelegate:
            java.lang.NoSuchFieldError: TRACE
            at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)
            at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
            at org.jboss.mx.server.AbstractMBeanInvoker.initAttributeContexts(AbstractMBeanInvoker.java:1009)
            at org.jboss.mx.modelmbean.ModelMBeanInvoker.initAttributeContexts(ModelMBeanInvoker.java:597)
            at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:647)
            at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
            at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
            at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:215)
            at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71)
            at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
            at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            at org.jboss.Main.boot(Main.java:200)
            at org.jboss.Main$1.run(Main.java:508)
            at java.lang.Thread.run(Thread.java:595)
            16:39:42,578 DEBUG [Server] Failed to start
            java.lang.RuntimeException: Cannot create MBeanServer
            at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:239)
            at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71)
            at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
            at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            at org.jboss.Main.boot(Main.java:200)
            at org.jboss.Main$1.run(Main.java:508)
            at java.lang.Thread.run(Thread.java:595)
            Caused by: javax.management.NotCompliantMBeanException: Cannot register MBean: JMImplementation:type=MBeanServerDelegate
            at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:314)
            at org.jboss.mx.server.MBeanServerImpl.<init>(MBeanServerImpl.java:215)
            ... 8 more
            Caused by: javax.management.RuntimeErrorException
            at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:725)
            at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
            ... 9 more
            Caused by: java.lang.NoSuchFieldError: TRACE
            at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85)
            at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122)
            at org.jboss.mx.server.AbstractMBeanInvoker.initAttributeContexts(AbstractMBeanInvoker.java:1009)
            at org.jboss.mx.modelmbean.ModelMBeanInvoker.initAttributeContexts(ModelMBeanInvoker.java:597)
            at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:647)
            at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
            ... 10 more


            Please help.

            • 3. Re: how i can start jboss server
              Peter Johnson Master

              phonon, please do not post your questions at the end of someone else's post. Instead, start a new post. (Or better yet, so a forum search, I recall this exact same issue being addressed in another post.)