Skip to content

Demo web app doesn't start and ends in an error #11

Description

@motivatedmind

Steps

  1. Downloaded demo app war from here ==> https://github.com/getgauge-examples/activeadmin-demo/releases/download/untagged-f0befd5494efa4baabd2/activeadmin-demo.war

  2. Ran java -jar activeadmin-demo.war which resulted in below error

2021-11-26 07:51:28.159:INFO::main: Logging initialized @469ms
2021-11-26 07:51:28.159:INFO:oejr.Runner:main: Runner
2021-11-26 07:51:28.238:INFO:oejs.Server:main: jetty-9.2.9.v20150224
2021-11-26 07:51:35.629:WARN:oeja.AnnotationConfiguration:main: ServletContainerInitializers: detected. Class hierarchy: empty
2021-11-26 07:51:36.255:INFO:/:main: INFO: jruby 9.1.12.0 (2.3.3) 2017-06-15 33c6439 Eclipse OpenJ9 VM openj9-0.26.0 on 1.8.0_292-b10 +jit [mswin32-x86_64]
2021-11-26 07:51:36.257:INFO:/:main: INFO: using a shared (threadsafe!) runtime
2021-11-26 07:51:52.376:INFO:/:main: An exception happened during JRuby-Rack startup|load error: C:/Users/xxxx/AppData/Local/Temp/jetty-0.0.0.0-8080
-activeadmin-demo.war--any-7680445054590137724.dir/webapp/WEB-INF/config/environment -- java.lang.IllegalAccessException: Can not set static final boolean field
javax.crypto.JceSecurity.isRestricted to java.lang.Boolean|--- System|jruby 9.1.12.0 (2.3.3) 2017-06-15 33c6439 Eclipse OpenJ9 VM openj9-0.26.0 on 1.8.0_292-b10 +
jit [mswin32-x86_64]|Time: 2021-11-26 07:51:52 +0530|Server: jetty/9.2.9.v20150224|jruby.home: uri:classloader://META-INF/jruby.home||--- Context Init Parameters:
|jruby.max.runtimes = 1|jruby.min.runtimes = 1|public.root = /|rails.env = test||--- Backtrace|LoadError: load error: C:/Users/xxxx/AppData/Local/Te
mp/jetty-0.0.0.0-8080-activeadmin-demo.war-
-any-7680445054590137724.dir/webapp/WEB-INF/config/environment -- java.lang.IllegalAccessException: Can not set static
final boolean field javax.crypto.JceSecurity.isRestricted to java.lang.Boolean| require at org/jruby/RubyKernel.java:961| load_environment at uri:clas

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions