Hi,

I'm trying to use a session scoped bean with the following configuration:

        <bean id="userWorkspace" class="xxx.xxxx.xxx.webapp.UserWorkspaceImpl"
scope="session">
                <!--  this next element effects the proxying of the surrounding 
bean -->
                <aop:scoped-proxy/>
                <property name="projectDao" ref="projectDao"/>
                <property name="userDao" ref="userDao"/>
        </bean>

Now that works only if I place it in dispatcher-servlet.xml or I turn the
debug level of spring to DEBUG.
Else it gives me:  java.lang.IllegalStateException: No thread-bound request
found: Are you referring..... 
I can post the trace if needed. 

I have the ContextLoaderListener, and RequestContextListener Listener set in
web.xml so I can't think of what else is wrong...

Any help appreciated

thanks
stelios
-- 
View this message in context: 
http://www.nabble.com/Spring-Sesison-Scope-bean-tp19651582s2369p19651582.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to