Project

General

Profile

Errors while deploying Redmine 2.6.6 on Tomcat 6.0.39 under Linux

Added by Gokul Krishnan over 9 years ago

I am trying to deploy Redmine on Tomcat using this tutorial [1]. I am able to successfully test the application without Tomcat, i.e. using plain ruby using the script:

./script/rails server -e production

But after I pack it into a WAR file using warbler and deploy it in Tomcat, it get the following error

Internal Server Error (500)
Request Method: GET
Request URL: http://localhost:8080/redmine_eval/

(GemNotFound) Could not find gem 'activerecord-jdbc-adapter (~> 1.3.2) java' in any of the gem sources listed in your Gemfile or available in this machine.

Versions used:

Ruby: 2.2.1p85
Redmine: 2.6.6
Tomcat: 6.0.39
Database: MySQL 5.5.44
OS: Ubuntu 14.04 (32 bit)
Java: OpenJDK 1.7.0_79

I am using older versions because beyond v2.6.6, JRuby is not supported. I pasted the logs here [2], but it doesn't really say more (at least to me). In Catalina logs i can see these 3 lines:

Ignoring json-1.8.3 because its extensions are not built.  Try: gem pristine json --version 1.8.3
Ignoring mysql2-0.3.19 because its extensions are not built.  Try: gem pristine mysql2 --version 0.3.19
Ignoring psych-2.0.13 because its extensions are not built.  Try: gem pristine psych --version 2.0.13

I did pristine the 3 mentioned gems, but it didn't change anything.

Any idea how to get this Redmine working?

[1]: http://saltnlight5.blogspot.de/2012/08/how-to-generate-redmine-war-application.html
[2]: http://pastebin.com/nXVPS5dY


Replies (5)

RE: Errors while deploying Redmine 2.6.6 on Tomcat 6.0.39 under Linux - Added by Gokul Krishnan over 9 years ago

wrong place, admin can you please move this post to the help section? I can't delete this post, else I would have done it myself! Sorry.

RE: Errors while deploying Redmine 2.6.6 on Tomcat 6.0.39 under Linux - Added by Toshi MARUYAMA about 9 years ago

Gokul Krishnan wrote:

wrong place, admin can you please move this post to the help section?

Done.

RE: Errors while deploying Redmine 2.6.6 on Tomcat 6.0.39 under Linux - Added by noemie bolo about 9 years ago

Hi,

Have you make it work ? I am faced to the same problem and I can't figure out how to fix it.

Noémie

RE: Errors while deploying Redmine 2.6.6 on Tomcat 6.0.39 under Linux - Added by Gokul Krishnan about 9 years ago

Hi,

unfortunately I still couldn't get it running.

RE: Errors while deploying Redmine 2.6.6 on Tomcat 6.0.39 under Linux - Added by noemie bolo almost 9 years ago

Hi,

Waiting a response from Redmine team, I have finally deployed Redmine under Puma.

    (1-5/5)