Displaying 20 results from an estimated 7000 matches similar to: "How to stop webrick daemon"
2006 Jul 01
5
how can i set the default protocol of WEBrick to https?
On my server, stunnel is running to accept HTTPS (port 443) connection
from clients and redirect them to localhost:80. And on port 80 of my
server, WEBrick is running to accept HTTP connection.
In such situation, WEBrick generates URLs beginning with ''http://'',
not with ''https://''. So one can access to ''https://myserver/'', but
when he click on
2006 May 30
4
Rails / ActionPack thread safety
Hi all,
Both the rails book (1st Ed) and the docs on the rails site (*and* the
Mongrel FAQ) tell me that rails (& ActionPack /ActiveRecord) is not
threadsafe. Since I need lots of worker threads in the app I''m working on
(details at the end of this mail) this poses quite a problem for me.
Is the lack of thread safety a conscious design decision (kind of
understandable for rails
2006 Jul 21
2
ActiveRecorod observers don''t work in mongrel?
Am i wrong or do ActiveRecord observers not work in mongrel? Is there
a work around for this?
I am 100% sure of this because in my observer i put raise "whatever".
Whenever I try update the model using the mongrel server I get a
successful save. If I do it in webrick I get an exception raised.
Any ideas what I should do? Because webrick is pretty annoying to
work with.
Thank
2006 Jul 02
2
Flat file as storage backend or what ...
Hi.
I''m just starting out with Rails. I''m thinking of writing a web based
PIM, partly as a learning experience, partly because I need one. I''ll
be using iCalendar and vCard files for for storage because it will let
me sync with PDAs, and use other already available PIMs.
What would be the best practice for this?
a) At the beginning of a session pull all my vevents
2002 Oct 31
2
quota support on AIX
Hellow, members
I want to use SAMBA with disk quota support on AIX machine,
but have not succeeded yet. Are there any members who could
succeeded setting up SAMBA on that environment?
OS:AIX4.3.3
SAMBA:2.2.5
configure option:--with-quotas
First, I configured AIX's quota environment, and confirmed quota
worked fine. And I accessed to SAMBA, but disk size displayed
on Windows explorer did
2007 Mar 26
5
Japanese Puppet users
Hi all,
I''ve been trying to monitor the traffic on the web site recently, and
it seems like we''ve got a couple of Japanese Puppet users I didn''t
know about. I''ve seen articles about Puppet on both madoro.org[1]
and mizzy.org[2] recently.
I haven''t looked into translations of Puppet''s documentation much,
but this might be a good place
2005 Dec 28
2
where is WEBrick (daemon mode) output? not in log/server.log
I am running WEBrick in daemon mode (with the -d option). Where is the
server output that would ordinarily be on my console if I ran without
the -d option?
APP_ROOT/log/server.log is empty and not being appended to, though it is
owned by the same user WEBrick is running as and has write permissions.
The only files in APP_ROOT/log are:
development.log
production.log
server.log
test.log
Where
2006 Mar 03
1
starting webrick from ruby (tar2rubyscript.rb)
I am using tar2rubyscript to package up a rails application and run it
as one file from the server.
If you run script/server and have lighttpd install it will start lighty
instead of webrick. So, thanks to Erik Veenstra''s suggestion, I add
ARGV.unshift("webrick") to the init.rb file to force webrick to start:
ARGV.unshift("webrick")
load "script/server"
2005 Mar 02
3
App behaves differently on Apache and Webrick
When running on the Webrick server (script/server), my app works fine.
When running on Apache 2.0.52, I get the dreaded ''unitialized constant
Merge'' error. Merge is the name of my model, the controller is
MergesController.
The deadline looms, any help appreciated!
Thanks!
Regards,
JJ
2006 Feb 10
2
Sudden Strange Webrick Error: Errno::ECONNABORTED
Hello,
I''ve been developing an application (on Windows), and everything was
going pretty well, but I suddenly began getting this weird error back
from Webrick after submitting something through ajax, and only through
ajax. I''m submitting a form through ajax, and it is being process
properly - with all the interaction with the database happening
without problem. The response
2006 Mar 21
3
Do module source code changes require reboot of WEBrick?
Assume that I refactor some code into a module and "require it into" my
controller.
Do I then need to restart my WEBrick server each time that I change the
module?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Jun 23
2
WEBrick hangs with OCI8?
Has anyone experienced "hangs" with the WEBrick/OCI8 combination?
The sequence of actions I perform to consistently get WEBrick to hang is:
1. start WEBrick
2. list a table form my Oracle 10g DB
3. startup sqlplus and update a few records in the table
4. go back to my browser and reload the table
Here none of the chances I made directly to the table are reflected
in the listing.
2006 Feb 19
5
Memory use: WEBrick vs Apache
Hello,
>From purely a memory consumption standpoint, is it generally more
efficient to run a simple Rails app using WEBrick alongside a separate
apache installation or to run Rails under FCGI and use Apache to bridge
to the Web?
I have looked through lots of docs and old forum posts. Most seem to
center on just getting Apache+Rails running, or on speed.
I am really not concerned about my
2008 Jul 21
2
webrick needs 80 seconds for starting
ruby script/console webrick
after 23 seconds:
=> Booting WEBrick...
after 78 seconds:
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-07-21 08:07:17] INFO WEBrick 1.3.1
[2008-07-21 08:07:17] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-07-21 08:07:17] INFO WEBrick::HTTPServer#start: pid=4664
port=3000
2006 May 30
5
Implementing HTTPS with WEBrick?
All,
I would like to test some secure pages that I''m developing in my
WEBrick-based development environment.
I''ve done some research and it appears that I need to create a new
command that will start a HTTPS based WEBrick server. Is this correct?
Also, it appears that the https.rb module is not included with the
WEBrick bundled in Rails. So, I will need to go get that
2006 Jun 27
2
Can''t run WEBRick with Plugin
After copying the acts_as_ferret pluin to my rails folder, I can''t boot
WEBrick. Has anyone run into this before?
--
Posted via http://www.ruby-forum.com/.
2006 May 04
2
WEBrick initialisation problem
I am new to Ruby so I thought the best way to get into it would be to
follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the
instructions to the letter and everything work just great, very
impressive:-).
A couple of days later when I went back to it I got the following
message when trying to start the WEBrick server.
U:\RoRProjects\cookbook>ruby script\server =>
2006 May 03
2
WEBrick initialisation error
I am new to Ruby so I thought the best way to get into it would be to
follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the
instructions to the letter and everything work just great, very
impressive:-).
A couple of days later when I went back to it I got the following
message when trying to start the WEBrick server.
U:\RoRProjects\cookbook>ruby script\server
=>
2006 Jul 27
7
cannot get past "Booting WEBrick"
Hi Everyone,
I am following the ''Agile Web Dev. with Rails'' book, and I used instant
rails to do the install on a Windows machine. Everything seemed to work
fine until I got to:
Booting WEBrick...
After that, nothing happens. I tried creating a new rails application, but
I get the same
problem. I also tried reinstalling to no avail.
Any ideas?
Thanks for the help.
2007 Mar 15
2
WEBrick freezes overnight
Each morning when I return to work, I find that my WEBrick server has
stopped working. The process is still running, but when I try to
connect to it with a web browser, the browser doesn''t get any response
back. Usually when this happens I cannot control-c the process to
shut it down, and not even "kill" works-- I have to get rid of it with
kill -9. I then restart it and it