Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #14954

Re: [newbie] Netbeans and Oracle 11g jdbc driver

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: [newbie] Netbeans and Oracle 11g jdbc driver
Date 2012-05-31 06:44 -0700
Organization A noiseless patient Spider
Message-ID <jq7sk8$dr4$1@dont-email.me> (permalink)
References <b68f8fb6-8853-4c25-a5fe-0352562535f4@googlegroups.com>

Show all headers | View raw


On 5/31/2012 12:41 AM, zzzato@gmail.com wrote:
> http status 500
> no suitable driver found for jdbc/qweb
>
> Jdbc driver is present in glassfish\domains\domain1\lib


I guess Oracle might be shipping their own drivers with Glassfish now, 
but I'd also be kinda surprised, since drivers need to be matched to an 
installation, and are frequently updated.  Just for kicks, please 
download a new driver that matches your Oracle db version and such-like. 
Searching the web for "Oracle jdbc", I find this:

<http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html>


>
> I tried to add c:\app......\dbhome_1\jdbc\lib in prj-options-lib: non changes.
>
> There are other settings about jdbc driver? And, WHERE?


On your Projects tab, expand your web app project.  There are items like 
Web Pages, Source Packages, Test Packages, Libraries, etc.  Right click 
on Libraries, choose "Add Folder/Jar..." and browse to the Oracle driver 
you just downloaded.

For example, for my web app I'm looking at right now, I had to add both 
derby.jar and mysql-connector-java-5.1.20-bin.jar (both are other 
vendor's database drivers).  Your IDE doesn't know about extra .jar 
files unless you point it at the Jar file.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[newbie] Netbeans and Oracle 11g jdbc driver zzzato@gmail.com - 2012-05-31 00:41 -0700
  Re: [newbie] Netbeans and Oracle 11g jdbc driver markspace <-@.> - 2012-05-31 06:44 -0700
    Re: [newbie] Netbeans and Oracle 11g jdbc driver "John B. Matthews" <nospam@nospam.invalid> - 2012-05-31 14:05 -0400
      Re: [newbie] Netbeans and Oracle 11g jdbc driver Alberto Salvati <zzzato@gmail.com> - 2012-05-31 23:30 -0700
        Re: [newbie] Netbeans and Oracle 11g jdbc driver Lew <lewbloch@gmail.com> - 2012-06-01 11:25 -0700
    Re: [newbie] Netbeans and Oracle 11g jdbc driver Alberto Salvati <zzzato@gmail.com> - 2012-05-31 23:26 -0700
      Re: [newbie] Netbeans and Oracle 11g jdbc driver Lew <lewbloch@gmail.com> - 2012-06-01 11:24 -0700

csiph-web