[JBoss JIRA] (ISPN-6685) Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6685?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6685:
------------------------------------
Summary: Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload() (was: Hot Rod server failed to start due to NPE in PersistenceManagerImpl.preload())
> Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
> ----------------------------------------------------------------------------
>
> Key: ISPN-6685
> URL: https://issues.jboss.org/browse/ISPN-6685
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Attachments: server.log
>
>
> This occurs intermittently during the Spark connector testsuite, that starts 3 servers in parallel. The HotRod server fails to start with error:
> {noformat}
> 2016-05-19 19:31:21,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("hotrod-connector" => "hotrod-connector")
> ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl
> Caused by: org.infinispan.persistence.spi.PersistenceException: Execution exception!
> Caused by: java.util.concurrent.ExecutionException: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: java.lang.NullPointerException"}}
> 2016-05-19 19:31:22,037 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6685) Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6685?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6685:
------------------------------------
Steps to Reproduce:
* Start a single node server with:
{{bin/standalone.sh -c clustered.xml}}
* Start JConsole, and register a .proto file, by calling the {{registerProtoFile}} operation in the {{RemoteQuery}} MBean. The proto file is not important, so the String {{message A {}}} is enough
* Restart the server
was:
* Start a single node server with:
{{bin/standalone.sh -c clustered.xml}}
* Start JConsole, and register a .proto file, by calling the {{registerProtoFile}} operation in the {{RemoteQuery}} MBean. The proto file is not important, so the string {{message A {}}} is enough
* Restart the server
> Hot Rod server fails to start due to NPE in PersistenceManagerImpl.preload()
> ----------------------------------------------------------------------------
>
> Key: ISPN-6685
> URL: https://issues.jboss.org/browse/ISPN-6685
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Attachments: server.log
>
>
> This occurs intermittently during the Spark connector testsuite, that starts 3 servers in parallel. The HotRod server fails to start with error:
> {noformat}
> 2016-05-19 19:31:21,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("hotrod-connector" => "hotrod-connector")
> ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl
> Caused by: org.infinispan.persistence.spi.PersistenceException: Execution exception!
> Caused by: java.util.concurrent.ExecutionException: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: java.lang.NullPointerException"}}
> 2016-05-19 19:31:22,037 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6685) Hot Rod server failed to start due to NPE in PersistenceManagerImpl.preload()
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6685?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6685:
------------------------------------
Steps to Reproduce:
* Start a single node server with:
{{bin/standalone.sh -c clustered.xml}}
* Start JConsole, and register a .proto file, by calling the {{registerProtoFile}} operation in the {{RemoteQuery}} MBean. The proto file is not important, so the string {{message A {}}} is enough
* Restart the server
> Hot Rod server failed to start due to NPE in PersistenceManagerImpl.preload()
> -----------------------------------------------------------------------------
>
> Key: ISPN-6685
> URL: https://issues.jboss.org/browse/ISPN-6685
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Attachments: server.log
>
>
> This occurs intermittently during the Spark connector testsuite, that starts 3 servers in parallel. The HotRod server fails to start with error:
> {noformat}
> 2016-05-19 19:31:21,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("hotrod-connector" => "hotrod-connector")
> ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl
> Caused by: org.infinispan.persistence.spi.PersistenceException: Execution exception!
> Caused by: java.util.concurrent.ExecutionException: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: java.lang.NullPointerException"}}
> 2016-05-19 19:31:22,037 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6686) Improve fluidity of persistent store configuration builders
by Krzysztof Sobolewski (JIRA)
[ https://issues.jboss.org/browse/ISPN-6686?page=com.atlassian.jira.plugin.... ]
Krzysztof Sobolewski commented on ISPN-6686:
--------------------------------------------
PR: https://github.com/infinispan/infinispan/pull/4362
> Improve fluidity of persistent store configuration builders
> -----------------------------------------------------------
>
> Key: ISPN-6686
> URL: https://issues.jboss.org/browse/ISPN-6686
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration, Loaders and Stores
> Affects Versions: 8.2.2.Final
> Reporter: Krzysztof Sobolewski
>
> Configuration of cache stores has some fluidity issues. I'd like to do:
> {code:java}
> ConfigurationBuilder builder = ...;
> builder
> .persistence()
> .addStore(JdbcStringBasedStoreConfigurationBuilder.class)
> .dialect(...)
> .table() // <- compilation error
> ...
> .connectionPool() // <- compilation error
> ...;
> {code}
> but I'm forced to do:
> {code:java}
> ConfigurationBuilder builder = ...;
> JdbcStringBasedStoreConfigurationBuilder store = builder
> .persistence()
> .addStore(JdbcStringBasedStoreConfigurationBuilder.class)
> .dialect(...);
> store
> .table()
> ...;
> store
> .connectionPool()
> ...;
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6686) Improve fluidity of persistent store configuration builders
by Krzysztof Sobolewski (JIRA)
Krzysztof Sobolewski created ISPN-6686:
------------------------------------------
Summary: Improve fluidity of persistent store configuration builders
Key: ISPN-6686
URL: https://issues.jboss.org/browse/ISPN-6686
Project: Infinispan
Issue Type: Enhancement
Components: Configuration, Loaders and Stores
Affects Versions: 8.2.2.Final
Reporter: Krzysztof Sobolewski
Configuration of cache stores has some fluidity issues. I'd like to do:
{code:java}
ConfigurationBuilder builder = ...;
builder
.persistence()
.addStore(JdbcStringBasedStoreConfigurationBuilder.class)
.dialect(...)
.table() // <- compilation error
...
.connectionPool() // <- compilation error
...;
{code}
but I'm forced to do:
{code:java}
ConfigurationBuilder builder = ...;
JdbcStringBasedStoreConfigurationBuilder store = builder
.persistence()
.addStore(JdbcStringBasedStoreConfigurationBuilder.class)
.dialect(...);
store
.table()
...;
store
.connectionPool()
...;
{code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6547) Embedded and remote Uber Jars puts all classes into BeanManager
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6547?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec reopened ISPN-6547:
---------------------------------------
The previous fix was wrong. The SPI spec says:
{quote}
If both include filters and excludes filters are specified, only class names which match at least one include filter and don't match any exclude filter are scanned.
{quote}
> Embedded and remote Uber Jars puts all classes into BeanManager
> ---------------------------------------------------------------
>
> Key: ISPN-6547
> URL: https://issues.jboss.org/browse/ISPN-6547
> Project: Infinispan
> Issue Type: Bug
> Components: CDI Integration
> Affects Versions: 8.2.1.Final
> Reporter: Sebastian Łaskawiec
> Assignee: Sebastian Łaskawiec
> Fix For: 9.0.0.Alpha2
>
>
> Based on [JBoss Forum discussion|https://developer.jboss.org/thread/269431] it turned out that when using Weld SE and Infinispan Uber Jars, all beans are populated to Bean Manager. This leads to {{There's already a JMX MBean instance type=CacheManager,name="CDIExtensionDefaultCacheManager" already registered under 'org.infinispan' JMX domain}} errors.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months
[JBoss JIRA] (ISPN-6685) Hot Rod server failed to start due to NPE in PersistenceManagerImpl.preload()
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6685?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6685:
------------------------------------
Status: Open (was: New)
> Hot Rod server failed to start due to NPE in PersistenceManagerImpl.preload()
> -----------------------------------------------------------------------------
>
> Key: ISPN-6685
> URL: https://issues.jboss.org/browse/ISPN-6685
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 9.0.0.Alpha2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Attachments: server.log
>
>
> This occurs intermittently during the Spark connector testsuite, that starts 3 servers in parallel. The HotRod server fails to start with error:
> {noformat}
> 2016-05-19 19:31:21,976 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
> ("subsystem" => "datagrid-infinispan-endpoint"),
> ("hotrod-connector" => "hotrod-connector")
> ]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector" => "org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.persistence.manager.PersistenceManagerImpl.preload() on object of type PersistenceManagerImpl
> Caused by: org.infinispan.persistence.spi.PersistenceException: Execution exception!
> Caused by: java.util.concurrent.ExecutionException: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: org.infinispan.persistence.spi.PersistenceException: Unable to preload!
> Caused by: java.lang.NullPointerException"}}
> 2016-05-19 19:31:22,037 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0186: Services which failed to start: service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan-endpoint.hotrod.hotrod-connector: DGENDPT10004: Failed to start HotRodServer
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 10 months