Displaying 7 results from an estimated 7 matches for "dispatchservlet".
2006 Jan 16
2
Basic (newbie) Webrick / ssl config question
I have a simple Intranet app I want to make accessible via the
Internet for remote access by our employees.
I want to use ssl (https) connections and I''ve found enough messages
to imply Webrick as included in rails can do the job.
The message at
http://wrath.rubyonrails.org/pipermail/rails/2005-January/001993.html
even appears to tell me exactly how to do it by modifying
2006 Mar 10
0
WEBrick crashing
...1 0.00 0.00 Class#superclass
0.00 6.55 0.00 2 0.00 0.00 String#downcase
0.00 6.55 0.00 2 0.00 0.00 Array#[]
0.00 6.55 0.00 2 0.00 0.00 Module#parent
0.00 6.55 0.00 1 0.00 0.00
DispatchServlet#service
0.00 6.55 0.00 1 0.00 0.00 Thread#kill
0.00 6.55 0.00 1 0.00 0.00 Thread#initialize
0.00 6.55 0.00 4 0.00 8.00 Enumerable.inject
0.00 6.55 0.00 1 0.00 0.00
DispatchServlet#dispatc...
2010 Mar 05
1
WEBrick 500 error only with https
...ENV["RAILS_ENV"] = OPTIONS[:environment]
RAILS_ENV.replace(OPTIONS[:environment]) if defined?(RAILS_ENV)
require RAILS_ROOT + "/config/environment"
require ''webrick_server''
OPTIONS[''working_directory''] = File.expand_path(RAILS_ROOT)
class SSLDispatchServlet < DispatchServlet
def self.dispatch(options)
Socket.do_not_reverse_lookup = true
server = WEBrick::HTTPServer.new(
:Port => options[:port].to_i,
:ServerType => options[:server_type],
:BindAddress => options[:ip],
:SSLEnable...
2006 Mar 26
4
edge and 1.8.2/1.8.4 issues
I recently upgraded to 1.8.4 to try out mongrel, and so far have been in
a kind of hell where I can''t get my app working!
Currently running (or trying to run):
Ruby version 1.8.4 (i386-mswin32)
RubyGems version 0.8.11
Rails version 1.0.0
Active Record version 1.13.2
Action Pack version 1.11.2
Action Web Service version 1.0.0
Action Mailer version 1.1.5
Active Support version
2006 Aug 26
8
[0.10.0] Index#search is not thread safe ?
This script (http://pastie.caboo.se/10371) give this result :
"1"
"0"
"0"
"0"
Why the other thread does not have the same result ?
Maybe, it''s not the correct way to use the index in a multi threaded
environement but I don''t know how to do.
Any ideas ?
--
Posted via http://www.ruby-forum.com/.
2006 Jan 14
19
Stopping WEBrick?
Is there any way to request WEBrick to shutdown besides hitting CTRL-C
at the console?
I''m looking for, perhaps, a script/shutdown command, or perhaps a
special URL that will request WEBrick to die.
It can be a command run in a different shell, or, as I said, a special
URL.
Anyone?
Tom Harris
Cisco Systems
--
Posted via http://www.ruby-forum.com/.
2010 Mar 18
13
ERROR NoMethodError: private method `gsub!' called
I have just upgraded to Ruby 1.8.7 and Rails 2.2.2. My previous project
was at Ruby 1.8.6 and Rails 2.0.2. My platform is Windows and Webrick
for development.
When I run Webrick, the server starts without error, the application
runs, database connections work and I can click through the pages and
display data. But it does not serve any stylesheets or javascript
files. What''s