×
UNIX.COM Login
Username:
Password:  
Show Password






👤


UNIX and Linux Applications

Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

Is it mandatory or not to stop/start Applcation server ehen Restarting Database Server?

👤 Login to reply

 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-10-2018
alexcol alexcol is offline
Registered User
 
Join Date: Sep 2006
Last Activity: 2 July 2018, 5:06 PM EDT
Location: Bogota - Colombia - South America
Posts: 106
Thanks: 4
Thanked 1 Time in 1 Post
Is it mandatory or not to stop/start Applcation server ehen Restarting Database Server?

Good afternoon

I need your help please.
There is a Mantenance Windos which needs to Restart de Database Server 192.x.x.97 to set up some configuration

Is it mandatory or not to stop/start Applcation server that runs in 192.x.x.95 ?
Is it mandatory or not to stop/start apache and Tomcat?
I see some processes running on this server?

I appreciate your help in advanced



Code:
$ ps -fea|grep -i tomcat
ictprd   16669     1  0 Jan24 ?        02:09:13 /usr/java/jdk1.8.0_45/jre/bin/java -Djava.util.logging.config.file=/ict/product/ict/apache-tomcat-8.0.32/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Doracle.net.tns_admin=/oracle/app/oracle/product/12.1.0/client_1/network/admin -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=1024m -Djava.endorsed.dirs=/ict/product/ict/apache-tomcat-8.0.32/endorsed -classpath /ict/product/ict/apache-tomcat-8.0.32/bin/bootstrap.jar:/ict/product/ict/apache-tomcat-8.0.32/bin/tomcat-juli.jar -Dcatalina.base=/ict/product/ict/apache-tomcat-8.0.32 -Dcatalina.home=/ict/product/ict/apache-tomcat-8.0.32 -Djava.io.tmpdir=/ict/product/ict/apache-tomcat-8.0.32/temp org.apache.catalina.startup.Bootstrap start
ictprd   62781 33636  0 13:12 pts/9    00:00:00 grep -i tomcat

ictprd@prdwbmsapp01<PRD> : [/obc/product/obc/DEV/logs]
$ ps -fea|grep -i apache
ictprd   16669     1  0 Jan24 ?        02:09:13 /usr/java/jdk1.8.0_45/jre/bin/java -Djava.util.logging.config.file=/ict/product/ict/apache-tomcat-8.0.32/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Doracle.net.tns_admin=/oracle/app/oracle/product/12.1.0/client_1/network/admin -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=1024m -Djava.endorsed.dirs=/ict/product/ict/apache-tomcat-8.0.32/endorsed -classpath /ict/product/ict/apache-tomcat-8.0.32/bin/bootstrap.jar:/ict/product/ict/apache-tomcat-8.0.32/bin/tomcat-juli.jar -Dcatalina.base=/ict/product/ict/apache-tomcat-8.0.32 -Dcatalina.home=/ict/product/ict/apache-tomcat-8.0.32 -Djava.io.tmpdir=/ict/product/ict/apache-tomcat-8.0.32/temp org.apache.catalina.startup.Bootstrap start
ictprd   19828     1  0 Jan24 ?        02:46:18 java -Dename=PRD -Dpname=ictbootstrapper -Doracle.net.tns_admin=/oracle/app/oracle/product/12.1.0/client_1/network/admin -Demma.coverage.out.file=ictserver.coverage.ec -Xmx800m -Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB -Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton -cp .:/ict/product/ict/PRD/cfg:/ict/product/ict/PRD/lib/activation.jar:/ict/product/ict/PRD/lib/aopalliance.jar:/ict/product/ict/PRD/lib/api.jar:/ict/product/ict/PRD/lib/asm.jar:/ict/product/ict/PRD/lib/bcpkix-jdk15on.jar:/ict/product/ict/PRD/lib/bcprov-jdk15on.jar:/ict/product/ict/PRD/lib/capi_idl.jar:/ict/product/ict/PRD/lib/capi_server.jar:/ict/product/ict/PRD/lib/centralclient.jar:/ict/product/ict/PRD/lib/centralserver.jar:/ict/product/ict/PRD/lib/cglib.jar:/ict/product/ict/PRD/lib/common.jar:/ict/product/ict/PRD/lib/commons-beanutils-core.jar:/ict/product/ict/PRD/lib/commons-cli.jar:/ict/product/ict/PRD/lib/commons-codec.jar:/ict/product/ict/PRD/lib/commons-dbcp.jar:/ict/product/ict/PRD/lib/commons-digester.jar:/ict/product/ict/PRD/lib/commons-httpclient.jar:/ict/product/ict/PRD/lib/commons-io.jar:/ict/product/ict/PRD/lib/commons-lang.jar:/ict/product/ict/PRD/lib/commons-logging.jar:/ict/product/ict/PRD/lib/commons-pool.jar:/ict/product/ict/PRD/lib/com.springsource.javax.jms.jar:/ict/product/ict/PRD/lib/com.springsource.org.apache.commons.codec.jar:/ict/product/ict/PRD/lib/com.sun.el.jar:/ict/product/ict/PRD/lib/crypto.jar:/ict/product/ict/PRD/lib/FastInfoset.jar:/ict/product/ict/PRD/lib/gson.jar:/ict/product/ict/PRD/lib/guava.jar:/ict/product/ict/PRD/lib/help_2057_central.jar:/ict/product/ict/PRD/lib

Sponsored Links
    #2  
Old 03-10-2018
MadeInGermany MadeInGermany is offline Forum Staff  
Moderator
 
Join Date: May 2012
Last Activity: 16 July 2018, 4:42 PM EDT
Location: Simplicity
Posts: 4,153
Thanks: 365
Thanked 1,418 Times in 1,274 Posts
Yes, in general you must shutdown the application service (tomcat) first, so it can flush data to the DB.
Then shutdown or restart the DB server.
Sponsored Links
    #3  
Old 03-10-2018
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 16 July 2018, 3:46 PM EDT
Location: Aachen, Germany
Posts: 13,062
Thanks: 447
Thanked 4,011 Times in 3,688 Posts
Wouldn't a "service stop routine" be part of the host shutdown sequence?

Last edited by RudiC; 03-11-2018 at 06:22 AM..
    #4  
Old 03-10-2018
alexcol alexcol is offline
Registered User
 
Join Date: Sep 2006
Last Activity: 2 July 2018, 5:06 PM EDT
Location: Bogota - Colombia - South America
Posts: 106
Thanks: 4
Thanked 1 Time in 1 Post
Yes there are three separated shells scripts one to stop/starrt APP. 2nd shell to start/stop apache and 3rd shell to start/stop web logic

What happens if I deliberately start/stop APplication but not Apache and WebLogic?
There woul be any problem?

Thanks for your support in advanced
Sponsored Links
👤 Login to reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
mandatory & record locking using client server architecture rluha UNIX for Advanced & Expert Users 1 08-16-2010 03:23 PM
server restarting rcmrulzz Solaris 4 06-06-2008 12:38 AM
How to start/stop cron jobs on live server varaprasadu Solaris 2 03-13-2008 01:09 AM
cannot telnet after restarting server wipi Solaris 2 08-17-2007 05:57 AM
Help: how to start/stop FTP server in solaris? eddsos Solaris 1 08-07-2005 01:32 PM



All times are GMT -4. The time now is 09:50 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.