0 Replies Latest reply on Feb 4, 2002 4:42 AM by travers

    Problem deploying to Jboss when using MVCSoft

    travers

      I have a few beans that I want to use with CMP2.0. We are using MVCSoft[1] with Jboss 2.4.3 (bundled version with Catalina). With mvcsoft, the ejb jar file verifies and new jar is created without any problems.

      When deploying to jboss, it gets to the point where the beans are verified - no problem there, but when the first bean is deployed I get a class cast exception. To me it looks like it still want to use jaws persistence manager.

      Following is extract from the jboss log where error occurred.

      ....
      [Verifier] MeasurementBean: Verified.
      [Container factory] Deploying MeasurementBean
      [Container factory] Container Invoker RMI Port='4444'
      [Container factory] Container Invoker Client SocketFactory='Default'
      [Container factory] Container Invoker Server SocketFactory='Default'
      [Container factory] Container Invoker Server SocketAddr='Default'
      [Container factory] Container Invoker Optimize='true'
      [Container factory] java.lang.ClassCastException: org.jboss.ejb.plugins.jaws.JAWSPersistenceManager
      Container factory] at org.jboss.ejb.ContainerFactory.createEntityContainer(ContainerFactory.java:692)