3 Replies Latest reply on Feb 19, 2002 3:47 AM by coen

    Exception on startup

    skareti

      I am a first timer to JBOSS and am trying to install
      JBoss-2.4.1_Tomcat-3.2.3 distribution.

      On running run_with_tomcat.bat, a whole bunch of things are going right but for this one exception.

      Could somebody help me figuring out where I messed
      up!

      [PersistenceManager] Starting
      [PersistenceManager] Stopped
      java.lang.NullPointerException
      at org.jboss.mq.pm.rollinglogged.PersistenceManager.restore(PersistenceM
      anager.java:335)
      at org.jboss.mq.pm.rollinglogged.PersistenceManager.startService(Persist
      enceManager.java:218)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107
      )
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Conf
      igurationService.java:836)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:81)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.Main.(Main.java:210)
      at org.jboss.Main$1.run(Main.java:116)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:112)
      [Configuration] java.lang.NullPointerException
      [Configuration] at org.jboss.mq.pm.rollinglogged.PersistenceManager.rest
      ore(PersistenceManager.java:335)
      [Configuration] at org.jboss.mq.pm.rollinglogged.PersistenceManager.star
      tService(PersistenceManager.java:218)
      [Configuration] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBean
      Support.java:107)
      [Configuration] at java.lang.reflect.Method.invoke(Native Method)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1628)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1523)
      [Configuration] at org.jboss.configuration.ConfigurationService$ServiceP
      roxy.invoke(ConfigurationService.java:836)
      [Configuration] at $Proxy0.start(Unknown Source)
      [Configuration] at org.jboss.util.ServiceControl.start(ServiceControl.ja
      va:81)
      [Configuration] at java.lang.reflect.Method.invoke(Native Method)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1628)
      [Configuration] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSe
      rverImpl.java:1523)
      [Configuration] at org.jboss.Main.(Main.java:210)
      [Configuration] at org.jboss.Main$1.run(Main.java:116)
      [Configuration] at java.security.AccessController.doPrivileged(Native Me
      thod)
      [Configuration] at org.jboss.Main.main(Main.java:112)

      ---

      10X

        • 1. Re: Exception on startup
          skareti

          I need to add some more context to this...

          I loaded JBOSS as a part of the installation
          of Discern(of SRI). Some of the configuration
          files have been modified by Discern.

          Thanks again...

          SK.

          • 2. Re: Exception on startup
            ziechler

            Hi,

            i had the same problem with PersistenceManager.

            I found out when unzipping the distribution package again.
            In my case there was an older/corrupt (? i don't know why) QUEUE.DLQ.dat* file in JBOSS_HOME/db/jbossmq directory.

            After deletion JBoss should start properly...

            Greetings

            • 3. Re: Exception on startup
              coen

              I had the same problem with JBoss-2.4.4_Tomcat-4.0.1.
              I used a copy of one of our other developers (quick install) and noticed this exception. After deleting the file, which by the way appeared to be empty, presto! no more exception.
              Anyone got any idea as to why this happens?
              And more importantly, any idea if it has further consequences? My application seems to be running fine (well, not really, but that's entirely my fault ;-))