0

Can't get Ubooquity to run on an old Windows 7 machine

Robert 5 years ago updated by Anton Baur 5 years ago 4

I have a 10 year old machine running Windows 7.

I've installed Ubooquity, but it will not start.  Reboot same issue.  double clicking on the Ubooquity.jar file - same issue.

My Java version is 8 update 31 (build 1.8.0_31-b13).  I'm also running the McAfee suite via my provider, AT&T.  Through the suite, I opened ports 2202 and 2203.

Below is the log file from my last try at starting the server.

20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: C:\Ubooquity
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - #############################
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - # Starting Ubooquity #
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - #############################
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Java version: 1.8.0_31
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Java vendor: Oracle Corporation
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - java vm name: Java HotSpot(TM) Client VM
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - java runtime name: Java(TM) SE Runtime Environment
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 247 MB
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - OS name: Windows 7
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - OS version: 6.1
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - OS architecture: x86
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Loading local version info
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Creating application folders
20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Loading preferences
20190724 13:16:37 [main] INFO org.eclipse.jetty.util.log - Logging initialized @1324ms to org.eclipse.jetty.util.log.Slf4jLog
20190724 13:16:37 [Thread-2] INFO com.ubooquity.b - Stopping internal server...
20190724 13:16:37 [Thread-2] INFO com.ubooquity.data.feeder.a - Aborting content scan...
20190724 13:16:37 [Thread-2] ERROR com.ubooquity.b - Error while stopping internal server
java.lang.NullPointerException: null
at com.ubooquity.d.e.a(SourceFile:99) ~[Ubooquity.jar:2.1.2]
at com.ubooquity.b.c(SourceFile:112) ~[Ubooquity.jar:2.1.2]
at com.ubooquity.Ubooquity.C(SourceFile:216) [Ubooquity.jar:2.1.2]
at com.ubooquity.Ubooquity$$Lambda$2/5442826.run(Unknown Source) [Ubooquity.jar:2.1.2]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_31]
20190724 13:16:37 [Thread-2] INFO com.ubooquity.b - Internal server stopped
20190724 13:16:37 [Thread-2] INFO com.ubooquity.Ubooquity - Ubooquity has closed.

Any help would be appreciated.  Thank you!

Robert

Look at this post from your log : 

20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Running with the following parameters - headless: false, libraryport: -1, adminport: -1, remoteadmin: false, host: null, debug: false, execdir: C:\Ubooquity

Your uooquity port configuration doesnt know which port do you want to use and which host-IP-adress do you want to use.

So your configuration can only run local with no defined ports and without any known IP-adress - cant work, anyway  .... 

and by all, look at this : 20190724 13:16:36 [main] INFO com.ubooquity.Ubooquity - Max heap size available: 247 MB


it still needs more memory : 247 MB seems too less for 2.1.2 , 512 MB works definitely (4096MB under Linux x64 here, and sometimes max 15 users read here at the same time - without any leaks or delays).

Try this call in a cmd-window :

java -Xmx512m -jar Ubooquity.jar --libraryport 2202 --adminport 2203 --headless --host:<ENTER_YOUR_LOCAL_IP_ADRESS_HERE> 


- At  <ENTER_YOUR_LOCAL_IP_ADRESS_HERE> , type your local IP-adress from your LAN configuration without the <>. 

- keep this cmd-window open and running to see the output logs.

- now open your browser and enter 

http://<ENTER_YOUR_LOCAL_IP_ADRESS_HERE>:2203

You should now see the ubooquity admin page an begin with your ubooquity experience 😉 .... 

more to find @ https://vaemendis.github.io/ubooquity-doc/pages/manual.html 

hope that may help you ! 

best regards 

TierParkToni

Toni,  Thank you for your help.  I copied and pasted the command (to make sure I got it right), and got this for a result - "Error: Unable to access jarfile Ubooquity.jar"

Well, I just updated to a newer version of Java, and now it's working.

Perfect - Thanks for the feedback !

Best regards 

TierParkToni