You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Stojce Dimski (JIRA)" <ji...@apache.org> on 2007/09/04 13:08:59 UTC

[jira] Created: (WICKET-925) embedded jetty configuration stops working on beta3

embedded jetty configuration stops working on beta3
---------------------------------------------------

                 Key: WICKET-925
                 URL: https://issues.apache.org/jira/browse/WICKET-925
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta3
         Environment: Windows 2000sp4, Java 1.6.0-b105
            Reporter: Stojce Dimski
         Attachments: jettyWicket.zip

When using beta3 with embedded configuration, which means there is no web.xml, but wicket servlet instance is injected in jetty server context. During the startup application generates NPE in (DiskPageStore.java:486) which means that wicket servlet cannot retrieve temp dir... Adding the following line before string the application resolves the question:

serverContext.setAttribute("javax.servlet.context.tempdir", new File("."));

I am not sure if this is just treating effect and not the cause which can be related to recent WicketFilter/WicketServlet 'thread' questions ?

Attached simple hello world application reproduce this...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WICKET-925) embedded jetty configuration stops working on beta3

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

Igor Vaynberg reassigned WICKET-925:
------------------------------------

    Assignee: Matej Knopp

> embedded jetty configuration stops working on beta3
> ---------------------------------------------------
>
>                 Key: WICKET-925
>                 URL: https://issues.apache.org/jira/browse/WICKET-925
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>         Environment: Windows 2000sp4, Java 1.6.0-b105
>            Reporter: Stojce Dimski
>            Assignee: Matej Knopp
>         Attachments: jettyWicket.zip
>
>
> When using beta3 with embedded configuration, which means there is no web.xml, but wicket servlet instance is injected in jetty server context. During the startup application generates NPE in (DiskPageStore.java:486) which means that wicket servlet cannot retrieve temp dir... Adding the following line before string the application resolves the question:
> serverContext.setAttribute("javax.servlet.context.tempdir", new File("."));
> I am not sure if this is just treating effect and not the cause which can be related to recent WicketFilter/WicketServlet 'thread' questions ?
> Attached simple hello world application reproduce this...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-925) embedded jetty configuration stops working on beta3

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

Matej Knopp resolved WICKET-925.
--------------------------------

    Resolution: Fixed

> embedded jetty configuration stops working on beta3
> ---------------------------------------------------
>
>                 Key: WICKET-925
>                 URL: https://issues.apache.org/jira/browse/WICKET-925
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>         Environment: Windows 2000sp4, Java 1.6.0-b105
>            Reporter: Stojce Dimski
>            Assignee: Matej Knopp
>         Attachments: jettyWicket.zip
>
>
> When using beta3 with embedded configuration, which means there is no web.xml, but wicket servlet instance is injected in jetty server context. During the startup application generates NPE in (DiskPageStore.java:486) which means that wicket servlet cannot retrieve temp dir... Adding the following line before string the application resolves the question:
> serverContext.setAttribute("javax.servlet.context.tempdir", new File("."));
> I am not sure if this is just treating effect and not the cause which can be related to recent WicketFilter/WicketServlet 'thread' questions ?
> Attached simple hello world application reproduce this...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-925) embedded jetty configuration stops working on beta3

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

Stojce Dimski updated WICKET-925:
---------------------------------

    Attachment: jettyWicket.zip

> embedded jetty configuration stops working on beta3
> ---------------------------------------------------
>
>                 Key: WICKET-925
>                 URL: https://issues.apache.org/jira/browse/WICKET-925
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>         Environment: Windows 2000sp4, Java 1.6.0-b105
>            Reporter: Stojce Dimski
>         Attachments: jettyWicket.zip
>
>
> When using beta3 with embedded configuration, which means there is no web.xml, but wicket servlet instance is injected in jetty server context. During the startup application generates NPE in (DiskPageStore.java:486) which means that wicket servlet cannot retrieve temp dir... Adding the following line before string the application resolves the question:
> serverContext.setAttribute("javax.servlet.context.tempdir", new File("."));
> I am not sure if this is just treating effect and not the cause which can be related to recent WicketFilter/WicketServlet 'thread' questions ?
> Attached simple hello world application reproduce this...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.