[quote="Roma"] [EMAIL PROTECTED] wrote:
Where does JBoss get the database name, driver, login/pass for my (PostgreSQL) database? Don't I have to configure a JNDI datasource? (end of quote) I figured it out (should read more before I ask [Wink] ) I had to create a database configuration file in the deploy directory (examples can be found in <jboss-home>/docs/examples/jca) and set the dsJndiName module option to this datasource name. The file should look something like this: <datasources> <local-tx-datasource> <jndi-name>MyDS</jndi-name> <connection-url> jdbc:postgresql://localhost:5432/database-name </connection-url> <driver-class>org.postgresql.Driver</driver-class> <user-name>username</user-name> <password>password</password> </local-tx-datasource> </datasources> -The file-name has to end with the suffix "-ds.xml". -The database driver should be placed in <jboss-home>/server/<configuration>/lib _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=625#625 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user
