[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-04-11 Thread oldel...@java.net (JIRA)















































Richard Mortimer
 resolved  JENKINS-20682 as Duplicate


Starting Jenkins with defined --webroot or JETTY_HOME not working.
















Duplicate of JENKINS-22442





Change By:


Richard Mortimer
(11/Apr/14 1:45 PM)




Status:


Open
Resolved





Resolution:


Duplicate



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-04-01 Thread oldel...@java.net (JIRA)














































Richard Mortimer
 commented on  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.















See JENKINS-22442
It should fix the issue reported here.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-02-25 Thread jenk...@gcummings.com (JIRA)














































Geoff Cummings
 commented on  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.
















The following worked better for me:

Set the jetty.home to Jenkins directory on the java opts when starting Jenkins

-Djetty.home=$JENKINS_HOME

Create a directory called "work" in Jenkins Home directory, or wherever you have set jetty.home

That will cause Jetty to use that work directory instead of whatever the java.io.tmpdir property is set to.




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-02-18 Thread jcrinc...@gmail.com (JIRA)














































julio rincon
 commented on  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.















I bumped into this issue trying to run jenkins in my NAS where the tmp is just 30MBs. Overriding the java system property (java.io.tmpdir) worked for me!

E.g.

nohup java -Djava.io.tmpdir=./webroot -jar jenkins.war --httpPort= > ./jenkins.log 2>&1 & 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-02-08 Thread oldel...@java.net (JIRA)














































Richard Mortimer
 commented on  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.















The Jetty documentation shows how the location of the temporary directories can be controlled
http://www.eclipse.org/jetty/documentation/current/ref-temporary-directories.html

I just did a quick experiment by adding a call to WebAppContext#setTempDirectory() in HostConfiguration#create()
https://github.com/jenkinsci/winstone/blob/master/src/java/winstone/HostConfiguration.java

i.e. 

wac.setTempDirectory(new File("/var/cache/jenkins/temp"));


When jenkins.war was built with a version of winstone.jar containing that the Jetty temporary directory moved away from /tmp into /var/cache/jenkins/temp

That isn't a full solution to the problem because it needs hooking into the --webroot argument to jenkins.

There are other issues relating to how it works with multiple webapps (they should not share the same temp directory) and the usage of the temp folder is slightly different (it uses a /webapp subdirectory) to the old native winstone behaviour.

I don't know the internal plumbing of Winstone/Jenkins well enough to make a stab at a full fix for this.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-02-05 Thread oldel...@java.net (JIRA)














































Richard Mortimer
 updated  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.
















Change By:


Richard Mortimer
(05/Feb/14 3:37 PM)




Priority:


Major
Critical



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-02-05 Thread benjamin.de...@gmail.com (JIRA)














































Benjamin Dewez
 commented on  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.















This issue still opened for me and my teamworkers. It's the same behavior since https://issues.jenkins-ci.org/browse/JENKINS-18366.

Could you fix this one as soon as possible. Is it possible to up priority ? "Critical seems to be a good level" 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-01-27 Thread thewoolley...@gmail.com (JIRA)














































Chad Woolley
 commented on  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.















This is a serious issue, especially because https://issues.jenkins-ci.org/browse/JENKINS-20858 renders Jenkins essentially unusable until a reboot. I am having this issue on multiple Jenkins installations.

Can we please get a fix for this recently introduced major bug prioritized?

Thanks...



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-01-07 Thread oldel...@java.net (JIRA)















































Richard Mortimer
 assigned  JENKINS-20682 to Kohsuke Kawaguchi



Starting Jenkins with defined --webroot or JETTY_HOME not working.
















Assigning to Kohsuke (who made the change to Jetty) for comment. I believe that this is an unintended consequence of moving to Jetty.

Note that this is not just a case of the war being exploded into TEMPDIR but I have observed that it continues to serve images etc from the old --webroot location based on the last non-Jetty version of Jenkins (see JENKINS-20858 ).

The symptoms are quite subtle and at a minimum this bug needs resolving before the next LTS release.





Change By:


Richard Mortimer
(07/Jan/14 12:00 PM)




Assignee:


Kohsuke Kawaguchi



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2014-01-07 Thread stefan.brau...@1und1.de (JIRA)














































Stefan Brausch
 commented on  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.















Agree Ben, this it's a big problem. 
Icons are missing and slaves couldn't start automatically, slave.jar is also missing.
/tmp is really a bad place for the extracted war file 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2013-12-12 Thread swestc...@gmail.com (JIRA)















































Simon Westcott
 assigned  JENKINS-20682 to Unassigned



Starting Jenkins with defined --webroot or JETTY_HOME not working.
















Change By:


Simon Westcott
(12/Dec/13 10:50 PM)




Assignee:


Simon Westcott



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2013-12-11 Thread ben.d...@ontariosystems.com (JIRA)














































Ben Dean
 commented on  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.















This is a big deal. If the operating system is set up to run tmpwatch with cron (our CentOS box is this way), files will start to get deleted from that /tmp/jetty-... folder and then Jenkins won't work correctly. Usually this is just icons and other images being broken in the UI, but sometimes it could be important jars missing.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







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


[JIRA] [core] (JENKINS-20682) Starting Jenkins with defined --webroot or JETTY_HOME not working.

2013-12-01 Thread s.sog...@gmail.com (JIRA)














































sogabe
 updated  JENKINS-20682


Starting Jenkins with defined --webroot or JETTY_HOME not working.
















changed component. 





Change By:


sogabe
(02/Dec/13 6:43 AM)




Component/s:


core





Component/s:


bulk-builder





Component/s:


copyarchiver





Component/s:


credentials





Component/s:


dashboard-view





Component/s:


disk-usage





Component/s:


extended-read-permission





Component/s:


external-monitor-job





Component/s:


git





Component/s:


greenballs





Component/s:


join





Component/s:


ldap





Component/s:


leastload





Component/s:


mailer





Component/s:


matrix-auth





Component/s:


nested-view





Component/s:


pam-auth





Component/s:


parameterized-trigger





Component/s:


prescmbuildstep





Component/s:


project-inheritance





Component/s:


publish-over-ssh





Component/s:


rebuild





Component/s:


role-strategy





Component/s:


ssh





Component/s:


ssh-slaves





Component/s:


timestamper





Component/s:


view-job-filters



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to j