For PostgreSql, which is what I am using in the Jboss example. I created a file
called portal-hibernate-ds.xml although I am pretty sure as was hinted to about
I could have, and I should have, called it portal-postgresSQL-ds.xml. And it
worked great.. So as long as the file looks like portal-*-ds.xml you should be
all set.
I also put the postgresql-8.0-311.jdbc3.jar file (there might be a newer
version) in the C:\jboss-portal-2.0-jboss-4.0.2\server\default\lib directory
and everything worked great..
Here is a copy of my portal-hibernate-ds.xml file if that is any help. Maybe
there are other PostgreSql users out there..
<?xml version='1.0' encoding='utf-8'?>
<local-tx-datasource>
<jndi-name>PortalDS</jndi-name>
<connection-url>jdbc:postgresql:jbossportal</connection-url>
<driver-class>org.postgresql.Driver</driver-class>
<user-name>portal</user-name>
portalpassword
</local-tx-datasource>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901207#3901207
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901207
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user