LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux maven remote war deployment (https://www.linuxquestions.org/questions/linux-newbie-8/linux-maven-remote-war-deployment-827536/)

bhaumik 08-20-2010 07:21 PM

linux maven remote war deployment
 
Hi,

I want to deploy war file on tomcat server remotly. Can you please help me out on that.

tuxtutorials 08-21-2010 09:15 AM

Have you done any research? Quick search came up with this:

http://www.jguru.com/faq/view.jsp?EID=123229

bhaumik 08-23-2010 11:36 AM

Gr8 Thanks alot for your help.

Let me try this. Will ask I have more question..

bhaumik 09-07-2010 05:51 PM

Hi

I tried to start tomcat remotely, It's not coming up. Locally it's seems working fine.

I tried command ssh remoteserver sh catalina.sh start and startup.sh

but It's not working.

Using CATALINA_BASE: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
Using CATALINA_HOME: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
Using CATALINA_TMPDIR: /opt/tomcat/6.0.29/apache-tomcat-6.0.29/temp
Using CATALINA_OUT: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
Using JRE_HOME: /usr/java/jre-1.6.0-sun
Using CLASSPATH: /opt/tomcat/6.0.29/apache-tomcat-6.0.29/bin/bootstrap.jar

I am preassume when it's writing to catalina.log file it's creating some problem

"$_RUNJAVA" "$LOGGING_CONFIG" $JAVA_OPTS $CATALINA_OPTS \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-Djava.security.manager \
-Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
org.apache.catalina.startup.Bootstrap "$@" start \
>> "$CATALINA_OUT" 2>&1 &

if some one has idea..please help me out with this problem

bhaumik 09-19-2010 01:48 PM

$_RUNJAVA" "$LOGGING_CONFIG" $JAVA_OPTS $CATALINA_OPTS \
-Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" -classpath "$CLASSPATH" \
-Djava.security.manager \
-Djava.security.policy=="$CATALINA_BASE"/conf/catalina.policy \
-Dcatalina.base="$CATALINA_BASE" \
-Dcatalina.home="$CATALINA_HOME" \
-Djava.io.tmpdir="$CATALINA_TMPDIR" \
org.apache.catalina.startup.Bootstrap "$@" start \
>> "$CATALINA_OUT" 2>&1 &

I used nohub command, now it's working fine


All times are GMT -5. The time now is 08:15 AM.