Carlos Ferrão wrote:

>       Hello list,
> 
> I get the following message whenever I deploy my beans:
> 
>  [Container factory] Deploying authBean
>  [Container factory] Deploying authenticatorBean
>  [JAWS] Table 'authBean' already exists


This isn't a problem. By default JAWS creates the table to hold data for 
your CMP bean, but doesn't drop the table on undeploy. Before creating 
it checks to see if it exists and if it does just notes it so that you 
know what's going on.


> 
>  When I try to access the database with java:comp/env/dbname it blows up.
>  authbean is a CMP Entity and authenticatorBean is a Stateless Session bean.
>  I'm trying to get a list of users directly from the database using a method
> in my session bean.
> 
>  [authenticatorBean] ERROR: Couldn't list logins!
>  [authenticatorBean] TRANSACTION ROLLBACK EXCEPTION:null; nested exception
>  is:        javax.ejb.EJBException
>  [authenticatorBean] java.sql.SQLException: Table not found: AUTH in
>  statement [select login from auth]


The table is named authbean - see above.

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to