[JBoss JIRA] (ISPN-6094) Use security actions to read system properties for configuration
by Dan Berindei (JIRA)
Dan Berindei created ISPN-6094:
----------------------------------
Summary: Use security actions to read system properties for configuration
Key: ISPN-6094
URL: https://issues.jboss.org/browse/ISPN-6094
Project: Infinispan
Issue Type: Task
Components: Core, Embedded Querying
Affects Versions: 8.1.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 8.2.0.Beta1
Infinispan uses system properties for out-of-band settings that weren't deemed important enough to have a proper configuration attribute:
* infinispan.arrays.debug
* infinispan.unsafe.force_multicast
* infinispan.compat (obsolete?)
* infinispan.debugDependencies
* infinispan.stagger.delay (introduced with ISPN-825)
* org.infinispan.query.indexmanager.LockAcquiringBackend.MAX_QUEUE_SIZE
We should use a {{SecurityActions}} class to access these properties instead of {{Boolean.getBoolean()}} and {{Integer.getInteger()}}. We should also document these system properties, and evaluate moving them to the proper configuration.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 11 months
[JBoss JIRA] (ISPN-6093) When infinispan-remote and infinispan-embedded are deployed together we get an error
by Sebastian Łaskawiec (JIRA)
Sebastian Łaskawiec created ISPN-6093:
-----------------------------------------
Summary: When infinispan-remote and infinispan-embedded are deployed together we get an error
Key: ISPN-6093
URL: https://issues.jboss.org/browse/ISPN-6093
Project: Infinispan
Issue Type: Bug
Affects Versions: 8.1.0.Final
Reporter: Sebastian Łaskawiec
Assignee: Sebastian Łaskawiec
Priority: Minor
{code}
Exception in thread "main" java.lang.NoSuchMethodError: org.infinispan.commons.logging.BasicLogFactory.getLog(Ljava/lang/Class;)Lorg/jboss/logging/BasicLogger;
at org.infinispan.client.hotrod.impl.operations.PingOperation.<clinit>(PingOperation.java:25)
at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.ping(TransportObjectFactory.java:51)
at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:45)
at org.infinispan.client.hotrod.impl.transport.tcp.TransportObjectFactory.makeObject(TransportObjectFactory.java:16)
at infinispan.org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:1220)
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.pingServersIgnoreException(TcpTransportFactory.java:177)
at org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory.start(TcpTransportFactory.java:148)
at org.infinispan.client.hotrod.RemoteCacheManager.start(RemoteCacheManager.java:579)
at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:380)
at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:387)
at org.infinispan.data.RemoteWordCount.main(RemoteWordCount.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
{code}
The main cause is that in embedded BasicLogger is relocated whereas in remote it's not.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years, 11 months