Subject | RE: [Firebird-Java] Cannot load jdbc.FBDriver |
---|---|
Author | Udas, Preeti |
Post date | 2006-03-03T10:36:33Z |
Hi,
I guess You may need to add the Driver jars to lib directory of your application under Web server.I am using Tomcat so I put it in
D:\Tomcat 5.5\webapps\YOURAPPLICATIONFOLDER\WEB-INF\lib
This is so that tomcat can find the drivers when it runs your JSPs.
Hope that helps.
________________________________
From: Firebird-Java@yahoogroups.com [mailto:Firebird-Java@yahoogroups.com] On Behalf Of narengokal
Sent: Freitag, 3. März 2006 10:33
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] Cannot load jdbc.FBDriver
Hi,
I have just started working with Firebird. I configured the DB and
created tables etc.
I installed Jaybird and ran a Java application. This worked fine.
However, when I try and use HTTP servlets, I get an error, that it
cannot load jdbc.FBDriver
I cannot understand why, becuase if I load the driver without using
HTTP and my webserver, it works fine, but when i try and use it for
the web, it cannot load the driver. I call Class.forName
("org.firebirdsql....") in the init function of my .java program.
When compiling, I have all my jar files in the classpath.
Could someone please help me.
Thanks alot
Naren.
SPONSORED LINKS
Basic programming language <http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=bnac3LCZpttb3c9FvbVU-A> Computer programming languages <http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=1Czd2hKCO9_u4KVZQperFQ> Programming languages <http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=TyHGCjod4YOKITrSq1xccQ>
Java programming language <http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=PZAexF9LyXpKb3HDJSlB1g>
________________________________
YAHOO! GROUPS LINKS
* Visit your group "Firebird-Java <http://groups.yahoo.com/group/Firebird-Java> " on the web.
* To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com <mailto:Firebird-Java-unsubscribe@yahoogroups.com?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
________________________________
[Non-text portions of this message have been removed]
I guess You may need to add the Driver jars to lib directory of your application under Web server.I am using Tomcat so I put it in
D:\Tomcat 5.5\webapps\YOURAPPLICATIONFOLDER\WEB-INF\lib
This is so that tomcat can find the drivers when it runs your JSPs.
Hope that helps.
________________________________
From: Firebird-Java@yahoogroups.com [mailto:Firebird-Java@yahoogroups.com] On Behalf Of narengokal
Sent: Freitag, 3. März 2006 10:33
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] Cannot load jdbc.FBDriver
Hi,
I have just started working with Firebird. I configured the DB and
created tables etc.
I installed Jaybird and ran a Java application. This worked fine.
However, when I try and use HTTP servlets, I get an error, that it
cannot load jdbc.FBDriver
I cannot understand why, becuase if I load the driver without using
HTTP and my webserver, it works fine, but when i try and use it for
the web, it cannot load the driver. I call Class.forName
("org.firebirdsql....") in the init function of my .java program.
When compiling, I have all my jar files in the classpath.
Could someone please help me.
Thanks alot
Naren.
SPONSORED LINKS
Basic programming language <http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=bnac3LCZpttb3c9FvbVU-A> Computer programming languages <http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=1Czd2hKCO9_u4KVZQperFQ> Programming languages <http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=TyHGCjod4YOKITrSq1xccQ>
Java programming language <http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&c=4&s=126&.sig=PZAexF9LyXpKb3HDJSlB1g>
________________________________
YAHOO! GROUPS LINKS
* Visit your group "Firebird-Java <http://groups.yahoo.com/group/Firebird-Java> " on the web.
* To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com <mailto:Firebird-Java-unsubscribe@yahoogroups.com?subject=Unsubscribe>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
________________________________
[Non-text portions of this message have been removed]