java.lang.IllegalArgumentException: Bad temp directory: /opt/artifactory/tmp/JettyContext6073078177889746240

JFrog JIRA | Richard Grossman | 6 years ago
  1. 0

    Artifactory start normally when calling from root /opt/artifactory/bin/artifactory.sh but not when started as service like service artifactory start or using ./artifactoryctl start I get always the same error in consoleout.log Runing: exec /usr/lib/jvm/java-6-sun/bin/java-server -Xms1g -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -XX:NewSize=384m -XX:MaxNewSize=384m -Djava.io.tmpdir=/opt/artifactory/tmp -Djava.awt.headless=true -Djetty.home=/opt/artifactory -Dartifactory.home=/opt/artifactory -cp "/opt/artifactory/artifactory.jar:/opt/artifactory/lib/jetty-ajp-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-continuation-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-http-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-io-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-security-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-server-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-servlet-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-util-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-webapp-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-xml-7.0.2.v20100331.jar:/opt/artifactory/lib/mysql-connector-java-5.1.13.jar:/opt/artifactory/lib/servlet-api-2.5.jar:/opt/artifactory/lib/wrapper.jar" org.artifactory.standalone.main.Main /opt/artifactory/etc/jetty.xml Starting jetty from configuration file /opt/artifactory/etc/jetty.xml 2010-12-08 12:41:37.386:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog 2010-12-08 12:41:37.573:INFO::jetty-7.0.2.v20100331 2010-12-08 12:41:37.625:WARN::Failed startup of context WebAppContext@7b2be1bd@7b2be1bd/artifactory,null,/opt/artifactory/webapps/artifactory.war java.lang.IllegalArgumentException: Bad temp directory: /opt/artifactory/tmp/JettyContext6073078177889746240 at org.eclipse.jetty.webapp.WebAppContext.setTempDirectory(WebAppContext.java:894) at org.eclipse.jetty.webapp.WebInfConfiguration.setTempDirectory(WebInfConfiguration.java:357) at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:300) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:43) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:347) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165) at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:162) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92) at org.eclipse.jetty.server.Server.doStart(Server.java:230) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.artifactory.standalone.main.Main.main(Main.java:75) 2010-12-08 12:41:37.630:INFO::Opened /var/log/artifactory/2010_12_08.request.log 2010-12-08 12:41:37.671:INFO::Started SelectChannelConnector@0.0.0.0:8081 2010-12-08 12:54:48.945:INFO::Graceful shutdown SelectChannelConnector@0.0.0.0:8081 2010-12-08 12:54:48.946:INFO::Graceful shutdown WebAppContext@7b2be1bd@7b2be1bd/artifactory,null,/opt/artifactory/webapps/artifactory.war

    JFrog JIRA | 6 years ago | Richard Grossman
    java.lang.IllegalArgumentException: Bad temp directory: /opt/artifactory/tmp/JettyContext6073078177889746240
  2. 0

    Artifactory start normally when calling from root /opt/artifactory/bin/artifactory.sh but not when started as service like service artifactory start or using ./artifactoryctl start I get always the same error in consoleout.log Runing: exec /usr/lib/jvm/java-6-sun/bin/java-server -Xms1g -Xmx1g -Xss256k -XX:PermSize=128m -XX:MaxPermSize=128m -XX:NewSize=384m -XX:MaxNewSize=384m -Djava.io.tmpdir=/opt/artifactory/tmp -Djava.awt.headless=true -Djetty.home=/opt/artifactory -Dartifactory.home=/opt/artifactory -cp "/opt/artifactory/artifactory.jar:/opt/artifactory/lib/jetty-ajp-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-continuation-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-http-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-io-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-security-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-server-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-servlet-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-util-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-webapp-7.0.2.v20100331.jar:/opt/artifactory/lib/jetty-xml-7.0.2.v20100331.jar:/opt/artifactory/lib/mysql-connector-java-5.1.13.jar:/opt/artifactory/lib/servlet-api-2.5.jar:/opt/artifactory/lib/wrapper.jar" org.artifactory.standalone.main.Main /opt/artifactory/etc/jetty.xml Starting jetty from configuration file /opt/artifactory/etc/jetty.xml 2010-12-08 12:41:37.386:INFO::Logging to StdErrLog::DEBUG=false via org.eclipse.jetty.util.log.StdErrLog 2010-12-08 12:41:37.573:INFO::jetty-7.0.2.v20100331 2010-12-08 12:41:37.625:WARN::Failed startup of context WebAppContext@7b2be1bd@7b2be1bd/artifactory,null,/opt/artifactory/webapps/artifactory.war java.lang.IllegalArgumentException: Bad temp directory: /opt/artifactory/tmp/JettyContext6073078177889746240 at org.eclipse.jetty.webapp.WebAppContext.setTempDirectory(WebAppContext.java:894) at org.eclipse.jetty.webapp.WebInfConfiguration.setTempDirectory(WebInfConfiguration.java:357) at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:300) at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:43) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:347) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165) at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:162) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92) at org.eclipse.jetty.server.Server.doStart(Server.java:230) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) at org.artifactory.standalone.main.Main.main(Main.java:75) 2010-12-08 12:41:37.630:INFO::Opened /var/log/artifactory/2010_12_08.request.log 2010-12-08 12:41:37.671:INFO::Started SelectChannelConnector@0.0.0.0:8081 2010-12-08 12:54:48.945:INFO::Graceful shutdown SelectChannelConnector@0.0.0.0:8081 2010-12-08 12:54:48.946:INFO::Graceful shutdown WebAppContext@7b2be1bd@7b2be1bd/artifactory,null,/opt/artifactory/webapps/artifactory.war

    JFrog JIRA | 6 years ago | Richard Grossman
    java.lang.IllegalArgumentException: Bad temp directory: /opt/artifactory/tmp/JettyContext6073078177889746240
  3. 0

    Registering resources in Dropwizard

    Stack Overflow | 2 years ago | Amith Gopal
    java.lang.IllegalArgumentException: A metric named io.dropwizard.db.ManagedPooledDataSource.postgresql.active already exists, java.util.concurrent.RejectedExecutionException: org.eclipse.jetty.util.thread.NonBlockingThread@27f74733]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Named io.dropwizard.db.ManagedPooledDataSource.hibernate.active already exists

    Stack Overflow | 1 year ago | Ashokprakash
    java.lang.IllegalArgumentException: A metric named io.dropwizard.db.ManagedPooledDataSource.hibernate.active already exists, java.util.concurrent.RejectedExecutionException: org.eclipse.jetty.util.thread.NonBlockingThread@6325f352]
  6. 0

    jax rs - Named io.dropwizard.db.ManagedPooledDataSource.hibernate.active already exists - Stack Overflow

    databaseeu.com | 1 year ago
    java.lang.IllegalArgumentException: A metric named io.dropwizard.db.ManagedPooledDataSource.hibernate.active already exists, java.util.concurrent.RejectedExecutionException: org.eclipse.jetty.util.thread.NonBlockingThread@6325f352]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Bad temp directory: /opt/artifactory/tmp/JettyContext6073078177889746240

      at org.eclipse.jetty.webapp.WebAppContext.setTempDirectory()
    2. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.webapp.WebAppContext.setTempDirectory(WebAppContext.java:894)
      2. org.eclipse.jetty.webapp.WebInfConfiguration.setTempDirectory(WebInfConfiguration.java:357)
      3. org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:300)
      4. org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:43)
      5. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:347)
      6. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      7. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
      8. org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:162)
      9. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      10. org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
      11. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      12. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
      13. org.eclipse.jetty.server.Server.doStart(Server.java:230)
      14. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      14 frames
    3. org.artifactory.standalone
      Main.main
      1. org.artifactory.standalone.main.Main.main(Main.java:75)
      1 frame