Hi That's very nice that you've posted your web.xml here, it seems somehow strange for me because I woudln't expect filter without any servlets inside.
I've checked tapestry quickstart and it seems that the same configuration there. I guess here is minor differences in the servlet container implementation are the problem, usually client specified web.xml is kind of extending vendor provided web.xml which for WS might be a bit different. Try to create a fake servlet that will accept everything "/*" and run example again. Renat On 24/07/07, yosemite <[EMAIL PROTECTED]> wrote: > > Hello Renat, > > thank you for your interest. This is what I got: > > <?xml version="1.0" encoding="UTF-8"?> > <web-app id="WebApp_ID" version="2.4" > 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"> > <display-name>TestWeb</display-name> > <context-param> > <!-- The only significant configuration for Tapestry 5, this informs > Tapestry > of where to look for pages, components and mixins. --> > <param-name>tapestry.app-package</param-name> > <param-value>cz.test</param-value> > </context-param> > <filter> > <description></description> > <display-name>TapestryFilter</display-name> > <filter-name>TapestryFilter</filter-name> > > <filter-class>org.apache.tapestry.TapestryFilter</filter-class> > </filter> > <filter-mapping> > <filter-name>TapestryFilter</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > > <welcome-file-list><welcome-file>index.jsp</welcome-file></welcome-file-list> > </web-app> > > My Start.html and Start.class are in > > \profiles\AppSrv01\installedApps\MyPCNode01Cell\TestApp.ear\TestWeb.war\WEB-INF\classes\cz\test\ > > then javassist.jar, tapestry-core-5.0.5.jar, tapestry-ioc-5.0.5.jar and > testng-5.1-jdk15.jar are in > > \profiles\AppSrv01\installedApps\MyPCNode01Cell\TestApp.ear\TestWeb.war\WEB-INF\lib\ > > Because http://localhost:9080/TestWeb/start gives me HTTP 404 - File not > found I have another > > \profiles\AppSrv01\installedApps\MyPCNode01Cell\TestApp.ear\TestWeb.war\WEB-INF\Start.html > and > \profiles\AppSrv01\installedApps\MyPCNode01Cell\TestApp.ear\TestWeb.war\Start.html > > but still HTTP 404. There is also > > \profiles\AppSrv01\installedApps\MyPCNode01Cell\TestApp.ear\TestWeb.war\index.jsp > > which works perfect and this guy gets the TapestryFilter invoked, each > index.jsp invokation displays a message to console: > > org.apache.tapestry.services.TapestryModule.RequestGlobals - Invoking > constructor org.apache.tapestry.internal.services.RequestGlobalsImpl() (at > RequestGlobalsImpl.java:31). > [24.7.07 11:38:05:921 SELČ] 00000021 SystemOut O 1389031 [WebContainer : > 3] DEBUG org.apache.tapestry.ioc.services.TapestryIOCModule.ThreadLocale - > Invoking constructor > org.apache.tapestry.ioc.internal.services.ThreadLocaleImpl() (at > ThreadLocaleImpl.java:26). > > Thanks for any comment > Karel > > ___ > > Renat Zubairov wrote: > > > > Hi > > > > Could you may be post your web.xml here because 404 means that > > servelet mappings might be incorrect. Otherwise it's very strange. > > > > Renat > > > > On 23/07/07, yosemite <[EMAIL PROTECTED]> wrote: > >> > >> Hello, > >> > >> thanks. Security on WebSphere is turned off. I also tried to modify to > >> was.policy with no success: > >> > >> grant codeBase "file:${application}" { > >> permission java.security.AllPermission; > >> }; > >> > >> Funny thing is that a default welcome jsp gets displayed OK and Tapestry > >> filter seems to get invoked OK because > >> http://localhost:9080/TestWeb/index.jsp displays: > >> > >> [WebContainer : 2] DEBUG > >> org.apache.tapestry.ioc.services.TapestryIOCModule.ThreadLocale - > >> Invoking > >> constructor org.apache.tapestry.ioc.internal.services.ThreadLocaleImpl() > >> (at > >> ThreadLocaleImpl.java:26). > >> > >> in the console; while anything like http://localhost:9080/TestWeb/start > >> says > >> HTTP 404 - File not found. > >> > >> Maybe deployment descriptor mapping > >> > >> <context-param> > >> <!-- The only significant configuration for Tapestry 5, this > >> informs > >> Tapestry of where to look for pages, components and mixins. --> > >> <param-name>tapestry.app-package</param-name> > >> <param-value>cz.test</param-value> > >> </context-param> > >> > >> works different in WebSphere? I have packaged my Tapestry class and html > >> into > >> TestApp.ear\TestWeb.war\WEB-INF\classes\ and Tapestry cannot find it > >> there? > >> > >> Karel > >> > >> > >> > >> Renat Zubairov wrote: > >> > > >> > Hi > >> > > >> > Is security on the WebSphere on? > >> > > >> > I had significant problems in WS 5 with Security ON because of > >> > Javassist bug with classloaders. > >> > > >> > Renat > >> > > >> > On 20/07/07, yosemite <[EMAIL PROTECTED]> wrote: > >> >> > >> >> Hello everybody, > >> >> > >> >> I tried to deploy a T5 application that works fine on Jetty and Tomcat > >> >> onto > >> >> WebSphere 6.1.0.3, and although the app deploys OK, TapestryFilter > >> does > >> >> not > >> >> get invoked on url-patterrn /* so I get HTTP 404. > >> >> > >> >> SystemOut.log contains lines like > >> >> ... [WebContainer : 1] DEBUG > >> >> org.apache.tapestry.ioc.services.TapestryIOCModule.ClassFactory - > >> >> Creating > >> >> class from ClassFab[ > >> >> public class $ServletApplicationInitializer_113e33644e7 extends > >> >> java.lang.Object > >> >> implements > >> org.apache.tapestry.services.ServletApplicationInitializer > >> >> private final org.apache.tapestry.ioc.ObjectCreator _creator; > >> >> public > >> >> > >> $ServletApplicationInitializer_113e33644e7(org.apache.tapestry.ioc.ObjectCreator > >> >> $1) > >> >> _creator = $1; > >> >> ... so I guess WAS can load Tapestry OK. Is there something blocking > >> >> Tapestry5 on WebSphere 6.1? > >> >> > >> >> Any ideas, please > >> >> Thanks > >> >> Karel > >> >> -- > >> >> View this message in context: > >> >> > >> http://www.nabble.com/Tapestry5-and-WebSphere6.1-tf4116345.html#a11705964 > >> >> Sent from the Tapestry - User mailing list archive at Nabble.com. > >> >> > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> For additional commands, e-mail: [EMAIL PROTECTED] > >> >> > >> >> > >> > > >> > > >> > -- > >> > Best regards, > >> > Renat Zubairov > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > >> > For additional commands, e-mail: [EMAIL PROTECTED] > >> > > >> > > >> > > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Tapestry5-and-WebSphere6.1-tf4116345.html#a11742285 > >> Sent from the Tapestry - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > Best regards, > > Renat Zubairov > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Tapestry5-and-WebSphere6.1-tf4116345.html#a11759726 > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Best regards, Renat Zubairov