Unrecognized option: -stardog.default.cli.server

0 views
Skip to first unread message

alex....@gmail.com

unread,
Oct 6, 2015, 10:23:18 AM10/6/15
to Stardog
Hi,
I'm trying to add data onto a remote server running stardog.

When I run the following bash script


export STARDOG_JAVA_ARGS="-stardog.default.cli.server=24.72.33.14"
bash /stardog-3.1.4/bin/stardog data add -f RDF/XML -p XSFDFD -u admin -v  ABC ../rdf/gg.owl ../rdf/cc.owl ../rdf/bbowl ../rdf/rr.rdf


I get an error as follows:

Unrecognized option: -stardog.default.cli.server=24.72.33.14


From the documentation "The default server URL will be read from the JVM argument 'stardog.default.cli.server'"

What am I doing wrong?

Thanks
Alex

Fernando Hernandez

unread,
Oct 6, 2015, 10:32:45 AM10/6/15
to sta...@clarkparsia.com
The proper syntax for JVM arguments is `-Doption=value` so in this case it should be:

STARDOG_JAVA_ARGS="-Dstardog.default.cli.server=24.72.33.14"

Cheers,
Fernando

Alex Muir

unread,
Oct 6, 2015, 10:40:20 AM10/6/15
to sta...@clarkparsia.com
Ah okay,,

Thanks Fernando that worked...


Regards
Alex
www.tilogeo.com

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

Reply all
Reply to author
Forward
0 new messages