Help with Installing Redmine with Tomcat

Added by John H over 5 years ago

Hi all,

My system I eventually want to install on:
OS: Windows Server 2008
Database: MS SQL Sever 2008 R2
Web Server: Apache Tomcat 7
-------------------------------

After completing my inital research on various opensource bug trackers, I decided that Redmine sounded like a project that would be a good fit for my set. However, after trying to install Redmine locally on various different platforms (Win7 - MySQL - Apache) (Win7 - PostgreSQL - Apache) etc, I have not been able to get Redmine to install successfully even once.

When installing redmine-2.5.1 with ruby1.9.3 onto win7 using mysql or postgresql, the mysql2 and postgresql gems do not install. I can only assume this problem will continue to happen in a MS SQL Server environment.

I have follow the installation instructions to the T, and have gotten to get everything to work correctly except for the installation and connection to the database. Can anyone please help me get this to work, I would not be asking if I hadn't already exhausted the issues and tickets.

Heres my process:
1. Download redmine-2.5.1
2. Download and install ruby1.9.3
3. Download and install DevelopmentKit using ruby cmd prompt
4. Create "redmine" database in database software (tried both mysql and postgresql, neither work)
5. Copy, rename and modify the database.yml config file
6. Complete the following using ruby cmd prompt
--> gem install bundler
--> bundle install --without development test
--> (NOTE: This is where all hell breaks lose. Either sql gem is not installed, or bundle wont install the correct sql)
--> rake generate_secret_token
--> set RAILS_ENV=production
rake db:migrate (NOTE: I have never been able to successfully migrate)

I'm honestly at a loss here, as I have tried even the simplest of local installs and it never works. I have mix and matched ruby versions and redmine versions, but nothing has worked.

Thank you,
John

Replies (13)

RE: Help with Installing Redmine with Tomcat - Added by Martin Denizet (redmine.org team member) over 5 years ago

Hi John,
How about making your life easier with a Linux VM? See http://martin-denizet.com/30-minutes-to-redmine-an-express-installation-guide/
The Bitnami stack could be an option if you really want to to keep it simple on Windows however I'm pretty sure it doesn't offer a configuration for Tomcat by default.
Cheers,

RE: Help with Installing Redmine with Tomcat - Added by John H over 5 years ago

Hi Martin,

Thank you for your quick response. One of the requirements of the bug tracking software is that we try to find one that is compatible with the development/production environment we already have up and running. Therefore, we would like to stay away from Virtual Machines if at all possible. I appreciate your comment though and will review your guide.

I wanted to update that I was finally able to get a local setup running.
Redmine: 2.4.5
Ruby: 1.9.3
Database: MySQL6
DevelopmentKit
REQUIRED: mysql-connector-c-noinstall-6.0.2-win32.xip

Procedure:
1. After extracting the development kit to its final location and installing it with Ruby cmd line, extract the MySQL-Connector to a convenient location.

2. Then go to www.rubygems.org/gems/mysql2 and download.

3. Run the following line with Ruby cmd from the Redmine root directory:
gem install mysql2 -- --with-mysql-dir=c:\your-convenient-location

4. Open the MySQL Connector and copy the mysqllib.dll to you Ruby/bin directory

5. Go back to Ruby cmd prompt and FINALLY run this:
bundle install --without development test rmagick

6. After that, follow the rest of the procedure and everything works out okay. The only issue I have run into since is that using "rake dg:migrate" says that it is successful, however I did not see the creation of tables and columns.

7. Now time to try take this a replicate it with MS SQL Server and Apache Tomcat 7. If anyone ha advice, suggestions, helpful hints, anything that will help me switch from mysql to MS SQL and from a basic local webrick server to Apache Tomcat, I would really appreciate it.

Thanks,
John

RE: Help with Installing Redmine with Tomcat - Added by Martin Denizet (redmine.org team member) over 5 years ago

John H wrote:

The only issue I have run into since is that using "rake dg:migrate" says that it is successful, however I did not see the creation of tables and columns.

Maybe you did a typo? It's supposed to be db:migrate, don't forget to specify the environment in RAILS_ENV because the default is development.

Cheers,

RE: Help with Installing Redmine with Tomcat - Added by John H over 5 years ago

Hi Martin,

Actually, it was just my local instance of MySQL being slow to refresh.

Furthermore, I was able to continue my integration efforts, and have now successfully set it up using my Windows 7 OS, our development MS SQL Server (this was 1st integration step), and the webrick server.

I actually had no trouble at all switching from my local MySQL to our hosted MS SQL Server. In fact, I would recommend doing initial testing in MS SQL instead of MySQL, as the bundle correctly installs the mssqlsvr gem without issue. Most of the headache yesterday was getting the connection between mysql and redmine configured correctly, as the bundler DOES NOT install the mysql2 gem correctly.

It took me 3 install attempts, but I now have a fool proof installation document I would like to attach (PLEASE SEE ATTACHED FOR INSTALL DIRECTIONS) for any user that are trying to install on a similar system.

I honestly believe redmine.org should extract my installation instructions for redmine2.4.5 and ruby1.9.3 onto: win7, mysql. I had to compile this installation procedure from several 3rd party sources and my own trouble shooting.

Regards,
John

RE: Help with Installing Redmine with Tomcat - Added by Jan Niggemann (redmine.org team member) over 5 years ago

John, this looks interesting, perhaps you can copy the information into a new guide in the wiki?

RE: Help with Installing Redmine with Tomcat - Added by John H over 5 years ago

You have to ignore the MS SQL part, (mostly in the top half) and focus on it as MySQL. I just took the installation doc I had already done for work and modified it for the MySQL6 install of redmine.

I may copy it over onto the wiki if I have time or I can get help with deploying it in Tomcat (still havent attempted although). But, otherwise I really don't have time to add any more. I made a mistake in leaving some contact and business information on that document I attached, and I hope it gets ignored and just used for the procedure.

RE: Help with Installing Redmine with Tomcat - Added by John H over 5 years ago

Hi all,

I have attempted to integrate my working version of Redmine with Apache Tomcat vr7, however no matter what I do, I end up with 1 of 2 errors. I have attached the errors for easy viewing, however they are also listed below:

500 - Internal Server Error (Rack::ShowStatus)

A white page saying to contact the server administrator
(I believe this may be able to be fixed with "rake generate_secret_token"), however I haven't been able to get back to this error, and just have been able to reproduce the 500 error.

Please help me figure this out! I have everything working but deploying it in Tomcat; I even have the .war file created, it just doesn't want to deploy from tomcat :/

Specs:
OS: Win 7
Database: SQL Server
Ruby: 1.9.3
Rails: w/e the default
Jruby: 1.6.8
Tomcat: Version 7

Thanks

500error.png (7.4 KB)

RE: Help with Installing Redmine with Tomcat - Added by John H over 5 years ago

Hi Martin,

I was finally able to get the .war file to deploy in a local and hosted instance of Tomcat 7.

However, I ran into the issue of not being able to create new issues with my hosted Redmine. I'm able to create new issues in a local instance using webrick, and my hosted instance can see them fine. However, when I go to create an issue on the hosted .war, it gives me a 404 error and does not create the issue.

Anyone have any solutions as to why it can't create an issue?

Furthermore, I cannot add any attachments anywhere, as they also throw the same 404 error.

Thanks,
JohnH

RE: Help with Installing Redmine with Tomcat - Added by Martin Denizet (redmine.org team member) over 5 years ago

Hi John,
Did the 404 appears in the Redmine rails log (production.log)? If it doesn't it means that you're stopped at the Tomcat level for some reason. Maybe somehow POST request are blocked?
Cheers,

RE: Help with Installing Redmine with Tomcat - Added by John H over 5 years ago

Not on the hosted server. The redmine/WEB-INF/logs/ dir is empty except for delete.me.

http://10.237.xx.xx/redmine/projects/test-project-3/issues <- Where is tries to go after I hit "create" on new issue.

Heres a log I have in my local instance, not even sure if it shows the error as I see new issues but no 404:
_Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Started GET "/" for 127.0.0.1 at 2014-07-02 12:07:50 -0700
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (1207.0ms)
Completed 200 OK in 3792.0ms (Views: 340.0ms | ActiveRecord: 3209.0ms)
Started GET "/my/page" for 127.0.0.1 at 2014-07-02 12:07:58 -0700
Processing by MyController#page as HTML
Current user: admin (id=1)
Rendered issues/_list_simple.html.erb (1.0ms)
Rendered my/blocks/_issuesassignedtome.html.erb (1669.0ms)
Rendered issues/_list_simple.html.erb (1.0ms)
Rendered my/blocks/_issuesreportedbyme.html.erb (293.0ms)
Rendered my/page.html.erb within layouts/base (2002.0ms)
Completed 200 OK in 2436.0ms (Views: 218.0ms | ActiveRecord: 2212.0ms)
Started GET "/projects" for 127.0.0.1 at 2014-07-02 12:08:02 -0700
Processing by ProjectsController#index as HTML
Current user: admin (id=1)
Rendered projects/index.html.erb within layouts/base (187.0ms)
Completed 200 OK in 621.0ms (Views: 66.0ms | ActiveRecord: 542.0ms)
Started GET "/projects/openings-studio" for 127.0.0.1 at 2014-07-02 12:08:05 -0700
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"openings-studio"}
Current user: admin (id=1)
Rendered projects/_members_box.html.erb (1.0ms)
Rendered projects/show.html.erb within layouts/base (272.0ms)
Completed 200 OK in 3341.0ms (Views: 89.0ms | ActiveRecord: 3185.0ms)
Started GET "/projects/openings-studio/issues/new" for 127.0.0.1 at 2014-07-02 12:08:10 -0700
Processing by IssuesController#new as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered issues/_form_custom_fields.html.erb (359.0ms)
Rendered issues/_attributes.html.erb (1213.0ms)
Rendered issues/_form.html.erb (1483.0ms)
Rendered attachments/_form.html.erb (84.0ms)
Rendered issues/new.html.erb within layouts/base (1682.0ms)
Completed 200 OK in 3725.0ms (Views: 282.0ms | ActiveRecord: 3268.0ms)
Started POST "/projects/openings-studio/issues" for 127.0.0.1 at 2014-07-02 12:08:33 -0700
Processing by IssuesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"TNPqtvSKAG9t7U+urR32Ms+aZWE6yIUhMCQSmDprP9M=", "issue"=>{"is_private"=>"0", "tracker_id"=>"1", "subject"=>"Test Issue 1", "description"=>"TEST TEST", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "parent_issue_id"=>"", "start_date"=>"2014-07-02", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"0"}, "commit"=>"Create", "project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered mailer/_issue.text.erb (254.0ms)
Rendered mailer/issue_add.text.erb within layouts/mailer (289.0ms)
Rendered mailer/_issue.html.erb (2.0ms)
Rendered mailer/issue_add.html.erb within layouts/mailer (7.0ms)
Redirected to http://localhost:3000/issues/4
Completed 302 Found in 4716.0ms (ActiveRecord: 4338.0ms)
Started GET "/issues/4" for 127.0.0.1 at 2014-07-02 12:08:37 -0700
Processing by IssuesController#show as HTML
Parameters: {"id"=>"4"}
Current user: admin (id=1)
Rendered issues/_action_menu.html.erb (91.0ms)
Rendered issue_relations/_form.html.erb (85.0ms)
Rendered issues/_relations.html.erb (170.0ms)
Rendered issues/_action_menu.html.erb (3.0ms)
Rendered issues/_form_custom_fields.html.erb (0.0ms)
Rendered issues/_attributes.html.erb (323.0ms)
Rendered issues/_form.html.erb (589.0ms)
Rendered attachments/_form.html.erb (3.0ms)
Rendered issues/_edit.html.erb (964.0ms)
Rendered issues/_sidebar.html.erb (289.0ms)
Rendered watchers/_watchers.html.erb (186.0ms)
Rendered issues/show.html.erb within layouts/base (2411.0ms)
Completed 200 OK in 4929.0ms (Views: 328.0ms | ActiveRecord: 4531.0ms)
Started GET "/projects/openings-studio/issues" for 127.0.0.1 at 2014-07-02 12:09:07 -0700
Processing by IssuesController#index as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered queries/_filters.html.erb (90.0ms)
Rendered queries/_columns.html.erb (86.0ms)
Rendered issues/_list.html.erb (164.0ms)
Rendered issues/_sidebar.html.erb (81.0ms)
Rendered issues/index.html.erb within layouts/base (623.0ms)
Completed 200 OK in 3082.0ms (Views: 137.0ms | ActiveRecord: 2814.0ms)
Connecting to database specified by database.yml
Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Started GET "/" for 127.0.0.1 at 2014-07-02 14:45:49 -0700
Processing by WelcomeController#index as HTML
Current user: anonymous
Rendered welcome/index.html.erb within layouts/base (623.1ms)
Completed 200 OK in 2949.3ms (Views: 276.0ms | ActiveRecord: 2453.2ms)
Started GET "/login" for 127.0.0.1 at 2014-07-02 14:45:56 -0700
Processing by AccountController#login as HTML
Current user: anonymous
Rendered account/login.html.erb within layouts/base (248.0ms)
Completed 200 OK in 417.0ms (Views: 19.0ms | ActiveRecord: 393.0ms)
Started POST "/login" for 127.0.0.1 at 2014-07-02 14:45:57 -0700
Processing by AccountController#login as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"H1sdGKwn/uJIk6yAMGKzZMctRjwPAfVYfvYnVymqctM=", "back_url"=>"http://localhost:3000/", "username"=>"admin", "password"=>"[FILTERED]", "login"=>"Login »"}
Current user: anonymous
Successful authentication for 'admin' from 127.0.0.1 at 2014-07-02 21:45:58 UTC
Redirected to http://localhost:3000/
Completed 302 Found in 342.0ms (ActiveRecord: 334.0ms)
Started GET "/" for 127.0.0.1 at 2014-07-02 14:45:58 -0700
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (427.0ms)
Completed 200 OK in 1412.1ms (Views: 127.0ms | ActiveRecord: 1276.1ms)
Started GET "/projects/openings-studio" for 127.0.0.1 at 2014-07-02 14:46:02 -0700
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"openings-studio"}
Current user: admin (id=1)
Rendered projects/_members_box.html.erb (0.0ms)
Rendered projects/show.html.erb within layouts/base (321.0ms)
Completed 200 OK in 4037.4ms (Views: 209.0ms | ActiveRecord: 3760.4ms)
Started GET "/projects/openings-studio/issues/new" for 127.0.0.1 at 2014-07-02 14:46:08 -0700
Processing by IssuesController#new as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered issues/_form_custom_fields.html.erb (321.0ms)
Rendered issues/_attributes.html.erb (1223.1ms)
Rendered issues/_form.html.erb (1487.1ms)
Rendered attachments/_form.html.erb (83.0ms)
Rendered issues/new.html.erb within layouts/base (1623.2ms)
Completed 200 OK in 4028.4ms (Views: 205.0ms | ActiveRecord: 3634.4ms)
Started POST "/projects/openings-studio/issues" for 127.0.0.1 at 2014-07-02 14:46:22 -0700
Processing by IssuesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"meaQgxxLWXelw2GKlW0ri7842v8mshLwq5b9j9JkSdg=", "issue"=>{"is_private"=>"0", "tracker_id"=>"1", "subject"=>"Test Issue 1", "description"=>"Test", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "parent_issue_id"=>"", "start_date"=>"2014-07-02", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"0"}, "commit"=>"Create", "project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered mailer/_issue.text.erb (270.0ms)
Rendered mailer/issue_add.text.erb within layouts/mailer (275.0ms)
Rendered mailer/_issue.html.erb (1.0ms)
Rendered mailer/issue_add.html.erb within layouts/mailer (37.0ms)
Redirected to http://localhost:3000/issues/11
Completed 302 Found in 4621.5ms (ActiveRecord: 4333.4ms)
Started GET "/issues/11" for 127.0.0.1 at 2014-07-02 14:46:27 -0700
Processing by IssuesController#show as HTML
Parameters: {"id"=>"11"}
Current user: admin (id=1)
Rendered issues/_action_menu.html.erb (91.0ms)
Rendered issue_relations/_form.html.erb (82.0ms)
Rendered issues/_relations.html.erb (120.0ms)
Rendered issues/_action_menu.html.erb (3.0ms)
Rendered issues/_form_custom_fields.html.erb (0.0ms)
Rendered issues/_attributes.html.erb (359.0ms)
Rendered issues/_form.html.erb (703.1ms)
Rendered attachments/_form.html.erb (2.0ms)
Rendered issues/_edit.html.erb (1045.1ms)
Rendered issues/_sidebar.html.erb (264.0ms)
Rendered watchers/_watchers.html.erb (189.0ms)
Rendered issues/show.html.erb within layouts/base (2570.3ms)
Completed 200 OK in 5121.5ms (Views: 248.0ms | ActiveRecord: 4755.5ms)
Started GET "/projects/openings-studio/documents" for 127.0.0.1 at 2014-07-02 14:46:36 -0700
Processing by DocumentsController#index as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered attachments/_form.html.erb (2.0ms)
Rendered documents/_form.html.erb (92.0ms)
Rendered documents/index.html.erb within layouts/base (109.0ms)
Completed 200 OK in 1508.2ms (Views: 69.0ms | ActiveRecord: 1357.1ms)
Started POST "/uploads.js?attachment_id=1&filename=UsingRedmine.docx" for 127.0.0.1 at 2014-07-02 14:46:55 -0700
Processing by AttachmentsController#upload as JS
Parameters: {"attachment_id"=>"1", "filename"=>"UsingRedmine.docx"}
Current user: admin (id=1)
Saving attachment 'C:/Code/Test/redmine/files/2014/07/140702144655_UsingRedmine.docx' (36900 bytes)
Rendered attachments/upload.js.erb (1.0ms)
Completed 200 OK in 706.1ms (Views: 36.0ms | ActiveRecord: 576.1ms)
Started POST "/projects/openings-studio/documents" for 127.0.0.1 at 2014-07-02 14:46:56 -0700
Processing by DocumentsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"meaQgxxLWXelw2GKlW0ri7842v8mshLwq5b9j9JkSdg=", "document"=>{"category_id"=>"6", "title"=>"Test Doc", "description"=>""}, "attachments"=>{"1"=>{"filename"=>"UsingRedmine.docx", "description"=>"", "token"=>"1.f7e903fa45015ede89e4eed98dfde0c8"}}, "commit"=>"Create", "project_id"=>"openings-studio"}
Current user: admin (id=1)
Redirected to http://localhost:3000/projects/openings-studio/documents
Completed 302 Found in 1503.2ms (ActiveRecord: 1414.1ms)
Started GET "/projects/openings-studio/documents" for 127.0.0.1 at 2014-07-02 14:46:58 -0700
Processing by DocumentsController#index as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered attachments/_form.html.erb (3.0ms)
Rendered documents/_form.html.erb (84.0ms)
Rendered documents/_document.html.erb (84.0ms)
Rendered documents/index.html.erb within layouts/base (174.0ms)
Completed 200 OK in 1452.1ms (Views: 40.0ms | ActiveRecord: 1393.1ms)
Connecting to database specified by database.yml
Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Started GET "/projects/openings-studio" for 127.0.0.1 at 2014-07-02 14:48:46 -0700
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"openings-studio"}
Current user: admin (id=1)
Rendered projects/_members_box.html.erb (1.0ms)
Rendered projects/show.html.erb within layouts/base (510.1ms)
Completed 500 Internal Server Error in 5405.5ms

ActionView::Template::Error (TinyTds::Error: Invalid object name 'theme_changer_user_settings'.: EXEC sp_executesql N'SELECT TOP (1) [theme_changer_user_settings].* FROM [theme_changer_user_settings] WHERE (user_id = 1)'):
6: <meta name="description" content="<%= Redmine::Info.app_name %>" />
7: <meta name="keywords" content="issue,bug,tracker" />
8: <%= csrf_meta_tag %>
9: <%= favicon %>
10: <%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' %>
11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
12: <%= javascript_heads %>
app/helpers/application_helper.rb:1300:in `favicon_path'
app/helpers/application_helper.rb:1295:in `favicon'
app/views/layouts/base.html.erb:9:in `_app_views_layouts_base_html_erb__216635144_58258332'
app/controllers/projects_controller.rb:163:in `show'

Started GET "/" for 127.0.0.1 at 2014-07-02 14:49:04 -0700
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (613.1ms)
Completed 500 Internal Server Error in 1028.1ms

ActionView::Template::Error (TinyTds::Error: Invalid object name 'theme_changer_user_settings'.: EXEC sp_executesql N'SELECT TOP (1) [theme_changer_user_settings].* FROM [theme_changer_user_settings] WHERE (user_id = 1)'):
6: <meta name="description" content="<%= Redmine::Info.app_name %>" />
7: <meta name="keywords" content="issue,bug,tracker" />
8: <%= csrf_meta_tag %>
9: <%= favicon %>
10: <%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' %>
11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
12: <%= javascript_heads %>
app/helpers/application_helper.rb:1300:in `favicon_path'
app/helpers/application_helper.rb:1295:in `favicon'
app/views/layouts/base.html.erb:9:in `_app_views_layouts_base_html_erb__216635144_58258332'

Started GET "/" for 127.0.0.1 at 2014-07-02 14:49:10 -0700
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (159.0ms)
Completed 500 Internal Server Error in 562.1ms

ActionView::Template::Error (TinyTds::Error: Invalid object name 'theme_changer_user_settings'.: EXEC sp_executesql N'SELECT TOP (1) [theme_changer_user_settings].* FROM [theme_changer_user_settings] WHERE (user_id = 1)'):
6: <meta name="description" content="<%= Redmine::Info.app_name %>" />
7: <meta name="keywords" content="issue,bug,tracker" />
8: <%= csrf_meta_tag %>
9: <%= favicon %>
10: <%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' %>
11: <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
12: <%= javascript_heads %>
app/helpers/application_helper.rb:1300:in `favicon_path'
app/helpers/application_helper.rb:1295:in `favicon'
app/views/layouts/base.html.erb:9:in `_app_views_layouts_base_html_erb__216635144_58258332'

Connecting to database specified by database.yml
Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Started GET "/" for 127.0.0.1 at 2014-07-02 14:50:22 -0700
Processing by WelcomeController#index as HTML
Current user: anonymous
Rendered welcome/index.html.erb within layouts/base (679.1ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (2.0ms)
Completed 200 OK in 2879.3ms (Views: 216.0ms | ActiveRecord: 2431.2ms)
Started GET "/" for 127.0.0.1 at 2014-07-02 14:50:26 -0700
Processing by WelcomeController#index as HTML
Current user: anonymous
Rendered welcome/index.html.erb within layouts/base (2.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 410.0ms (Views: 9.0ms | ActiveRecord: 392.0ms)
Started GET "/" for 127.0.0.1 at 2014-07-02 14:50:29 -0700
Processing by WelcomeController#index as HTML
Current user: anonymous
Rendered welcome/index.html.erb within layouts/base (2.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 413.0ms (Views: 9.0ms | ActiveRecord: 396.0ms)
Started GET "/projects" for 127.0.0.1 at 2014-07-02 14:50:31 -0700
Processing by ProjectsController#index as HTML
Current user: anonymous
Rendered projects/index.html.erb within layouts/base (454.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 806.1ms (Views: 67.0ms | ActiveRecord: 733.1ms)
Started GET "/login" for 127.0.0.1 at 2014-07-02 14:50:33 -0700
Processing by AccountController#login as HTML
Current user: anonymous
Rendered account/login.html.erb within layouts/base (236.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 404.0ms (Views: 17.0ms | ActiveRecord: 384.0ms)
Started POST "/login" for 127.0.0.1 at 2014-07-02 14:50:34 -0700
Processing by AccountController#login as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ccp2oRIJrCZnsJAp0fLeNh2tKf2aIzYed0ZhW+IJvKY=", "back_url"=>"http://localhost:3000/projects", "username"=>"admin", "password"=>"[FILTERED]", "login"=>"Login »"}
Current user: anonymous
Successful authentication for 'admin' from 127.0.0.1 at 2014-07-02 21:50:35 UTC
Redirected to http://localhost:3000/projects
Completed 302 Found in 368.0ms (ActiveRecord: 360.0ms)
Started GET "/projects" for 127.0.0.1 at 2014-07-02 14:50:35 -0700
Processing by ProjectsController#index as HTML
Current user: admin (id=1)
Rendered projects/index.html.erb within layouts/base (351.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 993.1ms (Views: 48.0ms | ActiveRecord: 941.1ms)
Started GET "/admin" for 127.0.0.1 at 2014-07-02 14:50:38 -0700
Processing by AdminController#index as HTML
Current user: admin (id=1)
Rendered admin/_menu.html.erb (5.0ms)
Rendered admin/index.html.erb within layouts/admin (10.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Rendered layouts/base.html.erb (165.0ms)
Completed 200 OK in 441.0ms (Views: 30.0ms | ActiveRecord: 407.0ms)
Started GET "/my/page" for 127.0.0.1 at 2014-07-02 14:50:40 -0700
Processing by MyController#page as HTML
Current user: admin (id=1)
Rendered issues/_list_simple.html.erb (1.0ms)
Rendered my/blocks/_issuesassignedtome.html.erb (1692.2ms)
Rendered issues/_list_simple.html.erb (187.0ms)
Rendered my/blocks/_issuesreportedbyme.html.erb (545.1ms)
Rendered my/page.html.erb within layouts/base (2259.2ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 2632.3ms (Views: 238.0ms | ActiveRecord: 2388.2ms)
Started GET "/projects" for 127.0.0.1 at 2014-07-02 14:50:43 -0700
Processing by ProjectsController#index as HTML
Current user: admin (id=1)
Rendered projects/index.html.erb within layouts/base (161.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 565.1ms (Views: 21.0ms | ActiveRecord: 539.1ms)
Started GET "/projects/openings-studio" for 127.0.0.1 at 2014-07-02 14:50:45 -0700
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"openings-studio"}
Current user: admin (id=1)
Rendered projects/_members_box.html.erb (1.0ms)
Rendered projects/show.html.erb within layouts/base (262.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 3343.3ms (Views: 61.0ms | ActiveRecord: 3181.3ms)
Started GET "/projects/openings-studio/issues/new" for 127.0.0.1 at 2014-07-02 14:50:51 -0700
Processing by IssuesController#new as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered issues/_form_custom_fields.html.erb (329.0ms)
Rendered issues/_attributes.html.erb (1136.1ms)
Rendered issues/_form.html.erb (1390.1ms)
Rendered attachments/_form.html.erb (82.0ms)
Rendered issues/new.html.erb within layouts/base (1483.1ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 3358.3ms (Views: 99.0ms | ActiveRecord: 3124.3ms)
Started POST "/projects/openings-studio/issues" for 127.0.0.1 at 2014-07-02 14:51:01 -0700
Processing by IssuesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"vZ/cfairQGvvdVV7BTl0WLW8SlrtF6ljt5v2nisvOqk=", "issue"=>{"is_private"=>"0", "tracker_id"=>"1", "subject"=>"Test 2", "description"=>"asdasd", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "parent_issue_id"=>"", "start_date"=>"2014-07-02", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"0"}, "commit"=>"Create", "project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered mailer/_issue.text.erb (243.0ms)
Rendered mailer/issue_add.text.erb within layouts/mailer (248.0ms)
Rendered mailer/_issue.html.erb (1.0ms)
Rendered mailer/issue_add.html.erb within layouts/mailer (7.0ms)
Redirected to http://localhost:3000/issues/12
Completed 302 Found in 4528.5ms (ActiveRecord: 4229.4ms)
Started GET "/issues/12" for 127.0.0.1 at 2014-07-02 14:51:06 -0700
Processing by IssuesController#show as HTML
Parameters: {"id"=>"12"}
Current user: admin (id=1)
Rendered issues/_action_menu.html.erb (91.0ms)
Rendered issue_relations/_form.html.erb (80.0ms)
Rendered issues/_relations.html.erb (87.0ms)
Rendered issues/_action_menu.html.erb (3.0ms)
Rendered issues/_form_custom_fields.html.erb (0.0ms)
Rendered issues/_attributes.html.erb (328.0ms)
Rendered issues/_form.html.erb (652.1ms)
Rendered attachments/_form.html.erb (2.0ms)
Rendered issues/_edit.html.erb (995.1ms)
Rendered issues/_sidebar.html.erb (306.0ms)
Rendered watchers/_watchers.html.erb (186.0ms)
Rendered issues/show.html.erb within layouts/base (2337.2ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 4792.5ms (Views: 209.0ms | ActiveRecord: 4524.5ms)
Connecting to database specified by database.yml
Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Started GET "/" for 127.0.0.1 at 2014-07-02 15:26:09 -0700
Processing by WelcomeController#index as HTML
Current user: anonymous
Rendered welcome/index.html.erb within layouts/base (664.1ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (2.0ms)
Completed 200 OK in 3117.3ms (Views: 225.0ms | ActiveRecord: 2643.3ms)
Started GET "/" for 127.0.0.1 at 2014-07-02 15:26:14 -0700
Processing by WelcomeController#index as HTML
Current user: anonymous
Rendered welcome/index.html.erb within layouts/base (2.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 404.0ms (Views: 10.0ms | ActiveRecord: 386.0ms)
Started GET "/login" for 127.0.0.1 at 2014-07-02 15:26:18 -0700
Processing by AccountController#login as HTML
Current user: anonymous
Rendered account/login.html.erb within layouts/base (236.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (0.0ms)
Completed 200 OK in 412.0ms (Views: 24.0ms | ActiveRecord: 384.0ms)
Started POST "/login" for 127.0.0.1 at 2014-07-02 15:26:20 -0700
Processing by AccountController#login as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"lJANxJRXOnlWDORGhnn+TDcGVPNloRQGgeYugg+PDeo=", "back_url"=>"http://localhost:3000/", "username"=>"admin", "password"=>"[FILTERED]", "login"=>"Login »"}
Current user: anonymous
Successful authentication for 'admin' from 127.0.0.1 at 2014-07-02 22:26:20 UTC
Redirected to http://localhost:3000/
Completed 302 Found in 342.0ms (ActiveRecord: 333.0ms)
Started GET "/" for 127.0.0.1 at 2014-07-02 15:26:20 -0700
Processing by WelcomeController#index as HTML
Current user: admin (id=1)
Rendered welcome/index.html.erb within layouts/base (705.1ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 1619.2ms (Views: 75.0ms | ActiveRecord: 1534.2ms)
Started GET "/admin" for 127.0.0.1 at 2014-07-02 15:26:23 -0700
Processing by AdminController#index as HTML
Current user: admin (id=1)
Rendered admin/_menu.html.erb (5.0ms)
Rendered admin/index.html.erb within layouts/admin (10.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Rendered layouts/base.html.erb (169.0ms)
Completed 200 OK in 474.0ms (Views: 79.0ms | ActiveRecord: 390.0ms)
Started GET "/admin/plugins" for 127.0.0.1 at 2014-07-02 15:26:25 -0700
Processing by AdminController#plugins as HTML
Current user: admin (id=1)
Rendered admin/plugins.html.erb within layouts/admin (2.0ms)
Rendered admin/_menu.html.erb (4.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Rendered layouts/base.html.erb (167.0ms)
Completed 200 OK in 338.0ms (Views: 26.0ms | ActiveRecord: 307.0ms)
Started GET "/projects" for 127.0.0.1 at 2014-07-02 15:26:34 -0700
Processing by ProjectsController#index as HTML
Current user: admin (id=1)
Rendered projects/index.html.erb within layouts/base (178.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 592.1ms (Views: 46.0ms | ActiveRecord: 540.1ms)
Started GET "/projects" for 127.0.0.1 at 2014-07-02 15:26:38 -0700
Processing by ProjectsController#index as HTML
Current user: admin (id=1)
Rendered projects/index.html.erb within layouts/base (160.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 563.1ms (Views: 18.0ms | ActiveRecord: 540.1ms)
Started GET "/projects" for 127.0.0.1 at 2014-07-02 15:26:41 -0700
Processing by ProjectsController#index as HTML
Current user: admin (id=1)
Rendered projects/index.html.erb within layouts/base (160.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 575.1ms (Views: 17.0ms | ActiveRecord: 556.1ms)
Started GET "/projects" for 127.0.0.1 at 2014-07-02 15:26:43 -0700
Processing by ProjectsController#index as HTML
Current user: admin (id=1)
Rendered projects/index.html.erb within layouts/base (160.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (2.0ms)
Completed 200 OK in 959.1ms (Views: 18.0ms | ActiveRecord: 936.1ms)
Started GET "/projects/openings-studio" for 127.0.0.1 at 2014-07-02 15:26:45 -0700
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"openings-studio"}
Current user: admin (id=1)
Rendered projects/_members_box.html.erb (1.0ms)
Rendered projects/show.html.erb within layouts/base (275.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 3874.4ms (Views: 119.0ms | ActiveRecord: 3682.4ms)
Started GET "/projects/openings-studio" for 127.0.0.1 at 2014-07-02 15:26:49 -0700
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"openings-studio"}
Current user: admin (id=1)
Rendered projects/_members_box.html.erb (0.0ms)
Rendered projects/show.html.erb within layouts/base (83.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 1599.2ms (Views: 30.0ms | ActiveRecord: 1542.2ms)
Started GET "/projects/openings-studio/issues?set_filter=1" for 127.0.0.1 at 2014-07-02 15:26:57 -0700
Processing by IssuesController#index as HTML
Parameters: {"set_filter"=>"1", "project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered queries/_filters.html.erb (167.0ms)
Rendered queries/_columns.html.erb (81.0ms)
Rendered issues/_list.html.erb (336.0ms)
Rendered issues/_sidebar.html.erb (162.0ms)
Rendered issues/index.html.erb within layouts/base (992.1ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 3892.4ms (Views: 164.0ms | ActiveRecord: 3490.3ms)
Started GET "/projects/openings-studio/issues" for 127.0.0.1 at 2014-07-02 15:27:07 -0700
Processing by IssuesController#index as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered queries/_filters.html.erb (86.0ms)
Rendered queries/_columns.html.erb (1.0ms)
Rendered issues/_list.html.erb (163.0ms)
Rendered issues/_sidebar.html.erb (81.0ms)
Rendered issues/index.html.erb within layouts/base (418.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 2263.2ms (Views: 53.0ms | ActiveRecord: 2167.2ms)
Started GET "/projects/openings-studio/issues" for 127.0.0.1 at 2014-07-02 15:27:12 -0700
Processing by IssuesController#index as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered queries/_filters.html.erb (87.0ms)
Rendered queries/_columns.html.erb (2.0ms)
Rendered issues/_list.html.erb (164.0ms)
Rendered issues/_sidebar.html.erb (81.0ms)
Rendered issues/index.html.erb within layouts/base (420.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 2266.2ms (Views: 49.0ms | ActiveRecord: 2171.2ms)
Started GET "/projects/openings-studio/issues/new" for 127.0.0.1 at 2014-07-02 15:27:17 -0700
Processing by IssuesController#new as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered issues/_form_custom_fields.html.erb (322.0ms)
Rendered issues/_attributes.html.erb (730.1ms)
Rendered issues/_form.html.erb (980.1ms)
Rendered attachments/_form.html.erb (82.0ms)
Rendered issues/new.html.erb within layouts/base (1125.1ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 2933.3ms (Views: 146.0ms | ActiveRecord: 2717.3ms)
Started GET "/projects/openings-studio/activity" for 127.0.0.1 at 2014-07-02 15:27:26 -0700
Processing by ActivitiesController#index as HTML
Parameters: {"id"=>"openings-studio"}
Current user: admin (id=1)
Rendered activities/index.html.erb within layouts/base (679.1ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 4239.4ms (Views: 75.0ms | ActiveRecord: 4071.4ms)
Started GET "/projects/openings-studio/issues" for 127.0.0.1 at 2014-07-02 15:27:30 -0700
Processing by IssuesController#index as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered queries/_filters.html.erb (85.0ms)
Rendered queries/_columns.html.erb (3.0ms)
Rendered issues/_list.html.erb (166.0ms)
Rendered issues/_sidebar.html.erb (80.0ms)
Rendered issues/index.html.erb within layouts/base (423.0ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (1.0ms)
Completed 200 OK in 2318.2ms (Views: 56.0ms | ActiveRecord: 2211.2ms)
Started GET "/projects/openings-studio/issues/gantt" for 127.0.0.1 at 2014-07-02 15:27:32 -0700
Processing by GanttsController#show as HTML
Parameters: {"project_id"=>"openings-studio"}
Current user: admin (id=1)
Rendered queries/_filters.html.erb (86.0ms)
Rendered issues/_sidebar.html.erb (81.0ms)
Rendered gantts/show.html.erb within layouts/base (1292.1ms)
Rendered plugins/sidebar_hide/app/views/sidebar/_hideButton_partial.html.erb (2.0ms)
Completed 200 OK in 2889.3ms (Views: 88.0ms | ActiveRecord: 2774.3ms)
_

RE: Help with Installing Redmine with Tomcat - Added by John H over 5 years ago

Heres a log from the host servers httpaccess log:
10.13.8.84 - - [03/Jul/2014:10:52:33 -0400] "POST /redmine/projects/test-project-3/issues HTTP/1.1" 404 457

RE: Help with Installing Redmine with Tomcat - Added by John H over 5 years ago

I was reading the FAQ and I guess Apache users that are running into the same problem had to add this to the config file.

RemoveHandler .php
php_flag engine off # Try without this line first

My question is, what config file (was told .htaccess, but none in the redmine deploy or the server), and do you think that may be the issue with Tomcat?

(1-13/13)