[jboss-user] [Beginner's Corner] - problem with deploying application using JDBC postgreSQL driver

darko Grozdanovski do-not-reply at jboss.com
Fri Oct 29 04:48:36 EDT 2010

darko Grozdanovski [http://community.jboss.org/people/darko1002001] created the discussion

"problem with deploying  application using JDBC postgreSQL driver"

To view the discussion, visit: http://community.jboss.org/message/568946#568946

hi. i am trying to deploy this webservice on a local jboss server running windows xp.

 http://code.google.com/p/transitdatafeeder/w/list http://code.google.com/p/transitdatafeeder/w/list

i have jboss-5.1.0.GA unpacked and able to run before i deploy the app with all the default configuration.

i have the postgreSQL version 8.3 installed with the JDBC driver and 
 the driver jar set in the CLASSPATH in the env variables and also the 
 postgresql-8.4-701.jdbc3.jar copied into the lib folders of jboss. i 
 have made a database called feedbase in postgreSQL which is needed for the project to deploy.
the database tables and everything else should be done by the app on the first run but it seems there is a problem creating the initial tables.
i wonder if it is any additional setup i need to do for postgreSQL driver to work with JBoss and also if there is something i need to do to configure hibernate.

there are a couple of errors in the log files that prevent the 
 successful startup of the service. this is where they start:
 2010-10-28 17:50:04,656 INFO 
 [org.hibernate.impl.SessionFactoryObjectFactory] (main) Bound factory 
 to JNDI name: persistence.unit:unitName=#datafeeder 
 2010-10-28 17:50:04,656 WARN 
 [org.hibernate.impl.SessionFactoryObjectFactory] (main) InitialContext 
 did not implement EventContext 
 2010-10-28 17:50:04,671 INFO 
 [org.hibernate.tool.hbm2ddl.SchemaValidator] (main) Running schema 
 2010-10-28 17:50:04,671 INFO 
 [org.hibernate.tool.hbm2ddl.SchemaValidator] (main) fetching database 
 2010-10-28 17:50:04,906 INFO 
 [org.hibernate.tool.hbm2ddl.DatabaseMetadata] (main) table not found: 
 2010-10-28 17:50:04,921 ERROR 
 [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) 
 Error installing to Start: name=persistence.unit:unitName=#datafeeder 
 javax.persistence.PersistenceException: [PersistenceUnit: datafeeder] 
 Unable to build EntityManagerFactory 
here are both of the logs
appreciate any help you can give me. 

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/20101029/b7fa95ac/attachment.html 

More information about the jboss-user mailing list