Turn the Debug flag on in the standardjaws.xml file. <debug>true</debug>
Rerun the scenario and look into the server.log file. You will at least see
what JAWS was doing just before the error. I usually find that an
unexpected NULL was involved at some point.
-----Original Message-----
From: Belli Andrea [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 12:44 PM
To: Jboss-User (E-mail)
Subject: [JBoss-user] problem with finder find all
I have a jsp which call a session bean, which does a query on a db by an
entity bean: the problem is when I try to view the rows on db.
The jsp invoke the following method myfindAll():
public NewsRemote[] myfindAll() throws RemoteException,FinderException
{
NewsHome home = (NewsHome) getHome("mail.News", NewsHome.class);
Collection all = home.findAll();
return (NewsRemote[]) all.toArray(new NewsRemote[0]);
}
The session bean (DbMail) invokes a method of the entity bean News,
findAll(), which is made by the container, because News is CMP.
During execution, I have this error:
[mail.News] TRANSACTION ROLLBACK EXCEPTION:Load failed; nested exception is:
java.sql.SQLException: Unable to create PreparedStatement!; nested
exception is:
java.rmi.ServerException: Load failed; nested exception is:
java.sql.SQLException: Unable to create PreparedStatement!
have you any suggestion? Andrea
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user