Hi Gaurav,

You must generate the sample database by ant prepare-tutorials. It will be created as target/test/OJB.properties and OJB.script
You also have to point to this database in repository.xml in the database url!

cheers,
Thomas

[EMAIL PROTECTED] wrote:
Hi,
I'm trying to deploy the sample war using build war. I deployed the
generated ojb-servlet.war on my web server. Getting this error when I try to
access TestServlet.
exception thrown from the servlet service function (uri=/ojb/test.do):
org.apache.ojb.broker.PersistenceBrokerSQLException: Table not found:
PRODUCT in statement [SELECT A0.STOCK,A0.NAME,A0.PRICE,A0.ID FROM PRODUCT
A0], Stack: java.sql.SQLException: Table not found: PRODUCT in statement
[SELECT A0.STOCK,A0.NAME,A0.PRICE,A0.ID FROM PRODUCT A0]

I guess I need to copy the database files into the proper
directories under my web server. What are the files that I need to copy and where can I get them
from?

Thanks,
Gaurav

--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to