Hi All, i just updated B4i to the latest version, and am trying to run the B4iBuildServer.jar file from my mac, but for some reason I get the following error message:
What happened was that I was not seeing the correct IP Address the first time I ran it, so I followed the instructions here to change the ip address in the key.txt file, I deleted all the files in the key folder as instructed in that post, but now I receive this message every time i run the B4iBuildServer.jar file
The reason I changed the ip address i because i was seeing an ip that starts with 169.254 but the actual ip address is 192.169.x.x I know it says that there is no valid keystore but why does it say in the instructions to delete all files in the Key folder?
Thanks
Walter
What happened was that I was not seeing the correct IP Address the first time I ran it, so I followed the instructions here to change the ip address in the key.txt file, I deleted all the files in the key folder as instructed in that post, but now I receive this message every time i run the B4iBuildServer.jar file
walter.flores@C02V417FHTD7 B4iBuildServer_6.8 % java -jar B4iBuildServer.jar
Build server version: 6.8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-07-21 22:20:57.178:INFO::main: Logging initialized @128ms to org.eclipse.jetty.util.log.StdErrLog
Loading default configuration file.
AppPath=/Users/walter.flores/Desktop/B4iBuildServer_6.8
Mac version: 10.15.5
Xcode path: /applications/xcode.app/Contents/Developer
Xcode version: 11.6
Forcing ip address to: 192.168.1.7
2020-07-21 22:20:57.478:INFOejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_201-b09
2020-07-21 22:20:57.521:INFOejs.session:main: DefaultSessionIdManager workerName=node0
2020-07-21 22:20:57.521:INFOejs.session:main: No SessionScavenger set, using defaults
2020-07-21 22:20:57.524:INFOejs.session:main: node0 Scavenging every 600000ms
2020-07-21 22:20:57.532:INFOejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@5025a98f{/,file:///Users/walter.flores/Desktop/B4iBuildServer_6.8/www,AVAILABLE}
2020-07-21 22:20:57.536:INFOejs.AbstractNCSARequestLog:main: Opened /Users/walter.flores/Desktop/B4iBuildServer_6.8/logs/b4j-2020_07_22.request.log
2020-07-21 22:20:57.559:INFOejs.AbstractConnector:main: Started ServerConnector@6d7b4f4c{HTTP/1.1,[http/1.1]}{0.0.0.0:51041}
main._appstart (java line: 129)
java.lang.IllegalStateException: no valid keystore
at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:50)
at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(SslContextFactory.java:1071)
at org.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:262)
at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:229)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
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:138)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:279)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:398)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:220)
at b4j.example.main._appstart(main.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at b4j.example.main.main(main.java:28)
main.main (java line: 28)
java.lang.RuntimeException: java.lang.IllegalStateException: no valid keystore
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at b4j.example.main.main(main.java:28)
Caused by: java.lang.IllegalStateException: no valid keystore
at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:50)
at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(SslContextFactory.java:1071)
at org.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:262)
at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:229)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
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:138)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:279)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:398)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:220)
at b4j.example.main._appstart(main.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
... 2 more
The reason I changed the ip address i because i was seeing an ip that starts with 169.254 but the actual ip address is 192.169.x.x I know it says that there is no valid keystore but why does it say in the instructions to delete all files in the Key folder?
Thanks
Walter