core icon indicating copy to clipboard operation
core copied to clipboard

On startup, 3.0 pids are going to collide if more than 1 dotcms on a box.

Open wezell opened this issue 12 years ago • 3 comments

They will all be written out as ROOT.pid. We need to modify the script to write the pid somewhere else.

Using DOTCMS_HOME = /wwwroot/dotcms.com/current/dotserver/tomcat-7.0.42/webapps/ROOT
Using DOTSERVER = ROOT
Using CATALINA_PID = /tmp/ROOT.pid
Using JAVA_OPTS =  -Djava.awt.headless=true -Xverify:none -Dfile.encoding=UTF8 -server -Xmx3G -XX:MaxPermSize=512m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -javaagent:/wwwroot/dotcms.com/current/dotserver/tomcat-7.0.42/webapps/ROOT/WEB-INF/lib/jamm-0.2.5.jar -Ddotserver=ROOT
Using CATALINA_BASE:   /wwwroot/dotcms.com/current/dotserver/tomcat-7.0.42
Using CATALINA_HOME:   /wwwroot/dotcms.com/current/dotserver/tomcat-7.0.42
Using CATALINA_TMPDIR: /wwwroot/dotcms.com/current/dotserver/tomcat-7.0.42/temp
Using JRE_HOME:        /usr/lib/java/java7
Using CLASSPATH:       /wwwroot/dotcms.com/current/dotserver/tomcat-7.0.42/bin/bootstrap.jar:/wwwroot/dotcms.com/current/dotserver/tomcat-7.0.42/bin/tomcat-juli.jar
Using CATALINA_PID:    /tmp/ROOT.pid      <--------------------------

wezell avatar May 27 '14 18:05 wezell

@wezell - how are you running? Are you running straight out of github? If so, how are you starting the server?

This was fixed here for the nightly build / disto https://github.com/dotCMS/dotCMS/issues/5151

brentgriffin avatar May 27 '14 18:05 brentgriffin

This is on the starter site - it is the distro but it might be old. Great to know it has been addressed


Will Ezell http://dotcms.com phone: (305) 900-2001 ext. 7010 direct: (978) 294-9429 https://www.google.com/voice/b/0?pli=1#phones skype: wezell1

On Tue, May 27, 2014 at 2:55 PM, Brent Griffin [email protected]:

@wezell https://github.com/wezell - how are you running? Are you running straight out of github? If so, how are you starting the server?

This was fixed here for the nightly build / disto #5151https://github.com/dotCMS/dotCMS/issues/5151

—

Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/5663#issuecomment-44319363 .

dotcmsCodeReview avatar May 27 '14 19:05 dotcmsCodeReview

Great closing - verified locally with the latest nightly build and is working correctly.

brentgriffin avatar May 27 '14 19:05 brentgriffin