[
https://issues.apache.org/jira/browse/BROOKLYN-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247451#comment-14247451
]
ASF GitHub Bot commented on BROOKLYN-102:
-----------------------------------------
Github user aledsage commented on the pull request:
https://github.com/apache/incubator-brooklyn/pull/397#issuecomment-67089602
Test failures is unconnected. Will look at that another time:
```
java.lang.IllegalArgumentException: Could not find keystore:
/home/jenkins/jenkins-slave/workspace/incubator-brooklyn-pull-requests%402/usage/launcher/target/test-classes/server.ks
at
brooklyn.launcher.BrooklynWebServer.checkFileExists(BrooklynWebServer.java:452)
at brooklyn.launcher.BrooklynWebServer.start(BrooklynWebServer.java:372)
at
brooklyn.launcher.BrooklynWebServerTest.verifyHttps(BrooklynWebServerTest.java:100)
```
Merging.
> Rebind fails for MongoDB
> ------------------------
>
> Key: BROOKLYN-102
> URL: https://issues.apache.org/jira/browse/BROOKLYN-102
> Project: Brooklyn
> Issue Type: Bug
> Affects Versions: 0.7.0-SNAPSHOT
> Reporter: Aled Sage
>
> I deployed an app with a single MongoDB server, running with `brooklyn launch
> --persist auto`. I then stopped Brooklyn, and restarted it. It failed to
> rebind to the MongoDB entity's persisted state with the error shown below:
> {noformat}
> 2014-12-09 21:37:36,835 WARN Error deserializing memento (attempt 1 of 5):
> com.thoughtworks.xstream.converters.ConversionException: No field
> 'loadFactor' found in class 'com.mongodb.CommandResult' : No field
> 'loadFactor' found in class 'com.mongodb.CommandResult'
> ---- Debugging information ----
> message : No field 'loadFactor' found in class
> 'com.mongodb.CommandResult'
> cause-exception :
> com.thoughtworks.xstream.converters.reflection.MissingFieldException
> cause-message : No field 'loadFactor' found in class
> 'com.mongodb.CommandResult'
> class : com.mongodb.CommandResult
> required-type : com.mongodb.CommandResult
> converter-type :
> com.thoughtworks.xstream.converters.reflection.SerializableConverter
> path :
> /entity/attributes/mongodb.server.status.bson/com.mongodb.CommandResult/map/default/loadFactor
> line number : 71
> class[1] : java.util.LinkedHashMap
> converter-type[1] : brooklyn.util.xstream.StringKeyMapConverter
> class[2] : brooklyn.entity.rebind.dto.BasicEntityMemento
> converter-type[2] :
> com.thoughtworks.xstream.converters.reflection.ReflectionConverter
> version : 0.7.0-SNAPSHOT
> {noformat}
> This is easily reproduced in an integration test - just wait for the sensor
> `MongoDBServer.STATUS_BSON` to be populated before rebinding.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)