Bugs item #551415, was opened at 2002-05-02 08:59
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=551415&group_id=22866

Category: JBossServer
Group: v2.4 BETA (stable)
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Annegret Sternagel (annegret)
Assigned to: Nobody/Anonymous (nobody)
Summary: no passivation working in jboss2.4.5.RC3

Initial Comment:
WindowsNT, jdk1.3, jboss2.4.5.RC3 (standalone)

- I just unzipped jboss2.4.5.RC3, 
- changed the cache-policy for container-configuration 
for Standard Stateful SessionBean in standardjboss.xml
- added security-domain in auth.conf
- added users.properties and role.properties to 
jboss\conf\default
- deployed sessiontest.jar
(added / changed files see attached zip)

I wanted to test the secured access after bean 
passivation (bug reported for jboss2.4.3, fixed in 
jboss2.4.5)
Now it seems that the SessionBeans never will be 
passivated or removed (just on shutdown ejbPassivate 
is called, see logfile jboss245RC3.log) which is 
working in jboss 2.4.3 with the same sample code 
(except the security bug) (sample code see attached 
zip-file)
I have recompiled the code with jboss 2.4.5.RC3 but 
nothing changed.

Debug output in jboss 2.4.3:
[Default] User 'scott' authenticated.
[Default] StatefulSessionBean.ejbCreate() called
[Default] StatefulSessionBean.echo, arg=Hello
[Default] StatefulSessionBean.echo, 
callerPrincipal=caller_scott
[Default] StatefulSessionBean.ejbRemove() called
[Default] StatefulSessionBean.ejbCreate() called
[Default] StatefulSessionBean.noop
[Default] StatefulSessionBean.noop, 
callerPrincipal=caller_scott
[Default] StatefulSessionBean.initBeanref
[Default] StatefulSessionBean.ejbCreate() called
[Bean Cache] Scheduling for passivation overaged bean 
StatefulSession with id = 1020342982581 - Cache size = 
1
[Bean Cache] Aging out from cache bean 
StatefulSessionwith id = 1020342982581; cache size = 1
[Container factory] Scheduled passivation of bean 
StatefulSession with id = 1020342982581
[Default] StatefulSessionBean.ejbPassivate() called
[Container factory] Passivated bean StatefulSession 
with id = 1020342982581
[Bean Cache] Resized cache for bean StatefulSession: 
old capacity = 1000, new capacity = 50
[Bean Cache] Scheduling for passivation overaged bean 
StatefulSession1 with id = 1020342982580 - Cache size 
= 1
[Bean Cache] Aging out from cache bean 
StatefulSession1with id = 1020342982580; cache size = 1
[Container factory] Scheduled passivation of bean 
StatefulSession1 with id = 1020342982580
[Default] StatefulSessionBean.ejbPassivate() called
[Container factory] Passivated bean StatefulSession1 
with id = 1020342982580
[Bean Cache] Resized cache for bean StatefulSession1: 
old capacity = 1000, new capacity = 50

Debug output in jboss 2.4.5.RC3
[15:18:06,840,Default] StatefulSessionBean.ejbCreate() 
called
[15:18:06,990,Default] StatefulSessionBean.echo, 
arg=Hello
[15:18:06,990,Default] StatefulSessionBean.echo, 
callerPrincipal=caller_scott
[15:18:07,000,Default] StatefulSessionBean.ejbRemove() 
called
[15:18:07,110,Default] StatefulSessionBean.ejbCreate() 
called
[15:18:07,220,Default] StatefulSessionBean.noop
[15:18:07,220,Default] StatefulSessionBean.noop, 
callerPrincipal=caller_scott
[15:18:07,230,Default] StatefulSessionBean.initBeanref
[15:18:07,330,Default] StatefulSessionBean.ejbCreate() 
called
[15:19:54,404,LRUEnterpriseContextCachePolicy] Resized 
cache for bean StatefulSession1: old capacity = 1000, 
new capacity = 50
[15:20:04,879,LRUEnterpriseContextCachePolicy] Resized 
cache for bean StatefulSession: old capacity = 1000, 
new capacity = 50
[15:22:07,365,Default] StatefulSessionBean.echo, 
arg=Hello
[15:22:07,365,Default] StatefulSessionBean.echo, 
callerPrincipal=caller_scott
[15:22:07,365,Default] StatefulSessionBean.echo, 
arg=beanref: Hello
[15:22:07,365,Default] StatefulSessionBean.echo, 
callerPrincipal=caller_scott
[15:22:07,375,Default] StatefulSessionBean.noop
[15:22:07,375,Default] StatefulSessionBean.noop, 
callerPrincipal=caller_scott


----------------------------------------------------------------------

>Comment By: marc fleury (mnf999)
Date: 2002-05-02 22:22

Message:
Logged In: YES 
user_id=174548

Annegret, see

Patches item #551618

----------------------------------------------------------------------

Comment By: Victor Langelo (vlangelo)
Date: 2002-05-02 17:13

Message:
Logged In: YES 
user_id=169968

See patch 551618.

----------------------------------------------------------------------

Comment By: Annegret Sternagel (annegret)
Date: 2002-05-02 09:04

Message:
Logged In: YES 
user_id=444985

file not attached, next try to submit file

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=551415&group_id=22866

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to