You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Leonardo De Seta (JIRA)" <ji...@apache.org> on 2012/06/10 19:47:42 UTC

[jira] [Created] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Leonardo De Seta created TILES-553:
--------------------------------------

             Summary: SimpleTilesListener not working in Tiles 3.0
                 Key: TILES-553
                 URL: https://issues.apache.org/jira/browse/TILES-553
             Project: Tiles
          Issue Type: Bug
          Components: tiles-servlet
    Affects Versions: 3.0.0
            Reporter: Leonardo De Seta


org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.

Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 

org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'

The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Posted by "Mck SembWever (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TILES-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mck SembWever resolved TILES-553.
---------------------------------

    Resolution: Fixed
      Assignee: Mck SembWever

TREQ-15 does fix this problem.
it will be part of tiles-request-api-1.0.1
                
> SimpleTilesListener not working in Tiles 3.0
> --------------------------------------------
>
>                 Key: TILES-553
>                 URL: https://issues.apache.org/jira/browse/TILES-553
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-servlet
>    Affects Versions: 3.0.0
>            Reporter: Leonardo De Seta
>            Assignee: Mck SembWever
>         Attachments: prueba-tiles.zip
>
>
> org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.
> Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 
> org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'
> The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Posted by "Leonardo De Seta (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TILES-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292569#comment-13292569 ] 

Leonardo De Seta commented on TILES-553:
----------------------------------------

I've attached a small project where this issue can be seen (it includes tiles.xml). In web.xml I've configured SimpleTilesListener and CompleteAutoloadTilesListener (its commented), so you can easily switch between this two listeners. The project works with CompleteAutoloadTilesListener, but it does not work with SimpleTilesListener.
                
> SimpleTilesListener not working in Tiles 3.0
> --------------------------------------------
>
>                 Key: TILES-553
>                 URL: https://issues.apache.org/jira/browse/TILES-553
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-servlet
>    Affects Versions: 3.0.0
>            Reporter: Leonardo De Seta
>         Attachments: prueba-tiles.zip
>
>
> org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.
> Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 
> org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'
> The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Posted by "Mck SembWever (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TILES-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396221#comment-13396221 ] 

Mck SembWever commented on TILES-553:
-------------------------------------

Some questions around reproducing the problem with preuba-tiles.zip
a) how am i to run it (eg will `mvn tomcat:run` suffice), container, version, etc?
b) it's missing sl4j as a dependency
c) you say CompleteAutoloadTilesListener work but i get {noformat}SEVERE: Exception sending context initialized event to listener instance of class org.apache.tiles.extras.complete.CompleteAutoloadTilesListener
java.lang.NullPointerException
        at org.apache.tiles.el.JspExpressionFactoryFactory.getExpressionFactory(JspExpressionFactoryFactory.java:61)
        at org.apache.tiles.extras.complete.CompleteAutoloadTilesContainerFactory.createELEvaluator(CompleteAutoloadTilesContainerFactory.java:242){noformat}
                
> SimpleTilesListener not working in Tiles 3.0
> --------------------------------------------
>
>                 Key: TILES-553
>                 URL: https://issues.apache.org/jira/browse/TILES-553
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-servlet
>    Affects Versions: 3.0.0
>            Reporter: Leonardo De Seta
>         Attachments: prueba-tiles.zip
>
>
> org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.
> Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 
> org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'
> The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Posted by "Leonardo De Seta (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TILES-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo De Seta updated TILES-553:
-----------------------------------

    Attachment: prueba-tiles.zip

A very small web project with Tiles 3, where this issue is reproduced.
                
> SimpleTilesListener not working in Tiles 3.0
> --------------------------------------------
>
>                 Key: TILES-553
>                 URL: https://issues.apache.org/jira/browse/TILES-553
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-servlet
>    Affects Versions: 3.0.0
>            Reporter: Leonardo De Seta
>         Attachments: prueba-tiles.zip
>
>
> org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.
> Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 
> org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'
> The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Posted by "Mck SembWever (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TILES-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396508#comment-13396508 ] 

Mck SembWever commented on TILES-553:
-------------------------------------

Yes i got it to work as expected using a proper tomcat-6. Still nice to get such details though. Wonder why CompleteAutoloadTilesListener doesn't work with `mvn tomcat:run`. JspFactory returning null? possibly a separate issue...
                
> SimpleTilesListener not working in Tiles 3.0
> --------------------------------------------
>
>                 Key: TILES-553
>                 URL: https://issues.apache.org/jira/browse/TILES-553
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-servlet
>    Affects Versions: 3.0.0
>            Reporter: Leonardo De Seta
>         Attachments: prueba-tiles.zip
>
>
> org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.
> Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 
> org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'
> The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Posted by "Nicolas Le Bas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TILES-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292591#comment-13292591 ] 

Nicolas Le Bas commented on TILES-553:
--------------------------------------

Thanks a lot! 
We'll fix that for the next release.
                
> SimpleTilesListener not working in Tiles 3.0
> --------------------------------------------
>
>                 Key: TILES-553
>                 URL: https://issues.apache.org/jira/browse/TILES-553
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-servlet
>    Affects Versions: 3.0.0
>            Reporter: Leonardo De Seta
>         Attachments: prueba-tiles.zip
>
>
> org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.
> Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 
> org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'
> The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Posted by "Nicolas Le Bas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TILES-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396240#comment-13396240 ] 

Nicolas Le Bas commented on TILES-553:
--------------------------------------

I reproduced it by deploying the war to various containers.
slf4j is missing indeed, but that's easily fixed.
                
> SimpleTilesListener not working in Tiles 3.0
> --------------------------------------------
>
>                 Key: TILES-553
>                 URL: https://issues.apache.org/jira/browse/TILES-553
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-servlet
>    Affects Versions: 3.0.0
>            Reporter: Leonardo De Seta
>         Attachments: prueba-tiles.zip
>
>
> org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.
> Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 
> org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'
> The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Posted by "Nicolas Le Bas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TILES-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292550#comment-13292550 ] 

Nicolas Le Bas commented on TILES-553:
--------------------------------------

Please attach the tiles.xml you're refering to; it would help us locate the problem.
                
> SimpleTilesListener not working in Tiles 3.0
> --------------------------------------------
>
>                 Key: TILES-553
>                 URL: https://issues.apache.org/jira/browse/TILES-553
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-servlet
>    Affects Versions: 3.0.0
>            Reporter: Leonardo De Seta
>
> org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.
> Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 
> org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'
> The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TILES-553) SimpleTilesListener not working in Tiles 3.0

Posted by "Nicolas Le Bas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TILES-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Le Bas updated TILES-553:
---------------------------------

    Fix Version/s: 3.0.1
    
> SimpleTilesListener not working in Tiles 3.0
> --------------------------------------------
>
>                 Key: TILES-553
>                 URL: https://issues.apache.org/jira/browse/TILES-553
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-servlet
>    Affects Versions: 3.0.0
>            Reporter: Leonardo De Seta
>            Assignee: Mck SembWever
>             Fix For: 3.0.1
>
>         Attachments: prueba-tiles.zip
>
>
> org.apache.tiles.web.startup.simple.SimpleTilesListener does not appear to work in Tiles 3.0 when using TilesDispatchServlet.
> Using a very simple tiles.xml, an Exception is thrown when accesing the webpage: 
> org.apache.tiles.definition.NoSuchDefinitionException: Unable to find the definition 'helloworld'
> The same example works using org.apache.tiles.extras.complete.CompleteAutoloadTilesListener (Tiles 3.0), or with the SimpleTilesListener in Tiles 2.2.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira