Re: Upgrade from war file under tomcat to native install

2014-03-14 Thread Eric Wood
Thanks, 

Are you running your tomcat on windows and is so what version?

Also, I don;t want to run two versions on the same server at once.  I want to 
download the native windows instance and run it, but point it to the jenkins 
home.  Since it starts as a service I assume that I can shit down the tomcat 
service, download and install the native instance and point it to my jenkins 
home ... correct or am I missing something?

Thanks, Eric



On Friday, March 14, 2014 2:35 PM, arthur_her...@homedepot.com 
arthur_her...@homedepot.com wrote:
 
I would not run 2 instances at the same time – Jenkins uses file based storage 
for configs, etc. and the updates by one would not be seen by the other.
 
We run tomcat with these settings in the tomcat/bin/start.sh file.
 
export TOMCAT_LOGS=/var/tomcat/logs
 
# Jenkins Settings
CATALINA_OPTS=-DJENKINS_HOME=/var/jenkins/
 
# Server Settings
CATALINA_OPTS=$CATALINA_OPTS -server
CATALINA_OPTS=$CATALINA_OPTS -Djava.awt.headless=true
 
# Memory Settings
CATALINA_OPTS=$CATALINA_OPTS -Xms4096m
CATALINA_OPTS=$CATALINA_OPTS -Xmx4096m
CATALINA_OPTS=$CATALINA_OPTS -Xmn1024m
CATALINA_OPTS=$CATALINA_OPTS -XX:PermSize=128m
CATALINA_OPTS=$CATALINA_OPTS -XX:MaxPermSize=256m
CATALINA_OPTS=$CATALINA_OPTS -XX:+HeapDumpOnOutOfMemoryError
CATALINA_OPTS=$CATALINA_OPTS -XX:HeapDumpPath=${TOMCAT_LOGS}
 
# Garbage Collection Logging
CATALINA_OPTS=$CATALINA_OPTS -XX:+PrintGCDetails
CATALINA_OPTS=$CATALINA_OPTS -XX:+PrintGCDateStamps
CATALINA_OPTS=$CATALINA_OPTS -XX:+PrintHeapAtGC
CATALINA_OPTS=$CATALINA_OPTS -Xloggc:${TOMCAT_LOGS}/garbage-collection.log
 
export CATALINA_OPTS
exec $PRGDIR/$EXECUTABLE start $@
 
 
From:jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] 
On Behalf Of Eric Wood
Sent: Friday, March 14, 2014 1:08 PM
To: jenkinsci-users@googlegroups.com
Subject: Upgrade from war file under tomcat to native install
 
I'm currently running a version of Jenkins under tomcat.  I'm pledged by 
permgen issues that crash the service regularly.  I want to be able to install 
a native instance and point it to my Jenkins home on the same server.  Can 
anybody point me to the steps required to make this a success.  Note sure If I 
have have the war file running under tomcat and install a native instance on a 
windows server at the same time.  Not sure if there is port conflict or other 
issues that may impact the success of this process.
 
Any help would be greatly appreciated.
 
Thanks, Eric
-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

 
The information in this Internet Email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this Email by 
anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution
 or any action taken or omitted to be taken in reliance on it, is prohibited 
and may be unlawful. When addressed to our clients any opinions or advice 
contained in this Email are subject to the terms and conditions expressed in 
any applicable governing The
 Home Depot terms of business or client engagement letter. The Home Depot 
disclaims all responsibility and liability for the accuracy and content of this 
attachment and for any damages or losses arising from any inaccuracies, errors, 
viruses, e.g., worms, trojan
 horses, etc., or other items of a destructive nature, which may be contained 
in this attachment and shall not be liable for direct, indirect, consequential 
or special damages in connection with this e-mail message or its attachment.
 
-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Upgrade from war file under tomcat to native install

2014-03-14 Thread Arthur_Herman
I would not run 2 instances at the same time - Jenkins uses file based storage 
for configs, etc. and the updates by one would not be seen by the other.

We run tomcat with these settings in the tomcat/bin/start.sh file.

export TOMCAT_LOGS=/var/tomcat/logs

# Jenkins Settings
CATALINA_OPTS=-DJENKINS_HOME=/var/jenkins/

# Server Settings
CATALINA_OPTS=$CATALINA_OPTS -server
CATALINA_OPTS=$CATALINA_OPTS -Djava.awt.headless=true

# Memory Settings
CATALINA_OPTS=$CATALINA_OPTS -Xms4096m
CATALINA_OPTS=$CATALINA_OPTS -Xmx4096m
CATALINA_OPTS=$CATALINA_OPTS -Xmn1024m
CATALINA_OPTS=$CATALINA_OPTS -XX:PermSize=128m
CATALINA_OPTS=$CATALINA_OPTS -XX:MaxPermSize=256m
CATALINA_OPTS=$CATALINA_OPTS -XX:+HeapDumpOnOutOfMemoryError
CATALINA_OPTS=$CATALINA_OPTS -XX:HeapDumpPath=${TOMCAT_LOGS}

# Garbage Collection Logging
CATALINA_OPTS=$CATALINA_OPTS -XX:+PrintGCDetails
CATALINA_OPTS=$CATALINA_OPTS -XX:+PrintGCDateStamps
CATALINA_OPTS=$CATALINA_OPTS -XX:+PrintHeapAtGC
CATALINA_OPTS=$CATALINA_OPTS -Xloggc:${TOMCAT_LOGS}/garbage-collection.log

export CATALINA_OPTS
exec $PRGDIR/$EXECUTABLE start $@


From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Wood
Sent: Friday, March 14, 2014 1:08 PM
To: jenkinsci-users@googlegroups.com
Subject: Upgrade from war file under tomcat to native install

I'm currently running a version of Jenkins under tomcat.  I'm pledged by 
permgen issues that crash the service regularly.  I want to be able to install 
a native instance and point it to my Jenkins home on the same server.  Can 
anybody point me to the steps required to make this a success.  Note sure If I 
have have the war file running under tomcat and install a native instance on a 
windows server at the same time.  Not sure if there is port conflict or other 
issues that may impact the success of this process.

Any help would be greatly appreciated.

Thanks, Eric
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



The information in this Internet Email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this Email by 
anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful. When addressed to our 
clients any opinions or advice contained in this Email are subject to the terms 
and conditions expressed in any applicable governing The Home Depot terms of 
business or client engagement letter. The Home Depot disclaims all 
responsibility and liability for the accuracy and content of this attachment 
and for any damages or losses arising from any inaccuracies, errors, viruses, 
e.g., worms, trojan horses, etc., or other items of a destructive nature, which 
may be contained in this attachment and shall not be liable for direct, 
indirect, consequential or special damages in connection with this e-mail 
message or its attachment.

-- 
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Upgrade from war file under tomcat to native install

2014-03-14 Thread Arthur_Herman
We are running the Jenkins master on Linux and have several Windows machines as 
slaves.
Personally, I would not run the Master from Windows nor run any builds directly 
on the master.

But yes, as long as you’re only running 1 instance, I believe it could take 
over the JENKINS_HOME data.

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Wood
Sent: Friday, March 14, 2014 2:40 PM
To: jenkinsci-users@googlegroups.com
Subject: Re: Upgrade from war file under tomcat to native install

Thanks,

Are you running your tomcat on windows and is so what version?

Also, I don;t want to run two versions on the same server at once.  I want to 
download the native windows instance and run it, but point it to the jenkins 
home.  Since it starts as a service I assume that I can shit down the tomcat 
service, download and install the native instance and point it to my jenkins 
home ... correct or am I missing something?

Thanks, Eric

On Friday, March 14, 2014 2:35 PM, 
arthur_her...@homedepot.commailto:arthur_her...@homedepot.com 
arthur_her...@homedepot.commailto:arthur_her...@homedepot.com wrote:
I would not run 2 instances at the same time – Jenkins uses file based storage 
for configs, etc. and the updates by one would not be seen by the other.

We run tomcat with these settings in the tomcat/bin/start.sh file.

export TOMCAT_LOGS=/var/tomcat/logs

# Jenkins Settings
CATALINA_OPTS=-DJENKINS_HOME=/var/jenkins/

# Server Settings
CATALINA_OPTS=$CATALINA_OPTS -server
CATALINA_OPTS=$CATALINA_OPTS -Djava.awt.headless=true

# Memory Settings
CATALINA_OPTS=$CATALINA_OPTS -Xms4096m
CATALINA_OPTS=$CATALINA_OPTS -Xmx4096m
CATALINA_OPTS=$CATALINA_OPTS -Xmn1024m
CATALINA_OPTS=$CATALINA_OPTS -XX:PermSize=128m
CATALINA_OPTS=$CATALINA_OPTS -XX:MaxPermSize=256m
CATALINA_OPTS=$CATALINA_OPTS -XX:+HeapDumpOnOutOfMemoryError
CATALINA_OPTS=$CATALINA_OPTS -XX:HeapDumpPath=${TOMCAT_LOGS}

# Garbage Collection Logging
CATALINA_OPTS=$CATALINA_OPTS -XX:+PrintGCDetails
CATALINA_OPTS=$CATALINA_OPTS -XX:+PrintGCDateStamps
CATALINA_OPTS=$CATALINA_OPTS -XX:+PrintHeapAtGC
CATALINA_OPTS=$CATALINA_OPTS -Xloggc:${TOMCAT_LOGS}/garbage-collection.log

export CATALINA_OPTS
exec $PRGDIR/$EXECUTABLE start $@


From: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Wood
Sent: Friday, March 14, 2014 1:08 PM
To: jenkinsci-users@googlegroups.commailto:jenkinsci-users@googlegroups.com
Subject: Upgrade from war file under tomcat to native install

I'm currently running a version of Jenkins under tomcat.  I'm pledged by 
permgen issues that crash the service regularly.  I want to be able to install 
a native instance and point it to my Jenkins home on the same server.  Can 
anybody point me to the steps required to make this a success.  Note sure If I 
have have the war file running under tomcat and install a native instance on a 
windows server at the same time.  Not sure if there is port conflict or other 
issues that may impact the success of this process.

Any help would be greatly appreciated.

Thanks, Eric
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



The information in this Internet Email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this Email by 
anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful. When addressed to our 
clients any opinions or advice contained in this Email are subject to the terms 
and conditions expressed in any applicable governing The Home Depot terms of 
business or client engagement letter. The Home Depot disclaims all 
responsibility and liability for the accuracy and content of this attachment 
and for any damages or losses arising from any inaccuracies, errors, viruses, 
e.g., worms, trojan horses, etc., or other items of a destructive nature, which 
may be contained in this attachment and shall not be liable for direct, 
indirect, consequential or special damages in connection with this e-mail 
message or its attachment.
--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jenkinsci-users+unsubscr...@googlegroups.commailto:jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
Jenkins Users group.
To unsubscribe