Kazuhiro NISHIYAMA | 18 Mar 10:07
Gravatar

[ap4r-devel-ja] ap4r with rails 2.2.x or later

西山和広です。

ap4r を rails 2.2.2 で使おうとすると以下のように reliable-msg-1.1.0 の中で
Gem::Exception になります。(以下の例は2.3.2になってしまってますが、2.2.2でも
同じところで例外になりました。)
mysql gem をインストールすれば require は通ったのですが、
ap4r は rails 2.2.x 以降に対応しているのでしょうか?

% ruby18 -rubygems -e 'require "ap4r"'
..../site_ruby/1.8/rubygems.rb:149:in `activate': can't activate activesupport (= 2.1.2,
runtime), already activated activesupport-2.3.2 (Gem::Exception)
        from ..../site_ruby/1.8/rubygems.rb:165:in `activate'
        from ..../site_ruby/1.8/rubygems.rb:164:in `each'
        from ..../site_ruby/1.8/rubygems.rb:164:in `activate'
        from ..../site_ruby/1.8/rubygems/custom_require.rb:35:in `require'
        from ..../gems/1.8/gems/reliable-msg-1.1.0/lib/reliable-msg/message-store.rb:420
        from ..../site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from ..../site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from ..../gems/1.8/gems/reliable-msg-1.1.0/lib/reliable-msg/queue-manager.rb:24
        from ..../site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from ..../site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from ..../gems/1.8/gems/reliable-msg-1.1.0/lib/reliable-msg/cli.rb:16
        from ..../site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from ..../site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from ..../gems/1.8/gems/reliable-msg-1.1.0/lib/reliable-msg.rb:13
        from ..../site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from ..../site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from ..../gems/1.8/gems/ap4r-0.3.6/lib/ap4r.rb:6
        from ..../site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
        from ..../site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
(Continue reading)

shunichi shino | 26 Jul 16:34
Picon
Gravatar

[ap4r-devel-ja] Fwd: [reliable-msg-open-discussion][58874] RE: Too many open files

reliable-msg のフォーラムでこんなんきてました。
ひとまず フォワード。

Assaf さんが書いているように、file based storage は使わないほうがいいよ、って
いうのも普通やとおもいますが。

shino

---------- Forwarded message ----------
From: Raels Koder <noreply@...>
Date: Sat, Jul 26, 2008 at 11:20 PM
Subject: [reliable-msg-open-discussion][58874] RE: Too many open files
To: noreply@...

Read and respond to this message at:
http://rubyforge.org/forum/message.php?msg_id=58874
By: Raels Koder

I bumped into this limitation also.  For various reasons, using a real database
on the machine is not feasible for my application.

I noticed in the code that there is a limit on the number of files that will
be open.  RM seems to open and keep open many more than that.  Is
there an open-file
"leak" or am I missing something about how it is managed?

I am quite interested in creating an adapter for Berk DB and variants, so please
feel free to go into  detail.  It is also possible that SQLite3 might be used,
but I felt I should really understand the disk based part before proceeding
with any substantial changes.
(Continue reading)

shinohara.shunichi | 5 Feb 01:51
Picon
Favicon

FW: [ap4r-devel] [ ap4r-Patches-17780 ] allow to set HTTP timeoutconfiguration option

しのはらです。

Rubyforge のトラッカーにパッチ来ましたね。
HTTP のレスポンスを受け取るタイムアウトを指定したいとのこと。

いずれプロトコル毎の設定場所は必要だと思っていたので
かんがえなきゃいけませんね。

僕が気になっているのは以下の点。
- dispatchers セクションの定義は、今のところ、 targets が中心になっている
- つまりは、メッセージ主体
- じゃあ、ディスパッチするプロトコルごとのグローバルな設定をどこに書くか

たとえば、次のように一つセクションを追加するのが一案
これで
- すべての HTTP ディスパッチャが影響を受ける
---
dispatchers:
  -
    targets: queue.*
    threads: 1
dispatch_protocols:
  http:
    timeout: 600
EOF

でも今回みたいにターゲットとなる奴ごとに設定をしたいということもあると思うので
個別設定もあるといいかも
---
dispatchers:
(Continue reading)

shun shino | 25 Jan 16:01
Picon
Gravatar

Fwd: [ap4r-devel] [ ap4r-Bugs-17206 ] rake: uninitialized constant CGI::Session::ActiveRecordStore

これ、ステータスが open のままになっているので、
closed にしておいてください m(_ _)m
resolution のところは、accepted でいいんですかね??

shino

---------- Forwarded message ----------
From: noreply <at> rubyforge.org <noreply <at> rubyforge.org>
Date: 2008/01/24 23:10
Subject: [ap4r-devel] [ ap4r-Bugs-17206 ] rake: uninitialized constant
CGI::Session::ActiveRecordStore
To: noreply <at> rubyforge.org

Bugs item #17206, was opened at 2008-01-18 13:58
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=6910&aid=17206&group_id=1765

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Artem Vasiliev (artemv)
Assigned to: Nobody (None)
Summary: rake: uninitialized constant CGI::Session::ActiveRecordStore

Initial Comment:
After I added ap4r plugin to my Rails project I got this exception
every time I try to run rake db:migrate :
{{{
(Continue reading)

shinohara.shunichi | 25 Jan 03:25
Picon
Favicon

Re: [ap4r-devel] [371] trunk/samples/HelloWorld/vendor/plugins/ap4r: Fixed: [#17206] rake: uninitialized constant CGI::Session::ActiveRecordStore.

しのはらです。
バグ修正&動作確認ありがとうございます。

> -----Original Message-----
> Revision: 371
> Author:   kato-k
> Date:     2008-01-23 04:57:58 -0500 (Wed, 23 Jan 2008)
> 
> Log Message:
> -----------
> Fixed: [#17206] rake: uninitialized constant
> CGI::Session::ActiveRecordStore.
> 
> Modified Paths:
> --------------
> 
> trunk/samples/HelloWorld/vendor/plugins/ap4r/lib/ap4r/service_handler.
> rb
>     trunk/samples/HelloWorld/vendor/plugins/ap4r/tasks/ap4r.rake
> 
> Modified:
> trunk/samples/HelloWorld/vendor/plugins/ap4r/lib/ap4r/service_handler.
> rb
> ===================================================================
> ---
> trunk/samples/HelloWorld/vendor/plugins/ap4r/lib/ap4r/service_handler.
> rb	2008-01-21 08:05:47 UTC (rev 370)
> +++
> trunk/samples/HelloWorld/vendor/plugins/ap4r/lib/ap4r/service_handler.
> rb	2008-01-23 09:57:58 UTC (rev 371)
(Continue reading)

shunichi shinohara | 15 Jan 01:44
Picon
Favicon

メーリングリストアーカイブのテストその2

おさわがせします。
もう一つ、テストです。

しのはら
_______________________________________________
ap4r-devel-ja mailing list
ap4r-devel-ja@...
http://rubyforge.org/mailman/listinfo/ap4r-devel-ja
shinohara.shunichi | 15 Jan 01:26
Picon
Favicon

test ML archive no.1

Hi,

This is a mail to test this ML's archiving.
テスト

shino

_______________________________________________
ap4r-devel-ja mailing list
ap4r-devel-ja@...
http://rubyforge.org/mailman/listinfo/ap4r-devel-ja

Gmane