tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1520) A service as a singleton is not working
Date Mon, 23 Feb 2015 16:40:14 GMT

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

Romain Manni-Bucau commented on TOMEE-1520:
-------------------------------------------

can you check against our snapshot (2.0.0-SNAPSHOT and/or 1.7.2-SNAPSHOT) seems like it is
fixed as shown by https://git-wip-us.apache.org/repos/asf?p=tomee.git;a=blob;f=server/openejb-cxf-rs/src/test/java/org/apache/openejb/server/cxf/rs/SingletonTest.java;h=593175aed341e25b3c03e9358f032ad21d923dca;hb=5cdc9618821d5b910e741e7399299c64eacab755

> 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
>         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)

Mime
View raw message