[jboss-user] [Beginner's Corner] - Re: h2console.war and postgreSQL

harikris do-not-reply at jboss.com
Tue Nov 20 22:25:56 EST 2012

harikris [https://community.jboss.org/people/harikris] created the discussion

"Re: h2console.war and postgreSQL"

To view the discussion, visit: https://community.jboss.org/message/777611#777611

Hi Wold-Dieter,

Thanks for the link to the source. I created the h2console from the soure and this time, i placed the postgres JDBC driver jar file in the WEB-INF/lib folder. Now, i am able to use the h2console to connect to postgresql database.

The h2console app that ships with the quickstart does not have any library jars in the WEB-INF/lib folder. Instead it specifies the dependencies in the META-INF/MANIFEST.mf file. I am positive both the h2 and postgres drivers are loaded while the JBoss starts - i can see the logs. But for some reason, this app only recognizes the h2 driver and fails to recognize the postgres driver. Looking at the source file, i am fairly positive that there is no "hardcoding" anywhere in there. So, it's still a mystery to me.

But thanks to the source, i am able to create a version that is functional.
And thanks also for suggesting an alternative to h2console tool - SQUirrel.

Apppreciate your pointers and tips.


Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121120/7b93b7f7/attachment.html 

More information about the jboss-user mailing list