Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Flexmonster accelerator with tomcat/Wildfly

Answered
MC asked on November 22, 2019

I’m trying to integrate flexmonster accelerator with tomcat/wildfly, following the process described here:
https://www.flexmonster.com/question/integrate-pentaho-accelerator-into-apache-tomcat/
I have deployed the demo as standalone war and tried to access it from my WebApp. I have a problem already at handshaking: 

com.owlike.genson.JsonBindingException: Could not deserialize to property 'componentVersion' of class class com.flexmonster.proxy.vo.args.HandshakingArgs
at com.owlike.genson.reflect.PropertyMutator.couldNotDeserialize(PropertyMutator.java:49)
at com.owlike.genson.reflect.PropertyMutator.deserialize(PropertyMutator.java:32)
at com.owlike.genson.reflect.BeanDescriptor.deserialize(BeanDescriptor.java:110)
at com.owlike.genson.reflect.BeanDescriptor.deserialize(BeanDescriptor.java:93)
at com.owlike.genson.convert.BeanViewConverter.deserialize(BeanViewConverter.java:105)
at com.owlike.genson.convert.NullConverter$NullConverterWrapper.deserialize(NullConverter.java:57)
at com.owlike.genson.Genson.deserialize(Genson.java:440)
... 53 more
Caused by: java.lang.NumberFormatException: multiple points

 
The json string sent to the server is

{"componentVersion":"2.7.19","acceleratorMinVersion":"2.7.11","signature":"WBHuyye+gA+85uOXzP9LmMqp5VM="} 

(so, different from that of the link).

Thx for any help.

1 answer

Public
Ian Sadovy Flexmonster November 22, 2019

Hello MC,
 
Thank you for the details.
It seems that you need to update flexmonster-proxy-core.jar (you can download it from our site with Mondrian package). It’s because in the previous version of JAR, componentVersion is expected to be a number, and in the latest version, it is a string.
Please let us know if it resolves the issue.
 
Regards,
Ian

Please login or Register to Submit Answer