Hi!! I've a problem. i'm developing an application with Google Web Toolkit run on server JBoss 4.2.2. I'm using a DataSource, and it´s good. The problem is that i modify the file web.xml to add the datasource:
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> Conecta con la BD oracle <servlet-name>ComunicaBD</servlet-name> <servlet-class>org.yournamehere.server.ComunicaBDImpl</servlet-class> <servlet-mapping> <servlet-name>ComunicaBD</servlet-name> <url-pattern>/ComunicaBD</url-pattern> </servlet-mapping> <session-config> <session-timeout> 30 </session-timeout> </session-config> <welcome-file-list> <welcome-file>welcomeGWT.html</welcome-file> </welcome-file-list> <jboss-web> <context-root>Asignacion</context-root> </jboss-web> <resource-ref> <res-ref-name>portalDS</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> </web-app> the lines in bold are new. If i remove this lines, the aplication runs, but if i put it, the server don't executes the aplication. This is wrong?? Help and Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243710#4243710 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243710 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user