Arsen Torbarina [http://community.jboss.org/people/jonnieZG] created the discussion
"Application-specific Datasources?" To view the discussion, visit: http://community.jboss.org/message/577656#577656 -------------------------------------------------------------- Hi everyone! Does anyone know how to define an application-specific datasource on JBoss 5.1? Meaning: there's a Seam WAR application, let's call it "SecretApp" that uses a datasource, let's say "SecretAppDatasource". I would like that datasource to be available only to the SecretApp. Other applications deployed on that server should not be allowed to fetch and use that datasource. I would rather *not* use the application-supplied parameters (such as from getConnection(user, pwd)). There's a page here http://docs.jboss.org/jbossweb/latest/jndi-datasource-examples-howto.html http://docs.jboss.org/jbossweb/latest/jndi-datasource-examples-howto.html meant to explain such a case (see heading 2b), but I can't quite figure out how to make it work with the Seam and Hibernate/JPA/JTA. I am using Oracle 10g and the app is running on a cluster, if that matters... I am really stuck here, so I would really appreciate if someone helped me here! Thanks! Jonnie -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/577656#577656] Start a new discussion in Datasource Configuration at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
