Well the exact web.xml is really long and has a lot of other existing application stuff in it. However, I copied all the below elements to that web.xml. If this doesn't point to anything, I can copy the exact web.xmlwhen I am at work tomorrow morning.
Another thing, the web application is deployed as an ear file that contains the war file with the JSF part. The web.xml is bundled in the war file. Just thought it might be a factor. <?xml version="1.0" encoding="UTF-8" ?> - <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>server</param-value> </context-param> - <context-param> <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name> <param-value>true</param-value> </context-param> - <context-param> <param-name>org.apache.myfaces.PRETTY_HTML</param-name> <param-value>true</param-value> </context-param> - <context-param> <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name> <param-value>false</param-value> </context-param> - <context-param> <param-name>org.apache.myfaces.AUTO_SCROLL</param-name> <param-value>false</param-value> </context-param> - <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener </listener-class> </listener> - <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> - <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.faces</url-pattern> </servlet-mapping> - <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> - <filter> <filter-name>MyFacesExtensionsFilter</filter-name> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter </filter-class> - <init-param> <param-name>maxFileSize</param-name> <param-value>20m</param-value> </init-param> </filter> - <filter-mapping> <filter-name>MyFacesExtensionsFilter</filter-name> <url-pattern>*.faces</url-pattern> </filter-mapping> - <filter-mapping> <filter-name>MyFacesExtensionsFilter</filter-name> <servlet-name>Faces Servlet</servlet-name> </filter-mapping> - <filter-mapping> <filter-name>MyFacesExtensionsFilter</filter-name> <url-pattern>/faces/myFacesExtensionResource/*</url-pattern> </filter-mapping> </web-app> Thanks, Aneesha On 12/13/06, Mick Knutson <[EMAIL PROTECTED]> wrote:
Can you post your web.xml? On 12/13/06, Andreas Berger <[EMAIL PROTECTED]> wrote: > > Do you use facelets? If so, check if you put a tomahawk.taglib.xml > (needed by faclets) in your WEB-INF directory. > > 2006/12/13, Aneesha Govil <[EMAIL PROTECTED]>: > > Hi, > > > > I am migrating my JSF app from Tomcat 5.5.17 to JBoss 4.0.3 SP1. I > followed > > the instructions at [1] however, before that I was just getting an > error for > > tomahawk jars as "the absolute uri > > http://myfaces.apache.org/tomahawk was not found in web.xml > > or jars ...". After following the instructions, it does not even find > the > > core tlds. > > > > Do I need to do anything else? I read somewhere about adding some > > init-params to web.xml but didn't get which web.xml to put them in. > > > > Also, if I put the jar files in Manifest.MF instead of putting them in > > WEB-INF/lib, it should still work, but it doesn't. > > > > Any idea what needs to be fixed? Please help, my JSF-application > cannot > > integrate with the main application if I can't make it work in JBoss. > :( > > > > Thanks, > > Aneesha > > > > [1] > > http://wiki.apache.org/myfaces/From_1.1.1_to_1.1.3_with_Jboss > > > -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson

