After much trial an error.  I found the problem.  Vignette Portal does not map 
URLs below WEB-INF.

I had to map it to /somePublicUrl and it worked fine.





 
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton




________________________________
From: André Warnier <a...@ice-sa.com>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Wed, June 30, 2010 10:08:51 AM
Subject: Re: spring-webmvc-portlet annotations: File 
&quot;/WEB-INF/servlet/view&quot; not found

Norris Shelton wrote:
> I have compared the configuration to multiple examples and it appears to be 
> set-up correctly.  There is another question similar to this with the exact 
> problem, also on Tomcat/Vignette.  
> 
> Attached are the files, since the pasting earlier did not work.
> 
Norris,

I know nothing about portals, nor Vignette, nor spring or whatever, so the 
following is just a vague idea based on this portion of the logfile :

2010-06-28 16:08:32  DEBUG - Including resource [/WEB-INF/jsp/normal.jsp] in 
InternalResourceView 'normal' 
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel:227
2010-06-28 16:08:32  ERROR - Could not complete request 
org.springframework.web.portlet.FrameworkPortlet.processRequest:559 
javax.portlet.PortletException: javax.servlet.ServletException: File 
&quot;/WEB-INF/servlet/view&quot; not found
        at 
com.vignette.portal.portlet.jsrcontainer.internal.standardcontainer.invocation.apiimpl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:327)
 ~[na:na]
        at 
org.springframework.web.portlet.DispatcherPortlet.doRender(DispatcherPortlet.java:1137)


I doubt (but I am not sure) that a logging module would wilfully HTML-escape 
real quotation marks in a message before printing it to the logfile.

To me it thus looks like some module is trying to "render" some html code, in 
the course of which it is supposed to read, and interpret the file 
/WEB-INF/jsp/normal.jsp.
In that file, it finds some kind of "include" instruction which should give it 
the (relative?) path of another file/thing to include here.
That file/thing path should be :
/WEB-INF/servlet/view
or maybe the same between quotation marks :
"/WEB-INF/servlet/view"

However, instead it finds :
&quot;/WEB-INF/servlet/view&quot;
which looks as if something already went through the page that contains this 
link (normal.jsp ?), and already HTML-escaped the surrounding quotation marks 
into
&quot;
sequences, as if this was part of the html text of the page instead of an 
include instruction.

Of course, whatever is trying to open that to-include file/thing is never going 
to find it, because there is no file/thing starting with "&quot...." anywhere.

What does that include line look like, in the "normal.jsp" file ?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


      

Reply via email to