Authored by hugufei

修改pom

set JAVA_MEM_OPT= -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Djava.net.preferIPv4Stack=true
set JAVA_HOME=/usr/local/java
set WEB_APP_HOME=/home/test/yoho-search-service/deploy
set WEB_APP_HOME=/home/dev/yoho-search-service/deploy
set CATALINA_HOME=/usr/local/tomcat
set CATALINA_BASE=/home/test/yoho-search/deploy/tomcat_server
set CATALINA_BASE=/home/dev/yoho-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
... ...
... ... @@ -6,15 +6,16 @@ BASE_BIN_DIR=`dirname $0`
. $BASE_BIN_DIR/functions.sh
export JAVA_HOME=/usr/local/java
export WEB_APP_HOME=/home/master/yoho-search-service/deploy
export WEB_APP_HOME=/home/dev/yoho-search-service/deploy
export SERVER_PORT=0
export PRODUCTION_MODE="PRODUCT"
export PRODUCTION_MODE="TEST"
export SERVER_HOME=/usr/local/tomcat
export SERVER_TYPE=tomcat
export SERVER_NAMESPACE=yohosearch
export GW_URL=$Gateway_URL
export SERVER_BASE_DIR=" -Dcatalina.base=/home/master/yoho-search-service/deploy/.tomcat "
export SERVER_BASE_DIR=" -Dcatalina.base=/home/dev/yoho-search-service/deploy/.tomcat "
export NAMING_PORT=`expr 9000 + $SERVER_PORT`
export HTTP_SERVER_PORT=`expr 8080 + $SERVER_PORT`
... ...
... ... @@ -19,7 +19,7 @@
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
<Server port="8107" shutdown="SHUTDOWN">
<Server port="8100" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
... ... @@ -88,7 +88,7 @@
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8007" protocol="AJP/1.3" redirectPort="8443" />
<Connector port="8000" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes
... ...
... ... @@ -10,7 +10,7 @@
<artifactId>yoho-search-service-web</artifactId>
<packaging>war</packaging>
<modelVersion>4.0.0</modelVersion>
<dependencies>
... ... @@ -34,7 +34,7 @@
</dependencies>
<build>
<finalName>yoho-search</finalName>
<finalName>yoho-search-service</finalName>
<plugins>
<plugin>
<groupId>com.yoho.tools</groupId>
... ...