[JBoss JIRA] (ISPN-4419) Upgrade to netty 4.0.20
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-4419:
-------------------------------------
Summary: Upgrade to netty 4.0.20
Key: ISPN-4419
URL: https://issues.jboss.org/browse/ISPN-4419
Project: Infinispan
Issue Type: Component Upgrade
Security Level: Public (Everyone can see)
Components: Server
Reporter: Tristan Tarrant
Assignee: Norman Maurer
Fix For: 7.0.0.Alpha5, 7.0.0.Final
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (ISPN-800) Infinispan inside OSGI
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/ISPN-800?page=com.atlassian.jira.plugin.s... ]
RH Bugzilla Integration commented on ISPN-800:
----------------------------------------------
Martin Gencur <mgencur(a)redhat.com> changed the Status of [bug 1095200|https://bugzilla.redhat.com/show_bug.cgi?id=1095200] from ON_QA to VERIFIED
> Infinispan inside OSGI
> ----------------------
>
> Key: ISPN-800
> URL: https://issues.jboss.org/browse/ISPN-800
> Project: Infinispan
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Core
> Reporter: Luca Stancapiano
> Assignee: Ion Savin
>
> We need to import infinispan inside a OSGI repository. Tests are made with Felix.
> I added the configuration to use infinispan inside a osgi repository. We need to ignore all listed dependencies. With this configuration we can install infinispan-core.jar inside OSGI. Its achievement will be as a base installation here: https://github.com/flashboss/infinispan
> I added the Import-Package because you are forced to put manually in Felix all dependencies as jgroups, jboss marshalling, jcip, all apache commons. I've seen infinispan core working by default without all those libraries, so I think the same achievement should be replicated in OSGI.
> Inside the Import-Package tag I excluded those libraries so Infinispan core can be started in default mode without errors. If we want use the replication in OSGI, it is enough add manually the other packages (jgroups.jar etc etc)
> Actually the core bundle can be installed. But to be used it needs theese projects be installed as osgi bundles:
> jboss transaction api 1.0.1.GA
> We patched it. There is a new OSGI version here: https://repository.jboss.org/nexus/content/groups/public/org/jboss/spec/j... )
> jgroups 2.10.1.GA
> (it's a osgi bundle since the 3.x version)
> river 1.2.3.GA
> (opened an issue for marshalling 1.4.0 in JBMAR-118 and https://github.com/flashboss/jboss-marshalling/blob/master/river/pom.xml )
> marshalling-api 1.2.3.GA
> (opened an issue for marshalling 1.4.0 in JBMAR-118 and https://github.com/flashboss/jboss-marshalling/blob/master/api/pom.xml )
> jboss logging spi 2.0.5.GA
> (added a jira issue in JBLOGGING-51 . It could be fixed in the 2.2.0.CR2 version. Fixed in the 3.x version)
> rhq plugin annotations 1.4.0.B01
> (opened a feature request in https://bugzilla.redhat.com/show_bug.cgi?id=657754 )
> i18nlog 1.0.9
> (sent a patch in https://sourceforge.net/projects/i18nlog . It could become a OSGI bundle in the 1.0.10 version. Waiting for a response. Fixed in 1.15)
> log4j 1.2.16
> (that's ok...it is a osgi bundle ;))
> jcip-annotations 1.0
> (I sent a patch via email to brian(a)briangoetz.com and a post in http://tembrel.blogspot.com. Sent the patch in concurrency-interest(a)cs.oswego.edu too. They responded to me. There is a OSGI version with a different artifact name. I changed the dependency in the pom.xml of the parent project)
> We should make sure proper 'Import-Package' property is specified in the MANIFEST.MF so that:
> 1- it fails to load obviously when there's any missing bundles that are essential in using the very core functionality of Infinispan.
> 2 - it does not fail due to the dependency that is not really essential.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (ISPN-4417) Broken embedded security integration tests
by Vojtech Juranek (JIRA)
Vojtech Juranek created ISPN-4417:
-------------------------------------
Summary: Broken embedded security integration tests
Key: ISPN-4417
URL: https://issues.jboss.org/browse/ISPN-4417
Project: Infinispan
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Security
Reporter: Vojtech Juranek
Assignee: Vojtech Juranek
After integration of [lightweight security|https://github.com/infinispan/infinispan/pull/2629], all embedded security integration tests are broken, mainly due to
{noformat}
testUnauthenticatedRead(org.infinispan.test.integration.security.embedded.LdapAuthenticationIT) Time elapsed: 0.118 sec <<< ERROR!
java.lang.Exception: Unexpected exception, expected<java.lang.SecurityException> but was<java.lang.AssertionError>
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (ISPN-4405) QueryAuthorizationTest cannot find org/apache/lucene/search/similarities/Similarity class
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-4405?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-4405:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> QueryAuthorizationTest cannot find org/apache/lucene/search/similarities/Similarity class
> -----------------------------------------------------------------------------------------
>
> Key: ISPN-4405
> URL: https://issues.jboss.org/browse/ISPN-4405
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Embedded Querying
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Critical
> Fix For: 7.0.0.Alpha5
>
>
> org.infinispan.security.QueryAuthorizationTest fails to start:
> {code}2014-06-16 09:37:10,650 1966 ERROR [org.infinispan.test.fwk.UnitTestTestNGListener] (testng-QueryAuthorizationTest:) Configuration method createBeforeClass(org.infinispan.security.QueryAuthorizationTest) threw an exception
> java.lang.NoClassDefFoundError: org/apache/lucene/search/similarities/Similarity
> at org.hibernate.search.spi.SearchFactoryBuilder.createCleanFactoryState(SearchFactoryBuilder.java:297)
> at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:195)
> at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:126)
> at org.infinispan.query.impl.LifecycleManager.getSearchFactory(LifecycleManager.java:230)
> at org.infinispan.query.impl.LifecycleManager.cacheStarting(LifecycleManager.java:87)
> at org.infinispan.factories.ComponentRegistry.notifyCacheStarting(ComponentRegistry.java:228)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:214)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:699)
> at org.infinispan.security.impl.SecureCacheImpl.start(SecureCacheImpl.java:82)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:573)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:528)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:408)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:381)
> at org.infinispan.security.QueryAuthorizationTest$1.run(QueryAuthorizationTest.java:50)
> at org.infinispan.security.QueryAuthorizationTest$1.run(QueryAuthorizationTest.java:45)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:356)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (ISPN-4406) Stabilise security manager integration testsuite
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-4406?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-4406:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Stabilise security manager integration testsuite
> ------------------------------------------------
>
> Key: ISPN-4406
> URL: https://issues.jboss.org/browse/ISPN-4406
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Security
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 7.0.0.Alpha5
>
>
> integrationtests/security-manager-it tests randomly fail, which might be related to the fact that a lot of these tests rely on static initialisation, and I think that's causing messing up between tests initialising/uninitialising these static variables. The fact that the errors are random seems to back this up.
> However, enabling sequential testing results in:
> {code}[ERROR] java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'LIFECYCLE' permission
> [ERROR] at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:56)
> [ERROR] at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:70)
> [ERROR] at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:75)
> [ERROR] at org.infinispan.manager.DefaultCacheManager.getStatus(DefaultCacheManager.java:677)
> [ERROR] at org.infinispan.test.fwk.TestCacheManagerFactory$PerThreadCacheManagers.checkManagersClosed(TestCacheManagerFactory.java:435)
> [ERROR] at org.infinispan.test.fwk.TestCacheManagerFactory.testFinished(TestCacheManagerFactory.java:422)
> [ERROR] at org.infinispan.test.fwk.UnitTestTestNGListener.onFinish(UnitTestTestNGListener.java:104){code}
> This error is also present in paralell testing but in this case it's just logged rather than halting the process.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months