Hello, I need to deploy a WAR application. I have created a deployment plan, but I can't find my mistake. When I try to deploy my application I get the exception:
10:08:11,671 ERROR [PortletInvokerImpl] PortletInvokerImpl.render() - Error while dispatching portlet. javax.portlet.PortletException ... My deployment plan (geronimo-web.xml) is: <web-app xmlns="http://geronimo.apache.org/xml/ns/web-1.0" xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.0" xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.0" xmlns:security="http://geronimo.apache.org/xml/ns/security-1.0" configId="com/lito/test00" parentId="geronimo/j2ee-server/1.0/car"> <context-root>lito</context-root> <context-priority-classloader>true</context-priority-classloader> <naming:resource-ref> <naming:ref-name>SWITCH_Con</naming:ref-name> <naming:resource-link>jdbc/SWITCH_Con</naming:resource-link> </naming:resource-ref> <naming:resource-ref> <naming:ref-name>SWITCH_Conn</naming:ref-name> <naming:resource-link>jdbc/SWITCH_Conn</naming:resource-link> </naming:resource-ref> </web-app> My WAR web.xml file is: <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app id="WebApp_ID"> <display-name>SWITCH</display-name> <context-param> <param-name>com.ibm.ws.jsf.JSP_UPDATE_CHECK</param-name> <param-value>true</param-value> <description>Description</context-param> <context-param> <param-name>com.ibm.ws.jsf.LOAD_FACES_CONFIG_AT_STARTUP</param-name> <param-value>true</param-value> <description></description> </context-param> <context-param> <param-name>crystal_image_uri</param-name> <param-value>crystalreportviewers11</param-value> </context-param> <listener> <listener-class>com.sun.faces.config.ConfigureListener</listener-class> </listener> <servlet id="Servlet_1144596880843"> <servlet-name>JS Resource Servlet</servlet-name> <servlet-class> com.ibm.faces.webapp.JSResourceServlet</servlet-class> <load-on-startup>-1</load-on-startup> </servlet> A lot more of <servlet></servlet> tags.... <servlet-mapping> <servlet-name>JS Resource Servlet</servlet-name> <url-pattern>/.ibmjsfres/*</url-pattern> </servlet-mapping> A lot more of <servlet-mapping></servlet-mapping> tags.... <welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> <welcome-file>default.html</welcome-file> <welcome-file>default.htm</welcome-file> <welcome-file>default.jsp</welcome-file> </welcome-file-list> <error-page> <error-code>404</error-code> <location>/error.jsp</location> </error-page> <taglib> <taglib-uri>http://jakarta.apache.org/taglibs/datetime-1.0</taglib-uri> <taglib-location>/WEB-INF/lib/taglibs-datetime.jar</taglib-location> </taglib> <taglib> <taglib-uri>http://jakarta.apache.org/taglibs/string-1.0.1</taglib-uri> <taglib-location>/WEB-INF/lib/taglibs-string.jar</taglib-location> </taglib> <taglib> <taglib-uri>http://jakarta.apache.org/taglibs/utility</taglib-uri> <taglib-location>/WEB-INF/lib/utility.jar</taglib-location> </taglib> <taglib> <taglib-uri>http://jakarta.apache.org/taglibs/mailer-1.1</taglib-uri> <taglib-location>/WEB-INF/lib/taglibs-mailer.jar</taglib-location> </taglib> <taglib> <taglib-uri>/crystal-tags-reportviewer.tld</taglib-uri> <taglib-location>/WEB-INF/crystal-tags-reportviewer.tld</taglib-location> </taglib> <resource-ref id="ResourceRef_1145807649406"> <description>Auto Generated - WDO Datasource connection to SWITCH</description> <res-ref-name>SWITCH_Con</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref> <resource-ref id="ResourceRef_1155302136328"> <description>Auto Generated - WDO Datasource connection to SWITCH</description> <res-ref-name>SWITCH_Conn</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> <res-sharing-scope>Shareable</res-sharing-scope> </resource-ref> <login-config> <auth-method>UNSPECIFIED</auth-method> </login-config> </web-app> Can someone help me to create a valid deployment plant for this specific application please??? Thanks a lot. -- View this message in context: http://www.nabble.com/Error-while-deploying-WAR-application-tf2091788.html#a5765932 Sent from the Apache Geronimo - Dev forum at Nabble.com.
