[Jersey-issues] [JIRA] Created: (JERSEY-1706) ApplicationHandler is initialized twice for jdk-http server and simple-http + adjust port for simple-http tests.

  • From: "Miroslav Fuksa (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [Jersey-issues] [JIRA] Created: (JERSEY-1706) ApplicationHandler is initialized twice for jdk-http server and simple-http + adjust port for simple-http tests.
  • Date: Wed, 6 Feb 2013 09:44:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated

ApplicationHandler is initialized twice for jdk-http server and simple-http + 
adjust port for simple-http tests.
----------------------------------------------------------------------------------------------------------------

                 Key: JERSEY-1706
                 URL: http://java.net/jira/browse/JERSEY-1706
             Project: jersey
          Issue Type: Bug
            Reporter: Miroslav Fuksa
             Fix For: 2.0, 2.0-unplanned


In order to create ReloadContainerLifecycleListener in the containers the 
ApplicationHadnler is initialized twice. This also means that 
ReloadContainerLifecycleListener is based on providers from different 
ApplicationHandler.

code:
{code}
    public static Closeable create(URI address, SSLContext context, 
ResourceConfig config)
            throws ProcessingException {
        final SimpleContainer container = 
ContainerFactory.createContainer(SimpleContainer.class, config);
        return create(address, context, container, 
ConfigHelper.getContainerLifecycleListener(new ApplicationHandler(config)));
    }
{code}

adjust port for simple-http tests (use correct env variable to setup port 
during tests).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Jersey-issues] [JIRA] Created: (JERSEY-1706) ApplicationHandler is initialized twice for jdk-http server and simple-http + adjust port for simple-http tests.

Miroslav Fuksa (JIRA) 02/06/2013

[Jersey-issues] [JIRA] Work started: (JERSEY-1706) ApplicationHandler is initialized twice for jdk-http server and simple-http + adjust port for simple-http tests.

Miroslav Fuksa (JIRA) 02/06/2013

[Jersey-issues] [JIRA] Work logged: (JERSEY-1706) ApplicationHandler is initialized twice for jdk-http server and simple-http + adjust port for simple-http tests.

Miroslav Fuksa (JIRA) 02/06/2013

[Jersey-issues] [JIRA] Resolved: (JERSEY-1706) ApplicationHandler is initialized twice for jdk-http server and simple-http + adjust port for simple-http tests.

Miroslav Fuksa (JIRA) 02/07/2013

[Jersey-issues] [JIRA] Updated: (JERSEY-1706) ApplicationHandler is initialized twice for jdk-http server and simple-http + adjust port for simple-http tests.

Pavel Bucek (JIRA) 02/26/2013
Terms of Use; Privacy Policy; Copyright ©2013-2017 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close