-
1. Re: Plz post web.xml for jboss2.4+catalina
aqil Jan 28, 2002 1:11 AM (in response to aqil)>Your ear file did not deploy on Jboss2.4.4 & Tomcat4.x. >The main reason for
>this is the fussy Catalina container. You have to >provide a complete web.xml
>as it is in servlet 2.3 dtd .Try to add ><display-name>and
>DOCTYPE:
><!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>
>
><dispaly-name>
>..................
></web-app>
>Good luck
>faisal
I'm still not able to run it.Can anyone re-write the above web.xml according to 2.3 specification? -
2. Re: Plz post web.xml for jboss2.4+catalina
ysiraj Jan 28, 2002 3:54 AM (in response to aqil)I've modified the web.xml file which comes with interest (session bean) example. It's working fine now. here is the source
<?xml version="1.0" encoding="ISO-8859-1"?>
<!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>
<servlet-name>InterestServlet</servlet-name>
<servlet-class>org.jboss.docs.interest.InterestServlet</servlet-class>
<servlet-mapping>
<servlet-name>InterestServlet</servlet-name>
<url-pattern>/InterestServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>home.html</welcome-file>
</welcome-file-list>
<ejb-ref>
<ejb-ref-name>ejb/Interest</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
org.jboss.docs.interest.InterestHome
org.jboss.docs.interest.Interest
</ejb-ref>
</web-app> -
3. Re: Plz post web.xml for jboss2.4+catalina
aqil Jan 28, 2002 5:39 AM (in response to aqil)i compared the above two web.xml line by line but could'nt find any difference :(
-
4. Re: Plz post web.xml for jboss2.4+catalina
aqil Jan 28, 2002 6:01 AM (in response to aqil)yup with the following modification it works fine.
Thanks Yasir
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">