Sorry I'm causing so much trouble. I still can't get the deployment to work.

I am finally seeing the datasource being bound. However, no EJB3's are being 
found & bound. When I try to hit the web page, I of course get exceptions:

java.lang.IllegalStateException: Could not start transaction
...
Caused by: javax.naming.NameNotFoundException: comp not bound
...
at org.jboss.seam.util.Transactions.getUserTransaction(Transaction.java:29)
at 
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.begin(SeamExtendedManagerPersistencePhaseListener.java:53)


I've got 3 entity beans (@Entity) and one stateful session bean that is marked 
with the seam interceptor. Session bean:


  | @Stateful
  | @Name("userAdmin")
  | @Interceptors(SeamInterceptor.class)
  | @Conversational(ifNotBegunOutcome="listUsers")
  | public class UserAdminAction implements UserAdmin
  | {
  |     @In(create=true)
  |     private EntityManager entityManager;
  | 
  |     @DataModel(value="adminUserList")
  |     private List<User> users;
  |     
  |     ...
  |     
  |     @Factory("adminUserList")
  |     @Begin(join=true)
  |     @SuppressWarnings("unchecked")
  |     public void load()
  |     {
  |             ...// load from the entityManager
  |     }

My page is just building a datatable on "adminUserList".

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to