Thank you so much for your reply! Following your instruction, I added the jar file to the library and rebuild and run, still, 500 error:
--------------------------- exception javax.servlet.ServletException: In <driver>, invalid driver class name: "java.lang.ClassNotFoundException: " root cause java.lang.ClassNotFoundException: ---------------------------- You did mention redeploy. I don't know how to do it because I never seemed have to so far? All I did was, after adding the jar to the library, I ran 'Clean and Build', then 'Run'. The error is still there ... More suggestions? Thanks again, Cynthia On Sun, Sep 13, 2009 at 1:06 PM, diegosouza.br <diegosouza...@gmail.com> wrote: > > You have to provide the Derby Driver. > Right click your project, options, libraries, add jar/folder... then > go to: glassfish-2.1-folder/javadb/lib/derbyclient.jar > Redeploy the app and your problem should be solved. > > > On Sep 13, 2:10 pm, Cynthia Qin <cyn...@gmail.com> wrote: >> Hello all, >> >> I am following JSTL Examples Exercise 3: SQL tags. I created table >> MYTABLE via Netbeans 6.7.1 and can see it from the >> servers.Databases.jdbc:derby://localhost:1527/sample [app on APP]. >> But got '500' error when run 'Query Iterate'. I can't seem to follow >> the instructions on the first page after Run the JSTLExample. It says >> - >> >> NOTE: you will need to have the DataBase Driver classes available to >> your server's classloader or in your server's CLASSPATH at startup. >> >> Can anyone explain where is the "server's classloader" and how to >> modify the "server's CLASSPATH"? >> >> I am using GlassFish v2.1. >> >> Thank you very much! >> >> Cynthia > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---