This content has been marked as final. Show 4 replies
I'm using Red Hat Develop Studio 1.0.0 CR1 and am new to web development so I'm sure there is a simple solution. These steps recreate the problem:
1. Created a Seam Web Project (using all defaults)
2. Created a Seam Action. Named the seam component "register" and the Java class "Register."
3. In session bean/action class added "@Stateful" and "@Scope(ScopeType.SESSION)" tags, made class Serializable, and added "@Destroy" and "@Remove" tags to new method "destroy()"
4. Refactored out an interface from the bean class, added "@Local" tag to the interface
5. When I "Run on Server" I noticed this in console log: [Component] Component: register, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.domain.simple.session.Register, JNDI: Register/local
6. On web page that displays, hit the command button referencing the session bean/action method and get the following error: org.jboss.seam.InstantiationException: Could not instantiate Seam component: register
Caused by: javax.naming.NameNotFoundException: Register not bound
Thanks for any help you can provide.