tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Eastham" <a...@barllama.demon.co.uk>
Subject RE: Problem with IIS tomcat 4.1 jk2 connector
Date Wed, 12 Nov 2003 09:50:34 GMT
Stéphane,

Your English is perfect - no need to apologise.

I've looked at my config (which is for 4.0.18 with jk2) and the only obvious
difference is that I don't have a leading "/" in my context path,

So try:
       <Context path="java" docBase="" debug="0" privileged="true"
reloadable="true"/>
rather than:
       <Context path="/java" docBase="" debug="0" privileged="true"
reloadable="true"/>

Hope this is the solution,

Best regards,

Andy
> -----Original Message-----
> From: Stéphane Brogi [mailto:sbrogi@object-ive.com]
> Sent: 12 November 2003 09:35
> To: tomcat-user@jakarta.apache.org
> Subject: Problem with IIS tomcat 4.1 jk2 connector
>
>
> Hi
>
> First sorry for my english.
>
> We have a web server with tomcat 4.1.12 running with JK2 connector
> (isapi2_redirector.dll).
> The configuration works fine except for one link redirection
> calling a jsp.
> This problem appears only when using the jk2 connector because if
> we use the
> port 8080 with the tomcat standalone web server we have not this problem.
>
>
> The page is not reachable when we use the jk2 connector here is
> the log from
> from the connector.
>
> ------------------------------------------------------------------
> ----------
> ----------------------------------------------
> 2003-11-10 12:42:13 StandardContext[/java]: Mapping
> contextPath='/java' with
> requestURI='/java/jsp/oveExport.jsp' and relativeURI='/jsp/oveExport.jsp'
> 2003-11-10 12:42:13 StandardContext[/java]:  Mapped to servlet 'jsp' with
> servlet path '/jsp/oveExport.jsp' and path info 'null' and update=true
>
> Why we have the path info 'null'
>
>
> Here is the host we are using in server.xml
>
> <Host name="www.adesa-cfa-sacef.asso.fr" debug="0" appBase="f:\Site
> Internet\adesa\java\web" unpackWARs="false">
>       <Logger className="org.apache.catalina.logger.FileLogger"
> directory="logs" prefix="adesa" suffix=".log" 	timestamp="true" />
>       <Context path="/java" docBase="" debug="0" privileged="true"
> reloadable="true"/>
> </Host>
>
> ------------------------------------------------------------------
> ----------
> ----------------------------------------------
> The workers2.properties
>
> [logger.file:0]
> level=info
> file=C:\J2EE\jakarta-tomcat-4.1.12\logs\iis_jk2.log
>
> #define the shared memory file
> [shm]
> file=C:\J2EE\jakarta-tomcat-4.1.12\logs\jk2.shm
>
> # Define the communication channel
> [channel.socket:localhost:8009]
> tomcatId=localhost:8009
>
> [ajp13:localhost:8009]
> channel=channel.socket:localhost:8009
>
> [uri:/java/*]
> worker=ajp13:localhost:8009
>
> ------------------------------------------------------------------
> ----------
> -----------------------------------
> The only line in jk2.properties is:
>
> shm.file=C:\J2EE\jakarta-tomcat-4.1.12\logs\jk2.shm
>
> ------------------------------------------------------------------
> ----------
> -----------------------------------
> The jsp file is in the directory  f:\Site
> Internet\adesa\java\web\jsp so the
> root for our app is web.
>
> And as i say before, the problem does not appear when we use directly the
> tomcat web server org.apache.coyote.tomcat4.CoyoteConnector on a
> standalone
> port (here is 8080).
>
> Thank you.
> Regards.
>
>
> Object'ive - Stéphane Brogi
>
> Tel 01-40-09-72-83
> Fax 01 40 09 71 23
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message