We had similar resolved issue at [1]. Could you please see if [2] fixes this also?
Regards. [1] https://lists.apache.org/thread.html/f4e1d1a5c917d0fa759cce667b23ef1e076c51ad7907dcfbdeb88707@%3Cdev.struts.apache.org%3E [2] https://lists.apache.org/thread.html/3825d060bb13474987603719026bb06f66d28a388680e13a5858db57@%3Cdev.struts.apache.org%3E >-----Original Message----- >From: Jason Pyeron <jpye...@pdinc.us> >Sent: Thursday, January 31, 2019 9:29 AM >To: 'Struts Users Mailing List' <user@struts.apache.org> >Subject: RE: [struts-user] XML based configuration > >> -----Original Message----- >> From: Jason Pyeron <jpye...@pdinc.us> >> Sent: Wednesday, January 30, 2019 9:53 PM >> > -----Original Message----- >> > From: Jason Pyeron <jpye...@pdinc.us> >> > Sent: Wednesday, January 30, 2019 9:11 PM >> > >> > It has been 10+ years since I used the XML configuration, so please >> > bear with me. >> > >> > I am attempting to deploy Apache Roller under a sub context >> > (public#roller.war) so the url would be >> > http://127.0.0.1:8080/public/roller/roller-ui/login.rol . >> > >> > When I do so, I get an exception cannot find definition named .Login >> > > >So I think I have narrowed it down. > >file:/C:/programs.x64/apache-software-foundation/apache-tomcat- >7.0.82/webapps/public#roller/WEB-INF/tiles.xml > >But when this URL is stored in the >org.apache.tiles.request.ApplicationResource, >specifically org.apache.struts2.tiles.StrutsApplicationResource it is >splitting the >URL in two: > >pathPrefix="/C:/programs.x64/apache-software-foundation/apache-tomcat-7.0" > >and > >suffix=".82/webapps/public" > > >If I hack it with the debugger to : > > >pathPrefix="/C:/programs.x64/apache-software-foundation/apache-tomcat- >7.0.82/webapps/public#roller/WEB-INF/tiles.xml" > >and > >suffix="" > >It works until the next restart! > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >For additional commands, e-mail: user-h...@struts.apache.org