Skip site navigation (1) Skip section navigation (2)

Re: problen in starting the naming service using the JDBC driver!

From: Barry Lind <barry(at)xythos(dot)com>
To: Namrata <nlabade(at)nulinkinc(dot)com>
Cc: djbcpg <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: problen in starting the naming service using the JDBC driver!
Date: 2001-07-13 16:46:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc

The problem is that you are using a driver compiled with a 1.3 JDK, but 
running the code against a 1.2 JDK.  You either need to get the correct 
version of the driver, or upgrade you runtime to use 1.3.


Namrata wrote:

> Hi there,
> I am trying to start the naming service using the visibroker. I want to use the postgres JDBC Driver with naming service JDBC adapter.
> I did necessary changes in the property file for naming service, changes done are specific to postgres JDBC driver.
> I am getting the error while starting the naming service as given below.
> --------------------------------------------------------------------------
> Exception in thread "main" java.lang.NoSuchMethodError: java.lang.Runtime: method addShutdownHook(Ljava/lang/Thread;)V not found
> 	at org.postgresql.core.ConnectionHook.<init>(
> 	at <Unloaded Method>
> 	at <Unloaded Method>
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName0(Compiled Code)
> 	at java.lang.Class.forName(Compiled Code)
> 	at com.inprise.vbroker.naming.JDBCConnection.<init>(Compiled Code)
> 	at com.inprise.vbroker.naming.JDBCFactory.<init>(
> 	at com.inprise.vbroker.naming.FactoryBuilder.<init>(
> 	at com.inprise.vbroker.naming.FactoryBuilder.<init>(
> 	at com.inprise.vbroker.naming.ExtFactory.main(
> ----------------------------------------------------------------------------
> I am not getting that what should be done to make naming service start with postgres JDBC Driver. Please help me on this.
> Thanks,
> Namrata.
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

pgsql-jdbc by date

Next:From: Peter EisentrautDate: 2001-07-13 23:41:25
Subject: Re: DatabaseMetaData.supportsCatalogsInXXX()
Previous:From: Barry LindDate: 2001-07-13 16:44:58
Subject: Re: Not yet implemented?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group