[JBoss JIRA] (ISPN-4307) RHQ JMX plugin failed to get measurement values
by Tomas Sykora (JIRA)
Tomas Sykora created ISPN-4307:
----------------------------------
Summary: RHQ JMX plugin failed to get measurement values
Key: ISPN-4307
URL: https://issues.jboss.org/browse/ISPN-4307
Project: Infinispan
Issue Type: Bug
Components: JMX, reporting and management
Affects Versions: 7.0.0.Alpha4
Reporter: Tomas Sykora
Assignee: William Burns
We are not able to monitor cache statistics due to this error. RHQ agents are reporting:
2014-05-21 05:54:24,958 WARN [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- Failure to collect measurement data for Resource[id=10774, uuid=9f67384f-8f53-4a25-a138-13c54b32c6df, type={Infinispan}Infinispan Cache, key="___default(dist_sync)", name=___default(dist_sync), parent=DefaultCacheManager] - cause: java.lang.NullPointerException:null
2014-05-21 05:55:32,013 ERROR [WorkerThread#1[10.16.23.98:59988]] (rhq.core.pc.measurement.MeasurementManager)- Could not get measurement values
java.lang.NullPointerException
at org.rhq.plugins.jmx.MBeanResourceComponent.getEmsConnection(MBeanResourceComponent.java:574)
at org.infinispan.rhq.CacheComponent.getValues(CacheComponent.java:97)
at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocation.call(ResourceContainer.java:654)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4308) ISPN testsuite fails randomly with OOM, HEAP size
by Vitalii Chepeliuk (JIRA)
Vitalii Chepeliuk created ISPN-4308:
---------------------------------------
Summary: ISPN testsuite fails randomly with OOM, HEAP size
Key: ISPN-4308
URL: https://issues.jboss.org/browse/ISPN-4308
Project: Infinispan
Issue Type: Bug
Components: Build process
Affects Versions: 7.0.0.Alpha4, 7.0.0.Alpha2, 7.0.0.Alpha1
Environment: All
Reporter: Vitalii Chepeliuk
Assignee: Mircea Markus
Priority: Critical
When running ISPN testsuite following error is randomly ocurred
{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test (default-test) on project infinispan-core: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.14.1:test failed: There was an error in the forked process
[ERROR] java.lang.OutOfMemoryError: Java heap space
[ERROR] at java.io.BufferedWriter.<init>(BufferedWriter.java:116)
[ERROR] at java.io.BufferedWriter.<init>(BufferedWriter.java:99)
[ERROR] at org.testng.internal.Utils.writeFile(Utils.java:190)
[ERROR] at org.testng.internal.Utils.writeFile(Utils.java:165)
[ERROR] at org.testng.internal.Utils.appendToFile(Utils.java:142)
[ERROR] at org.testng.reporters.SuiteHTMLReporter.generateMethodsChronologically(SuiteHTMLReporter.java:442)
[ERROR] at org.testng.reporters.SuiteHTMLReporter.generateReport(SuiteHTMLReporter.java:72)
[ERROR] at org.testng.TestNG.generateReports(TestNG.java:1089)
[ERROR] at org.testng.TestNG.run(TestNG.java:1048)
[ERROR] at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:77)
[ERROR] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:189)
[ERROR] at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:105)
[ERROR] at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:117)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
[ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[ERROR] at java.lang.reflect.Method.invoke(Method.java:619)
[ERROR] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
[ERROR] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159)
[ERROR] at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
{noformat}
Problem is in surefire plugin as it does not inherit JAVA_OPTS or MAVEN_OPTS.
Heap settings should be set through argLine in maven-surefire-plugin.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4306) HR client auth over kerberos has wrong AccessControlContext
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4306?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant reassigned ISPN-4306:
-------------------------------------
Assignee: Tristan Tarrant (was: Mircea Markus)
> HR client auth over kerberos has wrong AccessControlContext
> -----------------------------------------------------------
>
> Key: ISPN-4306
> URL: https://issues.jboss.org/browse/ISPN-4306
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Reporter: Vojtech Juranek
> Assignee: Tristan Tarrant
>
> When HotRod client authneticate to HR server via kerberos, HR server obtains wrong {{AccessControlContext}}, which doesn't contain appropriate subject (to be more clear it's in [AuthorizationManagerImpl.checkPermission()|https://github.com/infinispan/...]). Returned subject is {{null}} and moreover this default {{AccessControlContext}} allows to do anything, so effectively the HR client can do anything, no matter what the permissions are.
> Need to mention that in this case java {{SecurityManager}} is turned off, but as the same setup works with e.g. MD5 auth, we should keep some consistency and it shouldn't work in any case (and {{SecurityManager}} to be turned on should be a hard requirement to ISPN auth works) or it should work also in case of krb auth.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4306) HR client auth over kerberos has wrong AccessControlContext
by Vojtech Juranek (JIRA)
Vojtech Juranek created ISPN-4306:
-------------------------------------
Summary: HR client auth over kerberos has wrong AccessControlContext
Key: ISPN-4306
URL: https://issues.jboss.org/browse/ISPN-4306
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Reporter: Vojtech Juranek
Assignee: Mircea Markus
When HotRod client authneticate to HR server via kerberos, HR server obtains wrong {{AccessControlContext}}, which doesn't contain appropriate subject (to be more clear it's in [AuthorizationManagerImpl.checkPermission()|https://github.com/infinispan/...]). Returned subject is {{null}} and moreover this default {{AccessControlContext}} allows to do anything, so effectively the HR client can do anything, no matter what the permissions are.
Need to mention that in this case java {{SecurityManager}} is turned off, but as the same setup works with e.g. MD5 auth, we should keep some consistency and it shouldn't work in any case (and {{SecurityManager}} to be turned on should be a hard requirement to ISPN auth works) or it should work also in case of krb auth.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4305) Add the need to install Protoc for remote query quickstart to documentation
by Jiří Holuša (JIRA)
Jiří Holuša created ISPN-4305:
---------------------------------
Summary: Add the need to install Protoc for remote query quickstart to documentation
Key: ISPN-4305
URL: https://issues.jboss.org/browse/ISPN-4305
Project: Infinispan
Issue Type: Enhancement
Components: Demos and Tutorials
Affects Versions: 7.0.0.Alpha4
Reporter: Jiří Holuša
Assignee: Jiří Holuša
During the build of remote query quickstart there's used protoc. Without protoc being properly installed, the quickstart doesn't build.
Document the fact that installed protoc is necessary for building this quickstart. (add this to README.txt)
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-1935) Provide tree cache specific listener callbacks
by Deepak Devje (JIRA)
[ https://issues.jboss.org/browse/ISPN-1935?page=com.atlassian.jira.plugin.... ]
Deepak Devje commented on ISPN-1935:
------------------------------------
Hello - do we have a solution for this? I am particularly interested in the callback implementation.
> Provide tree cache specific listener callbacks
> ----------------------------------------------
>
> Key: ISPN-1935
> URL: https://issues.jboss.org/browse/ISPN-1935
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 5.1.2.FINAL
> Reporter: Michael Gronau
> Assignee: Galder Zamarreño
> Labels: API, CacheEntryModified, Notifications, TreeCache
> Attachments: TreeListenerTest.java
>
>
> A put operation to the TreeCache API causes multiple CacheEntryModified events to be fired. The data map (an AtomicHashMap) is always empty and does not contain the modifications. The notifications are fired twice for isPre=false and isPre=true, which means they are fired 4 times.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months