struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4622) [struts2-tiles-plugin] [2.3.28] [StrutsWildcardServletTilesApplicationContext] getRealPath
Date Sun, 03 Apr 2016 16:23:25 GMT

    [ https://issues.apache.org/jira/browse/WW-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223390#comment-15223390
] 

ASF GitHub Bot commented on WW-4622:
------------------------------------

Github user victorsosa commented on the pull request:

    https://github.com/apache/struts/pull/93#issuecomment-205006766
  
    This is the stack trace of the recently portlet-webapp test fails 
    
    ```
    2016-04-03 15:47:03,142 ERROR [btpool0-1] dispatcher.Jsr168Dispatcher (Jsr168Dispatcher.java:487)
- Could not execute action
    
    javax.portlet.PortletException: org.apache.jasper.JasperException: /WEB-INF/view/index.jsp(1,42)
PWC6117: File "/struts-tags" not found
    
    	at org.apache.pluto.internal.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:115)
~[pluto-container-1.1.6.jar:?]
    
    	at org.apache.struts2.portlet.result.PortletResultHelperJSR168.include(PortletResultHelperJSR168.java:51)
~[classes/:?]
    
    	at org.apache.struts2.portlet.result.PortletResult.executeMimeResult(PortletResult.java:227)
~[classes/:?]
    ```


> [struts2-tiles-plugin] [2.3.28] [StrutsWildcardServletTilesApplicationContext] getRealPath
> ------------------------------------------------------------------------------------------
>
>                 Key: WW-4622
>                 URL: https://issues.apache.org/jira/browse/WW-4622
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tiles
>    Affects Versions: 2.3.28
>            Reporter: Sebastien Leboucher
>            Priority: Blocker
>
> Hi,
> Since version 2.3.28, the "struts2-tiles-plugin" API introduce a new listener (StrutsWildcardServletTilesApplicationContext).
> This listener make a call to ServletContext.getRealPath method. 
> However this method can't be used with a tomcat "unpackWARs=false" deployment scheme
(https://wiki.apache.org/tomcat/RemoveUnpackWARs).
> Cause when war file is not exploded, this method return always "null".
> So i get a NullPointerException during context loading !
> Could you restore a classpath context loading ? As in the previous version ?
> thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message