Authored by wangnan

fix deploy

... ... @@ -6,11 +6,6 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
... ...
... ... @@ -2,7 +2,7 @@
<config>
<group>
<property name="yoho.search.service.env.webapphome" defaultValue="/home/master/yohomars-search-service/deploy" description="应用根目录"/>
<property name="yoho.search.service.env.webapphome" defaultValue="/home/dev/yohomars-search-service/deploy" description="应用根目录"/>
<property name="yoho.search.service.env.serverport" defaultValue="0" description="应用端口"/>
<property name="yoho.search.service.env.namespace" defaultValue="yohomars-search" description="应用命名空间"/>
<property name="yoho.env.javahome" defaultValue="/usr/local/java" description="" />
... ...
set JAVA_MEM_OPT= -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true
set JAVA_HOME=/usr/local/java
set WEB_APP_HOME=/home/dev/yoho-search-service/deploy
set WEB_APP_HOME=/home/dev/yohomars-search-service/deploy
set CATALINA_HOME=/usr/local/tomcat
set CATALINA_BASE=/home/dev/yoho-search-service/deploy/tomcat_server
set CATALINA_BASE=/home/dev/yohomars-search-service/deploy/tomcat_server
rem set JAVA_DEBUG_OPT= -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8082,server=y,suspend=n
... ...
... ... @@ -11,11 +11,11 @@ export SERVER_PORT=0
export PRODUCTION_MODE="TEST"
export SERVER_HOME=/usr/local/tomcat
export SERVER_TYPE=tomcat
export SERVER_NAMESPACE=yohosearch
export SERVER_NAMESPACE=yohomars-search
export GW_URL=$Gateway_URL
export SERVER_BASE_DIR=" -Dcatalina.base=/home/dev/yoho-search-service/deploy/.tomcat "
export SERVER_BASE_DIR=" -Dcatalina.base=/home/dev/yohomars-search-service/deploy/.tomcat "
export NAMING_PORT=`expr 9000 + $SERVER_PORT`
export HTTP_SERVER_PORT=`expr 8080 + $SERVER_PORT`
... ...