This error seems to be due to an actual bug in the exact JDK you use.. :-(
It definitely works for others  The best thing that you should typically do
in such a case is to upgrade your local OpenJDK to the very latest package
version (for Java 11) that's available for your distribution.

PS: Yes the docker compose sample deployment uses the new JAR deployment
instead of an external Tomcat. The https://www.fineract.dev demo server
also uses this (through the Docker container). Why don't you simply use
that as well?


On Sat, 4 Jul 2020, 21:53 Awasum Yannick, <[email protected]> wrote:

> That looks like a memory problem. I think the docker deployment uses the
> jar file if am not mistaken.
>
>
>
> On Sat, Jul 4, 2020, 19:46 Luis Alberto Alegría de los Santos
> <[email protected]> wrote:
>
>> Hello everyone, I hope you are doing well
>>
>> Please, someone could help me, I got error messages when try to run
>> fineract develop branch with:
>>
>>    - ./gradlew bootRun
>>    -  *java -jar build/libs/fineract-provider.jar, *
>>       - compilation works but when I try to run JAR file, it fail
>>
>> *NOTE: I build a WAR file, and it works well with tomcat9, no problems.*
>>
>> The error comes after this messages on console:
>>
>>>
>>>
>>>
>>>
>>> *2020-07-03 22:07:13.033  INFO 96879 --- [           main]
>>> o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s):
>>> 8080 (http) 8443 (https)Jul 03, 2020 10:07:13 PM
>>> org.apache.coyote.AbstractProtocol initINFO: Initializing ProtocolHandler
>>> ["http-nio-8080"]Jul 03, 2020 10:07:13 PM
>>> org.apache.coyote.AbstractProtocol initINFO: Initializing ProtocolHandler
>>> ["https-openssl-nio-8443"]*
>>
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *## A fatal error has been detected by the Java Runtime Environment:##
>>>  SIGSEGV (0xb) at pc=0x00007f1c72738eb1, pid=24937, tid=24938## JRE
>>> version: OpenJDK Runtime Environment (11.0.7+10) (build
>>> 11.0.7+10-post-Ubuntu-2ubuntu218.04)# Java VM: OpenJDK 64-Bit Server VM
>>> (11.0.7+10-post-Ubuntu-2ubuntu218.04, mixed mode, sharing, tiered,
>>> compressed oops, g1 gc, linux-amd64)# Problematic frame:# V
>>>  [libjvm.so+0x53deb1]## Core dump will be written. Default location: Core
>>> dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E"
>>> (or dumping to /home/luis/mifos/backend/fineract/core.24937)## An error
>>> report file with more information is saved as:#
>>> /home/luis/mifos/backend/fineract/hs_err_pid24937.log*
>>
>>
>>
>> Log file is attached on mail, I show you a part of it:
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Stack: [0x00007f1c7437e000,0x00007f1c7447f000],  sp=0x00007f1c7447b8d0,
>>>  free space=1014kNative frames: (J=compiled Java code, A=aot compiled Java
>>> code, j=interpreted, Vv=VM code, C=native code)V  [libjvm.so+0x53deb1]Java
>>> frames: (J=compiled Java code, j=interpreted, Vv=VM code)j
>>>  org.apache.tomcat.jni.SSL.getCiphers(J)[Ljava/lang/String;+0j
>>>  org.apache.tomcat.util.net.openssl.OpenSSLEngine.<clinit>()V+71v
>>>  ~StubRoutines::call_stubj
>>>  
>>> org.apache.tomcat.util.net.openssl.OpenSSLUtil.getImplementedProtocols()Ljava/util/Set;+0j
>>>  
>>> org.apache.tomcat.util.net.SSLUtilBase.<init>(Lorg/apache/tomcat/util/net/SSLHostConfigCertificate;Z)V+26j
>>>  
>>> org.apache.tomcat.util.net.SSLUtilBase.<init>(Lorg/apache/tomcat/util/net/SSLHostConfigCertificate;)V+3j
>>>  
>>> org.apache.tomcat.util.net.openssl.OpenSSLUtil.<init>(Lorg/apache/tomcat/util/net/SSLHostConfigCertificate;)V+2j
>>>  
>>> org.apache.tomcat.util.net.openssl.OpenSSLImplementation.getSSLUtil(Lorg/apache/tomcat/util/net/SSLHostConfigCertificate;)Lorg/apache/tomcat/util/net/SSLUtil;+5j
>>>  
>>> org.apache.tomcat.util.net.AbstractJsseEndpoint.createSSLContext(Lorg/apache/tomcat/util/net/SSLHostConfig;)V+39j
>>>  org.apache.tomcat.util.net.AbstractJsseEndpoint.initialiseSsl()V+54j
>>>  org.apache.tomcat.util.net.NioEndpoint.bind()V+17j
>>>  org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup()V+1j
>>>  org.apache.tomcat.util.net.AbstractEndpoint.init()V+8j
>>>  org.apache.coyote.AbstractProtocol.init()V+187j
>>>  org.apache.coyote.http11.AbstractHttp11Protocol.init()V+38j
>>>  org.apache.catalina.connector.Connector.initInternal()V+245j
>>>  org.apache.catalina.util.LifecycleBase.init()V+29j
>>>  org.apache.catalina.core.StandardService.initInternal()V+114j
>>>  org.apache.catalina.util.LifecycleBase.init()V+29j
>>>  org.apache.catalina.core.StandardServer.initInternal()V+234j
>>>  org.apache.catalina.util.LifecycleBase.init()V+29j
>>>  org.apache.catalina.util.LifecycleBase.start()V+142j
>>>  org.apache.catalina.startup.Tomcat.start()V+9j
>>>  
>>> org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize()V+64j
>>>  
>>> org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(Lorg/apache/catalina/startup/Tomcat;Z)V+43j
>>>  
>>> org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(Lorg/apache/catalina/startup/Tomcat;)Lorg/springframework/boot/web/embedded/tomcat/TomcatWebServer;+17j
>>>  
>>> org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer([Lorg/springframework/boot/web/servlet/ServletContextInitializer;)Lorg/springframework/boot/web/server/WebServer;+165j
>>>  
>>> org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer()V+36j
>>>  
>>> org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh()V+5j
>>>  
>>> org.springframework.context.support.AbstractApplicationContext.refresh()V+45j
>>>  
>>> org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh()V+1j
>>>  
>>> org.springframework.boot.SpringApplication.refresh(Lorg/springframework/context/ApplicationContext;)V+10j
>>>  
>>> org.springframework.boot.SpringApplication.refreshContext(Lorg/springframework/context/ConfigurableApplicationContext;)V+2j
>>>  
>>> org.springframework.boot.SpringApplication.run([Ljava/lang/String;)Lorg/springframework/context/ConfigurableApplicationContext;+118j
>>>  
>>> org.springframework.boot.builder.SpringApplicationBuilder.run([Ljava/lang/String;)Lorg/springframework/context/ConfigurableApplicationContext;+45j
>>>  org.apache.fineract.ServerApplication.main([Ljava/lang/String;)V+20v
>>>  ~StubRoutines::call_stubj
>>>  
>>> jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
>>> [email protected]
>>>  
>>> jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100
>>> [email protected]
>>>  
>>> jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
>>> [email protected]
>>>  
>>> java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59
>>> [email protected]
>>>  org.springframework.boot.loader.MainMethodRunner.run()V+43j
>>>  
>>> org.springframework.boot.loader.Launcher.launch([Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;)V+14j
>>>  org.springframework.boot.loader.Launcher.launch([Ljava/lang/String;)V+19j
>>>  org.springframework.boot.loader.JarLauncher.main([Ljava/lang/String;)V+8v
>>>  ~StubRoutines::call_stub*
>>
>>
>>
>> I'm using:
>>
>>    - Ubuntu  18.04.4 LTS
>>    - openjdk 11.0.7
>>    - Apache Tomcat/9.0.16 (Ubuntu)
>>
>> Thank you
>>
>> Best regards
>>
>> --
>> LSC. Luis Alegría
>> INNOVARAPP
>>
>> *La información contenida en este correo electrónico y anexos es
>> confidencial. Ésta dirigida únicamente para el uso del individuo o entidad
>> a la que fue dirigida y puede contener información propietaria que no es
>> del dominio público. Si has recibido este correo por error o no eres el
>> destinatario, por favor notificar al remitente de inmediato y borra este
>> mensaje de la computadora o dispositivo. Cualquier uso, distribución o
>> reproducción de este correo que no sea por el destinatario de intención
>> queda prohibido.*
>>
>

Reply via email to