Well finally found the section in the dev guide discussing how all requests
are sent to JRun and then non servlet and jsp ones are quickly sent back
to the webserver. So now I realize in JRun 3.0 we can no longer serve any
page without it being running, so that this is another area it differs
from 2.3 that I did not realize :-(
Roger Hanke
> -----Original Message-----
> From: Hanke, Roger A, ALSVC
> Sent: Thursday, August 03, 2000 12:02 PM
> To: JRun List (E-mail)
> Cc: Hanke, Roger A, ALSVC
> Subject: JRun 3.0 serving *.html *.gif files etc.
>
>
> Dear All,
> We have been struggling to figure out why all requests,
> not just *.jsp, and /servlet ones seem to be going to JRun 3.0.
> Below is an excerpt from the apache error log with verbose
> set to true showing how JRun handled a request for a html page.
> Next we take down JRun but not Apache and try to reload the page.
> Instead of a 200 successful page displayed
> I get a 503 error page with the following message on it:
> Could not connect to JRun Server
> This same behavior applies to other non servlet and non jsp
> website files like images as well.
>
> The rules section is also shown below from the default servers
> local.properties file that Apache conf is pointing to in
> the JRun mappings directive. These are just the default 3.0
> rules, and seemed the same as we were using with JRun 2.3
> basically. Except with JRun 2.3 we would only get passed thru
> to JRun for servlets or jsp pages, not every single web page.
> So is this really expected behavior that JRun 3.0 serves up
> all website files, or is the default configuration we are
> using missing something?
>
> And just in case the /demo and / mappings are the issue shown
> in the error file below. We dont need the demoapp running.
> We actually would like to know what is the minimum set that
> needs to be started to just serve jsp/servlets by JRun.
> No ejb, jdbc, jndi, jms, etc features are being used by us.
> And we are running on Solaris 2.6.
> Thanks,
> Roger Hanke
>
> -- rules section from servers default local.properties
> webapp.servlet-mapping./servlet={default}
> webapp.servlet-mapping.*.jrun={default}
> webapp.servlet-mapping.*.shtml={default}
> webapp.servlet-mapping.*.jsp={default}
> webapp.servlet-mapping.*.thtml={default}
>
> -- apache error log with verbose = true on
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] refreshing mappings for
> 127.0.0.1:8085
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] 127.0.0.1:8085 fetching
> servlet-mappings
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] PROXY_PUT_PROPS <- [7]
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] /demo = demo-app^M
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] / = default-app^M
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] 127.0.0.1:8085 returned
> [7] to pool
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] installing new mappings
> for 127.0.0.1:8085
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] HOST:
> sas-source.etsdev.lz.att.com:447
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] filtering
> /att/prot/admin/index.html (/att/prot/admin/index.html)
> HOST=sas-source.etsdev.lz.att.com:447
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] matched
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] enter jrun_service
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] jrun_service found
> jrun-proxy-target 127.0.0.1:8085
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] 127.0.0.1:8085
> handleJrppRequest()
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] PROXY_SERVICE_30 -> [7]
> [Thu Aug 3 14:23:50 2000] [notice] jrApache[1213] QUERY_STRING:
>
>
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.