java.lang.IllegalArgumentException: Object is not of type class org.eclipse.jetty.webapp.WebAppContext

Google Groups | Steven Parkes | 6 years ago
  1. 0

    error with Jetty 7 and jetty-web.xml

    Google Groups | 6 years ago | Steven Parkes
    java.lang.IllegalArgumentException: Object is not of type class org.eclipse.jetty.webapp.WebAppContext
  2. 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]
  3. 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]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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]
  6. 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

    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

      Object is not of type class org.eclipse.jetty.webapp.WebAppContext

      at org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure()
    2. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.xml.XmlConfiguration$JettyXmlConfiguration.configure(XmlConfiguration.java:317)
      2. org.eclipse.jetty.xml.XmlConfiguration.configure(XmlConfiguration.java:273)
      3. org.eclipse.jetty.webapp.JettyWebXmlConfiguration.configure(JettyWebXmlConfiguration.java:82)
      4. org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:414)
      5. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1153)
      6. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:587)
      7. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:436)
      8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      9. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
      10. org.eclipse.jetty.server.Server.doStart(Server.java:258)
      11. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      11 frames
    3. sbt.jetty
      LazyJettyRun7$.apply
      1. sbt.jetty.LazyJettyRun7$.apply(LazyJettyRun7.scala:104)
      1 frame
    4. SBT
      TaskManager$Task.invoke
      1. sbt.JettyRunner.runJetty$1(WebApp.scala:49)
      2. sbt.JettyRunner.apply(WebApp.scala:58)
      3. sbt.WebScalaProject$$anonfun$jettyRunTask$1.apply(ScalaProject.scala:383)
      4. sbt.WebScalaProject$$anonfun$jettyRunTask$1.apply(ScalaProject.scala:383)
      5. sbt.TaskManager$Task.invoke(TaskManager.scala:62)
      5 frames
    5. Ivy
      RunTask$$anonfun$runTasksExceptRoot$2.apply
      1. sbt.impl.RunTask.doRun$1(RunTask.scala:77)
      2. sbt.impl.RunTask.runTask(RunTask.scala:85)
      3. sbt.impl.RunTask.sbt$impl$RunTask$$runIfNotRoot(RunTask.scala:60)
      4. sbt.impl.RunTask$$anonfun$runTasksExceptRoot$2.apply(RunTask.scala:48)
      5. sbt.impl.RunTask$$anonfun$runTasksExceptRoot$2.apply(RunTask.scala:48)
      5 frames
    6. SBT
      Distributor$Run$Worker.run
      1. sbt.Distributor$Run$Worker$$anonfun$2.apply(ParallelRunner.scala:131)
      2. sbt.Distributor$Run$Worker$$anonfun$2.apply(ParallelRunner.scala:131)
      3. sbt.Control$.trapUnit(Control.scala:19)
      4. sbt.Distributor$Run$Worker.run(ParallelRunner.scala:131)
      4 frames