Hi Daniel,
Thank you so much. It's working!
My problem was around:
>>Default Web Site Properties (right click) isapi Filters: jakarta has
a green arrow.
>>Global Websites Properties: No jakarta isapi Filter!
An isapi filter was defined for global website.
It's working with both Tomcat alone and JBoss (with tomcat embedded).
Best regards.
Johann DUPUIS
Daniel Schmitt wrote:
> Hi Johann,
> You did not make a fresh install as i can see in your log file. My
> knowledge is only enough to show you a basic setup on a clean
> computer, not to treat you.
>
>> I'm using Tomcat 4 (I can reach http://localhost:8080/examples/ with
>> no error).
>
> Try a jsp e.g.
> http://localhost:8080/examples/jsp/snp/snoop.jsp
> so you can be sure the sdk is installed properly and javac is working.
>
>>>> we build an installer which automates all steps at:
>>>> http://www.shiftomat.com/opensource/
>>>
>> Whatever I've tried your installer, nice one but it still not working
>> with an error that looks like the one I have with my previous
>> installation.
>> (Before try the installation I've removed my jakarta virtual
>> directory to let the installer do its job)
>
>
> This is not enough. The installer is not brave enough to overide your
> handmade reg-entries and property files.
>
>> I'm totally lost. Especially I don't understand why
>> --- HttpFilterProc check if [/jakarta/isapi_redirector2.dll]
>> is pointing to the web-inf directory
>> although before the "mapping" was matching
>> ---- HttpFilterProc [/examples/] is a servlet url - should
>> redirect to lb:lb
>
>
> isapi_redirector2.dll should not be in your web-inf directory! The
> correct place is
> C:\Dvp\Tomcat 4.1\native\i386
> in your setup!
>
> so step by step what the installer did.
> 1.) copies the newest jk2.02 build to C:\Dvp\Tomcat 4.1\native\i386
> creates a virtual directory. Check with IIS Manager: Web Sites ->
> Default Web Site -> jakarta. isapi_redirector2.dll is the one and only
> file in this dir. vdir jakarta points to C:\Dvp\Tomcat 4.1\native\i386
> and has executables permissions.
>
> 2.)Default Web Site Properties (right click) isapi Filters: jakarta
> has a green arrow.
> Global Websites Properties: No jakarta isapi Filter!
>
> 3) Web Service Extensions -> Jakarta Isapi Redirector Properties
> (right click) C:\Dvp\Tomcat 4.1\native\i386\isapi_redirector2.dll
> C:\Dvp\Tomcat 4.1\conf\jk2.properties
> C:\Dvp\Tomcat 4.1\conf\workers2.properties
> C:\Dvp\Tomcat 4.1\temp\jk2.shm
> all 4 files allowed.
>
> Additional File Security (with file explorer not iis manager)
> C:\Dvp\Tomcat 4.1\conf\jk2.properties -> Buildin Users -> write
> permission.
> C:\Dvp\Tomcat 4.1\temp\jk2.shm -> Buildin Users -> write permission.
>
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta
> Isapi Redirector\2.0]
> > "workersFile"="C:\\Dvp\\Tomcat4.1\\conf\\workers2.properties"
> > "extensionUri"="/jakarta/isapi_redirector2.dll"
> > "logLevel"="DEBUG"
> > "serverRoot"="C:\\Dvp\\Tomcat4.1"
> > "authComplete"="0"
> > "threadPool"="20"
> > @="C:\\Dvp\\Tomcat4.1"
>
> your registry is ok, logLevel is not written by the installer, imho it
> is outdated.
>
> After installation the C:\Dvp\Tomcat 4.1\temp\jk2.shm has 0 bytes.
> the very, very first time you call
> http://localhost/examples/jsp/snp/snoop.jsp
> it took a while an the connector is building the jk2.shm file. you get
> a "page cannot displayed". After that the shm is 1 meg big and the
> connector is working.
>
>
>
>
>> ------------------------------------------------------------
>>
>> Here is the logs and configuration with Tomcat 4.1.29 (fresh install)
>> and IIS 6 on Win 2003 Server:
>> ( info ) [jk_isapi_plugin.c (612)] Set serverRoot
>> Z:\usr\jakarta-tomcat-4.1.18\jakarta-tomcat-4.1.18
>
>
> fresh install? ;-)
>
>
>> ( info ) [jk_logger_file.c (224)] Level DEBUG 0
>> ( info ) [jk_logger_file.c (184)] Initializing log file
>> C:/usr/TMS/AppServer/ApplicationServer/IIS/logs/isapi.log
>> (debug ) [jk_uriMap.c (377)] uriMap.init() Fixing Host *
>> (debug ) [jk_uriMap.c (464)] uriMap: fix uri /examples/* context
>> (null) host *
>> (debug ) [jk_uriMap.c (464)] uriMap: fix uri (null) context (null)
>> host *
>> (debug ) [jk_uriMap.c (464)] uriMap: fix uri / context / host *
>> ( info ) [jk_workerEnv.c (403)] workerEnv.init() ok
>> C:\Dvp\Tomcat4.1\conf\workers2.properties
>> ( info ) [jk_isapi_plugin.c (612)] Set serverRoot C:\Dvp\Tomcat4.1
>> (debug ) [jk_isapi_plugin.c (616)] Using registry.
>> (debug ) [jk_isapi_plugin.c (618)] Using extension uri
>> /jakarta/isapi_redirector2.dll.
>> (debug ) [jk_isapi_plugin.c (619)] Using server root C:\Dvp\Tomcat4.1.
>> (debug ) [jk_isapi_plugin.c (620)] Using worker file
>> C:\Dvp\Tomcat4.1\conf\workers2.properties.
>> (debug ) [jk_isapi_plugin.c (288)] HttpFilterProc started
>> (debug ) [jk_isapi_plugin.c (346)] In HttpFilterProc Virtual Host
>> redirection of localhost : 80
>> (debug ) [jk_isapi_plugin.c (355)] HttpFilterProc [/examples/] is a
>> servlet url - should redirect to lb:lb
>> (debug ) [jk_isapi_plugin.c (421)] HttpFilterProc check if
>> [/examples/] is pointing to the web-inf directory
>> (debug ) [jk_isapi_plugin.c (288)] HttpFilterProc started
>
>
> seems to be ok
>
>> (debug ) [jk_isapi_plugin.c (346)] In HttpFilterProc Virtual Host
>> redirection of localhost : 80
>> (debug ) [jk_isapi_plugin.c (412)] HttpFilterProc
>> [/jakarta/isapi_redirector2.dll] is not a servlet url
>> (debug ) [jk_isapi_plugin.c (421)] HttpFilterProc check if
>> [/jakarta/isapi_redirector2.dll] is pointing to the web-inf directory
>> (debug ) [jk_isapi_plugin.c (288)] HttpFilterProc started
>> (debug ) [jk_isapi_plugin.c (346)] In HttpFilterProc Virtual Host
>> redirection of localhost : 80
>> (debug ) [jk_isapi_plugin.c (412)] HttpFilterProc
>> [/jakarta/isapi_redirector2.dll] is not a servlet url
>> (debug ) [jk_isapi_plugin.c (421)] HttpFilterProc check if
>> [/jakarta/isapi_redirector2.dll] is pointing to the web-inf directory
>
> This should not be.
>
>
>>
>> Daniel Schmitt wrote:
>>
>>> Hi Spam,
>>> Haven't read your log in detail.
>>> two points:
>>> filename of the jk2 redirector is isapi_redirector2.dll, so
>>> isapi_redirector.dll will never be found,
>>>
>>> example directorys of Tomcat5 are servlets-examples and
>>> jsp-examples, so an examples directory will never be mapped.
>>>
>>> we build an installer which automates all steps at:
>>> http://www.shiftomat.com/opensource/
>>>
>>> hope this helps
>>>
>>> --
>>> Daniel Schmitt
>>> http://www.shiftomat.com
>>
>>
>>
>>
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)