On further investigation I found its creating the child context in 1.1.4
whereas in 1.1.0 it was not happening. In this child context its creating
another instance of bean.
See the log for child context construction
24-Nov-2009 16:23:40
com.sun.jersey.spi.spring.container.servlet.SpringServlet getContext
INFO: Creating new child context from classpath*:/spring/*.xml
16:23:40.948 [http9998-WorkerThread(0)] INFO
o.s.w.c.s.XmlWebApplicationContext - Refreshing Root WebApplicationContext:
startup date [Tue Nov 24 16:23:40 GMT 2009]; parent: Root
WebApplicationContext
16:23:40.963 [http9998-WorkerThread(0)] DEBUG
o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching
resources in directory tree
[C:\projects\workspace\bundle-build\repository\ucles.themes.service\target\test-classes\spring]
.
.
.
.
--
View this message in context: http://n2.nabble.com/Some-problem-in-Using-jersey-1-1-4-tp4057486p4059180.html
Sent from the Jersey mailing list archive at Nabble.com.