Unable to deploy flowable WARs to Jetty Server

Hello,

I am Unable to deploy any flowable war file into Jetty server. I have copied all WAR files into webapps folder and ran the server, It is showing error like “Unable to find the main class to restart”. Do i need to do any specific configurations to deploy in Jetty. I am able to deploy WAR files into Tomcat without any issues. Kindly help me on this.

Thank you,
Srikanth

1 Like

Hey Srikanth,

Which version of Flowable have you tried to deploy? And which version of Jetty are you using?

Cheers,
Filip

Thank you for the response.

Flowable 6.4.0 and jetty version is 9.4.12.

Regards,
Srikanth

Thanks,

Can you please share the entire stacktrace that you are getting so we can have a look at it?

2018-11-05 12:18:23.920:INFO::main: Logging initialized @633ms to org.eclipse.jetty.util.log.StdErrLog
2018-11-05 12:18:24.091:WARN:oejs.HomeBaseWarning:main: This instance of Jetty is not running from a separate {jetty.base} directory, this is not recommended. See documentation at http://www.eclipse.org/jetty/documentation/current/startup.html
2018-11-05 12:18:24.107:INFO:oejs.Server:main: jetty-9.4.12.v20180830; built: 2018-08-30T13:59:14.071Z; git: 27208684755d94a92186989f695db2d7b21ebc51; jvm 1.8.0_181-b13
2018-11-05 12:18:24.122:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///C:/jetty/webapps/] at interval 1
2018-11-05 12:18:24.512:WARN:oeja.AnnotationParser:main: Unknown asm implementation version, assuming version 393216
2018-11-05 12:18:24.700:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.Log scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/Log.class, jar:file:///C:/jetty/webapps
/flowable-admin/WEB-INF/lib/jcl-over-slf4j-1.7.25.jar!/org/apache/commons/logging/Log.class
2018-11-05 12:18:24.700:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.LogConfigurationException scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/LogConfigurationException.c
lass, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/jcl-over-slf4j-1.7.25.jar!/org/apache/commons/logging/LogConfigurationException.class
2018-11-05 12:18:24.700:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.LogFactory scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/LogFactory.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/jcl-over-slf4j-1.7.25.jar!/org/apache/commons/logging/LogFactory.class
2018-11-05 12:18:24.700:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.impl.NoOpLog scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/impl/NoOpLog.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/jcl-over-slf4j-1.7.25.jar!/org/apache/commons/logging/impl/NoOpLog.class
2018-11-05 12:18:24.700:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.impl.SimpleLog$1 scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/impl/SimpleLog$1.class, jar:file:///
C:/jetty/webapps/flowable-admin/WEB-INF/lib/jcl-over-slf4j-1.7.25.jar!/org/apache/commons/logging/impl/SimpleLog$1.class
2018-11-05 12:18:24.715:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.impl.SimpleLog scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/impl/SimpleLog.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/jcl-over-slf4j-1.7.25.jar!/org/apache/commons/logging/impl/SimpleLog.class
2018-11-05 12:18:24.779:WARN:oeja.AnnotationParser:qtp1450821318-15: org.json.JSONArray scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONArray.class, jar:file:///C:/jetty/webapps/flowable-
admin/WEB-INF/lib/json-20171018.jar!/org/json/JSONArray.class
2018-11-05 12:18:24.794:WARN:oeja.AnnotationParser:qtp1450821318-15: org.json.JSONException scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONException.class, jar:file:///C:/jetty/webapps/f
lowable-admin/WEB-INF/lib/json-20171018.jar!/org/json/JSONException.class
2018-11-05 12:18:24.794:WARN:oeja.AnnotationParser:qtp1450821318-15: org.json.JSONObject$1 scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject$1.class, jar:file:///C:/jetty/webapps/flo
wable-admin/WEB-INF/lib/json-20171018.jar!/org/json/JSONObject$1.class
2018-11-05 12:18:24.794:WARN:oeja.AnnotationParser:qtp1450821318-15: org.json.JSONObject scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONObject.class, jar:file:///C:/jetty/webapps/flowabl
e-admin/WEB-INF/lib/json-20171018.jar!/org/json/JSONObject.class
2018-11-05 12:18:24.794:WARN:oeja.AnnotationParser:qtp1450821318-15: org.json.JSONStringer scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONStringer.class, jar:file:///C:/jetty/webapps/flo
wable-admin/WEB-INF/lib/json-20171018.jar!/org/json/JSONStringer.class
2018-11-05 12:18:24.810:WARN:oeja.AnnotationParser:qtp1450821318-15: org.json.JSONTokener scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/android-json-0.0.20131108.vaadin1.jar!/org/json/JSONTokener.class, jar:file:///C:/jetty/webapps/flowa
ble-admin/WEB-INF/lib/json-20171018.jar!/org/json/JSONTokener.class
2018-11-05 12:18:25.028:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.Log scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/Log.class, jar:file:///C:/jetty/webapps
/flowable-admin/WEB-INF/lib/spring-jcl-5.0.9.RELEASE.jar!/org/apache/commons/logging/Log.class
2018-11-05 12:18:25.028:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.LogFactory$1 scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/LogFactory$1.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-jcl-5.0.9.RELEASE.jar!/org/apache/commons/logging/LogFactory$1.class
2018-11-05 12:18:25.044:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.LogFactory$2 scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/LogFactory$2.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-jcl-5.0.9.RELEASE.jar!/org/apache/commons/logging/LogFactory$2.class
2018-11-05 12:18:25.044:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.LogFactory scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/LogFactory.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-jcl-5.0.9.RELEASE.jar!/org/apache/commons/logging/LogFactory.class
2018-11-05 12:18:25.059:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.impl.NoOpLog scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/impl/NoOpLog.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-jcl-5.0.9.RELEASE.jar!/org/apache/commons/logging/impl/NoOpLog.class
2018-11-05 12:18:25.059:WARN:oeja.AnnotationParser:qtp1450821318-20: org.apache.commons.logging.impl.SimpleLog scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/commons-logging-1.2.jar!/org/apache/commons/logging/impl/SimpleLog.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-jcl-5.0.9.RELEASE.jar!/org/apache/commons/logging/impl/SimpleLog.class
2018-11-05 12:18:25.075:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.bcrypt.BCrypt scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/crypto/bcry
pt/BCrypt.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/bcrypt/BCrypt.class
2018-11-05 12:18:25.075:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/secur
ity/crypto/bcrypt/BCryptPasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/bcrypt/BCryptPasswordEncoder.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.codec.Base64 scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/crypto/codec
/Base64.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/codec/Base64.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.codec.Hex scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/crypto/codec/He
x.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/codec/Hex.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.codec.InvalidBase64CharacterException scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframew
ork/security/crypto/codec/InvalidBase64CharacterException.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/codec/InvalidBase64CharacterException.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.codec.Utf8 scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/crypto/codec/U
tf8.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/codec/Utf8.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.AesBytesEncryptor$1 scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/securi
ty/crypto/encrypt/AesBytesEncryptor$1.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/AesBytesEncryptor$1.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.AesBytesEncryptor$CipherAlgorithm scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springfr
amework/security/crypto/encrypt/AesBytesEncryptor$CipherAlgorithm.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/AesBytesEncryptor$CipherAlgorithm.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.AesBytesEncryptor scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security
/crypto/encrypt/AesBytesEncryptor.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/AesBytesEncryptor.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.BouncyCastleAesBytesEncryptor scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframew
ork/security/crypto/encrypt/BouncyCastleAesBytesEncryptor.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/BouncyCastleAesBytesEncryptor.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.BouncyCastleAesCbcBytesEncryptor scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springfra
mework/security/crypto/encrypt/BouncyCastleAesCbcBytesEncryptor.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/BouncyCastleAesCbcBytesEncryptor.class
2018-11-05 12:18:25.091:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.BouncyCastleAesGcmBytesEncryptor scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springfra
mework/security/crypto/encrypt/BouncyCastleAesGcmBytesEncryptor.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/BouncyCastleAesGcmBytesEncryptor.class
2018-11-05 12:18:25.106:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.BytesEncryptor scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/cr
ypto/encrypt/BytesEncryptor.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/BytesEncryptor.class
2018-11-05 12:18:25.106:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.CipherUtils scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/crypt
o/encrypt/CipherUtils.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/CipherUtils.class
2018-11-05 12:18:25.106:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.Encryptors$1 scanned from multiple locations: jarjar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/cryp
to/encrypt/Encryptors$1.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/Encryptors$1.class
2018-11-05 12:18:25.122:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.Encryptors$NoOpTextEncryptor scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframewo
rk/security/crypto/encrypt/Encryptors$NoOpTextEncryptor.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/Encryptors$NoOpTextEncryptor.class
2018-11-05 12:18:25.137:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.Encryptors scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/crypto
/encrypt/Encryptors.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/Encryptors.class
2018-11-05 12:18:25.137:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/s
ecurity/crypto/encrypt/HexEncodingTextEncryptor.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/HexEncodingTextEncryptor.class
2018-11-05 12:18:25.137:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.encrypt.TextEncryptor scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/cry
pto/encrypt/TextEncryptor.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/encrypt/TextEncryptor.class
2018-11-05 12:18:25.137:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.factory.PasswordEncoderFactories scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/s
ecurity/crypto/factory/PasswordEncoderFactories.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/factory/PasswordEncoderFactories.class
2018-11-05 12:18:25.153:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.keygen.Base64StringKeyGenerator scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/se
curity/crypto/keygen/Base64StringKeyGenerator.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/keygen/Base64StringKeyGenerator.class
2018-11-05 12:18:25.153:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.keygen.BytesKeyGenerator scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/
crypto/keygen/BytesKeyGenerator.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/keygen/BytesKeyGenerator.class
2018-11-05 12:18:25.153:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.keygen.HexEncodingStringKeyGenerator scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframewo
rk/security/crypto/keygen/HexEncodingStringKeyGenerator.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/keygen/HexEncodingStringKeyGenerator.class
2018-11-05 12:18:25.153:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.keygen.KeyGenerators scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/cryp
to/keygen/KeyGenerators.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/keygen/KeyGenerators.class
2018-11-05 12:18:25.153:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.keygen.SecureRandomBytesKeyGenerator scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframewo
rk/security/crypto/keygen/SecureRandomBytesKeyGenerator.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/keygen/SecureRandomBytesKeyGenerator.class
2018-11-05 12:18:25.153:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.keygen.SharedKeyGenerator scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security
/crypto/keygen/SharedKeyGenerator.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/keygen/SharedKeyGenerator.class
2018-11-05 12:18:25.153:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.keygen.StringKeyGenerator scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security
/crypto/keygen/StringKeyGenerator.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/keygen/StringKeyGenerator.class
2018-11-05 12:18:25.153:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.AbstractPasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/s
ecurity/crypto/password/AbstractPasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/AbstractPasswordEncoder.class
2018-11-05 12:18:25.153:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.DelegatingPasswordEncoder$1 scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframewo
rk/security/crypto/password/DelegatingPasswordEncoder$1.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/DelegatingPasswordEncoder$1.class
2018-11-05 12:18:25.169:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.DelegatingPasswordEncoder$UnmappedIdPasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEAS
E.jar!/org/springframework/security/crypto/password/DelegatingPasswordEncoder$UnmappedIdPasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/DelegatingPasswordEncoder$UnmappedIdPa
sswordEncoder.class
2018-11-05 12:18:25.169:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.DelegatingPasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework
/security/crypto/password/DelegatingPasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/DelegatingPasswordEncoder.class
2018-11-05 12:18:25.169:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.Digester scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/crypto/
password/Digester.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/Digester.class
2018-11-05 12:18:25.169:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.LdapShaPasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/se
curity/crypto/password/LdapShaPasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/LdapShaPasswordEncoder.class
2018-11-05 12:18:25.184:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.Md4 scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/crypto/passw
ord/Md4.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/Md4.class
2018-11-05 12:18:25.184:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.Md4PasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/securi
ty/crypto/password/Md4PasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/Md4PasswordEncoder.class
2018-11-05 12:18:25.184:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.MessageDigestPasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframew
ork/security/crypto/password/MessageDigestPasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/MessageDigestPasswordEncoder.class
2018-11-05 12:18:25.184:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.NoOpPasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/secur
ity/crypto/password/NoOpPasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/NoOpPasswordEncoder.class
2018-11-05 12:18:25.200:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.PasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/
crypto/password/PasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/PasswordEncoder.class
2018-11-05 12:18:25.200:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.PasswordEncoderUtils scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/secu
rity/crypto/password/PasswordEncoderUtils.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/PasswordEncoderUtils.class
2018-11-05 12:18:25.200:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.Pbkdf2PasswordEncoder$SecretKeyFactoryAlgorithm scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.ja
r!/org/springframework/security/crypto/password/Pbkdf2PasswordEncoder$SecretKeyFactoryAlgorithm.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/Pbkdf2PasswordEncoder$SecretKeyFactoryAlgorith
m.class
2018-11-05 12:18:25.200:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.Pbkdf2PasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/sec
urity/crypto/password/Pbkdf2PasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/Pbkdf2PasswordEncoder.class
2018-11-05 12:18:25.215:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.password.StandardPasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/s
ecurity/crypto/password/StandardPasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/password/StandardPasswordEncoder.class
2018-11-05 12:18:25.215:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.scrypt.SCryptPasswordEncoder scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/secur
ity/crypto/scrypt/SCryptPasswordEncoder.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/scrypt/SCryptPasswordEncoder.class
2018-11-05 12:18:25.215:WARN:oeja.AnnotationParser:qtp1450821318-14: org.springframework.security.crypto.util.EncodingUtils scanned from multiple locations: jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-crypto-5.0.8.RELEASE.jar!/org/springframework/security/crypto
/util/EncodingUtils.class, jar:file:///C:/jetty/webapps/flowable-admin/WEB-INF/lib/spring-security-core-5.0.8.RELEASE.jar!/org/springframework/security/crypto/util/EncodingUtils.class
2018-11-05 12:18:25.387:INFO:oeja.AnnotationConfiguration:main: Scanning elapsed time=872ms
2018-11-05 12:18:25.481:INFO:oejshC.flowable_admin:main: 2 Spring WebApplicationInitializers detected on classpath
java.lang.IllegalArgumentException: Unable to find the main class to restart
at org.springframework.util.Assert.notNull(Assert.java:193)
at org.springframework.boot.devtools.restart.Restarter.doStart(Restarter.java:277)
at org.springframework.boot.devtools.restart.Restarter.start(Restarter.java:265)
at org.springframework.boot.devtools.restart.Restarter.lambda$immediateRestart$0(Restarter.java:173)
at org.springframework.boot.devtools.restart.Restarter$LeakSafeThread.run(Restarter.java:637)

Thanks for this @srikanth.gandrakota.

I managed to reproduce this. The problem is spring-boot-devtool being part of the libs. I have opened issue flowable/flowable-engine#1389 to track this.

For the time being you would need to patch the wars so you can run them on jetty. You can do this with:

zip -d flowable-admin.war WEB-INF/lib/spring-boot-devtools-2.0.5.RELEASE.jar
zip -d flowable-idm.war WEB-INF/lib/spring-boot-devtools-2.0.5.RELEASE.jar
zip -d flowable-modeler.war WEB-INF/lib/spring-boot-devtools-2.0.5.RELEASE.jar
zip -d flowable-task.war WEB-INF/lib/spring-boot-devtools-2.0.5.RELEASE.jar

The flowable-rest is not affected as that one does not have the spring-boot-devtools packaged.

Cheers,
Filip

The fix for this is in master now. The next release of Flowable won’t have the same issues on jetty

Thanks alot. That helped me and now i am able to deploy.