Skip to content

Commit f5be19e

Browse files
committed
Updated server test output + add 404 test
1 parent 39190d4 commit f5be19e

10 files changed

+433
-445
lines changed

examples/servers/Apache-Tomcat-6-0-14.txt

+45-52
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,64 @@
11
--- System
2-
jruby 1.6.1 (ruby-1.8.7-p330) (2011-04-12 85838f6) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_24) [darwin-x86_64-java]
3-
Time: Mon May 23 18:16:57 -0500 2011
2+
jruby 1.6.4 (ruby-1.8.7-p330) (2011-08-23 17ea768) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [darwin-x86_64-java]
3+
Time: Fri Sep 23 02:08:19 +0300 2011
44
Server: Apache Tomcat/6.0.14
5-
jruby.home: file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.1.jar!/META-INF/jruby.home
5+
jruby.home: file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home
66

77
--- Context Init Parameters:
8-
ENV_HOST = vanguard
8+
ENV_HOST = Vanguard.local
99
ENV_OUTPUT = /Users/nicksieger/Projects/ruby/jruby-rack/examples/servers
1010
jruby.rack.ignore.env = true
1111
public.root = /
12-
rails.env = production
12+
rack.env = production
1313

1414
--- RubyGems
15-
Gem.dir: file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.1.jar!/META-INF/jruby.home/lib/ruby/gems/1.8
15+
Gem.dir: /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems
1616
Gem.path:
1717
/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems
18-
file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.1.jar!/META-INF/jruby.home/lib/ruby/gems/1.8
1918
Activated gems:
20-
bundler-1.0.10
21-
rack-1.2.1
19+
bundler-1.0.18
20+
rack-1.3.3
2221
sinatra-1.0
2322

2423
--- Bundler
25-
Bundler.bundle_path: file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.1.jar!/META-INF/jruby.home/lib/ruby/gems/1.8
24+
Bundler.bundle_path: /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems
2625
Bundler.root: /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF
27-
Gemfile: /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/Gemfile
26+
Gemfile: Gemfile
2827
Settings:
2928
without = development:test
30-
bin_path = /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/bundler-1.0.10/bin/bundle
31-
gemfile = /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/Gemfile
29+
gemfile = Gemfile
30+
bin_path = /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/bundler-1.0.18/bin/bundle
3231

3332
--- JRuby-Rack Config
34-
background_spooling = false
3533
compat_version =
3634
filter_adds_html = true
3735
filter_verifies_resource = false
3836
ignore_environment = true
3937
initial_runtimes =
4038
jms_connection_factory =
4139
jms_jndi_properties =
42-
logger = org.jruby.rack.logging.ServletContextLogger@500ab58d
40+
logger = org.jruby.rack.logging.ServletContextLogger@7a14b43d
4341
logger_class_name = servlet_context
4442
logger_name = jruby.rack
4543
maximum_runtimes =
46-
memory_buffer_size = 65536
44+
memory_buffer_size = 8192
4745
num_initializer_threads =
4846
rackup =
4947
rackup_path =
5048
rewindable = true
5149
runtime_timeout_seconds =
5250
serial_initialization = false
53-
servlet_context = org.apache.catalina.core.ApplicationContextFacade@2bd9c3e7
51+
servlet_context = org.apache.catalina.core.ApplicationContextFacade@40128cad
5452

5553
--- Environment Variables
56-
BUNDLE_BIN_PATH = /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/bundler-1.0.10/bin/bundle
57-
BUNDLE_GEMFILE = /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/Gemfile
54+
BUNDLE_BIN_PATH = /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/bundler-1.0.18/bin/bundle
55+
BUNDLE_GEMFILE = Gemfile
5856
BUNDLE_WITHOUT = development:test
57+
GEM_HOME = /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems
5958
GEM_PATH = /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems
60-
PATH = file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.1.jar!/META-INF/jruby.home/lib/ruby/gems/1.8/bin
59+
PATH = /Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/bin
6160
RACK_ENV = production
62-
RUBYOPT = -I/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/bundler-1.0.10/lib -rbundler/setup
61+
RUBYOPT = -I/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/bundler-1.0.18/lib -rbundler/setup
6362

6463
--- System Properties
6564
awt.nativeDoubleBuffering = true
@@ -71,9 +70,7 @@ common.loader = ${catalina.home}/lib,${catalina.home}/lib/*.jar
7170
file.encoding = MacRoman
7271
file.encoding.pkg = sun.io
7372
file.separator = /
74-
ftp.nonProxyHosts = local|*.local|169.254/16|*.169.254/16
7573
gopherProxySet = false
76-
http.nonProxyHosts = local|*.local|169.254/16|*.169.254/16
7774
java.awt.graphicsenv = apple.awt.CGraphicsEnvironment
7875
java.awt.printerjob = apple.awt.CPrinterJob
7976
java.class.path = :/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/bin/bootstrap.jar:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/bin/commons-logging-api.jar
@@ -86,7 +83,7 @@ java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/
8683
java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory
8784
java.naming.factory.url.pkgs = org.apache.naming
8885
java.runtime.name = Java(TM) SE Runtime Environment
89-
java.runtime.version = 1.6.0_24-b07-334-10M3326
86+
java.runtime.version = 1.6.0_26-b03-383-11A511
9087
java.specification.name = Java Platform API Specification
9188
java.specification.vendor = Sun Microsystems Inc.
9289
java.specification.version = 1.6
@@ -95,64 +92,59 @@ java.util.logging.manager = org.apache.juli.ClassLoaderLogManager
9592
java.vendor = Apple Inc.
9693
java.vendor.url = http://www.apple.com/
9794
java.vendor.url.bug = http://bugreport.apple.com/
98-
java.version = 1.6.0_24
95+
java.version = 1.6.0_26
9996
java.vm.info = mixed mode
10097
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
10198
java.vm.specification.name = Java Virtual Machine Specification
10299
java.vm.specification.vendor = Sun Microsystems Inc.
103100
java.vm.specification.version = 1.0
104101
java.vm.vendor = Apple Inc.
105-
java.vm.version = 19.1-b02-334
102+
java.vm.version = 20.1-b02-383
106103
jruby.management.enabled = true
107104
line.separator =
108-
mrj.build = 10M3326
109-
mrj.version = 1060.1.6.0_24-334
105+
mrj.build = 11A511
106+
mrj.version = 1070.1.6.0_26-383
110107
os.arch = x86_64
111108
os.name = Mac OS X
112-
os.version = 10.6.7
109+
os.version = 10.7.1
113110
package.access = sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.
114111
package.definition = sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.
115112
path.separator = :
116113
server.loader =
117114
shared.loader =
118-
socksNonProxyHosts = local|*.local|169.254/16|*.169.254/16
119115
sun.arch.data.model = 64
120116
sun.boot.class.path = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar
121117
sun.boot.library.path = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries
122118
sun.cpu.endian = little
123119
sun.cpu.isalist =
124120
sun.io.unicode.encoding = UnicodeLittle
121+
sun.java.command = org.apache.catalina.startup.Bootstrap start
125122
sun.java.launcher = SUN_STANDARD
126123
sun.jnu.encoding = MacRoman
127-
sun.management.compiler = HotSpot 64-Bit Server Compiler
124+
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
128125
sun.os.patch.level = unknown
129126
tomcat.util.buf.StringCache.byte.enabled = true
130127
user.country = US
131128
user.dir = /Users/nicksieger/Projects/ruby/jruby-rack/examples/servers
132129
user.home = /Users/nicksieger
133130
user.language = en
134131
user.name = nicksieger
135-
user.timezone = America/Chicago
132+
user.timezone = Europe/Helsinki
136133

137134
--- $LOAD_PATH:
138135
/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/sinatra-1.0/lib
139-
/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/rack-1.2.1/lib
140-
file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-rack-1.0.9.dev.jar!/vendor/rack-1.2.2
141-
/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/bundler-1.0.10/lib
142-
file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8
143-
file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/shared
144-
file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.1.jar!/META-INF/jruby.home/lib/ruby/1.8
136+
/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/rack-1.3.3/lib
137+
file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-rack-1.1.0.dev-SNAPSHOT.jar!/vendor/rack-1.3.3
138+
/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/gems/gems/bundler-1.0.18/lib
139+
file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8
140+
file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/site_ruby/shared
141+
file:/Users/nicksieger/Projects/java/apache-tomcat-6.0.14/webapps/sinatra/WEB-INF/lib/jruby-stdlib-1.6.4.jar!/META-INF/jruby.home/lib/ruby/1.8
145142
.
146143

147144
--- Request Environment
148-
HTTP_ACCEPT = application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
149-
HTTP_ACCEPT_ENCODING = gzip, deflate
150-
HTTP_ACCEPT_LANGUAGE = en-us
151-
HTTP_CONNECTION = keep-alive
152-
HTTP_COOKIE = __utma=111872281.937288940.1258574061.1300934650.1303327344.29; __utmz=111872281.1292187687.24.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _redmine_session=BAh7BzoPc2Vzc2lvbl9pZCIlOTFkYzQzYWEzOWNkMjU3OGFjNmE4NzlmYTU2ZTc3YWQ6EF9jc3JmX3Rva2VuIjFDMmZ5ZFZUbEIyQ1lQb0xPVk8rODVGSVlncE1mM1RrdG1oUCt2all2eHhNPQ%3D%3D--53f35d32ff1758115d51d1b913984039b6dd0435; _mkto_trk=id:422-MTH-535&token:_mch-localhost-1286296323340-33293
145+
HTTP_ACCEPT = */*
153146
HTTP_HOST = localhost:8080
154-
HTTP_REFERER = http://localhost:8080/sinatra/
155-
HTTP_USER_AGENT = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_7; en-us) AppleWebKit/533.21.1 (KHTML, like Gecko) Version/5.0.5 Safari/533.21.1
147+
HTTP_USER_AGENT = curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
156148
PATH_INFO = /env
157149
QUERY_STRING =
158150
REMOTE_ADDR = 0:0:0:0:0:0:0:1%0
@@ -164,14 +156,15 @@ SCRIPT_NAME = /sinatra
164156
SERVER_NAME = localhost
165157
SERVER_PORT = 8080
166158
SERVER_SOFTWARE = Apache Tomcat/6.0.14
167-
java.servlet_context = org.jruby.rack.servlet.ServletRackContext@47e779a7
168-
java.servlet_request = org.apache.catalina.connector.RequestFacade@1461c98
159+
java.servlet_context = org.jruby.rack.servlet.DefaultServletRackContext@6e61a414
160+
java.servlet_request = org.apache.catalina.connector.RequestFacade@322ba3e4
161+
java.servlet_response = org.apache.catalina.connector.ResponseFacade@35afe17b
169162
jruby.rack.dynamic.requests.only = true
170-
jruby.rack.jruby.version = 1.6.1
171-
jruby.rack.rack.release = 1.2
172-
jruby.rack.version = 1.0.9.dev
173-
rack.errors = #<JRuby::Rack::ServletLog:0x65cc892e>
174-
rack.input = #<JRuby::RackRewindableInput:0x57425f38>
163+
jruby.rack.jruby.version = 1.6.4
164+
jruby.rack.rack.release = 1.3
165+
jruby.rack.version = 1.1.0.dev-SNAPSHOT
166+
rack.errors = #<JRuby::Rack::ServletLog:0x1d1d2b8>
167+
rack.input = #<JRuby::RackInput:0x76612ef6>
175168
rack.multiprocess = false
176169
rack.multithread = true
177170
rack.request.query_hash =

0 commit comments

Comments
 (0)