Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

By Default all dotcms servers running with DOTSERVER=ROOT #5151

Closed
brentgriffin opened this issue Mar 14, 2014 · 1 comment
Closed

By Default all dotcms servers running with DOTSERVER=ROOT #5151

brentgriffin opened this issue Mar 14, 2014 · 1 comment

Comments

@brentgriffin
Copy link
Contributor

Running a two node cluster on CentOS 6.5/Java 7/MySQL/20140314 Nightly Build - both nodes are on one physical server.

In prior versions, DOTSERVER would be set to the ROOT folder of the repo/folder containing dotcms. This allowed multiple instance to run on the same machine without specifically setting the DOTSERVER environment variable.

Now with the 3.0 distribution, DOTSERVER is always being set to ROOT because that is the name of the directory under tomcat where the app is deployed. This means that unless DOTSERVER is specifically set in the environment, that the second instance will fail to start up because the PID file with the ROOT name already exists. See error message here: https://gist.github.com/brentgriffin/9556328

@brentgriffin brentgriffin added this to the 3.0 milestone Mar 14, 2014
@jtesser jtesser added the bug label Mar 19, 2014
@jtesser
Copy link
Contributor

jtesser commented Mar 19, 2014

@jgambarios make sure windows and unix both work here though I think win is fine

jgambarios added a commit to dotCMS/tomcat7 that referenced this issue Mar 19, 2014
jgambarios added a commit that referenced this issue Mar 19, 2014
jgambarios added a commit to dotCMS/tomcat7 that referenced this issue Mar 19, 2014
jgambarios added a commit that referenced this issue Mar 19, 2014
jgambarios added a commit to dotCMS/tomcat7 that referenced this issue Mar 19, 2014
jgambarios added a commit to dotCMS/tomcat7 that referenced this issue Mar 20, 2014
jgambarios added a commit that referenced this issue Mar 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants