license.xml

41 views
Skip to first unread message

Michael Alexeev

unread,
Feb 14, 2012, 10:35:57 PM2/14/12
to voltd...@googlegroups.com
Hi All,

The examples/voter/run.sh script contains the following    

LICENSE="../../voltdb/license.xml"
...
# run the voltdb server locally
function server() {

$VOLTDB create catalog $APPNAME.jar deployment deployment.xml \
        license $LICENSE leader $LEADER
}

but examples/voter/../../voltdb/license.xml file doesn't exist. Somehow the server still manages to start up. Where is it located than?

I am trying to recreate ENG-496 which has outdated build.xml. The ant's 'server' target doesn't provide all necessary input arguments (license is one of them) and I am trying to bring it up-to-date. I search the whole project but can't find license.xml anywhere. Omitting 'license' argument doesn't help also since it looks for the license.xml in the current directory.

Where can I get this file?

Mike  

Ning Shi

unread,
Feb 14, 2012, 10:45:42 PM2/14/12
to voltd...@googlegroups.com
On Feb 14, 2012, at 10:35 PM, Michael Alexeev wrote:

> Hi All,
>
> The examples/voter/run.sh script contains the following
>
> LICENSE="../../voltdb/license.xml"
> ...
> # run the voltdb server locally
> function server() {
>
> $VOLTDB create catalog $APPNAME.jar deployment deployment.xml \
> license $LICENSE leader $LEADER
> }
>
> but examples/voter/../../voltdb/license.xml file doesn't exist. Somehow the server still manages to start up. Where is it located than?

Hi Michael,

The license.xml file is only necessary when you are running the Enterprise Edition. In the Community Edition, it will skip license check. We distribute the same run.sh scripts for both Community and Enterprise Editions, hence the reference to license.xml in them.

>
> I am trying to recreate ENG-496 which has outdated build.xml. The ant's 'server' target doesn't provide all necessary input arguments (license is one of them) and I am trying to bring it up-to-date.

Which Ant build file are you using? I don't see any attachments to that ticket. If it's one of those build files in the old examples, I think you can just use the new examples instead.

--
Ning

John Hugg

unread,
Feb 14, 2012, 10:49:50 PM2/14/12
to voltd...@googlegroups.com
Hi Michael,

The license file is for our enterprise edition. I don't think it's a required parameter, and if you pass in a value in the community edition, it's ignored. I think there may be confusion because our usage string in the community edition seems to imply that it's required. I created ENG-2507 to fix that.

-John

On Feb 14, 2012, at 10:35 PM, Michael Alexeev wrote:

Michael Alexeev

unread,
Feb 15, 2012, 6:32:24 PM2/15/12
to voltd...@googlegroups.com
Ning, John,


I was trying to reanimate the old build.xml attached to the #490 (in the attached tar).
Using the latest run.sh instead solved the problem.

Thanks for your help,
Mike
 
--
Ning


Reply all
Reply to author
Forward
0 new messages