You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by faisal khan <fa...@yahoo.co.uk> on 2004/04/17 15:45:41 UTC

juddi installation

Hi All,
 
I set up juddi . when i run the happyjuddi page through tomcat i only found following error
 
DB connection was not aquired. (Cannot create PoolableConnectionFactory)
- SELECT COUNT(*) FROM PUBLISHER failed (null)

can anybody help me in this regard.
 
regards
 
Faisal Khan

		
---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now

Re: juddi installation

Posted by Jeff Lansing <je...@polexis.com>.
Or it could be telling you that your juddi user doesn't have the right access
permission to the database.

Jeff

Steve Viens wrote:

> faisal khan wrote:
>
> > I set up juddi . when i run the happyjuddi page through tomcat i only
> > found following error
> >
> > DB connection was not aquired. (Cannot create PoolableConnectionFactory)
> > - SELECT COUNT(*) FROM PUBLISHER failed (null)
> >
> > can anybody help me in this regard.
>
> It's telling you that your JDBC DataSource is not set up correclty on
> Tomcat.  Check the Tomcat documentation (for the Tomcat version you're
> running) at the Jakarta web site for information on how to do this:
>
>   http://jakarta.apache.org/tomcat/
>
> You should see this when your DataSource is setup correctly:
>
> + Got a JNDI Context!
> + Got a JDBC DataSource (dsname=java:comp/env/jdbc/juddiDB)
> + Got a JDBC Connection!
> + SELECT COUNT(*) FROM PUBLISHER = 1
>
> Steve


Re: juddi installation

Posted by Steve Viens <st...@viens.net>.
faisal khan wrote:

> I set up juddi . when i run the happyjuddi page through tomcat i only 
> found following error
>  
> DB connection was not aquired. (Cannot create PoolableConnectionFactory)
> - SELECT COUNT(*) FROM PUBLISHER failed (null)
> 
> can anybody help me in this regard.

It's telling you that your JDBC DataSource is not set up correclty on 
Tomcat.  Check the Tomcat documentation (for the Tomcat version you're 
running) at the Jakarta web site for information on how to do this:

  http://jakarta.apache.org/tomcat/

You should see this when your DataSource is setup correctly:

+ Got a JNDI Context!
+ Got a JDBC DataSource (dsname=java:comp/env/jdbc/juddiDB)
+ Got a JDBC Connection!
+ SELECT COUNT(*) FROM PUBLISHER = 1

Steve