From: Thomas Mo <tm...@cm...> - 2010-05-26 05:58:47
|
Hi, I am having problem starting exist-db as a stand-alone server on HTTPS port 8488. What I did was edit the eXist/server.xml file: - commented out the default line "<listener protocol="http" port="8088"/>" - uncomment the HTTPS configuration: <listener protocol="https" port="8488"> <param name="keystore" value="E:/eXist/tools/jetty/etc/demokeystore"/> </listener> - build a demo keystore by running $EXIST_HOME/build.sh jetty-keygen - start exist using server.bat But I am getting the following exceptions: 26 May 2010 15:46:45,593 [main] WARN (SslListener.java [newServerSocket]:320) - EXCEPTION java.lang.NullPointerException at org.mortbay.http.SslListener.createFactory(SslListener.java:268) at org.mortbay.http.SslListener.newServerSocket(SslListener.java:290) at org.mortbay.util.ThreadedServer.open(ThreadedServer.java:477) at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:503) at org.mortbay.http.SocketListener.start(SocketListener.java:204) at org.mortbay.http.HttpServer.doStart(HttpServer.java:716) at org.mortbay.util.Container.start(Container.java:72) at org.exist.StandaloneServer.startHttpServer(StandaloneServer.java:385) at org.exist.StandaloneServer.run(StandaloneServer.java:183) at org.exist.StandaloneServer.main(StandaloneServer.java:596) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.exist.start.Main.invokeMain(Main.java:128) at org.exist.start.Main.run(Main.java:407) at org.exist.start.Main.main(Main.java:59) 26 May 2010 15:46:45,593 [main] WARN (ThreadedServer.java [start]:518) - Failed to start: SslListener0@0.0.0.0:8488 26 May 2010 15:46:45,593 [main] INFO (SocketListener.java [start]:205) - Started SocketListener on 0.0.0.0:8088 An exception occurred while launching the server: Multiple exceptions org.mortbay.util.MultiException[java.io.IOException: Could not create JsseListener: java.lang.NullPointerException] at org.mortbay.http.HttpServer.doStart(HttpServer.java:686) at org.mortbay.util.Container.start(Container.java:72) at org.exist.StandaloneServer.startHttpServer(StandaloneServer.java:385) at org.exist.StandaloneServer.run(StandaloneServer.java:183) at org.exist.StandaloneServer.main(StandaloneServer.java:596) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.exist.start.Main.invokeMain(Main.java:128) at org.exist.start.Main.run(Main.java:407) at org.exist.start.Main.main(Main.java:59) java.io.IOException: Could not create JsseListener: java.lang.NullPointerException at org.mortbay.http.SslListener.newServerSocket(SslListener.java:321) at org.mortbay.util.ThreadedServer.open(ThreadedServer.java:477) at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:503) at org.mortbay.http.SocketListener.start(SocketListener.java:204) at org.mortbay.http.HttpServer.doStart(HttpServer.java:716) at org.mortbay.util.Container.start(Container.java:72) at org.exist.StandaloneServer.startHttpServer(StandaloneServer.java:385) at org.exist.StandaloneServer.run(StandaloneServer.java:183) at org.exist.StandaloneServer.main(StandaloneServer.java:596) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.exist.start.Main.invokeMain(Main.java:128) at org.exist.start.Main.run(Main.java:407) at org.exist.start.Main.main(Main.java:59) java.io.IOException: Could not create JsseListener: java.lang.NullPointerException at org.mortbay.http.SslListener.newServerSocket(SslListener.java:321) at org.mortbay.util.ThreadedServer.open(ThreadedServer.java:477) at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:503) at org.mortbay.http.SocketListener.start(SocketListener.java:204) at org.mortbay.http.HttpServer.doStart(HttpServer.java:716) at org.mortbay.util.Container.start(Container.java:72) at org.exist.StandaloneServer.startHttpServer(StandaloneServer.java:385) at org.exist.StandaloneServer.run(StandaloneServer.java:183) at org.exist.StandaloneServer.main(StandaloneServer.java:596) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.exist.start.Main.invokeMain(Main.java:128) at org.exist.start.Main.run(Main.java:407) at org.exist.start.Main.main(Main.java:59) Any suggestion? Does exist stand-alone supports HTTPS? Thanks, Thomas |