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

Michael Osipov commented on VELTOOLS-186:
-----------------------------------------

If this one is shared, shouldn't a listener rather create this instance and not 
a servlet?

> Review shared VelocityView initialization error handling
> --------------------------------------------------------
>
>                 Key: VELTOOLS-186
>                 URL: https://issues.apache.org/jira/browse/VELTOOLS-186
>             Project: Velocity Tools
>          Issue Type: Bug
>          Components: VelocityView
>    Affects Versions: 3.0
>            Reporter: Claude Brisson
>            Assignee: Claude Brisson
>            Priority: Minor
>
> When VelocityView instanciation fails (aka throws an unrecoverable 
> exception), it is attempted again as many times as there are servlets or 
> filters relying on it, even when the instance is supposed to be shared.
> The proper behavior would be to somehow mark the shared instance attribute as 
> being  invalid (but not null).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to