I tried putting the mapped-name tag in like so in my ejb-jar.xml file

            <resource-ref>
                database reference
                <res-ref-name>jdbc/DS</res-ref-name>
                <mapped-name>java:/DS</mapped-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
            </resource-ref>

and removed all the resource-ref tags from the jboss.xml file and got this 
message:

Failed to parse source: cvc-complex-type.2.4.a: Invalid content was found 
starting with element 'res-type'. One of 
'{"http://java.sun.com/xml/ns/javaee":injection-target}' is expected. @ 
*unknown*[39,27]

It seems like it is complaining about the line right after I put the 
<mapped-name> tag in.

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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to