[ https://issues.jenkins-ci.org/browse/JENKINS-12521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161090#comment-161090 ]
Rene Snajder edited comment on JENKINS-12521 at 4/2/12 9:14 AM: ---------------------------------------------------------------- *edited* Ok, the problem seems to be that java arguments go in the JENKINS_JAVA_OPTIONS variable in the config, not in the JENKINS_ARGS was (Author: dermaniac): Ok, the problem seems to be that java arguments go in the JENKINS_JAVA_OPTIONS variable in the config, not in the JENKINS_ARGS > java.lang.IllegalArgumentException with TMP Cleaner Plugin after Jenkins > update to version 1.449 > ------------------------------------------------------------------------------------------------ > > Key: JENKINS-12521 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12521 > Project: Jenkins > Issue Type: Bug > Components: plugin > Affects Versions: current > Environment: Jenkins 1.449, Tmp Cleaner Plugin 1.1 > Reporter: Jürgen Prechtl > Labels: jenkins, plugin > > After Jenkins update to version 1.449 Jenkins throws > java.lang.IllegalArgumentException and does not start. > The problem does not exist until version 1.448. > The issue affects Tmp Cleaner Plugin 1.0 and 1.1 (i've tested those two > versions). > Here is the complete logfile entry: > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at Main._main(Main.java:273) > at Main.main(Main.java:98) > Caused by: java.lang.IllegalArgumentException: Multiple command line argument > specified: > -Dhudson.plugins.tmpcleaner.TmpCleanWork.extraDirectories=/home/hudson1t/tmp > If i remove this startup option, Jenkins throws the same exception with the > parameter hudson.plugins.tmpcleaner.TmpCleanWork.days. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira