0 Replies Latest reply on Aug 17, 2005 4:35 PM by adamw

    Weird and rare EJB exception

    adamw

      Hello,
      I have an application (packaged in an ear) with many wars and one ejb3, and sometimes I get this exception:

      20:43:49,964 WARN [ServiceController] Problem starting service forge:service=cacheAndUpdate
      java.lang.ClassCastException: java.lang.Error
      at org.jboss.ejb3.service.ServiceMBeanDelegate.invoke(ServiceMBeanDelegate.java:158)
      at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)
      at $Proxy0.start(Unknown Source)

      On one computer it occures when deploying the application, just before "20:43:49,968 INFO [EJB3Deployer] Deployed: ".

      On another computer I get this when a timer service first times out.

      On yet another computer it occures when I redeploy an application and during the redeployment a timer times out (which belongs to the previous deployment, I guess) - but the two last cases happen only _sometimes_.

      Anybody has an idea what's the problem?

      --
      Adam