[Archivesspace_Users_Group] 500 Internal Server Error

Hambleton, John S jhamblet at nmu.edu
Tue Oct 20 09:31:35 EDT 2015


Folks, 

I set up ArchivesSpace 1.4.1, latest release and also obtained the source code.
Followed instructions here: https://github.com/archivesspace/archivesspace/blob/master/CUSTOMIZING_THEMING.md
for Customizing and Theming ArchivesSpace, which has worked well for me with the previous
1.3.0 release. 

All is fine in the 1.4.1 development environment. Customizations look fine! So next: 

./build/run public:war  (says BUILD SUCCESSFUL)
take this public.war file and replace the ASpace distrubtion war file.
Restart ASpace

The public interface then gives a 500 internal server error, with the following corresponding message.
Any help is appreciated. 
Many thanks,
John H, NMU

An exception happened during JRuby-Rack startup|Could not find diff-lcs-1.2.5 in any of the sources|-
-- System|jruby 1.7.21 (1.9.3p551) 2015-07-07 a741a82 on OpenJDK 64-Bit Server VM 1.6.0_36-b36 +jit [linux-amd64]|Time: 2015-10-20 0
8:51:23 -0400|Server: jetty/8.1.5.v20120716|jruby.home: file:/usr/local/archivesspace/gems/gems/jruby-jars-1.7.21/lib/jruby-stdlib-1
.7.21.jar!/META-INF/jruby.home||--- Context Init Parameters:|jruby.compat.version = 1.9|jruby.max.runtimes = 1|jruby.min.runtimes = 
1|public.root = /|rails.env = production||--- Backtrace|Bundler::GemNotFound: Could not find diff-lcs-1.2.5 in any of the sources|  
     materialize at /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bundler/spec_set.rb:92|              map! at org/jruby/Rub
yArray.java:2444|       materialize at /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85|             spe
cs at /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:140|         specs_for at /usr/local/archivesspace
/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:185|   requested_specs at /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/
bundler/definition.rb:174|   requested_specs at /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bundler/environment.rb:18|    
         setup at /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bundler/runtime.rb:13|             setup at /usr/local/archi
vesspace/gems/gems/bundler-1.10.6/lib/bundler.rb:127|            (root) at /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bun
dler/setup.rb:18|           require at org/jruby/RubyKernel.java:1040|           require at /usr/local/archivesspace/gems/gems/jruby
-jars-1.7.21/lib/jruby-stdlib-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:128|           req
uire at /usr/local/archivesspace/gems/gems/jruby-jars-1.7.21/lib/jruby-stdlib-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rubyge
ms/core_ext/kernel_require.rb:121|            (root) at /usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8081-public.war-_-any-/webap
p/WEB-INF/config/boot.rb:1|           require at org/jruby/RubyKernel.java:1040|            (root) at /usr/local/archivesspace/data/
tmp/jetty-0.0.0.0-8081-public.war-_-any-/webapp/WEB-INF/config/boot.rb:10|            (root) at /usr/local/archivesspace/gems/gems/j
ruby-jars-1.7.21/lib/jruby-stdlib-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1|           r
equire at /usr/local/archivesspace/gems/gems/jruby-jars-1.7.21/lib/jruby-stdlib-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/ruby
gems/core_ext/kernel_require.rb:54|  load_environment at file:/usr/local/archivesspace/gems/gems/jruby-rack-1.1.19/lib/jruby-rack-1.
1.19.jar!/jruby/rack/rails/environment3.rb:23|      start_server at launcher/launcher.rb:86|              main at launcher/launcher.
rb:162|            (root) at launcher/launcher.rb:232||--- RubyGems|Gem.dir: /usr/local/archivesspace/gems|Gem.path:|/usr/local/arch
ivesspace/gems|Activated gems:|  json-1.8.0-java|  bundler-1.10.6||--- Bundler|Bundler.bundle_path: /usr/local/archivesspace/gems|Bu
ndler.root: /usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8081-public.war-_-any-/webapp/WEB-INF|Gemfile: /usr/local/archivesspace/
data/tmp/jetty-0.0.0.0-8081-public.war-_-any-/webapp/WEB-INF/Gemfile|Settings:|  disable_shared_gems = 1|  gemfile = /usr/local/arch
ivesspace/data/tmp/jetty-0.0.0.0-8081-public.war-_-any-/webapp/WEB-INF/Gemfile||--- JRuby-Rack Config|compat_version = RUBY1_9|defau
lt_logger = org.jruby.rack.logging.StandardOutLogger at 30432789|equals = <error: >|err = java.io.PrintStream at 4ee32df6|filter_adds_html
 = true|filter_verifies_resource = false|ignore_environment = false|initial_memory_buffer_size = |initial_runtimes = 1|jms_connectio
n_factory = |jms_jndi_properties = |logger = org.jruby.rack.logging.ServletContextLogger at 57e8d351|logger_class_name = servlet_contex
t|logger_name = jruby.rack|maximum_memory_buffer_size = |maximum_runtimes = 1|num_initializer_threads = |out = java.io.PrintStream at 2
3a94fba|rackup = |rackup_path = |rewindable = true|runtime_arguments = |runtime_environment = |runtime_timeout_seconds = |serial_ini
tialization = false|servlet_context = ServletContext at o.e.j.w.WebAppContext{/,file:/usr/local/archivesspace/data/tmp/jetty-0.0.0.0-80
81-public.war-_-any-/webapp/},/usr/local/archivesspace/wars/public.war|throw_init_exception = false|
2015-10-20 08:51:23.927:WARN:/:ERROR: initialization failed
org.jruby.rack.RackInitializationException: Could not find diff-lcs-1.2.5 in any of the sources|?from /usr/local/archivesspace/gems/
gems/bundler-1.10.6/lib/bundler/spec_set.rb:92:in `materialize'|?from org/jruby/RubyArray.java:2444:in `map!'|?from /usr/local/archi
vesspace/gems/gems/bundler-1.10.6/lib/bundler/spec_set.rb:85:in `materialize'|?from /usr/local/archivesspace/gems/gems/bundler-1.10.
6/lib/bundler/definition.rb:140:in `specs'|?from /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:185:in 
`specs_for'|?from /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bundler/definition.rb:174:in `requested_specs'|?from /usr/lo
cal/archivesspace/gems/gems/bundler-1.10.6/lib/bundler/environment.rb:18:in `requested_specs'|?from /usr/local/archivesspace/gems/ge
ms/bundler-1.10.6/lib/bundler/runtime.rb:13:in `setup'|?from /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bundler.rb:127:in
 `setup'|?from /usr/local/archivesspace/gems/gems/bundler-1.10.6/lib/bundler/setup.rb:18:in `(root)'|?from org/jruby/RubyKernel.java
:1040:in `require'|?from /usr/local/archivesspace/gems/gems/jruby-jars-1.7.21/lib/jruby-stdlib-1.7.21.jar!/META-INF/jruby.home/lib/r
uby/shared/rubygems/core_ext/kernel_require.rb:128:in `require'|?from /usr/local/archivesspace/gems/gems/jruby-jars-1.7.21/lib/jruby
-stdlib-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:121:in `require'|?from /usr/local/archiv
esspace/data/tmp/jetty-0.0.0.0-8081-public.war-_-any-/webapp/WEB-INF/config/boot.rb:1:in `(root)'|?from org/jruby/RubyKernel.java:10
40:in `require'|?from /usr/local/archivesspace/data/tmp/jetty-0.0.0.0-8081-public.war-_-any-/webapp/WEB-INF/config/boot.rb:10:in `(r
oot)'|?from /usr/local/archivesspace/gems/gems/jruby-jars-1.7.21/lib/jruby-stdlib-1.7.21.jar!/META-INF/jruby.home/lib/ruby/shared/ru
bygems/core_ext/kernel_require.rb:1:in `(root)'|?from /usr/local/archivesspace/gems/gems/jruby-jars-1.7.21/lib/jruby-stdlib-1.7.21.j
ar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:54:in `require'|?from file:/usr/local/archivesspace/gems
/gems/jruby-rack-1.1.19/lib/jruby-rack-1.1.19.jar!/jruby/rack/rails/environment3.rb:23:in `load_environment'|?from launcher/launcher
.rb:86:in `start_server'|?from launcher/launcher.rb:162:in `main'|?from launcher/launcher.rb:232:in `(root)'|
        at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29)
        at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:104)
        at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50)
        at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:766)
        at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:406)
        at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:758)
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:242)
        at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1233)
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:701)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:475)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
        at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:224)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
        at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
        at org.eclipse.jetty.server.Server.doStart(Server.java:272)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:622)
--More--(40%)


+ John S. Hambleton
+ Olson Library
+ Northern Michigan University
+ Marquette Michigan 49855
+
+ Phone: 906-227-2741
+ E-Mail: JHAMBLET at NMU.EDU
+
+ Ab alio expectes, alteri quod feceris
+




More information about the Archivesspace_Users_Group mailing list