[jboss-user] [Installation, Configuration & Deployment] - Issue deploying web app - I am a newbie
dhaval_shah
do-not-reply at jboss.com
Thu Jul 5 07:26:20 EDT 2007
Hi all
I have a web app which is deployed on Tomcat 5 which I'm trying to deploy to JBoss 4.2.0 without much luck. It's a war file unpacked so all it contains is a series of jsp pages and the following:
web.xml in the web-inf folder
| <?xml version="1.0" encoding="ISO-8859-1"?>
|
| <!DOCTYPE web-app
| PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
| "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
|
| <web-app>
| <servlet>
| <servlet-name>CewolfServlet</servlet-name>
| <servlet-class>de.laures.cewolf.CewolfRenderer</servlet-class>
| </servlet>
| <servlet>
| <display-name>
| Apache-Axis Servlet</display-name>
| <servlet-name>AxisServlet</servlet-name>
| <servlet-class>
| org.apache.axis.transport.http.AxisServlet</servlet-class>
| </servlet>
| <servlet>
| <display-name>
| Axis Admin Servlet</display-name>
| <servlet-name>AdminServlet</servlet-name>
| <servlet-class>
| org.apache.axis.transport.http.AdminServlet</servlet-class>
| <load-on-startup>100</load-on-startup>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>CewolfServlet</servlet-name>
|
| <url-pattern>/cewolf/*</url-pattern>
| </servlet-mapping>
| <servlet-mapping>
| <servlet-name>AxisServlet</servlet-name>
| <url-pattern>/servlet/AxisServlet</url-pattern>
| </servlet-mapping>
| <servlet-mapping>
| <servlet-name>AxisServlet</servlet-name>
| <url-pattern>*.jws</url-pattern>
| </servlet-mapping>
| <servlet-mapping>
| <servlet-name>AxisServlet</servlet-name>
| <url-pattern>/services/*</url-pattern>
| </servlet-mapping>
| <servlet-mapping>
| <servlet-name>AdminServlet</servlet-name>
| <url-pattern>/servlet/AdminServlet</url-pattern>
| </servlet-mapping>
|
| <resource-ref>
| <description>
| Resource reference to a factory for java.sql.Connection
| instances that may be used for talking to a particular
| database that is configured in the server.xml file.
| </description>
| <res-ref-name>
| jdbc/RPCConnection
| </res-ref-name>
| <res-type>
| javax.sql.DataSource
| </res-type>
| <res-auth>
| Container
| </res-auth>
| </resource-ref>
| <display-name>
| SNPit</display-name>
| <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>
| </web-app>
|
I have a server.xml file in my Tomcat directory which I have not copied over - is this required? Also, I'm connecting to a mysql database so I have copied the mysql-ds.xml file into the deploy folder but I've not configured the file yet to point to the right datasource as the app isn't deploying. Any help would be appreciated!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060747#4060747
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060747
More information about the jboss-user
mailing list