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 
Sent: Tuesday, November 08, 2011 10:41 PM
To: [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]> 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].
  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. "

-- 
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