Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jruby, war, tomcat, whitespaces in path, size_t #1253

Closed
warbot opened this issue Nov 21, 2013 · 3 comments
Closed

Jruby, war, tomcat, whitespaces in path, size_t #1253

warbot opened this issue Nov 21, 2013 · 3 comments
Milestone

Comments

@warbot
Copy link

warbot commented Nov 21, 2013

Related with: #1166 , #1248

As a jruby-1.7.5 and higher (up to 178 currently), no data for 172-174, I'm issuing a problem with deployed .war file on Tomcat 6.0.33.0 on Windows 7 if path to .war file contains white spaces.

The server refuses to start with an error:

SEVERE: ERROR: unable to create shared application instance
org.jruby.rack.RackInitializationException: unable to resolve type 'size_t'
from jar:file:/C:/Program%20Files/app/releases/4.3.01-580/rails_app/WEB-INF/lib/gems-gems-jruby-jars-1.7.6-lib-jruby-stdlib-complete-1.7.6.dev.jar!/META-INF/jruby.home/lib/ruby/shared/ffi/types.rb:55:in `find_type'
...

Everything works fine with jruby171.
Everything works also fine in case no whitespaces in path to rails_app;

Env:
warbler -v '1.4.0'
java -version 1.7.0_09-b05 [linux-amd64]
.war file is build on unix machine;

@lobo-tuerto
Copy link

Got bit by this problem too. Temporary solution was to install Tomcat on a directory without spaces.

I remember it was working on 1.7.3 though. Haven't looked on different warbler versions...

@mjansing
Copy link

Got this problem too with JRuby 1.7.9 with Tomcat 7 on Windows 7.

@mckramer
Copy link

Hopefully, you guys have resolved this issue for your use-cases, but a fix (26f4885) made it into 1.7.11 for spaces in the path. So, try again after upgrading.

@kares kares closed this as completed Jan 10, 2016
@kares kares added this to the JRuby 1.7.12 milestone Jan 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants