LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2010, 07:21 PM   #1
bhaumik
LQ Newbie
 
Registered: Aug 2010
Posts: 24

Rep: Reputation: 0
linux maven remote war deployment


Hi,

I want to deploy war file on tomcat server remotly. Can you please help me out on that.
 
Old 08-21-2010, 09:15 AM   #2
tuxtutorials
Member
 
Registered: Dec 2008
Location: New York
Distribution: RedHat, Solaris
Posts: 68

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

http://www.jguru.com/faq/view.jsp?EID=123229
 
Old 08-23-2010, 11:36 AM   #3
bhaumik
LQ Newbie
 
Registered: Aug 2010
Posts: 24

Original Poster
Rep: Reputation: 0
Gr8 Thanks alot for your help.

Let me try this. Will ask I have more question..
 
Old 09-07-2010, 05:51 PM   #4
bhaumik
LQ Newbie
 
Registered: Aug 2010
Posts: 24

Original Poster
Rep: Reputation: 0
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
 
Old 09-19-2010, 01:48 PM   #5
bhaumik
LQ Newbie
 
Registered: Aug 2010
Posts: 24

Original Poster
Rep: Reputation: 0
$_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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Maven targets Millenniumman Programming 0 07-03-2008 08:14 PM
LXer: An update on the war against Microsoft’s war against Linux LXer Syndicated Linux News 0 05-05-2008 05:20 AM
Tomcat 5.5.7 War file deployment failure r_debussy Linux - Software 4 06-02-2005 02:45 AM
remote software deployment project newbie20 Linux - Software 0 09-01-2003 03:38 AM


All times are GMT -5. The time now is 04:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration