Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004175 [Resin] minor always 08-11-10 13:06 08-16-10 14:27
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.10 Product Version
  Product Build
Summary 0004175: duplicate @HessianService/@Singleton
Description (rep by Jeff Schnitzer)

There seems to still be a problem with singletons exposed as hessian
services. I can create a test project if necessary, but I'm seeing
this behavior in two separate applications:

1) Create a @Singleton bean
2) Give the bean a @Startup @PostConstruct method that initializes some data
3) Give the bean a @HessianService annotation
4) Call the bean via hessian
5) Observe that the data isn't initialized

This was a problem long ago in 4.0.0 (with the equivalent annotations
at the time) but I thought it was fixed sometime later. I could be
wrong about that though. The old workaround was to have the hessian
endpoint on a different bean which itself injects the singleton.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004727)
ferg
08-16-10 14:27

server/5130
 

- Issue History
Date Modified Username Field Change
08-11-10 13:06 ferg New Issue
08-11-10 13:07 ferg Project Documentation => Resin
08-11-10 13:47 voodude Issue Monitored: voodude
08-16-10 14:27 ferg Note Added: 0004727
08-16-10 14:27 ferg Assigned To  => ferg
08-16-10 14:27 ferg Status new => closed
08-16-10 14:27 ferg Resolution open => fixed
08-16-10 14:27 ferg Fixed in Version  => 4.0.10


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker