clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enrico Daga (JIRA)" <>
Subject [jira] [Commented] (CLEREZZA-869) Setup a platform launcher for Virtuoso
Date Sat, 29 Mar 2014 11:50:15 GMT


Enrico Daga commented on CLEREZZA-869:

The above looks working only by providing a method to configure felix itself or to set generic
system variables. This latter method is the one used to provide configuration for unit tests
of the virtuoso modules.
We can go the same way for the initial configuration. Now the VirtuosoWeightedProvider component
does not include default values at SCR component configuration level. On activation, if these
values are missing, first we check whether they exist as system properties, otherwise we set
the defaults. 
This means we can pass the configuration in the command line of the launcher, as follow

 java -XX:MaxPermSize=400m -Dfile.encoding=utf-8 -Dvirtuoso.port=1111
-Dvirtuoso.user=clerezza -Dvirtuoso.password=abcdef -Xss512k -Xmx2g -jar platform.launcher.virtuoso-0.1-SNAPSHOT.jar

Default values are the usual virtuoso open source defaults:
* = localhost
* virtuoso.user = dba
* virtuoso.password = dba
* virtuoso.port = 1111

This method allows also to pass only part of them relying on default values:

 java -XX:MaxPermSize=400m -Dfile.encoding=utf-8 -Dvirtuoso.password=myoriginalpassword -Xss512k
-Xmx2g -jar platform.launcher.virtuoso-0.1-SNAPSHOT.jar

> Setup a platform launcher for Virtuoso
> --------------------------------------
>                 Key: CLEREZZA-869
>                 URL:
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Enrico Daga
>            Assignee: Enrico Daga
> This should include jboss-transactions as pointed out by [~rwesten] commenting on STANBOL-1254

This message was sent by Atlassian JIRA

View raw message