Okay, according to the Advanced Guide I have to install JRun
on the IIS server and then use the wizard.
I would like to avoid installing JRun on the IIS.
I have made a manual install by simply copying
the relevant jrun.dll and jrun.ini to the Scripts
directory of a site on IIS. And everything works fine
IF AND ONLY IF I use App Mappings from eg. *.jsp to the jrun.dll.
If I instead add the jrun.dll as an ISAPI filter (not global) then I get
into trouble. If I try to access a page which is mapped under the default
server in JRun to /xsp/Language.jsp then I get the following error in the
browser when I try to access it through IIS as http://www.iis.dk/xsp/Language.jsp:
404 Not Found
/scripts/jrun.dll/xsp/Language.jsp:
allaire.jrun.JRunServletException: The page /scripts/jrun.dll/xsp/Language.jsp
could not be found.
The log file (verbose) is shown below.
Can anyone explain where this mapping comes from and how to make it correct
?
/mbm
21:02:02 jrISAPI[filter] In filter: notification = 0x00004000
21:02:02 jrISAPI[filter] JRun Filter got url: '/scripts/jrun.dll/xsp/Language.jsp'
21:02:02 jrISAPI[filter] refreshing mappings for 172.16.0.10:8200
21:02:02 jrISAPI[filter] 172.16.0.10:8200 fetching servlet-mappings
21:02:02 jrISAPI[filter] PROXY_PUT_PROPS <- [672]
21:02:02 jrISAPI[filter] /servlet = default-app
21:02:02 jrISAPI[filter] /xsp = XSP Demo
21:02:02 jrISAPI[filter] *.shtml = default-app
21:02:02 jrISAPI[filter] *.thtml = default-app
21:02:02 jrISAPI[filter] *.jrun = default-app
21:02:02 jrISAPI[filter] *.jsp = default-app
21:02:02 jrISAPI[filter] 172.16.0.10:8200 returned [672] to pool
21:02:02 jrISAPI[filter] installing new mappings for 172.16.0.10:8200
21:02:02 jrISAPI[filter] HTTP_HOST: www.iis.dk
21:02:02 jrISAPI[filter] filtering /scripts/jrun.dll/xsp/Language.jsp
(/scripts/jrun.dll/xsp/Language.jsp)
HOST=www.iis.dk
21:02:02 jrISAPI[filter] matched *.jsp
21:02:02 jrISAPI[filter] JRun Filter mapped url to:
'/scripts/jrun.dll/scripts/jrun.dll/xsp/Language.jsp'.
21:02:02 jrISAPI[init] JRun GetExtensionVersion called
21:02:02 jrISAPI[8504] In HttpExtensionProc
21:02:02 jrISAPI[8504] ALL_HTTP: HTTP_ACCEPT:image/gif, image/x-xbitmap,
image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_LANGUAGE:da
HTTP_CONNECTION:keep-alive
HTTP_HOST:www.iis.dk
HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)
HTTP_VIA:HTTP/1.0 Novell Border Manager, 1.0 proxy.alco.dk:8080 (Squid/2.3.STABLE1)
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_X_FORWARDED_FOR:194.239.237.190
HTTP_CACHE_CONTROL:max-age=300
21:02:02 jrISAPI[8504] HTTP_HOST: www.iis.dk
21:02:02 jrISAPI[8504] filtering /scripts/jrun.dll/xsp/Language.jsp
(/scripts/jrun.dll/xsp/Language.jsp)
HOST=www.iis.dk
21:02:02 jrISAPI[8504] matched *.jsp
21:02:02 jrISAPI[8504] 172.16.0.10:8200 handleJrppRequest()
21:02:02 jrISAPI[8504] PROXY_SERVICE_30 -> [672]
21:02:02 jrISAPI[8504] QUERY_STRING: (special)
21:02:02 jrISAPI[8504] REQUEST_METHOD: GET (special)
21:02:02 jrISAPI[8504] SCRIPT_NAME: /scripts/jrun.dll
21:02:02 jrISAPI[8504] PATH_INFO: /scripts/jrun.dll/xsp/Language.jsp (special)
21:02:02 jrISAPI[8504] REMOTE_HOST: 194.239.237.4
21:02:02 jrISAPI[8504] REMOTE_ADDR: 194.239.237.4
21:02:02 jrISAPI[8504] SERVER_NAME: www.iis.dk
21:02:02 jrISAPI[8504] SERVER_PORT: 80
21:02:02 jrISAPI[8504] SERVER_PROTOCOL: HTTP/1.0
21:02:02 jrISAPI[8504] PATH_TRANSLATED:
C:\IIS\TDCDemo\Scripts\jrun.dll\xsp\Language.jsp
(special)
21:02:02 jrISAPI[8504] SERVER_PORT_SECURE: 0
21:02:02 jrISAPI[8504] REMOTE_USER:
21:02:02 jrISAPI[8504] AUTH_TYPE:
21:02:02 jrISAPI[8504] HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, */*
21:02:02 jrISAPI[8504] HTTP_ACCEPT_LANGUAGE: da
21:02:02 jrISAPI[8504] HTTP_CONNECTION: keep-alive
21:02:02 jrISAPI[8504] HTTP_HOST: www.iis.dk
21:02:02 jrISAPI[8504] HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE
5.0; Windows NT; DigExt)
21:02:02 jrISAPI[8504] HTTP_VIA: HTTP/1.0 Novell Border Manager, 1.0
proxy.alco.dk:8080
(Squid/2.3.STABLE1)
21:02:02 jrISAPI[8504] HTTP_ACCEPT_ENCODING: gzip, deflate
21:02:02 jrISAPI[8504] HTTP_X_FORWARDED_FOR: 194.239.237.190
21:02:02 jrISAPI[8504] HTTP_CACHE_CONTROL: max-age=300
21:02:02 jrISAPI[8504] PROXY_GET_REALPATH <- [672]
21:02:02 jrISAPI[8504] getRealPath(/scripts) = C:\IIS\TDCDemo\Scripts
21:02:02 jrISAPI[8504] PROXY_GET_REALPATH <- [672]
21:02:02 jrISAPI[8504] getRealPath(/scripts) = C:\IIS\TDCDemo\Scripts
21:02:02 jrISAPI[8504] PROXY_PUT_STATUS <- [672]
21:02:02 jrISAPI[8504] 404 Not Found
21:02:02 jrISAPI[8504] PROXY_PUT_HEADER_VALUE <- [672]
21:02:02 jrISAPI[8504] (noted keep-alive) Connection: Keep-alive
21:02:02 jrISAPI[8504] PROXY_PUT_HEADER_VALUE <- [672]
21:02:02 jrISAPI[8504] (noted) Content-Type: text/html
21:02:02 jrISAPI[8504] PROXY_PUT_HEADER_VALUE <- [672]
21:02:02 jrISAPI[8504] (noted) Content-Length: 1072
21:02:02 jrISAPI[8504] PROXY_PUT_CLIENT <- [672]
21:02:02 jrISAPI[8504] writeClient: sending 1072 bytes
21:02:02 jrISAPI[8504] PROXY_FINISH <- [672]
21:02:02 jrISAPI[8504] writeClient: sending 0 bytes
21:02:02 jrISAPI[8504] 172.16.0.10:8200 returned [672] to pool
21:02:02 jrISAPI[filter] In filter: notification = 0x00000200
21:02:02 jrISAPI[filter] Log notify
-----Original Message-----
From: Matthew Horn [mailto:[EMAIL PROTECTED]]
Sent: 22. oktober 2000 17:37
To: JRun-Talk
Subject: RE: JRun <-> IIS Manual configuration
Morten, check out the JRun Advanced Configuration Guide. I believe it
addresses both of these issues. You can find it at the bottom of the JRun
Documentation Page...
http://www.allaire.com/developer/documentation/JRun.cfm
Hope this helps!
>>-----Original Message-----
>>From: Morten Bach M�ller [mailto:[EMAIL PROTECTED]]
>>Sent: Saturday, October 21, 2000 7:42 AM
>>To: JRun-Talk
>>Subject: JRun <-> IIS Manual configuration
>>
>>
>>Hi,
>>
>>1) Is there a document describing how to manually configure
>>IIS 4.0 to use
>>JRun 3.0 as JSP server. My JRun server and IIS are not on
>>the same server,
>>so wizard stuff cannot be used.
>>
>>2) I have two sites on my IIS 4.0 server. One must use a
>>JRun 2.3.3 server
>>and another a JRun 3.0 server. Is there a problem using two
>>JRun DLL's on
>>one IIS server ?
>>
>>/Morten
>>------------------------------------------------------------
>>------------------
>>Archives: http://www.egroups.com/group/jrun-interest/
>>Unsubscribe:
>>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=li
sts/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
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.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.