4 Replies Latest reply on Nov 12, 2002 12:02 AM by koltar

    JBoss JSP Datasource XML Configuration

    koltar

      Its not working!

      I created a mysite-service.xml and only changed the below

      jdbc/mysite


      <config-property name="ConnectionURL" type="java.lang.String">jdbc:postgresql://localhost:5432/ mysite</config-property>
      <config-property name="DriverClass" type="java.lang.String">org.postgresql.Driver</config- property>
      <!--set these only if you want only default logins, not through JAAS -->
      <config-property name="UserName" type="java.lang.String">myuser</config-property>
      <config-property name="Password" type="java.lang.String">mypw</config-property>




      I copied in the pgjdbc2.jar into the default/lib, the mysite- service.xml is located in the default/deploy

      What else do I need to do to get my JSPs to be able to see jdbc/mysite? It is a Datasource I have working in tomcat standalone but fails in jboss any suggestions?

      In Tomcat server.xml has a resource created, how does JBoss know about mysite-service.xml?

      Thanks in advance!