java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter occurs during Bonita WildFly 7.6.3 installation

1
0
-1

Hi,
I would appreciate your help on an issue during Bonita Wildfly 7.6.3 installation.
I get the following error when execute start-bonita.bat:

Initializing and configuring Bonita WildFly bundle
(Platform Setup 7.6.3)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/C:/BonitaBPM/setup/lib/spring-core-4.3.7.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] configuration for Database vendor: sqlserver
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter

I tried the workaround described at https://documentation.bonitasoft.com/bonita/7.6/wildfly-bundle that says: “In the /server/modules/com/sqlserver/main/module.xml file, add ..module name="javax.xml.bind.api".. in the list of dependencies”
However, when I go to that path I realize that ‘com’ folder does not exist under ‘/server/modules/’

This is the environment information:

Operating system: Windows Server 2016
Java version: jdk1.8.0_152
DB Server: SQLServer 2017
Bonita: WildFly buncle (Platform Setup 7.6.3) It was downloaded from ‘Production’ Tab.
Database was customized according to https://documentation.bonitasoft.com/bonita/7.5/database-configuration
Database driver that was downloaded is : sqljdbc_6.0/enu/jre8/sqljdbc42
Configured database.properties with the DB information.

Does anyone knows how could this be fixed?
Thanks in advance,
Shirley

Comments

Submitted by rjrjswrdvi on Mon, 04/30/2018 - 13:09

Hello,
Were you able to resolve this issue or found any workaround? Am facing the same issue with my installation.

Thanks!

1 answer

1
0
-1

Hi,
I got the same error on a newly installed Ubuntu server 18.04 with Bonita 7.7.4.
The java version installed was the openjdk-11-jdk and it's likely not compatible with the SQLServer driver.
I solved by installing the oracle-java8-installer as explained here: https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/ (I just had to add the repository and ran apt install).

Best regards,
Emanuele

Notifications