1 Reply Latest reply on Nov 8, 2002 7:39 AM by ben holland

    Error deploying BMP Entity

    ben holland Newbie

      Hi,

      I get the following errors when I deploy my CTReference bean. Can anyone help?

      10:51:42,234 INFO [EjbModule] Creating
      10:51:42,265 INFO [EjbModule] Deploying CTReference
      10:51:42,296 WARN [ServiceController] Problem creating service jboss.j2ee:servi
      ce=EJB,jndiName=ctreference/CTREFERENCE
      java.lang.ClassCastException: $Proxy33
      at org.jboss.ejb.plugins.local.BaseLocalContainerInvoker.getEJBLocalHome
      (BaseLocalContainerInvoker.java:168)
      at org.jboss.ejb.Container.create(Container.java:557)
      at org.jboss.ejb.EntityContainer.create(EntityContainer.java:315)
      at org.jboss.ejb.Container.invoke(Container.java:760)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:967)
      at $Proxy5.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:314)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)

      I cannot see any obvious clashes in the source files.