0 Replies Latest reply on Apr 23, 2005 5:44 PM by cornair

    Question to the EJB3 Tuturials

    cornair

      Hi,

      I am new to EJBs and wanted to try the EJB3 Tutorial when some problems occured. I think I must have done something wrong at the configuration of the JBoss Server or at the deployment.

      I always get the following Errors:

      23:25:10,930 INFO [DLQ] Bound to JNDI name: queue/DLQ
      23:25:13,233 INFO [ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name 'java:JmsXA'
      23:25:14,335 INFO [Ejb3Module] found EJB3 stateless session bean: org.jboss.tutorial.stateless.bean.CalculatorBean
      23:25:14,365 ERROR [Ejb3Module] Initialization failed jboss.j2ee:service=EJB3,module=e1.ejb3
      java.lang.RuntimeException: Domain Stateless Bean not found
      at org.jboss.ejb3.Ejb3Module.createService
      (Ejb3Module.java:128)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:220)
      at sun.reflect.GeneratedMethodAccessor42.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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)

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

      23:25:14,385 INFO [EJB3Deployer] Deployed: file:/C:/developement/Enviroment/jboss-4.0.1sp1/server/all/deploy/e1.ejb3
      23:25:15,056 INFO [Ejb3Module] found EJB3 service bean: org.jboss.tutorial.service.bean.ServiceOne
      23:25:15,056 ERROR [Ejb3Module] Initialization failed jboss.j2ee:service=EJB3,module=eservice.ejb3
      java.lang.RuntimeException: No container configured with name 'Service Bean''
      at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:175)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:238)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:220)
      at sun.reflect.GeneratedMethodAccessor42.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:144)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)

      I hope you can help me.

      Thank you very much in advance.
      CornAir