JBoss Community

Re: Errors configuring web.xml and jboss-web.xml

created by Stephen Coy in Beginner's Corner - View the full discussion

Carey Brown wrote:

 

...

 

Here's what I have:

 

web.xml

 

<web-app version="2.4"

    xmlns="http://java.sun.com/xml/ns/j2ee"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd">

...

    <resource-ref>

        <res-ref-name>sybaseDS</res-ref-name>

        <res-type>javax.sql.sybaseDS</res-type>

        <res-auth>Container</res-auth>

        <res-sharing-scope>Shareable</res-sharing-scope>

    </resource-ref>

</web-app>

...

 

This should be:

 

<res-type>javax.sql.DataSource</res-type>

 

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community