7 Replies Latest reply on Sep 10, 2008 9:40 AM by Prabhat Jha

    sever closing automatically

    surender Newbie


      I downloaded the portal server from jboss site.

      after downloading if i run the server i am not able to see the console(that means server window is closing automatically)

      how to solve this problem

      i am new to this jboss,do we need to set any class path for jboss??

      plz help me


        • 1. Re: sever closing automatically
          Prabhat Jha Master

          Which version and which binary (bundled or jboss-portal.sar) did you download? What's your environment and how are you running it? Based on what you have provided, I can not conclude anything. So, please comment with your env details, java version etc.

          • 2. Re: sever closing automatically
            surender Newbie

            prabath thanks for reply

            i download server from this site http://www.jboss.org/jbossportal/download/index.html

            in this website
            package::JBoss Portal + JBoss AS 4.2.3 ,version::2.7.0.BETA1 , Released::2008-07-30.

            my java environment version is 1.5

            for starting the server i went to bin folder and clicked on the run batch file
            ,so if i do this i am not able to see the console and console closing by it self automatically with in seconds

            please help me prabath


            • 3. Re: sever closing automatically
              Prabhat Jha Master

              Instead of double clicking, can you start from command line? That way you will be able to see error and will probably give an idea what's happening.

              • 4. Re: sever closing automatically
                Thomas Heute Master

                (Moving to the User forum)

                • 5. Re: sever closing automatically
                  surender Newbie

                  HI Prabath

                  now i am able to see the console,problem is because of i did not set the classpath for my java environment,now i am able to see the console

                  now it showing one exception ,i am sending you my whole jboss console statements,

                  ------------------------start my Jboss console--------------------------------

                  14:00:59,437 INFO [Server] Starting JBoss (MX MicroKernel)...
                  14:00:59,437 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
                  14:00:59,437 DEBUG [Server] Using config: org.jboss.system.server.ServerConfigImpl@1dff3a2
                  14:00:59,437 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl
                  14:00:59,437 DEBUG [Server] Server loaded through: org.jboss.system.server.NoAnnotationURLClassLoader
                  14:00:59,437 DEBUG [Server] Boot URLs:
                  14:00:59,437 DEBUG [Server] file:/C:/jboss-portal-2.7.0.B1/lib/endorsed/serializer.jar
                  14:00:59,437 DEBUG [Server] file:/C:/jboss-portal-2.7.0.B1/lib/endorsed/xalan.jar
                  14:00:59,437 DEBUG [Server] file:/C:/jboss-portal-2.7.0.B1/lib/endorsed/xercesImpl.jar
                  14:00:59,437 DEBUG [Server] file:/C:/jboss-portal-2.7.0.B1/lib/jboss-jmx.jar
                  14:00:59,437 DEBUG [Server] file:/C:/jboss-portal-2.7.0.B1/lib/concurrent.jar
                  14:00:59,437 DEBUG [Server] file:/C:/jboss-portal-2.7.0.B1/lib/log4j-boot.jar
                  14:00:59,437 DEBUG [Server] file:/C:/jboss-portal-2.7.0.B1/lib/jboss-common.jar
                  14:00:59,437 DEBUG [Server] file:/C:/jboss-portal-2.7.0.B1/lib/jboss-system.jar
                  14:00:59,437 DEBUG [Server] file:/C:/jboss-portal-2.7.0.B1/lib/jboss-xml-binding.jar
                  14:00:59,437 INFO [Server] Home Dir: C:\jboss-portal-2.7.0.B1
                  14:00:59,437 INFO [Server] Home URL: file:/C:/jboss-portal-2.7.0.B1/
                  14:00:59,437 DEBUG [Server] Library URL: file:/C:/jboss-portal-2.7.0.B1/lib/
                  14:00:59,437 INFO [Server] Patch URL: null
                  14:00:59,437 INFO [Server] Server Name: default
                  14:00:59,437 INFO [Server] Server Home Dir: C:\jboss-portal-2.7.0.B1\server\default
                  14:00:59,453 INFO [Server] Server Home URL: file:/C:/jboss-portal-2.7.0.B1/server/default/
                  14:00:59,453 INFO [Server] Server Log Dir: C:\jboss-portal-2.7.0.B1\server\default\log
                  14:00:59,453 DEBUG [Server] Server Data Dir: C:\jboss-portal-2.7.0.B1\server\default\data
                  14:00:59,453 INFO [Server] Server Temp Dir: C:\jboss-portal-2.7.0.B1\server\default\tmp
                  14:00:59,453 DEBUG [Server] Server Config URL: file:/C:/jboss-portal-2.7.0.B1/server/default/conf/
                  14:00:59,453 DEBUG [Server] Server Library URL: file:/C:/jboss-portal-2.7.0.B1/server/default/lib/
                  14:00:59,453 INFO [Server] Root Deployment Filename: jboss-service.xml
                  14:00:59,453 DEBUG [Server] Starting General Purpose Architecture (GPA)...
                  14:00:59,515 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate@ce5b1c)]
                  14:00:59,531 DEBUG [Server] Failed to start
                  java.lang.RuntimeException: Cannot create MBeanServer
                  at org.jboss.mx.server.MBeanServerImpl.(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:566)
                  Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate@ce5b1c)]
                  at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)
                  at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
                  at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:215)
                  ... 8 more
                  Caused by: javax.management.RuntimeOperationsException: Exception occured trying find the descriptors of the MBean
                  at javax.management.modelmbean.ModelMBeanInfoSupport.getDescriptors(ModelMBeanInfoSupport.java:445)
                  at org.jboss.mx.modelmbean.ModelMBeanInvoker.initPersistence(ModelMBeanInvoker.java:538)
                  at org.jboss.mx.modelmbean.ModelMBeanInvoker.init(ModelMBeanInvoker.java:520)
                  at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:486)
                  at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
                  at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
                  ... 10 more
                  Caused by: java.lang.IllegalArgumentException: Descriptor Type is invalid
                  ... 16 more

                  ------------------------end my jboss console-------------------------------------

                  when i started server it showing like

                  14:00:59,531 DEBUG [Server] Failed to start
                  java.lang.RuntimeException: Cannot create MBeanServer

                  what i have to do to resolve this exception

                  prabath plz help me in this

                  thanks once again prabath for giving me solutions

                  thanks & regards

                  • 6. Re: sever closing automatically
                    Prabhat Jha Master

                    It's Prabhat not Prabath.

                    I suggest you first read quickstart guide ( http://docs.jboss.com/jbportal/v2.7.0.B1/quickstartuser/html/) and make sure all your env settings are correct. At this stage, most of errors are likely going to be because of your configuration and environment.