-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
All
-
Small
For the component-server we have following options in JAVA_OPTS:
-Dtalend.component.manager.services.cache.eviction.defaultEvictionTimeout=30_000 -Dtalend.component.manager.services.cache.eviction.defaultMaxSize=5_000
They can't be parsed correctly to integers:
org.talend.sdk.component.api.exception.ComponentException: (org.apache.xbean.recipe.ConstructionException) Unable to convert property value from java.lang.String to int for injection private int org.talend.sdk.component.runtime.manager.service.LocalCacheService$CacheConfiguration.defaultMaxSize at org.apache.xbean.recipe.ObjectRecipe.setProperty(ObjectRecipe.java:510) ~[org.apache.xbean.xbean-reflect-4.20.jar:4.20] ... Caused by: org.talend.sdk.component.api.exception.ComponentException: (org.apache.xbean.propertyeditor.PropertyEditorException) java.lang.NumberFormatException: For input string: "5_000" at org.apache.xbean.propertyeditor.DoubleEditor.toObjectImpl(DoubleEditor.java:31) ~[org.apache.xbean.xbean-reflect-4.20.jar:4.20] ... Caused by: java.lang.NumberFormatException: For input string: "5_000" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043) ~[?:1.8.0_322]
When I overwrite these options in _JAVA_OPTIONS of component-server with 30000 and 5000 then no error
Quick workaround:
Remove underscores from default values