Install Application Server

Top  Previous  Next

SUMMARY

Install a specific Application Server for a User JVM.

 

SCRIPT

/usr/ngasi/apiclient/bin/ncli.sh -user=myuser -password=coolgeek -url=http://localhost:8666 -command=installappserver -appservername=Tomcat -appserverversion=6.0.18 [-start=true -jvmid=1 -ipaddress=127.0.0.1]

 

JAVA API

Properties properties = new Properties();

properties.put("url","http://localhost:8666");

properties.put("user","myuser");

properties.put("password","coolgeek");

properties.put("command","installappserver");

properties.put("appservername","Tomcat");

properties.put("appserverversion","6.0.18");

//properties.put("start","true");

//properties.put("jvmid","1");

//properties.put("ipaddress","127.0.0.1");

String result = NGAPIClient.exec(properties);