Setting System Properties in vert.x 3

551 views
Skip to first unread message

Jeremy Truelove

unread,
Jul 11, 2015, 12:41:43 PM7/11/15
to ve...@googlegroups.com
How do you go about setting them? I'm trying to set the cache dir like the following.

java -jar -Dvertx.cacheDirBase="/opt/myApp/current" my-1.0-fat.jar -conf config.json -instances 2

The issue I'm having is that the vertx3 process is trying to create the .vertx dir in a directory owned by root. I'm probably doing something obviously wrong here.

Jez P

unread,
Jul 11, 2015, 2:29:21 PM7/11/15
to ve...@googlegroups.com
I would expect that to work - seems perfectly reasonable to me. Unless I'm also thinking something obviously wrong too :)

Thomas SEGISMONT

unread,
Jul 12, 2015, 3:20:00 AM7/12/15
to ve...@googlegroups.com
Which version of the core are you working with? This switch was introduced after the 3.0.0 release.

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/da133c34-8483-47a3-a69e-95741fac303a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jeremy Truelove

unread,
Jul 12, 2015, 10:53:11 AM7/12/15
to ve...@googlegroups.com

Yeah I noticed that when I was stepping in with a little sample app. Is there a cut version out there yet with it in place?


You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/6ZEFl2ZJ7DU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.

Alexander Lehmann

unread,
Jul 12, 2015, 12:12:19 PM7/12/15
to ve...@googlegroups.com
A milestone version or similar is not yet available for anything after 3.0.0 you will have to use 3.1.0-SNAPSHOT version for that in the meantime
Reply all
Reply to author
Forward
0 new messages