2 Replies Latest reply on May 22, 2002 8:39 AM by Jakub Valenta

    Persistence Manager Error on JBoss setup

    Kevin Newbie

      Not sure if this is the right forum as I'm new to JBOss,
      but am using JBoss 2.4.4 with Tomcat 4.0.1 and no matter what I do I can't seem to get it to work on setup.

      In the jboss.jcml file my persistence manager mbean is not working even when set to default.


      ../../db/jbossmq/

      -----------------------------------------------

      When I run JBoss I get the following error - anyone have any idea where I'm going wrong? I've seen solutions for when others are using Oracle or MySql as the Persistence
      Manager, but not for the default....


      [INFO,PersistenceManager] Starting
      [ERROR,PersistenceManager] Stopped

      java.lang.NullPointerException at org.jboss.mq.pm.rollinglogged.PersistenceManager.restore(PersistenceManager.java:470) at org.jboss.mq.pm.rollinglogged.PersistenceManager.startService(PersistenceManager.java:263) at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103) 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:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      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:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)
      [ERROR,ConfigurationService] Unexpected error
      java.lang.NullPointerException
      at org.jboss.mq.pm.rollinglogged.PersistenceManager.restore(PersistenceM
      anager.java:470)
      at org.jboss.mq.pm.rollinglogged.PersistenceManager.startService(Persist
      enceManager.java:263)
      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103
      )
      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:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      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:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)

      ------------------------------------------------------

      Many thanks!