Hello Cynthia, I haven't created anything to run the project. By The way I haven't seen any DataSource file config. Are you sure you're deploying in the right server? Have you ran another project with a Derby connection?
On Sep 18, 12:36 am, Cynthia Qin <cyn...@gmail.com> wrote: > Hello Diego, > > I tried everything you showed me but still no luck.. 500 error, classNotFound. > > My question to you now is, since my project is working in your > environment, did you create a datasource separately for this project? > > Thanks again, > Cynthia > > On Mon, Sep 14, 2009 at 10:49 PM, Cynthia Qin <cyn...@gmail.com> wrote: > > Thank you Diego, > > > It is still not working here ... Right click the project I don't have > > the choice of 'Resolve Reference Problem'. I followedI think it must > > be some settings somewhere that I don't know about. I think I'll try > > to recreate the project using Netbeans 6.1. > > > Thanks, > > Cynthia > > > On Sun, Sep 13, 2009 at 11:04 PM, Diego Souza <diegosouza...@gmail.com> > > wrote: > >> Here you are the screenshots. The project runs fine. > > >> On Mon, Sep 14, 2009 at 12:47 AM, Cynthia Qin <cyn...@gmail.com> wrote: > >>> Here it is ... > > >>> On Sun, Sep 13, 2009 at 4:17 PM, diegosouza.br <diegosouza...@gmail.com> > >>> wrote: > > >>>> Redeploy I mean when you go to Services tab, servers, glassfish, app, > >>>> web app, right click the selected app and UNDEPLOY. But usually the > >>>> 'Clean and Build' & 'Run' solve most problems. > > >>>> Well, a needed class cannot be found when you run the app > >>>> (java.lang.ClassNotFoundException). > > >>>> - Have you ever worked with JSTL? > >>>> - Are the JSTL jars included in the project / application server? > >>>> - Have you declared <%@ taglib prefix="c" > >>>> uri="http://java.sun.com/jsp/jstl/core" %> in the beginning of the jsp > >>>> file? > > >>>> Check the topics above. > > >>>> On Sep 13, 5:33 pm, Cynthia Qin <cyn...@gmail.com> wrote: > >>>>> 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 > > >> -- > >> Diego Souza > >> ---------------------------- > >> Cel: (13) 9102-9980 > >> Skype: diegosouza.br > >> GTalk: diegosouza...@gmail.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---