Hi,

I have Tapestry 5.1.0.5 web app. I’m trying to deploy it to Tomcat 6 with 
multi-level context path (e.g. /myWebApps/admin) by renaming my war file to 
myWebApps#admin.war. But I’m getting exception like the following when 
accessing the web app:


Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: Could not 
convert 'message:submit-label' into a component parameter binding: URI has a 
fragment component [at 
classpath:org/company/ietf/rt/status/view/pages/Admin.tml, line 9]
    at 
org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(BindingSourceImpl.java:85)
    at $BindingSource_12a7152f850.newBinding($BindingSource_12a7152f850.java)
    at 
org.apache.tapestry5.internal.services.PageElementFactoryImpl.newBinding(PageElementFactoryImpl.java:184)
    at 
$PageElementFactory_12a7152f847.newBinding($PageElementFactory_12a7152f847.java)
    at 
org.apache.tapestry5.internal.pageload.PageLoaderImpl$10.execute(PageLoaderImpl.java:868)
    at 
org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.runActions(ComponentAssemblerImpl.java:202)
    at 
org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.assembleRootComponent(ComponentAssemblerImpl.java:88)
    ... 55 more
Caused by: java.lang.IllegalArgumentException: URI has a fragment component
    at java.io.File.<init>(File.java:370)
    at 
org.apache.tapestry5.internal.util.URLChangeTracker.toFile(URLChangeTracker.java:128)


Everything works perfectly if I use  one-level context path (e.g. /admin) with 
admin.war.
Anyone has any idea why?

Thanks in advance!
d

Reply via email to