How do I go about loading a java class in torquebox at startup? Here is the issue I am running into, one of my gems needs a certain java class available (com.sun.org.apache.xpath.internal.VariableStack), it is available if I load irb in jruby in the local environment, but using the torquebox console it is not found. This causes the server to fail when it tries to boot as the gem needs this class. I believe I found a jar file (I THINK jaxp-ri-1.4.2.jar contains it) that contains this class but I have not been able to figure out how to load it successfully in torquebox at startup.
Related Questions in JRUBY
- Error while doing bundle install with jruby
- jruby-jms-1.3.0-java gem create_destination method throws error "undefined method `java_kind_of?
- How to use csv converter encoding in ruby?
- Unable to run hbase shell in Mac
- Undefined method for nil:NilClass in JRuby
- Calling Java method doesn't work after upgrading jruby 9.2.11 to 9.3.0.0
- Form attribute :required => true missing from html output in production
- Intermittent connection refused error from Puma (Jruby version)
- OpenSSL error when installing JRuby with rbenv on MacOS
- JRuby can not call Java method
- Sanitizing encoding errors on input data in jruby
- JRuby ambiguous methods
- JRuby call Method from Java
- How to connect to SQLite3 database in JRuby?
- Extending (monkey patching) Java classes in Truffle Ruby
Related Questions in TORQUEBOX
- X-Frame-Options on torquebox-server
- Torquebox setup on Ubuntu MaxPermSize
- Get 404 for Sinatra hello world app with Torquebox
- How to load a java class in torquebox at startup?
- Torquebox Jruby Rails Deploy
- Ruby on Rails 3: Streaming data and catching exception
- Torquebox LoadError - no such file to load -- torquebox/Service_registry
- java.lang.IllegalStateException: Database locked
- Foreground or background image manipulations in Rails (Jruby, Torquebox)
- How to handle uploads and logs in Rails when deployed as a .war file?
- Gem::LoadError: can't activate jruby-openssl-0.9.6-java, already activated jruby-openssl-0.9.5-java
- Torquebox: unable to work with SLIM
- JRuby 9k is not working with Puma and torquebox 4
- JRuby deployment options that support multiple versions of JRuby
- EC2 Bad Gateway with torquebox and nginx
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
TB's modules setup some class isolation by default - so you might not see internal classes such as
com.sun.xxx. try looking into JBoss' proprietary descriptorjboss-web.xmlto relax access to some of the packages.here's how classes are isolated by default in TB/JBosss: https://developer.jboss.org/wiki/JBossClassLoadingUseCases