Project

General

Profile

Actions

Defect #8525

closed

can not publish(.war) to tomcat

Added by alvis lee almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Administration
Target version:
-
Start date:
2011-06-04
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

OS:windows xp
ruby 1.8.7
Rails 2.3.11
redmine 1.2.0

jdk:1.6
tomcat:6.0.20
mysql:5.0

run with "ruby script/server webrick -e production",it works OK.

vist the page : http://127.0.0.1:8080/redmine/settings

error log:

NoMethodError in Settings#index

Showing vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb where line # raised:

undefined method `application_backtrace' for java.lang.IllegalArgumentException:Java::JavaLang::IllegalArgumentException
Extracted source (around line #):

Trace of template inclusion: vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb

RAILS_ROOT: D:/apache-tomcat-6.0.20/webapps/redmine/WEB-INF

Application Trace | Framework Trace | Full Trace
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb:2:in `_run_erb_vendor47rails47actionpack47lib47action_controller47templates47rescues47_trace46erb'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:20:in `render'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:30:in `benchmark'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/renderable_partial.rb:19:in `render'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb:18:in `_run_erb_vendor47rails47actionpack47lib47action_controller47templates47rescues47template_error46erb'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/renderable.rb:34:in `render'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/base.rb:306:in `with_template'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/renderable.rb:30:in `render'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/template.rb:205:in `render_template'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_view/base.rb:265:in `render'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/rescue.rb:133:in `rescue_action_locally'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/rescue.rb:73:in `rescue_action'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/rescue.rb:162:in `perform_action_with_rescue'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/flash.rb:151:in `perform_action_with_flash'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:532:in `process'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/filters.rb:606:in `process_with_filters'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:391:in `process'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/base.rb:386:in `call'
D:/apache-tomcat-6.0.20/webapps/p/WEB-INF/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb:438:in `call'
Request

Parameters:

None
Show session dump

Response

Headers:

{"Cache-Control"=>"no-cache",
 "Content-Type"=>""}


Related issues

Is duplicate of Redmine - Defect #8510: JRuby: Can't open administrator panel if scm command is not availableClosedToshi MARUYAMA2011-06-03

Actions
Actions

Also available in: Atom PDF