RE: tomcat IIS configuration please help

2003-04-01 Thread Alberto A C A S Magalhães
**
Este email assim como os ficheiros que possa ter em anexo são confidenciais
e para uso exclusivo da pessoa ou organização para o qual foi enviado.
Se recebeu este email por engano por favor notifique [EMAIL PROTECTED]

Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
não tendo sido encontrados virus.

www.mimesweeper.com
***

Did you add entries to Registry?

-Original Message-
From: Warren Sweetman [mailto:[EMAIL PROTECTED] 
Sent: terça-feira, 1 de Abril de 2003 17:36
To: [EMAIL PROTECTED]
Subject: tomcat IIS configuration please help

can anybody assist in the configuration of the isapi_connector2.dll and =
associated files.  My configuration is as follows

W2k
Tomcat 4.1.18
IIS=20
isapi_redirector2.dll

I cant get request for jsps or servlets to be forwarded by IIS to tomcat =
for some reason.  It seems that the dll is not being loaded.

jk2.properties :

# THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
 handler.list=3Dapr,request,channelJni
#
# Override the default port for the socketChannel
 channelSocket.port=3D8019
# Default:=20
 channelUnix.file=3D${jkHome}/work/jk2.socket
# Just to check if the the config  is working
 shm.file=3D${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
 channelJni.disabled =3D 0
# And one of the following directives:

 apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
 apr.jniModeSo=3Dinprocess

woker2.properties

# Define the communication channel
[channel.socket:localhost:8009]
info=3DAjp13 forwarding over socket
tomcatId=3Dlocalhost:8009


# define the worker
[ajp13:localhost:8009]
channel=3Dchannel.socket:localhost:8009


# Uri mapping. This says that any incoming connection to any file
# under "/jetty/" should be handled the worker defined above

[uri:/*.jsp]
worker=3Dajp13:localhost:8009

[uri:/servlet/*]
worker=3Dajp13:localhost:8009


I also get the following in stdout.log

Bootstrap: Create Catalina server
Bootstrap: Starting service
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.jav=
a:224)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:369)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:777)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:751)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:339)
at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEven=
t(ServerLifecycleListener.java:206)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lif=
ecycleSupport.java:166)
at org.apache.catalina.core.StandardServer.start(StandardServer.jav=
a:2182)
at org.apache.catalina.startup.CatalinaService.start(CatalinaServic=
e.java:273)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.BootstrapService.start(BootstrapServ=
ice.java:245)
at org.apache.catalina.startup.BootstrapService.main(BootstrapServi=
ce.java:307)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Bootstrap: Service started


but everything seems ok in the catalina log

2003-04-01 16:58:04 Ajp13Connector[8009] Opening server socket on all host =
IP addresses
2003-04-01 16:58:04 Ajp13Connector[8009] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][0] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][1] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][2] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][3] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][4] Starting background thread




PLEASE HELP

kind regards,

Warren Sweetman
Principal Web Developer
Web Development
ISD
Legal Services Commission
tel. 020 77590122
ext no 2122
tag no 011370



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: tomcat IIS configuration please help

2003-04-01 Thread Warren Sweetman
Yes I have spent a few hrs checking up that I had done what I was supposed to do.   I 
have followed the small bits of instruction that I could find but no joy.  que 
chingadera.  I have connected apache to tomcat on a number of occassions without 
problem.  Its just when I get to IIS that the problems start arising 

kind regards,

Warren Sweetman
Principal Web Developer
Web Development
ISD
Legal Services Commission
tel. 020 77590122
ext no 2122
tag no 011370

>>> [EMAIL PROTECTED] 01/04/2003 17:32:23 >>>
**
Este email assim como os ficheiros que possa ter em anexo são confidenciais
e para uso exclusivo da pessoa ou organização para o qual foi enviado.
Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] 

Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
não tendo sido encontrados virus.

www.mimesweeper.com 
***

Did you add entries to Registry?

-Original Message-
From: Warren Sweetman [mailto:[EMAIL PROTECTED] 
Sent: terça-feira, 1 de Abril de 2003 17:36
To: [EMAIL PROTECTED] 
Subject: tomcat IIS configuration please help

can anybody assist in the configuration of the isapi_connector2.dll and =
associated files.  My configuration is as follows

W2k
Tomcat 4.1.18
IIS=20
isapi_redirector2.dll

I cant get request for jsps or servlets to be forwarded by IIS to tomcat =
for some reason.  It seems that the dll is not being loaded.

jk2.properties :

# THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
 handler.list=3Dapr,request,channelJni
#
# Override the default port for the socketChannel
 channelSocket.port=3D8019
# Default:=20
 channelUnix.file=3D${jkHome}/work/jk2.socket
# Just to check if the the config  is working
 shm.file=3D${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
 channelJni.disabled =3D 0
# And one of the following directives:

 apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
 apr.jniModeSo=3Dinprocess

woker2.properties

# Define the communication channel
[channel.socket:localhost:8009]
info=3DAjp13 forwarding over socket
tomcatId=3Dlocalhost:8009


# define the worker
[ajp13:localhost:8009]
channel=3Dchannel.socket:localhost:8009


# Uri mapping. This says that any incoming connection to any file
# under "/jetty/" should be handled the worker defined above

[uri:/*.jsp]
worker=3Dajp13:localhost:8009

[uri:/servlet/*]
worker=3Dajp13:localhost:8009


I also get the following in stdout.log

Bootstrap: Create Catalina server
Bootstrap: Starting service
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.jav=
a:224)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:369)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:777)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:751)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:339)
at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEven=
t(ServerLifecycleListener.java:206)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lif=
ecycleSupport.java:166)
at org.apache.catalina.core.StandardServer.start(StandardServer.jav=
a:2182)
at org.apache.catalina.startup.CatalinaService.start(CatalinaServic=
e.java:273)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.BootstrapService.start(BootstrapServ=
ice.java:245)
at org.apache.catalina.startup.BootstrapService.main(BootstrapServi=
ce.java:307)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Bootstrap: Service started


but everything seems ok in the catalina log

2003-04-01 16:58:04 Ajp13Connector[8009] Opening server socket on all host =
IP addresses
2003-04-01 16:58:04 Ajp13Connector[8009] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][0] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][1] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][2] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][3] Starting background thread
2003-04-01 16:58:04 Ajp13Processor[8009][4] Starting background thread




PLEASE HELP

kind regards,

Warren Sweetman
Principal Web Developer
Web Development
ISD
Legal Services Commission
tel. 020 77590122
ext no 2122
tag no 011370



--

RE: tomcat IIS configuration please help

2003-04-01 Thread Januski, Ken
Do you get a 200 for the isapi rediretor in the iis logs? If you get a 401,
like I did for a few days, then it can't find the page it's supposed to be
redirecting to and something's still amiss on iis side.

I asked the same questions about 2 weeks ago and got some useful responses.
Let us know what the logs say and maybe someone can tell you what to try
next.



-Original Message-
From: Warren Sweetman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 11:45 AM
To: [EMAIL PROTECTED]
Subject: RE: tomcat IIS configuration please help


Yes I have spent a few hrs checking up that I had done what I was supposed
to do.   I have followed the small bits of instruction that I could find but
no joy.  que chingadera.  I have connected apache to tomcat on a number of
occassions without problem.  Its just when I get to IIS that the problems
start arising 

kind regards,

Warren Sweetman
Principal Web Developer
Web Development
ISD
Legal Services Commission
tel. 020 77590122
ext no 2122
tag no 011370

>>> [EMAIL PROTECTED] 01/04/2003 17:32:23 >>>
**
Este email assim como os ficheiros que possa ter em anexo são confidenciais
e para uso exclusivo da pessoa ou organização para o qual foi enviado.
Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] 

Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
não tendo sido encontrados virus.

www.mimesweeper.com 
***

Did you add entries to Registry?

-Original Message-
From: Warren Sweetman [mailto:[EMAIL PROTECTED] 
Sent: terça-feira, 1 de Abril de 2003 17:36
To: [EMAIL PROTECTED] 
Subject: tomcat IIS configuration please help

can anybody assist in the configuration of the isapi_connector2.dll and =
associated files.  My configuration is as follows

W2k
Tomcat 4.1.18
IIS=20
isapi_redirector2.dll

I cant get request for jsps or servlets to be forwarded by IIS to tomcat =
for some reason.  It seems that the dll is not being loaded.

jk2.properties :

# THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
 handler.list=3Dapr,request,channelJni
#
# Override the default port for the socketChannel
 channelSocket.port=3D8019
# Default:=20
 channelUnix.file=3D${jkHome}/work/jk2.socket
# Just to check if the the config  is working
 shm.file=3D${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
 channelJni.disabled =3D 0
# And one of the following directives:

 apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
 apr.jniModeSo=3Dinprocess

woker2.properties

# Define the communication channel
[channel.socket:localhost:8009]
info=3DAjp13 forwarding over socket
tomcatId=3Dlocalhost:8009


# define the worker
[ajp13:localhost:8009]
channel=3Dchannel.socket:localhost:8009


# Uri mapping. This says that any incoming connection to any file
# under "/jetty/" should be handled the worker defined above

[uri:/*.jsp]
worker=3Dajp13:localhost:8009

[uri:/servlet/*]
worker=3Dajp13:localhost:8009


I also get the following in stdout.log

Bootstrap: Create Catalina server
Bootstrap: Starting service
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.jav=
a:224)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:369)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:777)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:751)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:339)
at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEven=
t(ServerLifecycleListener.java:206)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lif=
ecycleSupport.java:166)
at org.apache.catalina.core.StandardServer.start(StandardServer.jav=
a:2182)
at org.apache.catalina.startup.CatalinaService.start(CatalinaServic=
e.java:273)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.BootstrapService.start(BootstrapServ=
ice.java:245)
at org.apache.catalina.startup.BootstrapService.main(BootstrapServi=
ce.java:307)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
Bootstrap: Service started


but everything seems ok in the catalina log

2003-04-01 16:58:04 Ajp13Connector[8009] Opening server socket on all host =
IP addresses
2003-0

RE: tomcat IIS configuration please help

2003-04-02 Thread Warren Sweetman
No, a request for a jsp file a file download message box appears.  It it possible you 
could forward me your thread so that I may see the replies.

thank you.

kind regards,

Warren Sweetman
Principal Web Developer
Web Development
ISD
Legal Services Commission
tel. 020 77590122
ext no 2122
tag no 011370

>>> [EMAIL PROTECTED] 01/04/2003 22:21:30 >>>
Do you get a 200 for the isapi rediretor in the iis logs? If you get a 401,
like I did for a few days, then it can't find the page it's supposed to be
redirecting to and something's still amiss on iis side.

I asked the same questions about 2 weeks ago and got some useful responses.
Let us know what the logs say and maybe someone can tell you what to try
next.



-Original Message-
From: Warren Sweetman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 01, 2003 11:45 AM
To: [EMAIL PROTECTED] 
Subject: RE: tomcat IIS configuration please help


Yes I have spent a few hrs checking up that I had done what I was supposed
to do.   I have followed the small bits of instruction that I could find but
no joy.  que chingadera.  I have connected apache to tomcat on a number of
occassions without problem.  Its just when I get to IIS that the problems
start arising 

kind regards,

Warren Sweetman
Principal Web Developer
Web Development
ISD
Legal Services Commission
tel. 020 77590122
ext no 2122
tag no 011370

>>> [EMAIL PROTECTED] 01/04/2003 17:32:23 >>>
**
Este email assim como os ficheiros que possa ter em anexo são confidenciais
e para uso exclusivo da pessoa ou organização para o qual foi enviado.
Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] 

Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
não tendo sido encontrados virus.

www.mimesweeper.com 
***

Did you add entries to Registry?

-Original Message-
From: Warren Sweetman [mailto:[EMAIL PROTECTED] 
Sent: terça-feira, 1 de Abril de 2003 17:36
To: [EMAIL PROTECTED] 
Subject: tomcat IIS configuration please help

can anybody assist in the configuration of the isapi_connector2.dll and =
associated files.  My configuration is as follows

W2k
Tomcat 4.1.18
IIS=20
isapi_redirector2.dll

I cant get request for jsps or servlets to be forwarded by IIS to tomcat =
for some reason.  It seems that the dll is not being loaded.

jk2.properties :

# THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
 handler.list=3Dapr,request,channelJni
#
# Override the default port for the socketChannel
 channelSocket.port=3D8019
# Default:=20
 channelUnix.file=3D${jkHome}/work/jk2.socket
# Just to check if the the config  is working
 shm.file=3D${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
 channelJni.disabled =3D 0
# And one of the following directives:

 apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
 apr.jniModeSo=3Dinprocess

woker2.properties

# Define the communication channel
[channel.socket:localhost:8009]
info=3DAjp13 forwarding over socket
tomcatId=3Dlocalhost:8009


# define the worker
[ajp13:localhost:8009]
channel=3Dchannel.socket:localhost:8009


# Uri mapping. This says that any incoming connection to any file
# under "/jetty/" should be handled the worker defined above

[uri:/*.jsp]
worker=3Dajp13:localhost:8009

[uri:/servlet/*]
worker=3Dajp13:localhost:8009


I also get the following in stdout.log

Bootstrap: Create Catalina server
Bootstrap: Starting service
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.jav=
a:224)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:369)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:777)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:751)
at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(=
ServerLifecycleListener.java:339)
at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEven=
t(ServerLifecycleListener.java:206)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lif=
ecycleSupport.java:166)
at org.apache.catalina.core.StandardServer.start(StandardServer.jav=
a:2182)
at org.apache.catalina.startup.CatalinaService.start(CatalinaServic=
e.java:273)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.B