webapp-runner #124

Closed
mattbeedle opened this Issue Nov 10, 2012 · 2 comments

Comments

Projects
None yet
4 participants
@mattbeedle

Hi,

I've been messing around with warbler for a couple of days now and it's awesome!

Now I'm attempting to deploy something to heroku. Is there some way to make the generated war files work with webapp-runner.jar? This is the output I get right now.

java -jar ~/src/webapp-runner/target/webapp-runner.jar /Users/hansolo/Development/warbler_test/warbler_test.war
Adding Context / for /Users/hansolo/Development/warbler_test/warbler_test.war
Nov 10, 2012 11:21:10 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Nov 10, 2012 11:21:10 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Nov 10, 2012 11:21:10 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Nov 10, 2012 11:21:10 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.30
Nov 10, 2012 11:21:13 AM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/Users/hansolo/Development/warbler_test/target/tomcat.8080/work/Tomcat/localhost//WEB-INF/lib/gems-gems-warbler-1.3.6-ext-jetty-target-warbler-embedded-jetty-1.0.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Nov 10, 2012 11:21:13 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
INFO: No global web.xml found
Nov 10, 2012 11:21:21 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: urn:org.jruby.rack is already defined
Nov 10, 2012 11:21:22 AM org.apache.catalina.core.ApplicationContext log
INFO: INFO: jruby 1.7.0 (1.9.3p203) 2012-10-22 ff1ebbe on Java HotSpot(TM) 64-Bit Server VM 1.7.0_07-b10 [darwin-x86_64]
Nov 10, 2012 11:21:22 AM org.apache.catalina.core.ApplicationContext log
INFO: INFO: using a shared (threadsafe!) runtime
Nov 10, 2012 11:21:23 AM org.apache.catalina.core.ApplicationContext log
SEVERE: ERROR: unable to create shared application instance
org.jruby.rack.RackInitializationException: no such file to load -- /localhost//WEB-INF/config/environment.rb
from org/jruby/RubyKernel.java:1045:in load' from file:/Users/hansolo/Development/warbler_test/target/tomcat.8080/work/Tomcat/localhost/_/WEB-INF/lib/gems-gems-jruby-rack-1.1.10-lib-jruby-rack-1.1.10.jar!/jruby/rack/rails/environment2.rb:23:inload_environment'
from file:/Users/hansolo/Development/warbler_test/target/tomcat.8080/work/Tomcat/localhost/
/WEB-INF/lib/gems-gems-jruby-rack-1.1.10-lib-jruby-rack-1.1.10.jar!/jruby/rack/rails_booter.rb:65:inload_environment' from <script>:1:in(root)'

@robb1e

This comment has been minimized.

Show comment Hide comment
@robb1e

robb1e Sep 10, 2013

+1, any updates?

robb1e commented Sep 10, 2013

+1, any updates?

@nicksieger

This comment has been minimized.

Show comment Hide comment
@nicksieger

nicksieger Sep 10, 2013

Owner

Did either of you guys try with the --expand-war option to webapp runner?

Owner

nicksieger commented Sep 10, 2013

Did either of you guys try with the --expand-war option to webapp runner?

@kares kares closed this May 4, 2016

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