1 Reply Latest reply on Jan 30, 2007 5:55 PM by monika sinha

    JBoss 4.0.5: Cannot create timer table: javax.management.MBe

    monika sinha Newbie

      Hi there,

      I was trying to deploy my application on the jboss 4.0.5 GA, and am getting an javax.management.MBeanException.

      ERROR [org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin](main) Cannot create timer table
      And further on deployment get the following error

      WARN [org.jboss.ejb.txtimer.DatabasePersistencePolicy](main) Unable to get timer handles for containerId: jboss.j2ee:jndiName=SimpleCache,service=EJB
      java.sql.SQLException: Table not found in statement [select * from TIMERS]

      Not sure if there is a configuration required for the app server to create the Timer table. Will be good to know if there is any pointers or help around this.

      Thanks!!

        • 1. Re: JBoss 4.0.5: Cannot create timer table: javax.management
          monika sinha Newbie

          Hi there,

          I was trying to deploy my application on the jboss 4.0.5 GA, and am

          getting an javax.management.MBeanException.

          Not sure if there is a configuration required for the app server to create the Timer table. Will be good to know if there is any pointers or help around this.

          Thanks!!

          Here is the details of the exception:
          2007-01-30 13:14:03,352 ERROR [org.jboss.deployment.MainDeployer](main) Could not create deployment: file:/C:/p4/dev/root/jboss-4.0.5.GA/server/all/deploy/jbossweb-tomcat55.sar/
          org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.web:service=WebServer
          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103)
          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
          at org.jboss.system.ServiceController.install(ServiceController.java:226)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
          at $Proxy4.install(Unknown Source)
          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
          at $Proxy7.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
          at $Proxy0.start(Unknown Source)



          And further on deployment get the following error

          WARN [org.jboss.ejb.txtimer.DatabasePersistencePolicy](main) Unable to get timer handles for containerId: jboss.j2ee:jndiName=SimpleCache,service=EJB
          java.sql.SQLException: Table not found in statement [select * from TIMERS]