Run iDempiere in Eclipse --- java.security.NoSuchProviderException: no such provider: Conscrypt

354 views
Skip to first unread message

Andrea Checchia

unread,
Jul 19, 2018, 4:41:59 AM7/19/18
to iDempiere
Goodmorning everyone.
I upgraded the eclipse oxygen environment, with new jdk and iDempiere release 5.1 updated.
I set alpn-boot.jar in the argument of the classpath server.product.

I run the application and gives me this error and iDempiere does not work:

*** 2018-07-19 10:37:14.382 idempiere Log (CLogFile) ***
10:37:14.381 Adempiere.startup: iDempiere(r) Release 5.1_2017-10-31 -Smart Suite ERP, CRM and SCM- (c) 1999-2016 iDempiere(r); Implementation: iDempiere - Supported by iDempiere community [16]
10:37:14.388 Ini.loadProperties: /opt/repos/idempiere-italia/idempiere.properties #33 [16]
10:37:15.278-----------> Activator.createHazelCastInstance: Starting hazelcast with configuration from file hazelcast.xml [16]
10:37:16.078-----------> Node: [192.168.73.1]:5701 [adempiere.idempiere_MirkoSari/localhost] [3.9.3] No join method is enabled! Starting standalone. [16]
10:37:16.100 Activator.createHazelCastInstance: Hazelcast Max Size Config: PER_NODE 1000 [16]
10:37:16.110 DB.isBuildOK: Build DB=${env.ADEMPIERE_VERSION} 20080428-1232 [16]
10:37:16.110 DB.isBuildOK: Build Cl=5.1.0.qualifier [16]
10:37:16.128-----------> DB.isBuildOK: Build Version Error


The program assumes build version 5.1.0.qualifier, but database has build version ${env.ADEMPIERE_VERSION} 20080428-1232.
This is likely to cause hard to fix errors.
Please contact administrator. [16]
10:37:17.548 Language.getLanguage: Adding Language=en, Country=US, Locale=en_US [16]
10:37:17.551 Language.getLanguage: Adding Language=en, Country=US, Locale=en_US [16]
10:37:17.684 WebEnv.initWeb: Servlet Context Init Parameters: iDempiere Root
org
.eclipse.jetty.servlet.SessionCookie=ROOT_SESSIONID
ServerRoot=1 [16]
10:37:17.701-----------> EMail.setFrom: you @ company.org: javax.mail.internet.AddressException: Local address contains control or whitespace in string ``you @ company.org'' [16]
10:37:17.704-----------> EMail.addTo: you @ company.org: javax.mail.internet.AddressException: Local address contains control or whitespace in string ``you @ company.org'' [16]
10:37:17.704-----------> EMail.isValid: From is invalid=null [16]
10:37:17.704-----------> EMail.isValid: From is invalid=null [16]
10:37:17.704-----------> MClient.sendEMail: Could NOT Send Email: Server started: iDempiere (andrea:192.168.1.10) to you @ company.org: Invalid Data (System) [16]
10:37:17.705 WebEnv.initWeb: Servlet Init Parameter: idempiereMonitor [16]
10:37:17.705 AdempiereMonitor.init:  [16]
10:37:19.907           LoggedSessionListener.contextInitialized: context initialized [16]
10:37:19.981-----------> ClassLocator.getDependentXMLResources: Replicate resource: breeze
Overwrite bundleresource://196.fwk1860944798:1/metainfo/zk/config.xml
with bundleresource://196.fwk1860944798:8/metainfo/zk/config.xml [16]
10:37:19.985-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk1860944798:1/metainfo/zk/config.xml
with bundleresource://55.fwk1860944798:4/metainfo/zk/config.xml [16]
10:37:19.987-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk1860944798:4/metainfo/zk/config.xml
with jar:file:/opt/repos/idempiere-italia/org.adempiere.ui.zk/WEB-INF/lib/ckez.jar!/metainfo/zk/config.xml [16]
10:37:20.301-----------> ClassLocator.getDependentXMLResources: Replicate resource: breeze
Overwrite bundleresource://196.fwk1860944798:1/metainfo/zk/lang-addon.xml
with bundleresource://196.fwk1860944798:8/metainfo/zk/lang-addon.xml [16]
10:37:20.303-----------> ClassLocator.getDependentXMLResources: Replicate resource: calendar
Overwrite bundleresource://196.fwk1860944798:2/metainfo/zk/lang-addon.xml
with bundleresource://196.fwk1860944798:9/metainfo/zk/lang-addon.xml [16]
10:37:20.306-----------> ClassLocator.getDependentXMLResources: Replicate resource: gmapsz
Overwrite bundleresource://196.fwk1860944798:4/metainfo/zk/lang-addon.xml
with bundleresource://196.fwk1860944798:11/metainfo/zk/lang-addon.xml [16]
10:37:20.307-----------> ClassLocator.getDependentXMLResources: Replicate resource: timeline
Overwrite bundleresource://196.fwk1860944798:5/metainfo/zk/lang-addon.xml
with bundleresource://196.fwk1860944798:12/metainfo/zk/lang-addon.xml [16]
10:37:20.309-----------> ClassLocator.getDependentXMLResources: Replicate resource: timeplot
Overwrite bundleresource://196.fwk1860944798:6/metainfo/zk/lang-addon.xml
with bundleresource://196.fwk1860944798:13/metainfo/zk/lang-addon.xml [16]
10:37:20.314-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk1860944798:1/metainfo/zk/lang-addon.xml
with bundleresource://55.fwk1860944798:4/metainfo/zk/lang-addon.xml [16]
10:37:20.315-----------> ClassLocator.getDependentXMLResources: Replicate resource: ckez
Overwrite bundleresource://55.fwk1860944798:4/metainfo/zk/lang-addon.xml
with jar:file:/opt/repos/idempiere-italia/org.adempiere.ui.zk/WEB-INF/lib/ckez.jar!/metainfo/zk/lang-addon.xml [16]
10:37:20.501-----------> DefaultAnnotationProcessor.fallbackToManualAnnotatedClasses: Unable to detect annotations. Application may fail to deploy. [16]
10:37:20.620 AdempiereMonitor.destroy: destroy [16]
10:37:20.621 AdempiereMonitorFilter.destroy:  [16]
10:37:20.625-----------> JettyServerServiceTracker.addingService:  [16]
java
.security.NoSuchProviderException: no such provider: Conscrypt
 at sun
.security.jca.GetInstance.getService(GetInstance.java:83)
 at sun
.security.jca.GetInstance.getInstance(GetInstance.java:206)
 at javax
.net.ssl.SSLContext.getInstance(SSLContext.java:199)
 at org
.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:307)
 at org
.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:222)
 at org
.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
 at org
.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
 at org
.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
 at org
.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:72)
 at org
.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
 at org
.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
 at org
.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
 at org
.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:276)
 at org
.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)
 at org
.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:238)
 at org
.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
 at org
.eclipse.jetty.server.Server.doStart(Server.java:428)
 at org
.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
 at org
.eclipse.jetty.osgi.boot.internal.serverfactory.ServerInstanceWrapper.start(ServerInstanceWrapper.java:296)
 at org
.eclipse.jetty.osgi.boot.internal.serverfactory.JettyServerServiceTracker.addingService(JettyServerServiceTracker.java:63)
 at org
.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:941)




*** 2018-07-19 10:37:20.635 idempiere Log (CLogFile) ***


Can you tell me, please, why this error?
Thanks in advance.

Andrea.

Carlos Antonio Ruiz Gomez

unread,
Jul 23, 2018, 1:14:12 PM7/23/18
to idem...@googlegroups.com
Hi Andrea, I think conscrypt was being used in dev branch, not in 5.1

Regards,

Carlos Ruiz
--

Andrea Checchia

unread,
Jul 24, 2018, 2:31:47 AM7/24/18
to iDempiere
Hi Carlos,

Thank you for your reply.
You're right, the version of "iDempiere" that I use is the "dev".

The error, unfortunately, comes out when I first launch "install.app" in the Eclipse environment and there may be something wrong with the "jettyhome" directory? 
Now I explain why.

I did this test:
1. Launched "install.app" from Eclipse
2. launched "server.product" from Eclipse
3. ==== ERROR "conscrypt" === and "iDempiere" does NOT WORK
------- Then
4. launched "./setup.sh" from the ".... /idempiere-server" directory and appropriately set the "idempiere-home" where the "iDempiere" project folder is located
5. then copied the directory "jettyhome" and "hazelcast.xml" file from directory ".... /idempiere-server" to the "iDempiere" project folder
6. launched "server.product" from Eclipse
7. ==== NO ERROR "conscrypt" === and "iDempiere" WORK!!

In your opinion, why?

Regards
Reply all
Reply to author
Forward
0 new messages