You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2015/02/24 08:19:11 UTC

[jira] [Resolved] (TOMEE-1520) A service as a singleton is not working

     [ https://issues.apache.org/jira/browse/TOMEE-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau resolved TOMEE-1520.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.7.2
                   2.0.0-Milestone-1

I can do it, thanks for testing!

Commit: ffd7be2c9cb7291093dce88074604cae4a55a57c

> A service as a singleton is not working
> ---------------------------------------
>
>                 Key: TOMEE-1520
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1520
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Arquillian Adapters
>    Affects Versions: 1.7.1
>         Environment: Operating System : Windows 7 Enterprise 64 bit, Service Pack 1
> Java : Java HotSpot(TM) 64-Bit Server VM, version "1.7.0_71"
> TOMEE : apache-tomee-1.7.1-plus.zip
>            Reporter: srikanth guttula
>             Fix For: 2.0.0-Milestone-1, 1.7.2
>
>         Attachments: tomeebug.zip
>
>
> A simple rest service deployed as a singleton is not working. The service deployed as a singleton, is behaving just like a per-request service. The same example is working as expected in wildfly-8.2.0.Final. Debug statements also showed the same issue.
> The example code is not optimized specifically to any particular servlet container. 
> The example code can be typed directly from "Chapter 3-Your First JAX-RS Service" of "RESTful Java with JAX-RS 2.0" 2nd edition by Bill Burke



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