On Jun 15, 10:41 pm, "Preet K. Sekhon" <pksek...@gmail.com> wrote:
>  Hi all,
>
> I am not able to run the bookstore5 sample application in Netbeans 6.8. It
> fails to make connection to the database. I have double checked driver,
> passwords, and database. Wondering if some one else had same problem. I am
> able to run bookstore1, bookstore2 and bookstore3 examples.
> I am finished sending all other assignements for this class. I am stuck at
> this one. If some one can suggest what could be going wrong.
Try first to run the bookstore4 sample. It has more or less the same
settings as bookstore5.

Try to check the project.properties file accessible from Files frame,
bookstore5 -> nbproject.
Especially the j2ee.platform, javac.source, javac.target variables.
You may try to set them respectively to 1.5, 1.6, 1.6 (assuming jdk 6
is installed).
Check also the j2ee.server.type. It should probably be gfv3ee6.
Next, check that the javadb server is started and that the connection
is to jdbc:derby://localhost:1527/sample [app on APP] and that the
book table exists.
Save the file.
Last, run the project, or build and clean, then run the project.

And if all fails, paste in the forum the exact error message from
glassfish.

Michèle Garoche

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to