intel-cloud / cosbench

a benchmark tool for cloud object storage service
Other
573 stars 242 forks source link

Error: Could not find or load main class org.eclipse.equinox.launcher.Main #386

Open karynhuang55 opened 6 years ago

karynhuang55 commented 6 years ago

Hi : It doesn't work version 0.4.2,How can i solve this problem?

cat log/controller-boot.log

Error: Could not find or load main class org.eclipse.equinox.launcher.Main

sh start-all.sh

cat: VERSION: No such file or directory
Launching osgi framwork ...
Successfully launched osgi framework!
Booting cosbench driver ...
Ncat: Connection refused.
.Ncat: Connection refused.
.Ncat: Connection refused.
.Ncat: Connection refused.
.Ncat: Connection refused.

samuelsh commented 5 years ago

Reproduced with 0.4.2 on CentOS 7

[vastdata@cc3n3 cos]$ bash -x ./cosbench-start.sh
+ SERVICE_NAME=
+ BOOT_LOG=log/-boot.log
+ OSGI_BUNDLES=
+ OSGI_CONSOLE_PORT=
+ OSGI_CONFIG=conf/.
+ TOMCAT_CONFIG=conf/-tomcat-server.xml
+ TOOL=nc
+ TOOL_PARAMS='-i 5m'
+ rm -f log/-boot.log
+ mkdir -p log
+ echo 'Launching osgi framwork ... '
Launching osgi framwork ...
+ '[' 0 -ne 0 ']'
+ sleep 1
+ /usr/bin/nohup java -Dcosbench.tomcat.config=conf/-tomcat-server.xml -server -cp main/org.eclipse.equinox.launcher_1.2.0.v20110502.jar org.eclipse.equinox.launcher.Main -configuration conf/. -console
+ echo 'Successfully launched osgi framework!'
Successfully launched osgi framework!
+ echo 'Booting cosbench  ... '
Booting cosbench  ...
+ succ=1
+ which nc
+ '[' 0 -ne 0 ']'
+ '[' 1 -eq 0 ']'
+ '[' 1 -eq 1 ']'
+ echo 'Successfully started cosbench !'
Successfully started cosbench !
+ cat log/-boot.log
An error has occurred.  See the log file
/qa/0.4.2/conf/./1544033636419.log
+ exit 0

$ cat /qa/0.4.2/conf/./1544033636419.log
!SESSION Wed Dec 05 18:13:56 GMT 2018 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2018-12-05 18:13:56.435
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
        at org.eclipse.equinox.launcher.Main.getBootPath(Main.java:978)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:557)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
bissenbay commented 5 years ago

I have the same issue. Does anybody solve it?

samuelsh commented 5 years ago

0.4.2 Release seems to be broken. Follow this link, to see how to fix and rebuild Cosbench project: https://github.com/ekaynar/Benchmarks/blob/master/cosbench/BUILD.MD

ksingh7 commented 5 years ago

+1

0.4.2 release is broken

image

acoooder commented 5 years ago

cat: VERSION: No such file or directory

you should exec "sh pack.sh verisonid" at first,then a directory named versionid maked.enter this directory run start-all.sh

cvicente22 commented 4 years ago

can help on this. I've installed cosbench but when running it keeps on freezing on booting cosbench driver. when i check the logs below is the result

cosbench

bakingclouds commented 4 years ago

Got same error. Any fix or still unresolved?

nzncngz commented 3 years ago

I get the same problem. Any suggestions with the problem?