Hello
I am developing a web server which use's -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar.
This working when running in the IDE, but when the jar file is executed (windows) I get the following error:
I assumed that assigning the #CommandLineArgs: -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar that the app would handle this. I have also created a shortcut with the following :
"C:\Users\John Murphy\Documents\B4J\Http2\Objects\Http2.jar" -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar which also produces the same error.
It there a certain way procedure required to process this type of command line ?
Regards
John.
I am developing a web server which use's -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar.
B4X:
#Region Project Attributes
#CommandLineArgs: -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar
#MergeLibraries: True
#VirtualMachineArgs: -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar
#End Region
This working when running in the IDE, but when the jar file is executed (windows) I get the following error:
B4X:
AppStart
2018-01-16 10:39:49.503:INFO::main: Logging initialized @105ms to org.eclipse.jetty.util.log.StdErrLog
ConfigureSSL, SslPort = 51042
ConfigureSSL, Initialize
ConfigureSSL, SetKeyStorePath
ConfigureSSL, SetSslConfiguration
ConfigureSSL, Done
main._appstart (java line: 63)
java.lang.RuntimeException: ALPN is not configured properly (required by HTTP2)
at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:122)
at ies.http2.main._appstart(main.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at ies.http2.main.main(main.java:29)
main.main (java line: 29)
java.lang.RuntimeException: java.lang.RuntimeException: ALPN is not configured properly (required by HTTP2)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:119)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at ies.http2.main.main(main.java:29)
Caused by: java.lang.RuntimeException: ALPN is not configured properly (required by HTTP2)
at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:122)
at ies.http2.main._appstart(main.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90)
... 2 more
I assumed that assigning the #CommandLineArgs: -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar that the app would handle this. I have also created a shortcut with the following :
"C:\Users\John Murphy\Documents\B4J\Http2\Objects\Http2.jar" -Xbootclasspath/p:alpn-boot-8.1.11.v20170118.jar which also produces the same error.
It there a certain way procedure required to process this type of command line ?
Regards
John.