Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error in HTTPS configuration for Jetty-9.4.14(Unable to configure HTTPS in Jetty 9.4.14)
Error in HTTPS configuration for Jetty-9.4.14 [message #1815416] Wed, 02 October 2019 13:07 Go to next message
Himalaya Jha is currently offline Himalaya JhaFriend
Messages: 2
Registered: October 2019
Junior Member
Here is the error what I am geeting when trying to configure HTTPS in Jetty 9.4.14.

I followed these steps :
1. Uncommented following piece of code in cm_https.xml file

<Item>
<New class="org.eclipse.jetty.server.ProxyConnectionFactory"/>
</Item>
2. Created keystore file

3. Made changes in ccm.server.properties

The same steps I followed for Jetty and it worked absolutely fine, But for Jetty 9.4.14 I am getting following errors;

Can anybody please help me with the solution???

I will be very thankful!!!!

I am also attaching the screenshot for the error.

[ccm_root@synredhat6qa2 bin]$ ccm_server -start
Starting Jetty:
Jetty running pid=19579
Exception in thread "main" java.security.PrivilegedActionException: org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$1: class org.eclipse.jetty.util.ssl.SslContextFactory.setKeyStore(class java.lang.String). Found setters for java.security.KeyStore
at java.security.AccessController.doPrivileged(AccessController.java:707)
at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1511)
Caused by: org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$1: class org.eclipse.jetty.util.ssl.SslContextFactory.setKeyStore(class java.lang.String). Found setters for java.security.KeyStore
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.set(XmlConfiguration.java:661)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:466)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:875)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1309)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1214)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newArray(XmlConfiguration.java:936)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1313)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1214)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.newObj(XmlConfiguration.java:842)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.itemValue(XmlConfiguration.java:1309)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.value(XmlConfiguration.java:1214)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.access$500(XmlConfiguration.java:326)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1442)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration$AttrOrElementNode.getList(XmlConfiguration.java:1417)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.call(XmlConfiguration.java:780)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:472)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:413)
at org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:311)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1558)
at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1512)
at java.security.AccessController.doPrivileged(AccessController.java:703)
... 1 more
Suppressed: java.lang.NoSuchMethodException: org.eclipse.jetty.util.ssl.SslContextFactory.setKeyStore(java.lang.String)
at java.lang.Class.newNoSuchMethodException(Class.java:561)
at java.lang.Class.throwExceptionOrReturnNull(Class.java:1194)
at java.lang.Class.getMethodHelper(Class.java:1258)
at java.lang.Class.getMethod(Class.java:1186)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.set(XmlConfiguration.java:544)
... 21 more
Suppressed: java.lang.NoSuchFieldException: TYPE
at java.lang.Class.getField(Class.java:1080)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.set(XmlConfiguration.java:557)
... 21 more
Suppressed: java.lang.NoSuchFieldException: KeyStore
at java.lang.Class.getField(Class.java:1080)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.set(XmlConfiguration.java:572)
... 21 more
Suppressed: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.set(XmlConfiguration.java:601)
... 21 more
Suppressed: java.lang.NoSuchMethodException: java.security.KeyStore.<init>(java.lang.String)
at java.lang.Class.newNoSuchMethodException(Class.java:561)
at java.lang.Class.getConstructor(Class.java:603)
at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.set(XmlConfiguration.java:644)
... 21 more

Re: Error in HTTPS configuration for Jetty-9.4.14 [message #1815420 is a reply to message #1815416] Wed, 02 October 2019 14:42 Go to previous message
Emmanuel Chebbi is currently offline Emmanuel ChebbiFriend
Messages: 29
Registered: February 2018
Junior Member
Hi,

For such questions I advise you to post on the Eclipse Web Tools Platform Project (WTP) Forum [1] or to send a mail to the jetty-users mailing list [2]

[1] https://www.eclipse.org/forums/index.php?t=thread&frm_id=251
[2] https://accounts.eclipse.org/mailing-list/jetty-users
Previous Topic:nodeSetup Failed - REACT app
Next Topic:What happened to 'Export Installed Software Items'
Goto Forum:
  


Current Time: Sun Oct 20 07:41:16 GMT 2019

Powered by FUDForum. Page generated in 0.03000 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top