users@glassfish.java.net

Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.1 (Build b60e-fcs (

From: <glassfish_at_javadesktop.org>
Date: Wed, 05 Aug 2009 22:56:48 PDT

can anyone help?

I am trying to run the bookstore example but get this error

Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.1 (Build b60e-fcs (12/23/2008))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: java.sql.SQLSyntaxErrorException: Table/View 'WEB_BOOKSTORE_BOOKS' does not exist.
Error Code: -1
Call: SELECT BOOKID, FIRSTNAME, DESCRIPTION, PRICE, TITLE, ONSALE, SURNAME, CALENDAR_YEAR, INVENTORY FROM WEB_BOOKSTORE_BOOKS WHERE (BOOKID = ?)
        bind => [203]
Query: ReadObjectQuery(com.sun.bookstore.database.Book
*********************************************************************************************
also when i try to populate database get this error -


b\bookstore1>asant create-tables
Buildfile: build.xml

-pre-init:

init:

check:

BUILD FAILED
C:\Sun\SDK\domains\domain1\applications\j2ee-modules\javaeetutorial5\examples\bp
-project\app-server-ant.xml:419: Property javaee.server.passwordfile not specifi
ed. Please
            specify the javaee.server.passwordfile property in 'bp-project/build
.properties'.
            You will also need to ensure that the passwordfile is present and co
ntains
            AS_ADMIN_PASSWORD.

Total time: 0 seconds
C:\Sun\SDK\domains\domain1\applications\j2ee-modules\javaeetutorial5\examples\we
b\bookstore1>

**********************************************************************************************

I am using netbeans with glassfish. can anyone please help?
[Message sent by forum member 'hellofadude' (hellofadude)]

http://forums.java.net/jive/thread.jspa?messageID=359122