spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread Norris Shelton
I am using:
Tomcat 6.0.20
Vignette Portal Server 8.0
spring-webmvc-portlet  3.0.3.RELEASE

I get the following error when the portal is requested. 

Here is my log

2010-06-28 16:08:32  DEBUG - DispatcherPortlet with name 'weather' received 
render request 
org.springframework.web.portlet.DispatcherPortlet.doRenderService:694
2010-06-28 16:08:32  DEBUG - Testing handler map 
[org.springframework.web.portlet.mvc.annotation.defaultannotationhandlermapp...@20f764]
 in DispatcherPortlet with name 'weather' 
org.springframework.web.portlet.DispatcherPortlet.getHandler:988
2010-06-28 16:08:32  DEBUG - Key [view] - handler 
[{=com.bhsi.portlet.weather.weatherviewcontrol...@ad1c36}] 
org.springframework.web.portlet.handler.AbstractMapBasedHandlerMapping.getHandlerInternal:74
2010-06-28 16:08:32  DEBUG - Testing handler adapter 
[org.springframework.web.portlet.mvc.annotation.annotationmethodhandleradap...@51e1ff]
 org.springframework.web.portlet.DispatcherPortlet.getHandlerAdapter:1029
2010-06-28 16:08:32  DEBUG - Invoking model attribute method: public 
org.springframework.ui.ModelMap 
com.bhsi.portlet.weather.WeatherViewController.getNormalModel() 
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod:154
2010-06-28 16:08:32  DEBUG - !! Found a cached modelMap 
com.bhsi.portlet.weather.WeatherViewController.getNormalModel:108
2010-06-28 16:08:32  DEBUG - Invoking request handler method: public 
org.springframework.web.portlet.ModelAndView 
com.bhsi.portlet.weather.WeatherViewController.renderNormal(org.springframework.ui.ModelMap)
 
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod:172
2010-06-28 16:08:32  DEBUG - ** Entered renderNormal ** 
com.bhsi.portlet.weather.WeatherViewController.renderNormal:118
2010-06-28 16:08:32  DEBUG - Setting portlet response content type to 
view-determined type [text/html;charset=ISO-8859-1] 
org.springframework.web.portlet.DispatcherPortlet.render:1086
2010-06-28 16:08:32  DEBUG - Added model object 'NORMAL' of type 
[org.springframework.ui.ModelMap] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'lastUpdateFormatted' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'detailUrl' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 
'org.springframework.validation.BindingResult.currentWeather' of type 
[org.springframework.validation.BeanPropertyBindingResult] to request in view 
with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'compassDirection' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'feelsLike' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 
'org.springframework.validation.BindingResult.NORMAL' of type 
[org.springframework.validation.BeanPropertyBindingResult] to request in view 
with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'skyImageUrl' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'currentWeather' of type 
[com.bhsi.portlet.weather.currentweather.CurrentWeather] to request in view 
with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
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/viewquot; 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)
 ~[spring-webmvc-portlet-3.0.3.RELEASE.jar:3.0.3.RELEASE]
at 

Re: spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread Pid
On 30/06/2010 14:06, Norris Shelton wrote:
 I am using:
 Tomcat 6.0.20
 Vignette Portal Server 8.0
 spring-webmvc-portlet  3.0.3.RELEASE
 
 I get the following error when the portal is requested. 
 
 Here is my log
 

-snip

 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/viewquot; not found
 at 
 com.vignette.portal.portlet.jsrcontainer.internal.standardcontainer.invocation.apiimpl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:327)
  ~[na:na]

-snip

 at java.lang.Thread.run(Thread.java:595) [na:1.5.0_21]
 Caused by: javax.servlet.ServletException: File 
 quot;/WEB-INF/servlet/viewquot; not found

-snip

 
 Here is my web.xml
 

Where?

 Displays the weather portlet. The main page (widget) page displays the 
 current conditions. The detail
 page shows weather alerts, the forecast, current regional radar.
  Weather Portlet 
  ViewRendererServlet org.springframework.web.servlet.ViewRendererServlet 
 1   ViewRendererServlet /WEB-INF/servlet/view   
 org.springframework.web.context.ContextLoaderListener  
 
 
 here is my portlet.xml


Where?

p


  Displays the weather portlet. The main page (widget) page displays the 
 current conditions. The
 detail page shows weather alerts, the forecast, current regional 
 radar.
  weather Weather Portlet 
 org.springframework.web.portlet.DispatcherPortlet  text/html VIEW 
 NORMAL MAXIMIZED  
 en 
  Weather Portlet Weather Portlet weather   
 
 
 
 
 
 
 
 
 
  
 Norris Shelton
 Software Engineer
 Sun Certified Java 1.1 Programmer
 Shelton Consulting, LLC
 ICQ# 26487421
 AIM NorrisEShelton
 YIM norrisshelton
 
 
 
   




signature.asc
Description: OpenPGP digital signature


spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread Norris Shelton
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 Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton



  2010-06-28 16:08:32  DEBUG - DispatcherPortlet with name 'weather' received 
render request 
org.springframework.web.portlet.DispatcherPortlet.doRenderService:694
2010-06-28 16:08:32  DEBUG - Testing handler map 
[org.springframework.web.portlet.mvc.annotation.defaultannotationhandlermapp...@20f764]
 in DispatcherPortlet with name 'weather' 
org.springframework.web.portlet.DispatcherPortlet.getHandler:988
2010-06-28 16:08:32  DEBUG - Key [view] - handler 
[{=com.bhsi.portlet.weather.weatherviewcontrol...@ad1c36}] 
org.springframework.web.portlet.handler.AbstractMapBasedHandlerMapping.getHandlerInternal:74
2010-06-28 16:08:32  DEBUG - Testing handler adapter 
[org.springframework.web.portlet.mvc.annotation.annotationmethodhandleradap...@51e1ff]
 org.springframework.web.portlet.DispatcherPortlet.getHandlerAdapter:1029
2010-06-28 16:08:32  DEBUG - Invoking model attribute method: public 
org.springframework.ui.ModelMap 
com.bhsi.portlet.weather.WeatherViewController.getNormalModel() 
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod:154
2010-06-28 16:08:32  DEBUG - !! Found a cached modelMap 
com.bhsi.portlet.weather.WeatherViewController.getNormalModel:108
2010-06-28 16:08:32  DEBUG - Invoking request handler method: public 
org.springframework.web.portlet.ModelAndView 
com.bhsi.portlet.weather.WeatherViewController.renderNormal(org.springframework.ui.ModelMap)
 
org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod:172
2010-06-28 16:08:32  DEBUG - ** Entered renderNormal ** 
com.bhsi.portlet.weather.WeatherViewController.renderNormal:118
2010-06-28 16:08:32  DEBUG - Setting portlet response content type to 
view-determined type [text/html;charset=ISO-8859-1] 
org.springframework.web.portlet.DispatcherPortlet.render:1086
2010-06-28 16:08:32  DEBUG - Added model object 'NORMAL' of type 
[org.springframework.ui.ModelMap] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'lastUpdateFormatted' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'detailUrl' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 
'org.springframework.validation.BindingResult.currentWeather' of type 
[org.springframework.validation.BeanPropertyBindingResult] to request in view 
with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'compassDirection' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'feelsLike' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 
'org.springframework.validation.BindingResult.NORMAL' of type 
[org.springframework.validation.BeanPropertyBindingResult] to request in view 
with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'skyImageUrl' of type 
[java.lang.String] to request in view with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
2010-06-28 16:08:32  DEBUG - Added model object 'currentWeather' of type 
[com.bhsi.portlet.weather.currentweather.CurrentWeather] to request in view 
with name 'normal' 
org.springframework.web.servlet.view.AbstractView.exposeModelAsRequestAttributes:328
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/viewquot; not found
at 

RE: spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread Martin Gainty

please include
./WEB-INF/portlet.xml
please include all the files that portlet.xml includes


also..please include the tomcat logs
Martin 
__ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.



 



Date: Wed, 30 Jun 2010 06:30:21 -0700
From: norrisshel...@yahoo.com
Subject: spring-webmvc-portlet annotations: File 
quot;/WEB-INF/servlet/viewquot; not found
To: users@tomcat.apache.org




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 Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton


  
_
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5

Re: spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread André Warnier

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/viewquot; 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/viewquot;
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