forked from piotrekz79/CoCo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_test.sh
executable file
·9 lines (6 loc) · 7.93 KB
/
run_test.sh
1
2
3
4
5
6
7
8
#!/bin/sh
#sudo /usr/lib/jvm/java-7-openjdk-amd64/bin/java -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n -Dfile.encoding=UTF-8 -classpath /home/mininet/coco_michal/CoCo/cocoportal/target/classes:/usr/share/tomcat7/lib/el-api.jar:/usr/share/tomcat7/lib/jsp-api.jar:/usr/share/tomcat7/lib/catalina-ha.jar:/usr/share/tomcat7/lib/catalina.jar:/usr/share/tomcat7/lib/tomcat-api.jar:/usr/share/tomcat7/lib/tomcat-coyote.jar:/usr/share/tomcat7/lib/tomcat-i18n-ja.jar:/usr/share/tomcat7/lib/jasper-el.jar:/usr/share/tomcat7/lib/commons-pool.jar:/usr/share/tomcat7/lib/catalina-ant.jar:/usr/share/tomcat7/lib/tomcat-i18n-fr.jar:/usr/share/tomcat7/lib/catalina-tribes.jar:/usr/share/tomcat7/lib/annotations-api.jar:/usr/share/tomcat7/lib/servlet-api.jar:/usr/share/tomcat7/lib/tomcat-util.jar:/usr/share/tomcat7/lib/jasper.jar:/usr/share/tomcat7/lib/tomcat-i18n-es.jar:/usr/share/tomcat7/lib/tomcat-jdbc.jar:/usr/share/tomcat7/lib/commons-dbcp.jar:/home/mininet/.m2/repository/org/springframework/spring-core/4.1.4.RELEASE/spring-core-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/home/mininet/.m2/repository/org/springframework/spring-beans/4.1.4.RELEASE/spring-beans-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-context/4.1.4.RELEASE/spring-context-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-aop/4.1.4.RELEASE/spring-aop-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-expression/4.1.4.RELEASE/spring-expression-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-jdbc/4.1.4.RELEASE/spring-jdbc-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-tx/4.1.4.RELEASE/spring-tx-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-web/4.1.4.RELEASE/spring-web-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-webmvc/4.1.4.RELEASE/spring-webmvc-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/mininet/.m2/repository/javax/servlet/jstl/1.2/jstl-1.2.jar:/home/mininet/.m2/repository/mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar:/home/mininet/.m2/repository/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar:/home/mininet/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar:/home/mininet/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/home/mininet/.m2/repository/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar:/home/mininet/.m2/repository/org/hibernate/hibernate-validator/5.1.3.Final/hibernate-validator-5.1.3.Final.jar:/home/mininet/.m2/repository/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar:/home/mininet/.m2/repository/com/fasterxml/classmate/1.0.0/classmate-1.0.0.jar:/home/mininet/.m2/repository/org/jgrapht/jgrapht-jdk1.5/0.7.3/jgrapht-jdk1.5-0.7.3.jar:/home/mininet/.m2/repository/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar:/home/mininet/.m2/repository/com/sun/jersey/jersey-client/1.19/jersey-client-1.19.jar:/home/mininet/.m2/repository/com/sun/jersey/jersey-core/1.19/jersey-core-1.19.jar:/home/mininet/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/home/mininet/.m2/repository/org/springframework/security/spring-security-core/3.2.5.RELEASE/spring-security-core-3.2.5.RELEASE.jar:/home/mininet/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/mininet/.m2/repository/org/springframework/security/spring-security-web/3.2.5.RELEASE/spring-security-web-3.2.5.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/security/spring-security-config/3.2.5.RELEASE/spring-security-config-3.2.5.RELEASE.jar:/home/mininet/.m2/repository/commons-lang/commons-lang/2.0/commons-lang-2.0.jar net.geant.coco.agent.portal.utils.TestApp "$@"
#LOG_LEVEL="trace"
#LOG_LEVEL="info"
LOG_LEVEL="warn"
sudo /usr/lib/jvm/java-7-openjdk-amd64/bin/java -Dorg.slf4j.simpleLogger.defaultLogLevel=$LOG_LEVEL -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n -Dfile.encoding=UTF-8 -classpath /home/mininet/coco_michal/CoCo/cocoportal/target/classes:/usr/share/tomcat7/lib/el-api.jar:/usr/share/tomcat7/lib/jsp-api.jar:/usr/share/tomcat7/lib/catalina-ha.jar:/usr/share/tomcat7/lib/catalina.jar:/usr/share/tomcat7/lib/tomcat-api.jar:/usr/share/tomcat7/lib/tomcat-coyote.jar:/usr/share/tomcat7/lib/tomcat-i18n-ja.jar:/usr/share/tomcat7/lib/jasper-el.jar:/usr/share/tomcat7/lib/commons-pool.jar:/usr/share/tomcat7/lib/catalina-ant.jar:/usr/share/tomcat7/lib/tomcat-i18n-fr.jar:/usr/share/tomcat7/lib/catalina-tribes.jar:/usr/share/tomcat7/lib/annotations-api.jar:/usr/share/tomcat7/lib/servlet-api.jar:/usr/share/tomcat7/lib/tomcat-util.jar:/usr/share/tomcat7/lib/jasper.jar:/usr/share/tomcat7/lib/tomcat-i18n-es.jar:/usr/share/tomcat7/lib/tomcat-jdbc.jar:/usr/share/tomcat7/lib/commons-dbcp.jar:/home/mininet/coco_michal/CoCo/cocoportal/lombok.jar:/home/mininet/coco_michal/CoCo/cocoportal/slf4j-api-1.7.12.jar:/home/mininet/coco_michal/CoCo/cocoportal/slf4j-simple-1.7.12.jar:/home/mininet/.m2/repository/org/springframework/spring-core/4.1.4.RELEASE/spring-core-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/home/mininet/.m2/repository/org/springframework/spring-beans/4.1.4.RELEASE/spring-beans-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-context/4.1.4.RELEASE/spring-context-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-aop/4.1.4.RELEASE/spring-aop-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-expression/4.1.4.RELEASE/spring-expression-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-jdbc/4.1.4.RELEASE/spring-jdbc-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-tx/4.1.4.RELEASE/spring-tx-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-web/4.1.4.RELEASE/spring-web-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/spring-webmvc/4.1.4.RELEASE/spring-webmvc-4.1.4.RELEASE.jar:/home/mininet/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/home/mininet/.m2/repository/javax/servlet/jstl/1.2/jstl-1.2.jar:/home/mininet/.m2/repository/mysql/mysql-connector-java/5.1.34/mysql-connector-java-5.1.34.jar:/home/mininet/.m2/repository/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar:/home/mininet/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar:/home/mininet/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/home/mininet/.m2/repository/org/slf4j/slf4j-api/1.5.8/slf4j-api-1.5.8.jar:/home/mininet/.m2/repository/org/hibernate/hibernate-validator/5.1.3.Final/hibernate-validator-5.1.3.Final.jar:/home/mininet/.m2/repository/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar:/home/mininet/.m2/repository/com/fasterxml/classmate/1.0.0/classmate-1.0.0.jar:/home/mininet/.m2/repository/org/jgrapht/jgrapht-jdk1.5/0.7.3/jgrapht-jdk1.5-0.7.3.jar:/home/mininet/.m2/repository/com/googlecode/json-simple/json-simple/1.1/json-simple-1.1.jar:/home/mininet/.m2/repository/com/sun/jersey/jersey-client/1.19/jersey-client-1.19.jar:/home/mininet/.m2/repository/com/sun/jersey/jersey-core/1.19/jersey-core-1.19.jar:/home/mininet/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar:/home/mininet/.m2/repository/org/springframework/security/spring-security-core/3.2.5.RELEASE/spring-security-core-3.2.5.RELEASE.jar:/home/mininet/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar:/home/mininet/.m2/repository/org/springframework/security/spring-security-web/3.2.5.RELEASE/spring-security-web-3.2.5.RELEASE.jar:/home/mininet/.m2/repository/org/springframework/security/spring-security-config/3.2.5.RELEASE/spring-security-config-3.2.5.RELEASE.jar:/home/mininet/.m2/repository/commons-lang/commons-lang/2.0/commons-lang-2.0.jar net.geant.coco.agent.portal.utils.TestApp "$@"