SPNEGO SSO implementation for gatein tomcat packaging
by Tuyen The Nguyen
Hi all,
We are trying to make SPNEGO SSO work on gatein tomcat packaging.
Unfortunately, current spnego sso implementation of gatein only works on
jboss because it use Jboss Negotiation library - a specific library for
jboss.
So, i provide other spnego implementation for gatein tomcat packaging at
https://github.com/nttuyen/gatein-spnego, this implementation works as an
extension and i tested it on master and 3.7.x branch.
If there some one can review and have any feedback, i would appreciate.
Btw, is there any idea about where this implementation should be in gatein
codebase?
Thanks!
TuyenNT.
10 years, 7 months
GTNPORTAL-3500: testMemoryLeakWithMultiThread fails sometimes
by Peter Palaga
Hi Minh, I hope, you are still a part of the team?
This happened to me and other JBoss Portal devs and testers several
times recently. From quickly looking at the test, I was not able to
tell, what is wrong: (a) the test or (b) the DownloadService has leaks.
Could you please have a look?
Here are the detais:
https://issues.jboss.org/browse/GTNPORTAL-3500
org.exoplatform.download.TestDownloadService.testMemoryLeakWithMultiThread()
fails in some cases. The stack trace:
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:48)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertTrue(Assert.java:27)
at
org.exoplatform.download.TestDownloadService.testMemoryLeakWithMultiThread(TestDownloadService.java:109)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
The line where it fails is
assertTrue(cache.getCacheSize() <= 10);
Version-Release number of selected component (if applicable):
GateIn 3.8.x or 3.9.x
Reproducible sometimes: 1/10 or even less. Happens both on Jenkins and
desktop.
Steps to Reproduce:
Not sure. It happens randomly. Perhaps overloading the machine with some
CPU-intensive task might help. Just build the
exo.portal.component.web.server artifact with tests repeatedly until it
fails.
Actual results:
Test fails
Expected results:
Not sure if the subject under the test is broken or the test itself.
Thanks,
Peter
10 years, 7 months