I will take a look at the this evening.

-S

On 11/9/2011 2:57 PM, Tim Puchala wrote:
Are you doing Sang’s course?
Have you run the project I’m talking about?
Sang should be addressing these issues in the lesson.
I have already tried putting the jar file in the library, but as I said Sang should have told us about that.
*From:* Divya <mailto:[email protected]>
*Sent:* Tuesday, November 08, 2011 10:41 PM
*To:* [email protected] <mailto:[email protected]>
*Subject:* Re: [jpassion_web] Lesson 13->SQL Tags
Hi Tim,
Database Driver classes are available in debry jar.
You can do it in many ways.
1. If you are using Maven add jar as dependency in pom.xml.
2. If you are using build.xml/jboss.xml then use classpath tag with property attribute and specify jar path there 3. Easiest way : just place the jar file in the same folder where java classes will be compiled. 4. If 3. does not work, also add the path of jar (complete path upto folder containing jar) to Environmental variables' Path/classpath variables. - For windows.
    If you are using any version of Linux/Unix export the jar path.
5. If you are using eclipse IDE or any other IDE than simply import the database jar to add it to your project.

Still any confusion, mail me back.

On Wed, Nov 9, 2011 at 4:05 AM, Tim Puchala <[email protected] <mailto:[email protected]>> wrote:

    I can’t get the sql stuff to work despite making sure the client
    driver is set to org.apache.derby.jdbc.ClientDriver and url set to
    jdbc:derby://localhost:1527/sample;create=true
    The loading page 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”
    Now the lesson notes surely should address how one sets up the
    classpath or classloader if one has to do this. I have tried
    putting a derbyclient.jar in the library section, but this doesn’t
    work.
    Anybody? This is quite insane. I’ve been stuck on this for
    absolutely ages now.
    P.S. I only want to hear from people following Sang’s course.I get
    bizarre replies from people who don’t seem to know anything about
    Sang’s course and they aren’t even reading the question before
    replying.
-- You received this message because you are subscribed to the Google
    Groups "JPassion.com: Web Programming Basics" group.
    To post to this group, send email to [email protected]
    <mailto:[email protected]>.
    To unsubscribe from this group, send email to
    mailto:jpassion_web%[email protected].
    For more options, visit this group at
    http://groups.google.com/group/jpassion_web?hl=en.




--
Thanks & Regards,
Divya
"/There isn't a person anywhere who isn't capable of doing more than he thinks he can./"


_______________________________________________
Support mailing list
[email protected]
http://javapassion.com/mailman/listinfo/support_javapassion.com


--
-------------------------------------------------------------------
             Sang Shin, [email protected]
          Founder and Chief Instructor of JPassion.com
        JRebel/LiveRebel Evangelst from ZeroTurnaround.com
http://JPassion.com/portal/instructors/sang-shin-schedule (Bio)
          http://www.javapassion.com/webinars (Webinars)
         http://www.linkedin.com/in/javapassion (Linkedin)
          http://twitter.com/javapassion (Tweeter)
            Life is worth living... with Passion!
----------------------------------------------------------------------

--
You received this message because you are subscribed to the Google Groups 
"JPassion.com: Web Programming Basics" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jpassion_web?hl=en.

Reply via email to