You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hertenstein Alain <al...@gva.eri.ch> on 2003/06/25 17:38:01 UTC
RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Hi again,
Just replaced my workers2.properties file with yours (and changing the path
to the shm file according to my Tomcat 4 installation): exactly the same
problem...
Besides, I double-checked the W2K Event log entries and couldn't find that
entry (or similar) you mentioned :
"Error: [jk_shm.c (333)]: shm.init(): No file"
I really don't know what to do. Why is this such a pain to simply connect
IIS and Tomcat, even when following the instructions ?
Thanks again for your help...
Alain
-----Message d'origine-----
De : David Legg [mailto:David.Legg@3Dlabs.com]
Envoyé : mercredi, 25. juin 2003 16:59
À : 'Tomcat Users List'
Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Aha! I thought so :-)
Here's my workers2.properties file: -
<--------------------
#
# workers2.properties
#
[shm]
file=C:\tomcat4\logs\shm.file
size=1048576
[channel.socket:127.0.0.1:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*] info=Map the whole webapp
------------------>
The [shm] entry seems to be some sort of shared memory area and I've seen
references to something called the 'scoreboard' in conjunction with it.
Anyway, the bottom line is you need this entry for JK2 to work on IIS. If
you look in your W2k Event log you'll probably also notice a tell-tale
Tomcat application error similar to this: -
Error: [jk_shm.c (333)]: shm.init(): No file
Hope this helps.
Regards,
David Legg
Webmaster - 3Dlabs
http://www.3dlabs.com
mailto:david.legg@3dlabs.com
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Posted by John Turner <to...@johnturner.com>.
Its a pain because:
- the pool of people who understand the connectors from a development
aspect is small
- the pool of people who understand the connectors and have time to submit
code is smaller still
- the pool of people who understand the connectors, can submit code, and
understand ISAPI is smaller still
- the pool of people who understand the connectors, can submit code,
understand ISAPI, and can build/test actual ISAPI filters using commercial
Microsoft development environments instead of free open source environments
is smaller still
- the pool of people who can do all of the above as well as create and
submit good documentation are just about nonexistent
John
On Wed, 25 Jun 2003 17:38:01 +0200, Hertenstein Alain
<al...@gva.eri.ch> wrote:
> Hi again,
>
> Just replaced my workers2.properties file with yours (and changing the
> path
> to the shm file according to my Tomcat 4 installation): exactly the same
> problem...
>
> Besides, I double-checked the W2K Event log entries and couldn't find
> that
> entry (or similar) you mentioned :
> "Error: [jk_shm.c (333)]: shm.init(): No file"
>
> I really don't know what to do. Why is this such a pain to simply connect
> IIS and Tomcat, even when following the instructions ?
>
> Thanks again for your help...
> Alain
>
> -----Message d'origine-----
> De : David Legg [mailto:David.Legg@3Dlabs.com] Envoyé : mercredi, 25.
> juin 2003 16:59
> À : 'Tomcat Users List'
> Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
>
>
> Aha! I thought so :-)
>
> Here's my workers2.properties file: -
>
> <--------------------
> #
> # workers2.properties
> #
> [shm]
> file=C:\tomcat4\logs\shm.file
> size=1048576
>
> [channel.socket:127.0.0.1:8009]
> info=Ajp13 forwarding over socket
> tomcatId=localhost:8009
>
> # Map the Tomcat examples webapp to the Web server uri space
> [uri:/examples/*] info=Map the whole webapp
> ------------------>
>
> The [shm] entry seems to be some sort of shared memory area and I've seen
> references to something called the 'scoreboard' in conjunction with it.
> Anyway, the bottom line is you need this entry for JK2 to work on IIS.
> If
> you look in your W2k Event log you'll probably also notice a tell-tale
> Tomcat application error similar to this: -
>
> Error: [jk_shm.c (333)]: shm.init(): No file
>
> Hope this helps.
>
> Regards,
>
> David Legg
> Webmaster - 3Dlabs
> http://www.3dlabs.com
> mailto:david.legg@3dlabs.com
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Posted by Dominic Parry <do...@rucus.ru.ac.za>.
Did you restart Tomcat? And reboot your machine?
----- Original Message -----
From: Hertenstein Alain
To: 'Tomcat Users List'
Sent: Wednesday, June 25, 2003 5:38 PM
Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Hi again,
Just replaced my workers2.properties file with yours (and changing the path
to the shm file according to my Tomcat 4 installation): exactly the same
problem...
Besides, I double-checked the W2K Event log entries and couldn't find that
entry (or similar) you mentioned :
"Error: [jk_shm.c (333)]: shm.init(): No file"
I really don't know what to do. Why is this such a pain to simply connect
IIS and Tomcat, even when following the instructions ?
Thanks again for your help...
Alain
-----Message d'origine-----
De : David Legg [mailto:David.Legg@3Dlabs.com]
Envoyé : mercredi, 25. juin 2003 16:59
À : 'Tomcat Users List'
Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Aha! I thought so :-)
Here's my workers2.properties file: -
<--------------------
#
# workers2.properties
#
[shm]
file=C:\tomcat4\logs\shm.file
size=1048576
[channel.socket:127.0.0.1:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*] info=Map the whole webapp
------------------>
The [shm] entry seems to be some sort of shared memory area and I've seen
references to something called the 'scoreboard' in conjunction with it.
Anyway, the bottom line is you need this entry for JK2 to work on IIS. If
you look in your W2k Event log you'll probably also notice a tell-tale
Tomcat application error similar to this: -
Error: [jk_shm.c (333)]: shm.init(): No file
Hope this helps.
Regards,
David Legg
Webmaster - 3Dlabs
http://www.3dlabs.com
mailto:david.legg@3dlabs.com
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
Posted by Jason Bainbridge <ja...@jblinux.org>.
Can you try a netstat -a and see if your machine is listening on port 8009? It
could be the relevant section in CATALINA_HOME\conf\server.xml is commented
out.
You shouldn't have to reboot after changing a properties file it is only
environment variables that can be stubborn and require a reboot.
Regards,
--
Jason Bainbridge
http://jblinux.org
On Wed, 25 Jun 2003 23:38, Hertenstein Alain wrote:
> Hi again,
>
> Just replaced my workers2.properties file with yours (and changing the path
> to the shm file according to my Tomcat 4 installation): exactly the same
> problem...
>
> Besides, I double-checked the W2K Event log entries and couldn't find that
> entry (or similar) you mentioned :
> "Error: [jk_shm.c (333)]: shm.init(): No file"
>
> I really don't know what to do. Why is this such a pain to simply connect
> IIS and Tomcat, even when following the instructions ?
>
> Thanks again for your help...
> Alain
>
> -----Message d'origine-----
> De : David Legg [mailto:David.Legg@3Dlabs.com]
> Envoyé : mercredi, 25. juin 2003 16:59
> À : 'Tomcat Users List'
> Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem
>
>
> Aha! I thought so :-)
>
> Here's my workers2.properties file: -
>
> <--------------------
> #
> # workers2.properties
> #
> [shm]
> file=C:\tomcat4\logs\shm.file--
Jason Bainbridge
http://jblinux.org
> size=1048576
>
> [channel.socket:127.0.0.1:8009]
> info=Ajp13 forwarding over socket
> tomcatId=localhost:8009
>
> # Map the Tomcat examples webapp to the Web server uri space
> [uri:/examples/*] info=Map the whole webapp
> ------------------>
>
> The [shm] entry seems to be some sort of shared memory area and I've seen
> references to something called the 'scoreboard' in conjunction with it.
> Anyway, the bottom line is you need this entry for JK2 to work on IIS. If
> you look in your W2k Event log you'll probably also notice a tell-tale
> Tomcat application error similar to this: -
>
> Error: [jk_shm.c (333)]: shm.init(): No file
>
> Hope this helps.
>
> Regards,
>
> David Legg
> Webmaster - 3Dlabs
> http://www.3dlabs.com
> mailto:david.legg@3dlabs.com
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> 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