[jboss-user] [JBoss Seam] - Re: I can't run a simple stateless bean with my Jboss and Se

wluque do-not-reply at jboss.com
Tue Feb 12 09:53:58 EST 2008


Thanks for help me ...

you say :

jboss tools web / JSF / JSF Project ?

I created my project from /seam/Seam Web Project , called "registrationExample"

in src/action

... Register (local interface)
... RegisterAction ( EJB )   

in WebContent

... register.xhtml
... regisdtered.xhtml

Project Archives ( JAR / WAR / EAR )

registrationExample.jar
   All .class
   META-INF
      persistence.xml
      ejb-jar.xml

registrationExample.war ( generated automatic definition )
   WEB-INF
   webcontent

registrationExample.ear
   META-INF
      application.xml
   *.jar
   *.lib
   *.war


when i deployment the EAR to server ... NO ERRORS !

12:33:42,680 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=registrationExample.ear,jar=registrationExample.jar,name=RegisterAction,service=EJB3 with dependencies:

12:33:42,680 INFO  [JmxKernelAbstraction] 	persistence.units:ear=registrationExample.ear,jar=registrationExample.jar,unitName=registrationExample

12:33:42,680 INFO  [EJBContainer] STARTED EJB: RegisterAction ejbName: RegisterAction

............
i test with :

<core:init jndi-pattern="registrationExample/#{ejbName}/local" debug="true" />

or

<core:init jndi-pattern="#{ejbName}/local" debug="true" />

andthe same error ... 

Could not instantiate Seam component: register
RegisterAction not bound

thank for you help !

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128786#4128786

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128786



More information about the jboss-user mailing list