Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Eclipse Web Tools Platform Project (WTP) » Error in HTTPS configuration for Jetty-9.4.14(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 #1815432] Wed, 02 October 2019 17:08
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 8 and it worked absolutely fine, But for Jetty 9.4.14 I am getting following errors;

Can anybody please help me with the solution in details ??


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
Previous Topic:Tomcat configuration in Eclipse 18
Next Topic:After Maven build can not upload EAR to WebSphere Correctly
Goto Forum:
  


Current Time: Thu Sep 24 06:29:16 GMT 2020

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

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

Back to the top