Dear all,
I have a "run.yaml" to run a JAR file. We need to pass a lot of arguments but something go wrong. This is the snippet of the run.yaml:
myconfig1:
main: /Uni.jar
args:
- -lsim -nTc 10
- -sp 50000
- -kp ./keystore
- -tf ./config/topology.prop.xml
- -tIp 127.0.0.1
- -d 60
- -td ./traces/
- -cfg ./config/config.prop.xml
When I run the image the message I got is the following:
"unrecognised option '-nTc'"
It seems to consider only the first argument and not the others.
Any advice?
Regards
R
runtime: nativeconfig_set: myconfig1: bootcmd: "/java.so -jar /Uni.jar -lsim -nTc 10 -sp 50000 -kp ./keystore -tf ./config/topology.prop.xml -tIp 127.0.0.1 -d 60 -td ./traces/ -cfg ./config/config.prop.xml"config_set_default: myconfig1name: java-exampletitle: Java Exampleauthor: Anonymousversion: "1.0"require:#- openjdk8-zulu-full
- openjdk8-zulu-compact3-with-java-beans- osv.run-javacreated: "2018-06-13T18:09:24-04:00"Sv v0.53.0eth0: 192.168.122.15java.so: Starting JVM app using: io/osv/nonisolated/RunNonIsolatedJvmAppjava.so: Setting Java system classloader to NonIsolatingOsvSystemClassLoaderHello from Java on OSv!Arg: -lsimArg: -nTcArg: 10Arg: -spArg: 50000Arg: -kpArg: ./keystoreArg: -tfArg: ./config/topology.prop.xmlArg: -tIpArg: 127.0.0.1Arg: -dArg: 60Arg: -tdArg: ./traces/Arg: -cfgArg: ./config/config.prop.xmlOSv v0.24-472-gf240a59
eth0: 192.168.122.15
/java.so: failed looking up symbol _ZTINSt6thread6_StateE (typeinfo for std::thr
[backtrace]
0x00000000003477cd <elf::object::symbol(unsigned int)+205>
0x0000000000399922 <elf::object::arch_relocate_rela(unsigned int, unsigned int,
0x00000000003446b3 <elf::object::relocate_rela()+147>
0x0000000000346247 <elf::object::relocate()+199>
0x0000000000349cdc <elf::program::load_object(std::string, std::vector<std::str>
0x000000000034a54b <elf::program::get_library(std::string, std::vector<std::strd
0x000000000041ccea <osv::application::application(std::string const&, std::vect>
0x000000000041d515 <osv::application::run(std::string const&, std::vector<std::a
0x000000000041d73b <osv::application::run(std::vector<std::string, std::allocato
0x0000000000213125 <do_main_thread(void*)+1717>
0x000000000044d6a5 <???+4511397>
0x00000000003f5477 <thread_main_c+39>
0x00000000003959a5 <???+3758501>
0x03209500032091ff <???+52466175>
0x00000000003f4b6f <???+4148079>
0xfb89485354415540 <???+1413567808>
--
You received this message because you are subscribed to a topic in the Google Groups "OSv Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osv-dev/72npLe9XERQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I did the include step you suggested but it did not work.So I made a test:capstan run uni -n "nat" -f "8000:8000" -e "/cli/cli.so”
To unsubscribe from this group and all its topics, send an email to osv...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to osv-dev+u...@googlegroups.com.
Sorry but the DHCP offers the IP both in the NAT and BRIDGE configuration. I think that the "forward" does not work in the bridge configuration.
For example:capstan run -n "nat" -f "8000:8000" -e "--verbose /cli/cli.so" uni ==> THIS WORKS and "curl http://localhost:8000/os/version" returns correctly the version "0.53"
capstan run -n "bridge" -f "8000:8000" -e "--verbose /cli/cli.so" uni ==> THIS DOES NOT WORK and "curl http://localhost:8000/os/version" returns "(7) Failed to connect to localhost port 8000: Connection refused"