Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
I posted in Tomcat forum and got this response - have not tested - posting here as-is, use at your own risk: If a file named index.jsp is declared as a welcome and it is not there in the system, tomcat does not allow failover to framework like Tapestry. It sounds like behaviour that can be controlled by resourceOnlyServlets option in Context, See http://tomcat.apache.org/tomcat-7.0-doc/config/context.html The current behaviour is caused by compatibility concerns with earlier versions of Tomcat. Read the doc for more details. However, if a file named Bienvenue.jsp is declared as welcome file, the failover is allowed. Unlikely. You have to provide specific example to confirm that. The above mentioned option could explain that as well. Howeverwelcome-file-list / is ignored and server picks up default values in ${Tomcat.home}/conf/web.xml conf/web.xml is not just default. It is merged with app's web.xml using the rules for merging web fragments, as specified in the Servlet 3.0 Rev.a specification. If current behaviour contradicts with specification, please cite what point in merging algorithm is not followed. Best regards, Konstantin Kolinko -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5641083.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
To Reproduce (using Tomcat 7.0.4 with jdk1.6.0_22 64-bit), follow Getting Started at http://tapestry.apache.org/getting-started.html Specifically, 1. mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org 2. Create newapp, change to newapp directory (verify works in jetty, stop it by CTRL+C) 3. mvn package 4. Startup tomcat, use manager to deploy the war file generated under newapp/target 5. No errors 6. Click on http://localhost:8080/newapp (ERROR, see below) Expecting to see something like: http://tapestry.apache.org/getting-started.data/getting-started.png BUT, Chrome Browser shows (View Source): htmlheadtitleApplication Exception/titlelink type=text/css rel=stylesheet href=/newapp/assets/1.0-SNAPSHOT/tapestry/default.css/meta content=Apache Tapestry Framework (version 5.3.2) name=generator//headbody An unexpected application exception has occurred. pComponent Index does not contain embedded component 'jsp'./p/body/html Tomcat Console stacktrace (after deployment) is: Application 'app' (version 1.0-SNAPSHOT) startup time: 208 ms to build IoC Regis try, 674 ms overall. __ __ /_ __/__ ___ ___ / /___ __ / __/ / / / _ `/ _ \/ -_|_-/ __/ __/ // / /__ \ /_/ \_,_/ .__/\__/___/\__/_/ \_, / // /_/ /___/ 5.3.2 [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'. org.apache.tapestry5.ioc.util.UnknownValueException: Component Index does not contain embedded component 'jsp'. at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.getEmbeddedElement(ComponentPageElementImpl.java:860) at org.apache.tapestry5.internal.structure.PageImpl.getComponentElementByNestedId(PageImpl.java:116) at org.apache.tapestry5.internal.services.ComponentEventRequestHandlerImpl.handle(ComponentEventRequestHandlerImpl.java:79) at org.apache.tapestry5.internal.services.ImmediateActionRenderResponseFilter.handleImmediateActionRenderResponseFilter.java:42) at $ComponentEventRequestHandler_1e7c9be9cf1f.handle(Unknown Source) at org.apache.tapestry5.internal.services.AjaxFilter.handle(AjaxFilter.java:42) at $ComponentEventRequestHandler_1e7c9be9cf1f.handle(Unknown Source) at org.apache.tapestry5.services.TapestryModule$40.handle(TapestryModule.java:2456) at $ComponentEventRequestHandler_1e7c9be9cf1f.handle(Unknown Source) at $ComponentEventRequestHandler_1e7c9be9cf16.handle(Unknown Source) at org.apache.tapestry5.internal.services.ComponentRequestHandlerTerminator.handleComponentEvent(ComponentRequestHandlerTerminator.java:43) at org.apache.tapestry5.services.InitializeActivePageName.handleComponentEvent(InitializeActivePageName.java:39) at $ComponentRequestHandler_1e7c9be9cf18.handleComponentEvent(Unknown Source) at $ComponentRequestHandler_1e7c9be9cee5.handleComponentEvent(Unknown Source) at org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(ComponentEventDispatcher.java:46) at $Dispatcher_1e7c9be9cee8.dispatch(Unknown Source) at $Dispatcher_1e7c9be9cee1.dispatch(Unknown Source) at org.apache.tapestry5.services.TapestryMoule$RequestHandlerTerminator.service(TapestryModule.java:302) at org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:26) at $RequestHandler_1e7c9be9cee2.service(Unknown Source) at org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:902) at $RequestHandler_1e7c9be9cee2.service(Unknown Source) at org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:892) at $RequestHandler_1e7c9be9cee2.service(Unknown Source) at org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90) at $RequestHandler_1e7c9be9cee2.service(Unknown Source) at org.ideademo.piko.services.AppModule$1.service(AppModule.java:89) at $RequestFilter_1e7c9be9cedd.service(Unknown Source) at $RequestHandler_1e7c9be9cee2.service(Unknown Source) at $RequestHandler_1e7c9be9ced6.service(Unknown Source) at org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:253) at org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53) at $HttpServletRequestHandler_1e7c9be9ced8.service(Unknown Source) at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62) at $HttpServletRequestFilter_1e7c9be9ced4.service(Unknown Source) at $HttpServletRequestHandler_1e7c9be9ced8.service(Unknown Source) at org.apache.tapestry5.services.TapestryModule$1.service(TapestryModule.java:852) at
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Found this little nugget: http://tapestryjava.blogspot.com/2007/02/fighting-with-tomcat.html http://tapestryjava.blogspot.com/2007/02/fighting-with-tomcat.html Unfortunately, our production is tomcat. Have to comply. Jetty will not do. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637652.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
I know it's not ideal but you could deploy an exploded war.
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Thanks for suggestion. No luck, though. Same error in Tomcat 7 with exploded war approach BUT...war file works in Tomcat 5.5.31 ...JDK 1.6.0_03... Go figure... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637743.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
So, I think that eliminates the problem that howard was mentioning on his blog. Can you paste the page / component that is trying to run? I'm trying to think of where a jsp component would be references inside the tapestry archetype.
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
I wonder if this has something to do with how tomcat 7 is trying to serve the root. Are you able to hit http://localhost:8080/newapp/about
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
The index page of the T5 tutorial. Not sure of component. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637774.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
YES, about link works, with errors in logs, both in Tomcat 7 and 5, (and the index page continues to barf in Tomcat 7). Here is the corresponding stacktrace: First [ERROR] is from About page (renders fine though). Second, now familiar, [ERROR] is generated by clicking on Index link from About page Application 'app' (version 1.0-SNAPSHOT) startup time: 234 ms to build IoC Regis try, 780 ms overall. __ __ /_ __/__ ___ ___ / /___ __ / __/ / / / _ `/ _ \/ -_|_-/ __/ __/ // / /__ \ /_/ \_,_/ .__/\__/___/\__/_/ \_, / // /_/ /___/ 5.3.2 Apr 12, 2012 11:39:37 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT Apr 12, 2012 11:39:37 PM org.apache.coyote.http11.Http11AprProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Apr 12, 2012 11:39:37 PM org.apache.coyote.ajp.AjpAprProtocol start INFO: Starting Coyote AJP/1.3 on ajp-8009 Apr 12, 2012 11:39:37 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1434 ms [INFO] AppModule.TimingFilter Request time: 1092 ms [INFO] AppModule.TimingFilter Request time: 46 ms [INFO] AppModule.TimingFilter Request time: 46 ms [INFO] AppModule.TimingFilter Request time: 46 ms [INFO] AppModule.TimingFilter Request time: 46 ms [ERROR] AssetsModule.ResourceMinimizer Exception minimizing 'core' JavaScript st ack, for locale en, resources=classpath:org/apache/tapestry5/underscore_1_1_7.js , classpath:org/apache/tapestry5/scriptaculous_1_9_0/prototype.js, classpath:org /apache/tapestry5/scriptaculous_1_9_0/scriptaculous.js, classpath:org/apache/tap estry5/scriptaculous_1_9_0/effects.js, classpath:org/apache/tapestry5/t5-core.js , classpath:org/apache/tapestry5/t5-spi.js, classpath:org/apache/tapestry5/t5-pr ototype.js, classpath:org/apache/tapestry5/t5-init.js, classpath:org/apache/tape stry5/t5-pubsub.js, classpath:org/apache/tapestry5/t5-events.js, classpath:org/a pache/tapestry5/t5-dom.js, classpath:org/apache/tapestry5/t5-console.js, classpa th:org/apache/tapestry5/t5-ajax.js, classpath:org/apache/tapestry5/t5-formfragme nt.js, classpath:org/apache/tapestry5/t5-alerts.js, classpath:org/apache/tapestr y5/tapestry.js, classpath:org/apache/tapestry5/tapestry-console.js, classpath:or g/apache/tapestry5/tree.js, classpath:org/apache/tapestry5/tapestry-messages.js: java.util.EmptyStackException java.util.EmptyStackException at java.util.Stack.peek(Stack.java:85) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.getCurrentScop e(JavaScriptCompressor.java:559) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.printSymbolTre e(JavaScriptCompressor.java:1105) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.compress(JavaS criptCompressor.java:553) at org.apache.tapestry5.internal.yuicompressor.JavaScriptResourceMinimiz er.doMinimize(JavaScriptResourceMinimizer.java:99) at org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer$1.perfo rm(AbstractMinimizer.java:67) at org.apache.tapestry5.internal.TapestryInternalUtils$5.run(TapestryInt ernalUtils.java:582) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(Opera tionTrackerImpl.java:51) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl$1.invoke(Opera tionTrackerImpl.java:48) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(Operati onTrackerImpl.java:74) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.run(OperationT rackerImpl.java:47) at org.apache.tapestry5.ioc.internal.PerThreadOperationTracker.run(PerTh readOperationTracker.java:76) at org.apache.tapestry5.ioc.internal.RegistryImpl.run(RegistryImpl.java: 1116) at org.apache.tapestry5.internal.TapestryInternalUtils.performIO(Tapestr yInternalUtils.java:576) at org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer.minimiz e(AbstractMinimizer.java:61) at org.apache.tapestry5.internal.services.assets.MasterResourceMinimizer .minimize(MasterResourceMinimizer.java:44) at $ResourceMinimizer_2584ccfdb20b.minimize(Unknown Source) at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandle r.assembleStackContent(StackAssetRequestHandler.java:175) at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandle r.assembleStackContent(StackAssetRequestHandler.java:163) at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandle r.getUncompressedResource(StackAssetRequestHandler.java:146) at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandle r.getCompressedResource(StackAssetRequestHandler.java:132) at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandle r.getResource(StackAssetRequestHandler.java:123) at org.apache.tapestry5.internal.services.assets.StackAssetRequestHandle
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
The tapestry source code does not have a single reference to jsp. I think that tomcat might be trying to help somehow.
Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
I think you've now hit this https://issues.apache.org/jira/browse/TAP5-1729 Try commenting out the following in your pom.xml dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-yuicompressor/artifactId version${tapestry-release-version}/version /dependency
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Indeed. But it is the reference implementation of the servlet standard. In other words, the fault is not with Tomcat...even if it probably is. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637826.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Inspect the HTTP logs, is Tomcat trying to redirect from root to some other page (index.jsp or something)? There might be some config in tomcat that you can tweak / remove.
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Thanks. YES, commenting out yui-compressor dependency in pom.xml eliminates the first error above. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637859.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
It looks like you will need to remove all entries from the welcome-file-list in $TOMCAT_HOME/conf/web.xml See How do I override the default home page loaded by Tomcat? here http://wiki.apache.org/tomcat/HowTo
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Another option might be to tell tapestry to ignore the welcome file list public static void contributeIgnoredPathsFilter(ConfigurationString configuration) { configuration.add((index\\.html)|(index\\.htm)|(index\\.jsp)); } http://tapestry.apache.org/configuration.html#Configuration-ConfiguringIgnoredPaths
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
YES. That solves the problem indeed. BUT, no thanks ;-). This fix will almost certainly break many other applications on the production server and I am pretty sure the community shares my sentiment. Unfortunately, T5 will need to address this. JIRA created: https://issues.apache.org/jira/browse/TAP5-1904 -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637941.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Yes, this may indeed be the temporary workaround. Since it is limited to the application, and not the entire server/container, this is the preferred fix. Much Thanks for fleshing this out. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5637951.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Please try the following: public static void contributeIgnoredPathsFilter(ConfigurationString configuration) { configuration.add(/index\\.(?:html|htm|jsp)); } If it works, we'll close the JIRA and put some tomcat specific documentation somewhere
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
YES, that worked. Sort of. Root URL is not found, but if pulled up as Index, no mo [ERROR]. Specifically, http://localhost:8080/newapp/ leads to HTTP 404 error - page not found However, http://localhost:8080/newapp/Index works (?!) Sorry to be pickyHere is the quote from http://tapestry.apache.org/configuration.html#Configuration-Changestoweb.xml http://tapestry.apache.org/configuration.html#Configuration-Changestoweb.xml User Guide wrote Tapestry Requests vs. Container Requests The Tapestry filter matches all the requests that apply to Tapestry, and passes the rest off to the servlet container. In situations where there would be a naming conflict, */actual files inside the web application take precedence over Tapestry pages./* (*) *Tapestry recognizes the root URL, where the servlet path is simply /, and renders the application page Index, if it exists.* (which is the case with newapp...it has an Index component, but that is NOT what T5 is doing) (**) (*)meaning an index.jsp inside web app would intercept the request meant for the Index component? Guess what, it does...! ) (**) This contradicts (*) - I think we just discovered that this may not be working as advertised in (and probably not just in) Tomcat 7...unless configured to ignore welcome file list as advised. Basically, the root URL is not pulling up Index (first/before other resources)...and Tapestry is AMBIGUOUS about the precedence - at least in the manual. One would think the simplest fix would be to put an index.jsp in the newapp folder with a jsp forward to Index, as follows: jsp:forward page=/Index / But, sure enough, that does NOT work...would be too easy ;-). Nevertheless, good work. This has been fun. Yes, the JIRA 1904 may be closed...with the proper explanation of the workaround (as you guys see fit). -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5638049.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Perhaps you can override the tomcat defaults by adding an empty welcome-file-list / to your web.xml Then no tapestry config required?
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Placing index.jsp with the following in it solves the problem: % response.sendRedirect(Index); % No need to jury rig the configuration. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5638076.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
And now empty welcome file list in application does NOT work. Make sense, since the server will just default upward from application to container level default list. I win ;-) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5638095.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Redirect will cause an extra request and will change the URL in the browser. Try forward instead
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Nope forward does not work, tried that first (see previous post). -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5638114.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
How about getting rid of index.jsp and adding index to your web.xml in the welcome file list. I'm assuming tomcat will try your config before the default
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Have you tried: jsp:forward page=%= request.getContextPath() %/Index / Or with jstl jsp:forward page=${request.contextpath}/Index /
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
welcome-file-list element is a standard part of web.xml. index.jsp is the default value for it at the container level of Tomcat, so setting the value to index in a Tapestry5 application is the correct option. Looks like we are missing the configuration from the archetype, I'll fix it for the next version. Kalle On Fri, Apr 13, 2012 at 5:27 AM, Lance Java lance.j...@googlemail.com wrote: Have you tried: jsp:forward page=%= request.getContextPath() %/Index / Or with jstl jsp:forward page=${request.contextpath}/Index / - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Tomcat 7 deployment TapestryModule.RequestExceptionHandler Processing of request failed with uncaught exception: Component Index does not contain embedded component 'jsp'.
Agree. Welcome file list is probably the cleanest (standards-based) fix. welcome-file-list welcome-file / /welcome-file-list This seems to tell Tomcat there are no welcome files ... In fact, seems like you can set welcome file to any arbitrary component and it will still pick up Tapestry Index. For instance, welcome-fileindex/welcome-file Or, welcome-fileabout/welcome-file Note that there is an about component in newapp - still picks up Index (?!) - seems like anything here is ignored. Or, welcome-fileBurger King in Moscow/welcome-file All of of the above are equivalent. However a physical file name with extension, welcome-fileBienvenue.jsp/welcome-file will work whether or not there is a Bienvenue.jsp (i.e. go to Bienvenue.jsp if present, failover to Index when not). The ONLY filename that generates the error (does NOT failover to Index when no in system) welcome-fileindex.jsp/welcome-file The htm and html extensions to index are OK...meaning failover to Index if not present just like the french verison. I think we have beaten this to death, thanks guys. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tomcat-7-deployment-TapestryModule-RequestExceptionHandler-Processing-of-request-failed-with-uncaugh-tp5637647p5639153.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org