Permalink
Browse files

Updating

  • Loading branch information...
1 parent e60bb42 commit 108dc4b5cf9c8df4aea7a32500fd0f5f2a6d1644 @jcrossley3 jcrossley3 committed Apr 21, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 torque-jndi/rack_app.rb
View
@@ -1,10 +1,9 @@
-require 'org.torquebox.torquebox-naming-client'
+require 'torquebox-naming'
class RackApp
def call(env)
- global = TorqueBox::Naming[""].to_a.sort.join("\n")
- local = TorqueBox::Naming["java:"].to_a.sort.join("\n")
- [200, {'Content-Type' => 'text/plain'}, global+"\n\n"+local ]
+ global = TorqueBox::Naming["jmx/invoker/RMIAdaptor"].to_a.sort.join("\n")
+ [200, {'Content-Type' => 'text/plain'}, global ]
end
end

0 comments on commit 108dc4b

Please sign in to comment.