If I deploy the war named ROOT##version-number.war I get this error.
ROOT.war works OK.

...Using ROOT##version-number.war makes it easier to version jars, rather
than just ROOT.war.  Tomcat deploys them the same.

I did have a go at remote debugging a while back, but as it was something
to do with a tiles class rather than struts, I gave up.  Think tiles is
going to move to attic?

I will try the logging option.

Cheers Greg

On Mon, 22 Oct 2018 at 09:23, Yasser Zamani <yasserzam...@apache.org> wrote:

> Did you mean it starts working when you rename to what doesn't contain  #?
> Could you please enable and set logging to debug and see what
> TilesResult.class logs?
>
> Regards.
>
> >-----Original Message-----
> >From: Greg Huber <gregh3...@gmail.com>
> >Sent: Sunday, October 21, 2018 2:50 PM
> >To: Struts <dev@struts.apache.org>
> >Subject: war ## version naming
> >
> >Is there a reason why we don't support the ROOT##version.war naming.
> >
> > For ROOT##238.war I get a tiles error when I try and login?
> >
> >org.apache.tiles.definition.NoSuchDefinitionException: Cannot find
> definition
> >named '.Login' at
>
> >org.apache.tiles.impl.mgmt.CachingTilesContainer.render(CachingTilesContainer.
> >java:123)
> >at
> >org.apache.struts2.views.tiles.TilesResult.doExecute(TilesResult.java:158)
> >at
>
> >org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:2
> >06)
> >at
> >com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActio
> >nInvocation.java:375)
> >at
> >com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvoc
> >ation.java:279)
> >at
> >com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Meth
> >odFilterInterceptor.java:101)
> >at
> >com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvoc
> >ation.java:249)
> >at
> >com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(Meth
> >odFilterInterceptor.java:101)
> >at
> >com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvoc
> >ation.java:249)
> >...
> >
> >Looks like tiles cannot find the files?
> >
> >deployed folder:
> >
> >apache-tomcat-9.0.12/webapps/ROOT##238
> >
> >rather than apache-tomcat-9.0.12/webapps/ROOT
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>

Reply via email to