Hi;

 

I have tried the following in context.xml (in webapps/store/WEB-INF and
META-INF):

 

<Context path="/abc" docBase="store" debug="5" reloadable="true"
crossContext="true">

      <Resource name="jdbc/storeDB" auth="Container"
type="javax.sql.DataSource"

            username="sa" password="*****"
driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"

 
url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=StoreTest;Select
Method=cursor"

            maxActive="8" maxIdle="4"/>

</Context>

 

But http://localhost:8080/abc/ fails while http://localhost:8080/store/
works. What am I doing wrong?

 

Also, does context.xml go in WEB-INF or META-INF?

 

Thanks - dave

 

 

Reply via email to