[JBoss Portal] - Re: JBoss Portal LDAP Setup
by bdaw
1) You can create role 'Authenticated' in your LDAP and assigne every user that needs to access portal to it
2) You can alter web.xml to point to any other role that every user in your LDAP belongs to
it's not just security-role-ref. Investigate that file more carefully. You will find "security-constraint" part in it.
I'm sure it's possible. I tried it myself with LdapLoginModule. Portal is set up to restrict access to all /auth/* resources for specific role membership. It's standard based (JAAS) so you can change it to whatever you want. The only two places where portal plugs in to security exposed by Application Server is it's own JAAS LoginModule implementation and configuration in web.xml
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987657#3987657
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987657
19Â years, 5Â months
[Performance Tuning] - VM and GC tuning for JBoss
by viniciuscarvalho
Hello there tuning masters! I've read a very interesting post here and after spent a good time reading sun's GC Tuning, Ergonomics, OnJava and JBoss wiki regarding this topic.
We have an application that (today starts only with -Xms1024m -Xmx2520m) and after collecting GC information I got a bit worried.
We're loosing throughput cause there's no youngGen default size, I believe that increasing it would help a lot (please advice on this :) )
But also, what is worrying me the most is that the major collection is taking too long to run (after application is running for a while (6-8 hours)).
Another issue I found is that the memory size is increasing in certain situations for the tenured generation
Sample of Oldgen taking too long:
| 11866.646: [Full GC [PSYoungGen: 11216K->0K(753920K)] [PSOldGen: 1648071K->1535604K(1747648K)] 1659287K->1535604K(2501568K) [PSPermGen: 95147K->95147K(96384K)], 4.4093300 secs]
| 11871.120: [GC [PSYoungGen: 3777K->1056K(753216K)] 1539382K->1536660K(2500864K), 0.0318290 secs]
| 11871.152: [Full GC [PSYoungGen: 1056K->0K(753216K)] [PSOldGen: 1535604K->1431360K(1747648K)] 1536660K->1431360K(2500864K) [PSPermGen: 95177K->94436K(95360K)], 4.7277330 secs]
|
Sample of OldGen increasing instead of shrinking
| 9203.157: [Full GC [PSYoungGen: 61141K->0K(635008K)] [PSOldGen: 1397552K->1441375K(1747648K)] 1458693K->1441375K(2382656K) [PSPermGen: 92656K->92656K(92800K)], 3.5918050 secs]
| 9266.891: [Full GC [PSYoungGen: 72411K->0K(707520K)] [PSOldGen: 1441375K->1443979K(1747648K)] 1513786K->1443979K(2455168K) [PSPermGen: 92692K->92692K(92800K)], 3.9132890 secs]
|
Any advice on this would be really appreciated :)
Best regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987649#3987649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987649
19Â years, 5Â months