Обсуждение: Driver Question

Поиск
Список
Период
Сортировка

Driver Question

От
"Corbett, James"
Дата:
Hello all:
 
My first official message so please be gentle with me.
 
I’m attempting to make a new JDBC Connection Profile via my Eclipse IDE. Apparently it’s looking for the following jar in the driver wizard:
 
postgresql-8.1-404.jdbc2.jar.
 
However when I burrow down to locate the driver in my Jboss server as indicated below I only see the following.
 
C:\APPS\lse_jboss-4.2.3.GA-1.1\server\default\lib\postgresql-9.0-801.jdbc4.jar
 
 
Both files do appear in the list but Eclipse still moans. What should I do?
 
Jim
Please note: Throughout the months of July, August and September, I will be away from the office each Monday and Friday.
 
Jim Corbett
 
Programmer / Analyst
WCAG 2.0 AA Assessor / JAWS SME
 
Business and Enterprise Solutions Directorate (BESD).
Business Registration, Infrastructure Support and Portals (BRISP)
Canada Revenue Agency | Agence du revenu du Canada
Room: H4-202
875 Heron Road, Ottawa ON  K1A 0L5
James.Corbett@CRA-ARC.GC.CA
Telephone | Téléphone 613) 954-9154
Facsimile | Télécopieur (613) 941-4932
Government of Canada | Gouvernement du Canada
 
“Quid, Me Anxius Sum”
 
Alfred E. Neuman
 
 
 

Re: Driver Question

От
Luca Ferrari
Дата:
On Tue, Jul 16, 2013 at 5:36 PM, Corbett, James
<James.Corbett@cra-arc.gc.ca> wrote:
> Hello all:
>
> My first official message so please be gentle with me.
>
> I’m attempting to make a new JDBC Connection Profile via my Eclipse IDE.
> Apparently it’s looking for the following jar in the driver wizard:
>
> postgresql-8.1-404.jdbc2.jar.
>
> However when I burrow down to locate the driver in my Jboss server as
> indicated below I only see the following.
>
> C:\APPS\lse_jboss-4.2.3.GA-1.1\server\default\lib\postgresql-9.0-801.jdbc4.jar


You have to edit the driver definition removing the 8.1 jar file from
the "JAR List" tab leaving only the recent driver.
I tried it with 9.1-902.jbdc4.jar and Eclipse Juno. I don't know why
Eclipse asks for such an old driver, I suppose is something not update
in the Eclipse pre-built configuration.

Luca