[jboss-user] [JBoss Portal] - Re: How can i access my own datasource in portlet jsp

vantek do-not-reply at jboss.com
Thu Mar 26 04:25:30 EDT 2009


I defined my datasource in a "extranet-ds.xml" file, deployed in the deploy folder.

My DS is set as : 


  | <datasources>
  |    <local-tx-datasource>
  |     <jndi-name>jdbc/TestIntranet</jndi-name>
  |     <connection-url>jdbc:postgresql://192.168.10.108:5432/Intranet</connection-url>
  |     <driver-class>org.postgresql.Driver</driver-class>
  |     <user-name>postgres</user-name>
  |     <password><![CDATA[]]></password>
  |    </local-tx-datasource>
  |    
  | </datasources>
  | 

And it works fine!

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221170#4221170

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221170



More information about the jboss-user mailing list