Hi.

I too am having the same symptoms:

Backtrace:
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/deprecation.rb:12:in
 
`write'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/deprecation.rb:12:in
 
`puts'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/deprecation.rb:12
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/deprecation.rb:23:in
 
`call'
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/deprecation.rb:23:in
 
`warn'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/helpers/url_helper.rb:331:in
 
`convert_options_to_javascript!'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_view/helpers/url_helper.rb:69:in
 
`link_to'
#{RAILS_ROOT}/app/views/users/list.rhtml:19:in 
`_run_rhtml_47app47views47users47list46rhtml'
#{RAILS_ROOT}/app/views/users/list.rhtml:8:in `each'
#{RAILS_ROOT}/app/views/users/list.rhtml:8:in 
`_run_rhtml_47app47views47users47list46rhtml'

Please ask if you want the full trace, since it's more space to waste on 
the thread.

The services are: "c:/ruby/bin/mongrel_service.exe" single -e production 
-p 4001 -a 0.0.0.0 -l "log/mongrel.log" -P "log/mongrel.pid" -c 
"C:/boxback" -t 0 -r "public" -n 1024

C:/boxback is my application root.

A precise explanation of how things happen is:  Webrick OR mongrel as a 
non-service, everything's fine.
With mongrel as a service under lighttpd proxied to IIS with ISAPI 
Rewrite and using the Reverse Proxy plugin, when I am -linked- by a 
redirect from a create/edit/destroy scaffolding, I get the crash.

More relevant info:
The same happens if I use paginate or @regions = Region.find(:all)

The region file text is:
<% for region in @regions %>
  <tr>
  <% for column in Region.content_columns %>
  <td>
    <% if column.name == "logo_url" %>
      <br><img src="<%=h region.send(column.name) %>" width=30% /><br>
    <% end %>
    <%= simple_format region.send(column.name) %>
  </td>
  <% end %>
    <td><%= link_to 'Show', :action => 'show', :id => region %></td>
    <td><%= link_to 'Edit', :action => 'edit', :id => region %></td>
    <td><%= link_to 'Destroy', { :action => 'destroy', :id => region }, 
:confirm => 'Are you sure?', :post => true %></td>
-------ERROR POINTS TO THIS BLANK LINE HERE-------
  </tr>
<% end %>

Finally, please note that this application was heavily tested and torn 
apart by a small QA group before the migration into 
IIS/lighttpd/mongrel.  I haven't a clue what's wrong.




Luis Lavena wrote:
> On 2/24/07, Fausto <[EMAIL PROTECTED]> wrote:
>>
>> The Contatti class is properly defined in the model since i can access
>> it via both console and browser running mongrel not as service.
>> Do you suggest that the whitespace policy is different from the
>> service and non service version of mongrel?
>>
> 
> Since services execute with a user account other than your (actually,
> the run using LocalService account). They cannot access a lot of
> things, these could be: directories, networked drives, etc.
> 
> Often these problems are related to permissions. I file marked just
> for you will fail tried to access under a service, but this isn't the
> case.
> 
> Without the backtrace, I cannot help you deep into the problem, since
> I cannot recreate here these conditions.
> 
> Also, the command line used to start the service is very important, if
> you could access service manager (Start->Run...->services.msc) and
> copy the Executable Path shown under your services properties (also
> the User account used to run your service).
> 
> Regards,
> 
> 
> --
> Luis Lavena
> Multimedia systems
> -
> Leaders are made, they are not born. They are made by hard effort,
> which is the price which all of us must pay to achieve any goal that
> is worthwhile.
> Vince Lombardi


-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to