RE: Tomcat + IIS 6.0

2003-10-19 Thread Grant C. Peters


Grant C. Peters
mailto:[EMAIL PROTECTED] 
http://www.gcpeters.com
(646) 685-6932


-Original Message-
From: Matthew Hall-Smith [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 18, 2003 07:46 p
To: Tomcat Users List
Subject: RE: Tomcat + IIS 6.0

Yes it does work, however you will need to register
jakarta_redirector2.dll with IIS 6.0 to prevent the lock down.

Cheers,

Matt

 -Original Message-
 From: Hart, Justin [mailto:[EMAIL PROTECTED]
 Sent: Saturday, 18 October 2003 7:17 a.m.
 To: Tomcat Users List (E-mail)
 Subject: Tomcat + IIS 6.0


 Hey,
   What's the story on Tomcat + IIS 6.0 and AJP connectors?
 Does this scenario work or not?  I've seen scattered throughout
 the net where noone can get this to work.  Can somebody just tell
 me yes or no, this does or does not work?

 Justin W. Hart


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



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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 08-04-2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / Virus Database: 304 - Release Date: 08-04-2003
 


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



RE: Tomcat + IIS 6.0

2003-10-18 Thread Matthew Hall-Smith
Yes it does work, however you will need to register
jakarta_redirector2.dll with IIS 6.0 to prevent the lock down.

Cheers,

Matt

 -Original Message-
 From: Hart, Justin [mailto:[EMAIL PROTECTED]
 Sent: Saturday, 18 October 2003 7:17 a.m.
 To: Tomcat Users List (E-mail)
 Subject: Tomcat + IIS 6.0


 Hey,
   What's the story on Tomcat + IIS 6.0 and AJP connectors?
 Does this scenario work or not?  I've seen scattered throughout
 the net where noone can get this to work.  Can somebody just tell
 me yes or no, this does or does not work?

 Justin W. Hart


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



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



Re: Tomcat IIS How to

2003-08-29 Thread Mark Eggers
If you do not have a full-fledge webapp (with a
WEB-INF/web.xml), you will have to add the context to
Tomcat's server.xml

Here's an example that I use to just noodle around
with jsp files:

Context  
  className=org.apache.catalina.core.StandardContext
  crossContext=true reloadable=true
  mapperClass=
org.apache.catalina.core.StandardContextMapper
  useNaming=true debug=0 swallowOutput=false
  privileged=false
  wrapperClass=
org.apache.catalina.core.StandardWrapper
  docBase=beg-jsp cookies=true path=/beg-jsp
  cachingAllowed=true
  charsetMapperClass=
org.apache.catalina.util.CharsetMapper
  Logger
className=
  org.apache.catalina.logger.FileLogger
  debug=0 verbosity=1
  prefix=localhost_beg-jsp_log.
  directory=logs timestamp=true
suffix=.txt/
/Context

This is based on the example in server.xml.  However,
if you want to use taglibs you'll need to go the
entire route with a proper WEB-INF, lib, and
WEB-INF/web.xml.

In the long run, it's probably best to do this, since
any web application you deploy should have the
standard  web application deployment descriptor.

Take a look at
%TOMCAT_HOME%\webapps\tomcat-docs\appdev  and the
subdirectories for a simple example.

HTH

/mde/
just my two cents . . . . 

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Re: TOMCAT IIS and html

2003-06-09 Thread Dan Tran
It will serve every thing ( all files) within your app context not just jsp
and servlet

-Dan

-
- Original Message - 
From: Dominic Parry [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 12:10 AM
Subject: TOMCAT IIS and html


Hi

Can I safely assume that When tomcat is configured with IIS that IIS will
always serv anything but JSP's and Servlets? Even when HTML files etc lie
within Tomcat contexts?

Thanks

Dom

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



Re: TOMCAT IIS and html

2003-06-09 Thread Dominic Parry
Tomcat will or IIS will?

Thanks

Dom
  - Original Message - 
  From: Dan Tran 
  To: Tomcat Users List 
  Sent: Monday, June 09, 2003 9:53 AM
  Subject: Re: TOMCAT IIS and html


  It will serve every thing ( all files) within your app context not just jsp
  and servlet

  -Dan

  -
  - Original Message - 
  From: Dominic Parry [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Monday, June 09, 2003 12:10 AM
  Subject: TOMCAT IIS and html


  Hi

  Can I safely assume that When tomcat is configured with IIS that IIS will
  always serv anything but JSP's and Servlets? Even when HTML files etc lie
  within Tomcat contexts?

  Thanks

  Dom

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



Re: TOMCAT IIS and html

2003-06-09 Thread Dan Tran
TOMCAT, IIS just do the forwarding

_D
- Original Message - 
From: Dominic Parry [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 12:59 AM
Subject: Re: TOMCAT IIS and html


Tomcat will or IIS will?

Thanks

Dom
  - Original Message - 
  From: Dan Tran
  To: Tomcat Users List
  Sent: Monday, June 09, 2003 9:53 AM
  Subject: Re: TOMCAT IIS and html


  It will serve every thing ( all files) within your app context not just
jsp
  and servlet

  -Dan

  -
  - Original Message - 
  From: Dominic Parry [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Monday, June 09, 2003 12:10 AM
  Subject: TOMCAT IIS and html


  Hi

  Can I safely assume that When tomcat is configured with IIS that IIS will
  always serv anything but JSP's and Servlets? Even when HTML files etc lie
  within Tomcat contexts?

  Thanks

  Dom

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


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



RE: TOMCAT IIS and html

2003-06-09 Thread David Legg
Hi Dom,

It depends how you have configured your connector.

If you have set up your workers.properties or workers2.properties file to
forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file
requests and all the HTML or GIF etc requests will be handled by IIS.

If however you put /examples/* in the file then IIS will forward all and
every request on to Tomcat for processing and IIS won't handle anything in
that directory.


David Legg


-Original Message-
From: Dominic Parry [mailto:[EMAIL PROTECTED]
Sent: 09 June 2003 08:11
To: Tomcat Users List
Subject: TOMCAT IIS and html


Hi

Can I safely assume that When tomcat is configured with IIS that IIS will
always serv anything but JSP's and Servlets? Even when HTML files etc lie
within Tomcat contexts?

Thanks

Dom

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



Re: TOMCAT IIS and html

2003-06-09 Thread Dominic Parry
Thanks David

Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc.

Dom

- Original Message - 
From: David Legg [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 11:30 AM
Subject: RE: TOMCAT IIS and html


 Hi Dom,

 It depends how you have configured your connector.

 If you have set up your workers.properties or workers2.properties file to
 forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file
 requests and all the HTML or GIF etc requests will be handled by IIS.

 If however you put /examples/* in the file then IIS will forward all and
 every request on to Tomcat for processing and IIS won't handle anything in
 that directory.


 David Legg


 -Original Message-
 From: Dominic Parry [mailto:[EMAIL PROTECTED]
 Sent: 09 June 2003 08:11
 To: Tomcat Users List
 Subject: TOMCAT IIS and html


 Hi

 Can I safely assume that When tomcat is configured with IIS that IIS will
 always serv anything but JSP's and Servlets? Even when HTML files etc lie
 within Tomcat contexts?

 Thanks

 Dom

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






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



RE: TOMCAT IIS and html

2003-06-09 Thread David Legg
 Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc.

As far as I know there is no way to selectively exclude file extensions.
All you can do is selectively include which file types should be passed on
to Tomcat.

Usually that is not a problem because you either want IIS to handle
everything except JSP files for speed reasons or you want Tomcat to handle
ALL files because that context is part of a secure realm.


David Legg

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



Re: TOMCAT IIS and html

2003-06-09 Thread John Turner
You don't exclude, you include.

Only send Tomcat the extensions you want it to handle.  The rest will not 
be sent to Tomcat.

Typically, that means *.jsp, and servlets, which are typically in their 
own folder, so /servlet/* or whatever you call it.

John

On Mon, 9 Jun 2003 11:46:07 +0200, Dominic Parry [EMAIL PROTECTED] 
wrote:

Thanks David

Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc.

Dom

- Original Message - From: David Legg [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, June 09, 2003 11:30 AM
Subject: RE: TOMCAT IIS and html

Hi Dom,

It depends how you have configured your connector.

If you have set up your workers.properties or workers2.properties file 
to
forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file
requests and all the HTML or GIF etc requests will be handled by IIS.

If however you put /examples/* in the file then IIS will forward all and
every request on to Tomcat for processing and IIS won't handle anything 
in
that directory.

David Legg

-Original Message-
From: Dominic Parry [mailto:[EMAIL PROTECTED]
Sent: 09 June 2003 08:11
To: Tomcat Users List
Subject: TOMCAT IIS and html
Hi

Can I safely assume that When tomcat is configured with IIS that IIS 
will
always serv anything but JSP's and Servlets? Even when HTML files etc 
lie
within Tomcat contexts?

Thanks

Dom

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





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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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.BootstrapService.start(BootstrapServ=
ice.java:245

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-04-01 16:58:04 Ajp13Connector[8009] Starting background

RE: Tomcat/IIS losing request parameters

2002-12-16 Thread Tim Moore
Try this:

http://localhost/mydir/test%20with%20spaces.jsp?one=1two=2

Literal spaces are not legal in URLs (as Cees pointed out) but they can
be encoded as %20 and that should be decoded correctly by Tomcat.

-- 
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863


 -Original Message-
 From: Ian Pilborough [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, December 13, 2002 6:29 AM
 To: 'Tomcat Users List'
 Subject: Tomcat/IIS losing request parameters
 
 
 Hi,
 
 I have problem with IIS and Tomcat losing request parameters.
 
 I have a set-up with IIS 5.0 and Tomcat 4.0.6 on Windows 2002 
 Advanced Server and JDK 1.3.1_01 and for sometime this has 
 worked fine, but I have just noticed that request parameters 
 are lost when there are spaces in the filenames of a JSP being served.
 
 With this code to loop through request.getParameters() on two 
 pages I get two different outputs from the same request parameters.
 
 %
 
 int i =0;
 for (Enumeration e = request.getParameterNames() ; 
 e.hasMoreElements() ;) {%
  %=++i% = %=e.nextElement()%BR
 %}
  
 %
 
 For
 
 http://localhost/mydir/testwithoutspaces.jsp?one=1two=2
 
 I get:
 
 1 = one
 2 = two
 
 For 
 
http://localhost/mydir/test with spaces.jsp?one=1two=2

I get nothing returned.

If I hit the pages via port 8080 I get the correct response (i.e. from
testwithoutspaces.jsp above) from both pages. I can't see what is
happening here and wondered if this is a known feature when using
filenames that contain spaces between words.

I've looked for similar problems with lost request parameters and all I
have found is that IE sending URLs in UTF-8 can cause a problem with
certain versions of Tomcat. None of the problems I reviewed mentioned
IIS and Tomcat in conjunction though. If tomcat handles the URLs fine as
standalone on port 8080 the only difference is with requests being
passed through to Tomcat from IIS via the AJP connector.

I've got two further problems, in that I didn't configure the original
system and that the system is in a co-location centre that I don't have
much access to. I'm currently setting up a test environment with IIS,
but that's not working at present, the original test environment didn't
use IIS and so I'm fighting to get a test set-up ready to work on this.
(The joys of picking up other's pieces eh?)

Finally, it is not possible to create the filenames without spaces in
them due to the software that produces each JSP (it's a long story, but
not relevant to this discussion). If anyone has any ideas, please send
me a message, otherwise I shall continue to trawl the net.

Cheers,

Ian

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


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




Re: Tomcat/IIS intergration - once again ;-(

2002-11-30 Thread Marcel Stoer
Hi David

David Brown wrote:
 Hello Marcel, i took a peek at your (and your friends') website and
 it seems to be built by some smart and eager guys (nice site!). so
 why the m$ ii$? u seem to know a lot of linux and ur upstream
 provider: Genotec AG Swiss Network has a lot of linux boxes in their
 system.

I hardly know anything of Linux. My own website is hosted on a W2K system
for I want to use ASP.

 i am just curious why the preference of iis over apache? i'm

I have no preference of IIS over Apache. The case is the following:
At work we're developing workflow solutions with W4 (www.w4global.com). It
runs on Linux/NT with Oracle/SQL and any combination of web server/app
server. We're using Tomcat as 'app server' and IIS or Apache as web server.
This results in three different dev environments for me. NT/SQL/IIS/Tomcat,
NT/Oracle/IIS/Tomcat, and Linux/Oracle/Apache/Linux. However, I have to
admit that I'm by far more familiar with IIS than with Apache.

 not at all familiar w/ iis config but it would seem to me that the
 java side of tc would still have to be the same regardless of
 platform. adding a new web apps (if using ant) is easy if u define
 and compile a .war/.jar combo that is expanded by the tc server when
 either: bounced, autoreloaded or
 http://localhost:8080/manager/intall?path=MyOwnTest_Java. I don't
 understand your tc directory structure:
 $CATALINA_HOME\webapps\MyOwnTest_Java\Public. do u have an

Well, W4 generates an app which contains several subdirectories under
MyOwnTest_Java (Public, WEB-INF, and others). index.jsp located in the
Public directory is the entry point.

 application context defined as: MyOwnTest_Java/Public? i don't
 understand ur url: localhost/MyOwnTest_Java/Public/index.jsp? do u
 mean to state: http://localhost:8080/MyOwnTest_Java/Public/index.jsp?

Yes I do.

 Also, you stated: they only work if called on the Tomcat port
 directly. do u mean port 8080? tc's default port that the server

Yes I do

 listens on is port 8080 unless u redefine this in server.xml. in
 either case the port is necessary. tc servlets and jsp(s) r not
 invoked exactly like cgi-bin executables. the final analysis is: if u
 have defined ur .war/.jar correctly and tc server has expanded these
 files mentioned properly u should be able to invoke ur webapp
 MyOwnTest_Java as: http://localhost:8080/MyOwnTest_java (assume

As I mentioned in my first posting this works. But the whole point of
Tomcat/web server integration is that your web server is running on port 80
and that it will simply forward servlet/jsp request to Tomcat. This allows
for the url http://localhost/MyOwnTest_Java/Public/index.jsp without
explicitly defining port 8080 (or whatever Tomcat listens on).

 their is a jsp or servlet defined at that uri). hope this helps,
 david.

Marcel


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




RE: TOMCAT + IIS

2002-11-11 Thread Turner, John

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm

John


 -Original Message-
 From: Kiev [mailto:kiev.gama;pbt.com.br]
 Sent: Monday, November 11, 2002 1:01 PM
 To: Tomcat Users List
 Subject: TOMCAT + IIS
 
 
 Hi,
 
 Would anybody get me a link to a tutorial showing how to make the IIS
 execute JSPs and Servlets using tomcat 4.0.4
 
 Note: I've chosen the NT Service option when I installed 
 Tomcat in my
 Windows XP, does it change anything? Because I've found 
 something about the
 integration of ISS using a jk_nt_service. Is it the same 
 thing as the NT
 Service install option?
 
 Thanks,
 
 Kiev
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:tomcat-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: 
 mailto:tomcat-user-help;jakarta.apache.org
 

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




Re: TOMCAT + IIS

2002-11-11 Thread Kiev
Great!
It worked just fine.

Thanks.

- Original Message -
From: Turner, John [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Monday, November 11, 2002 5:08 PM
Subject: RE: TOMCAT + IIS



 http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm

 John


  -Original Message-
  From: Kiev [mailto:kiev.gama;pbt.com.br]
  Sent: Monday, November 11, 2002 1:01 PM
  To: Tomcat Users List
  Subject: TOMCAT + IIS
 
 
  Hi,
 
  Would anybody get me a link to a tutorial showing how to make the IIS
  execute JSPs and Servlets using tomcat 4.0.4
 
  Note: I've chosen the NT Service option when I installed
  Tomcat in my
  Windows XP, does it change anything? Because I've found
  something about the
  integration of ISS using a jk_nt_service. Is it the same
  thing as the NT
  Service install option?
 
  Thanks,
 
  Kiev
 
 
 
  --
  To unsubscribe, e-mail:
  mailto:tomcat-user-unsubscribe;jakarta.apache.org
  For additional commands, e-mail:
  mailto:tomcat-user-help;jakarta.apache.org
 

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





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




RE: Tomcat IIS Worker problem

2002-10-15 Thread Ignacio J. Ortega

 From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 7:09 PM

 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (82)]: Into wc_open
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (207)]: Into 
 build_worker_map, creating 1 workers
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (213)]: 
 build_worker_map, creating worker ajp12
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (138)]: Into wc_create_worker
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (152)]: 
 wc_create_worker, about to create instance ajp12 of ajp12
 [Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (264)]: Into 
 ajp12_worker_factory
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (161)]: 
 wc_create_worker, about to validate and init ajp12
 [Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (182)]: Into 
 jk_worker_t::validate
 [Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (194)]: In 
 jk_worker_t::validate for worker ajp12 contact is localhost:8007
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (177)]: 
 wc_create_worker, done
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (223)]: 
 build_worker_map, removing old ajp12 worker 
 [Tue Oct 15 12:34:16 2002]  [jk_worker.c (235)]: 
 build_worker_map, done


This log excerpt seems to say that your workers.properties files doenst
define a ajp13 worker, and you are assinging the uri to this
nonexistent worker.. 

1) To see it working use ajp12 instead of ajp13 in your uw.p file
2) post your w.p file to help you use the better ajp13 protocol instead
of ajp12

HTH

Saludos, 
Ignacio J. Ortega 

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




RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn


Ok, so now that I changed the service to ajp12 I get the following in the log file:
[Tue Oct 15 13:48:24 2002]  [jk_isapi_plugin.c (679)]: HttpExtensionProc started
[Tue Oct 15 13:48:24 2002]  [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[Tue Oct 15 13:48:24 2002]  [jk_worker.c (127)]: wc_get_worker_for_name, done  found a 
worker
[Tue Oct 15 13:48:24 2002]  [jk_isapi_plugin.c (701)]: HttpExtensionProc got a worker 
for name ajp12
[Tue Oct 15 13:48:24 2002]  [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[Tue Oct 15 13:48:24 2002]  [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[Tue Oct 15 13:48:24 2002]  [jk_connect.c (108)]: Into jk_open_socket
[Tue Oct 15 13:48:24 2002]  [jk_connect.c (115)]: jk_open_socket, try to connect 
socket = 632
[Tue Oct 15 13:48:25 2002]  [jk_connect.c (124)]: jk_open_socket, after connect ret = 
-1
[Tue Oct 15 13:48:25 2002]  [jk_connect.c (143)]: jk_open_socket, connect() failed 
errno = 61
[Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 
-1
[Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, 
Error sd = -1
[Tue Oct 15 13:48:25 2002]  [jk_isapi_plugin.c (716)]: HttpExtensionProc error, 
service() failed
[Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done

Not sure what these errors mean...never did this before.
Thanks.
 Ignacio J. Ortega [EMAIL PROTECTED] wrote: From: Lior Shliechkorn 
[mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 7:09 PM

 [Tue Oct 15 12:34:16 2002] [jk_worker.c (82)]: Into wc_open
 [Tue Oct 15 12:34:16 2002] [jk_worker.c (207)]: Into 
 build_worker_map, creating 1 workers
 [Tue Oct 15 12:34:16 2002] [jk_worker.c (213)]: 
 build_worker_map, creating worker ajp12
 [Tue Oct 15 12:34:16 2002] [jk_worker.c (138)]: Into wc_create_worker
 [Tue Oct 15 12:34:16 2002] [jk_worker.c (152)]: 
 wc_create_worker, about to create instance ajp12 of ajp12
 [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (264)]: Into 
 ajp12_worker_factory
 [Tue Oct 15 12:34:16 2002] [jk_worker.c (161)]: 
 wc_create_worker, about to validate and init ajp12
 [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (182)]: Into 
 jk_worker_t::validate
 [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (194)]: In 
 jk_worker_t::validate for worker ajp12 contact is localhost:8007
 [Tue Oct 15 12:34:16 2002] [jk_worker.c (177)]: 
 wc_create_worker, done
 [Tue Oct 15 12:34:16 2002] [jk_worker.c (223)]: 
 build_worker_map, removing old ajp12 worker 
 [Tue Oct 15 12:34:16 2002] [jk_worker.c (235)]: 
 build_worker_map, done


This log excerpt seems to say that your workers.properties files doenst
define a ajp13 worker, and you are assinging the uri to this
nonexistent worker.. 

1) To see it working use ajp12 instead of ajp13 in your uw.p file
2) post your w.p file to help you use the better ajp13 protocol instead
of ajp12

HTH

Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos,  more
faith.yahoo.com


RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John


Looks to me like your Tomcat is either not running, or listening on a
different port:

[Tue Oct 15 13:48:24 2002]  [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 632
[Tue Oct 15 13:48:25 2002]  [jk_connect.c (124)]: jk_open_socket, after
connect ret = -1
[Tue Oct 15 13:48:25 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 61

FYI -

It would be A LOT easier for people to help you if you would post some
config files (as I've already suggested twice...maybe 3 times is the charm).
Probably could have saved the last 2 or 3 iterations of OK, I tried X and
got Y, now what?.  But hey, if you want to draw this out, that's cool.

John


 -Original Message-
 From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 1:53 PM
 To: Tomcat Users List
 Subject: RE: Tomcat IIS Worker problem
 
 
 
 Ok, so now that I changed the service to ajp12 I get the 
 following in the log file:
 [Tue Oct 15 13:48:24 2002]  [jk_isapi_plugin.c (679)]: 
 HttpExtensionProc started
 [Tue Oct 15 13:48:24 2002]  [jk_worker.c (123)]: Into 
 wc_get_worker_for_name ajp12
 [Tue Oct 15 13:48:24 2002]  [jk_worker.c (127)]: 
 wc_get_worker_for_name, done  found a worker
 [Tue Oct 15 13:48:24 2002]  [jk_isapi_plugin.c (701)]: 
 HttpExtensionProc got a worker for name ajp12
 [Tue Oct 15 13:48:24 2002]  [jk_ajp12_worker.c (223)]: Into 
 jk_worker_t::get_endpoint
 [Tue Oct 15 13:48:24 2002]  [jk_ajp12_worker.c (121)]: Into 
 jk_endpoint_t::service
 [Tue Oct 15 13:48:24 2002]  [jk_connect.c (108)]: Into jk_open_socket
 [Tue Oct 15 13:48:24 2002]  [jk_connect.c (115)]: 
 jk_open_socket, try to connect socket = 632
 [Tue Oct 15 13:48:25 2002]  [jk_connect.c (124)]: 
 jk_open_socket, after connect ret = -1
 [Tue Oct 15 13:48:25 2002]  [jk_connect.c (143)]: 
 jk_open_socket, connect() failed errno = 61
 [Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (134)]: In 
 jk_endpoint_t::service, sd = -1
 [Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (152)]: In 
 jk_endpoint_t::service, Error sd = -1
 [Tue Oct 15 13:48:25 2002]  [jk_isapi_plugin.c (716)]: 
 HttpExtensionProc error, service() failed
 [Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (163)]: Into 
 jk_endpoint_t::done
 

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




RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn


Here we go. The files' contents are below.
workers.p :
workers.tomcat_home=c:\tomcat
workers.java_home=c:\jdk1.3.1_04
ps=\
worker.list = ajp12
worker.ajp12.type = ajp12
worker.ajp12.host = localhost
worker.ajp12.port = 8009
worker.ajp12.lbfactor=1

uriworkermap.p:
default.worker=ajp12
/*.jsp=$(default.worker)
/refcoapp/*.jsp=$(default.worker)
/examples/*.jsp=$(default.worker)
/examples/servlet/*=$(default.worker)
I'm not certain what other files would be necessary since I've only touched these in 
the whole process. I changed all ajp13 to 12s and got the error that you saw. Where 
would I change the listening port for tomcat...I didn't change any of the server.xml 
properties.
Thanks,
Lior
 Turner, John [EMAIL PROTECTED] wrote:
Looks to me like your Tomcat is either not running, or listening on a
different port:

[Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 632
[Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after
connect ret = -1
[Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 61

FYI -

It would be A LOT easier for people to help you if you would post some
config files (as I've already suggested twice...maybe 3 times is the charm).
Probably could have saved the last 2 or 3 iterations of OK, I tried X and
got Y, now what?. But hey, if you want to draw this out, that's cool.

John


 -Original Message-
 From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 1:53 PM
 To: Tomcat Users List
 Subject: RE: Tomcat IIS Worker problem
 
 
 
 Ok, so now that I changed the service to ajp12 I get the 
 following in the log file:
 [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (679)]: 
 HttpExtensionProc started
 [Tue Oct 15 13:48:24 2002] [jk_worker.c (123)]: Into 
 wc_get_worker_for_name ajp12
 [Tue Oct 15 13:48:24 2002] [jk_worker.c (127)]: 
 wc_get_worker_for_name, done found a worker
 [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (701)]: 
 HttpExtensionProc got a worker for name ajp12
 [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (223)]: Into 
 jk_worker_t::get_endpoint
 [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (121)]: Into 
 jk_endpoint_t::service
 [Tue Oct 15 13:48:24 2002] [jk_connect.c (108)]: Into jk_open_socket
 [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: 
 jk_open_socket, try to connect socket = 632
 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: 
 jk_open_socket, after connect ret = -1
 [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: 
 jk_open_socket, connect() failed errno = 61
 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (134)]: In 
 jk_endpoint_t::service, sd = -1
 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (152)]: In 
 jk_endpoint_t::service, Error sd = -1
 [Tue Oct 15 13:48:25 2002] [jk_isapi_plugin.c (716)]: 
 HttpExtensionProc error, service() failed
 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (163)]: Into 
 jk_endpoint_t::done
 

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos,  more
faith.yahoo.com


RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John


I would change ajp12 to ajp13, especially in .type.  JK = ajp13.  Like
this:

worker.list = one
worker.one.type = ajp13
worker.one.host = localhost
worker.one.port = 8009

Take out the load balance line (lbfactor)...with only one Tomcat there is no
need for any load-balancing configuration.

Change default.worker in the URI properties file to match whatever
worker.list is in your workers.properties file.

In server.xml, make sure that the element with a class of Ajp13Connector
is enabled (remove the comment tags) and is set to run on port 8009, the
same port listed in your workers.properties file.

Think of JK as a chain.  All you have to do is make sure each link in the
chain matches the next one.  I think someone else suggested changing things
to ajp12, I'm not sure why, but if I were you I would avoid anything but
ajp13 and use my own names for things like worker.list, etc.  AJP12,
AJP13, and AJP14 designate a particular protocol.  

John


 -Original Message-
 From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 2:04 PM
 To: Tomcat Users List
 Subject: RE: Tomcat IIS Worker problem
 
 
 
 Here we go. The files' contents are below.
 workers.p :
 workers.tomcat_home=c:\tomcat
 workers.java_home=c:\jdk1.3.1_04
 ps=\
 worker.list = ajp12
 worker.ajp12.type = ajp12
 worker.ajp12.host = localhost
 worker.ajp12.port = 8009
 worker.ajp12.lbfactor=1
 
 uriworkermap.p:
 default.worker=ajp12
 /*.jsp=$(default.worker)
 /refcoapp/*.jsp=$(default.worker)
 /examples/*.jsp=$(default.worker)
 /examples/servlet/*=$(default.worker)
 I'm not certain what other files would be necessary since 
 I've only touched these in the whole process. I changed all 
 ajp13 to 12s and got the error that you saw. Where would I 
 change the listening port for tomcat...I didn't change any of 
 the server.xml properties.
 Thanks,
 Lior
  Turner, John [EMAIL PROTECTED] wrote:
 Looks to me like your Tomcat is either not running, or listening on a
 different port:
 
 [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: 
 jk_open_socket, try to
 connect socket = 632
 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after
 connect ret = -1
 [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: 
 jk_open_socket, connect()
 failed errno = 61
 
 FYI -
 
 It would be A LOT easier for people to help you if you would post some
 config files (as I've already suggested twice...maybe 3 times 
 is the charm).
 Probably could have saved the last 2 or 3 iterations of OK, 
 I tried X and
 got Y, now what?. But hey, if you want to draw this out, that's cool.
 
 John
 
 
  -Original Message-
  From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, October 15, 2002 1:53 PM
  To: Tomcat Users List
  Subject: RE: Tomcat IIS Worker problem
  
  
  
  Ok, so now that I changed the service to ajp12 I get the 
  following in the log file:
  [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (679)]: 
  HttpExtensionProc started
  [Tue Oct 15 13:48:24 2002] [jk_worker.c (123)]: Into 
  wc_get_worker_for_name ajp12
  [Tue Oct 15 13:48:24 2002] [jk_worker.c (127)]: 
  wc_get_worker_for_name, done found a worker
  [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (701)]: 
  HttpExtensionProc got a worker for name ajp12
  [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (223)]: Into 
  jk_worker_t::get_endpoint
  [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (121)]: Into 
  jk_endpoint_t::service
  [Tue Oct 15 13:48:24 2002] [jk_connect.c (108)]: Into jk_open_socket
  [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: 
  jk_open_socket, try to connect socket = 632
  [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: 
  jk_open_socket, after connect ret = -1
  [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: 
  jk_open_socket, connect() failed errno = 61
  [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (134)]: In 
  jk_endpoint_t::service, sd = -1
  [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (152)]: In 
  jk_endpoint_t::service, Error sd = -1
  [Tue Oct 15 13:48:25 2002] [jk_isapi_plugin.c (716)]: 
  HttpExtensionProc error, service() failed
  [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (163)]: Into 
  jk_endpoint_t::done
  
 
 --
 To unsubscribe, e-mail: 
 For additional commands, e-mail: 
 
 
 
 -
 Do you Yahoo!?
 Faith Hill - Exclusive Performances, Videos,  more
 faith.yahoo.com
 

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




RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn


Unfortunately,

I'm still getting the original error:

[Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (679)]: HttpExtensionProc started
[Tue Oct 15 14:15:49 2002]  [jk_worker.c (123)]: Into wc_get_worker_for_name rsworker
[Tue Oct 15 14:15:49 2002]  [jk_worker.c (127)]: wc_get_worker_for_name, done did not 
found a worker
[Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get 
a worker for name rsworker
[Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could 
not get a worker for name rsworker


Why did it not find the worker here, but the Ajp12 worked (as far as finding a worker)?



-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos,  more
faith.yahoo.com


RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John


At this point I can only surmise that it has something to do with IIS and
the isapi_redirect thingie.  Since I don't run IIS, I can't help with those
things.

Your workers.properties file and uri.properties file look fine to me.
Perhaps someone out there with a working IIS configuration can offer more.

John


 -Original Message-
 From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 2:21 PM
 To: Tomcat Users List
 Subject: RE: Tomcat IIS Worker problem
 
 
 
 Unfortunately,
 
 I'm still getting the original error:
 
 [Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (679)]: 
 HttpExtensionProc started
 [Tue Oct 15 14:15:49 2002]  [jk_worker.c (123)]: Into 
 wc_get_worker_for_name rsworker
 [Tue Oct 15 14:15:49 2002]  [jk_worker.c (127)]: 
 wc_get_worker_for_name, done did not found a worker
 [Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (701)]: 
 HttpExtensionProc could not get a worker for name rsworker
 [Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (722)]: 
 HttpExtensionProc error, could not get a worker for name rsworker
 
 
 Why did it not find the worker here, but the Ajp12 worked (as 
 far as finding a worker)?
 
 
 
 -
 Do you Yahoo!?
 Faith Hill - Exclusive Performances, Videos,  more
 faith.yahoo.com
 

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




RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn


Thanks for the help John. Hopefully I'll get this resolved.
 Turner, John [EMAIL PROTECTED] wrote:
At this point I can only surmise that it has something to do with IIS and
the isapi_redirect thingie. Since I don't run IIS, I can't help with those
things.

Your workers.properties file and uri.properties file look fine to me.
Perhaps someone out there with a working IIS configuration can offer more.

John


 -Original Message-
 From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 15, 2002 2:21 PM
 To: Tomcat Users List
 Subject: RE: Tomcat IIS Worker problem
 
 
 
 Unfortunately,
 
 I'm still getting the original error:
 
 [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (679)]: 
 HttpExtensionProc started
 [Tue Oct 15 14:15:49 2002] [jk_worker.c (123)]: Into 
 wc_get_worker_for_name rsworker
 [Tue Oct 15 14:15:49 2002] [jk_worker.c (127)]: 
 wc_get_worker_for_name, done did not found a worker
 [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (701)]: 
 HttpExtensionProc could not get a worker for name rsworker
 [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (722)]: 
 HttpExtensionProc error, could not get a worker for name rsworker
 
 
 Why did it not find the worker here, but the Ajp12 worked (as 
 far as finding a worker)?
 
 
 
 -
 Do you Yahoo!?
 Faith Hill - Exclusive Performances, Videos,  more
 faith.yahoo.com
 

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos,  more
faith.yahoo.com


RE: Tomcat IIS Worker problem

2002-10-15 Thread Mark Eggers

Hmm,

I have a little more in my workers.properties file. 
I've attached mine along with this message.

And here's my uriworkermap.properties information.

/examples/*.jsp=ajp13
/examples/servlet/*=ajp13
/ora/*.jsp=ajp13
/cocoon/*=ajp13
/jetspeed/*=ajp13
/Addressbook/*=ajp13

This is working well with Tomcat 4.12, IIS 5, jdk
1.3.1_04, Windows/2000 Professional with the latest
patches, and jk 1.2.

The same set of files worked fine with Tomcat 4.0x,
IIS 5, jdk 1.3.1_04, Windows/2000 Professional with
the latest patches, and jk 1.2 or jk 1.0.

I hope this helps a bit.

/mde/

just my two cents . . . .


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.yahoo.com

#
# general stuff
#
workers.tomcat_home=c:\tomcat
workers.java_home=c:\jdk1.3.1_04
ps=\

#
# workers list
#
worker.list=ajp12, ajp13

#
# ajp12 communicates on port 8007
#
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1

#
# ajp13 connector communicating on port 8009
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

#
# load balancing
#
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13, ajp12

#
# The JVM that we are about to use
#
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll

#
# Setting the place for the stdout and stderr of tomcat
#
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr



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


RE: Tomcat IIS HowTo - with Tomcat 4?

2002-10-10 Thread mburgess

Tomcat 4 definitely works with IIS although I didn't use the installer
program I just got the zip and unzipped it into a directory such as
C:\javaapps\jakarta-tomcat-4.0.5.

-Original Message-
From: Richard Katz [mailto:[EMAIL PROTECTED]] 
Posted At: Thursday, 10 October 2002 7:08 AM
Posted To: Tomcat
Conversation: Tomcat IIS HowTo - with Tomcat 4?
Subject: Tomcat IIS HowTo - with Tomcat 4?


Does this just not work with Tomcat 4.0?  I've followed all the steps
but I still get a down red arrow instead of an up green one on the
IIS MMC for the jakarta filter.

Questions - about quotes:

Tomcat 4 normally installs in 
C:\Program Files\Apache Tomcat 4.0 which is where I installed it.

Unfprtunately, this offers the registry, the MMC, and the
workers.properties numerous opportunities to mis-handle quotes.  

For instance in the registry:
Should there be quotes around
log_file value:
C:\Program Files\Apache Tomcat 4.0\logs\isapi.log

I've tried it both ways - no luck.

In MMC:
The Virtual directory does not seem to want quotes.  It browses
correctly when given C:\Program Files\Apache Tomcat 4.0\bin\win32\i386

The filter executable can be specified as
C:\Program Files\Apache Tomcat 4.0\bin\win32\i386\isapi_redirect.dll 

Neither require quotes.

If Tomcat 4 is supposed to work with IIS, I'll move it to a different
directory so that the quote question goes away and try again. 

Otherwise, I'll go back to Tomcat 3.x

Thanks,

Rich Katz

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


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




RE: Tomcat IIS HowTo - with Tomcat 4?

2002-10-10 Thread Miguel Angel Mulero Martinez


Does this just not work with Tomcat 4.0?  I've followed all the steps
but I still get a down red arrow instead of an up green one on the
IIS MMC for the jakarta filter.

Yes, it works. I have it. And with spaces in path.

Questions - about quotes:

Tomcat 4 normally installs in
C:\Program Files\Apache Tomcat 4.0 which is where I installed it.

Unfprtunately, this offers the registry, the MMC, and the
workers.properties numerous opportunities to mis-handle quotes.

For instance in the registry:
Should there be quotes around
log_file value:
C:\Program Files\Apache Tomcat 4.0\logs\isapi.log

Not, without quotes.

I've tried it both ways - no luck.

In MMC:
The Virtual directory does not seem to want quotes.  It browses
correctly when given C:\Program Files\Apache Tomcat 4.0\bin\win32\i386

The filter executable can be specified as
C:\Program Files\Apache Tomcat 4.0\bin\win32\i386\isapi_redirect.dll

Neither require quotes.

If Tomcat 4 is supposed to work with IIS, I'll move it to a different
directory so that the quote question goes away and try again.

Otherwise, I'll go back to Tomcat 3.x

Thanks,

Rich Katz

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


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


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




RE: Tomcat IIS HowTo - with Tomcat 4?

2002-10-10 Thread Turner, John


It definitely works.  HOWTOs are posted.

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm

John


 -Original Message-
 From: Richard Katz [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, October 09, 2002 5:08 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat IIS HowTo - with Tomcat 4?
 
 
 Does this just not work with Tomcat 4.0?  I've followed all 
 the steps but I
 still get a down red arrow instead of an up green one on 
 the IIS MMC for
 the jakarta filter.
 
 Questions - about quotes:
 
 Tomcat 4 normally installs in 
 C:\Program Files\Apache Tomcat 4.0 which is where I installed it.
 
 Unfprtunately, this offers the registry, the MMC, and the 
 workers.properties
 numerous opportunities to mis-handle quotes.  
 
 For instance in the registry:
 Should there be quotes around
 log_file value:
 C:\Program Files\Apache Tomcat 4.0\logs\isapi.log
 
 I've tried it both ways - no luck.
 
 In MMC:
 The Virtual directory does not seem to want quotes.  It 
 browses correctly when
 given
 C:\Program Files\Apache Tomcat 4.0\bin\win32\i386
 
 The filter executable can be specified as
 C:\Program Files\Apache Tomcat 4.0\bin\win32\i386\isapi_redirect.dll 
 
 Neither require quotes.
 
 If Tomcat 4 is supposed to work with IIS, I'll move it to a different
 directory so that the quote question goes away and try again. 
 
 Otherwise, I'll go back to Tomcat 3.x
 
 Thanks,
 
 Rich Katz
 
 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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




RE: Tomcat IIS HowTo - with Tomcat 4?

2002-10-10 Thread Tim Moore

Also check out
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html

-- 
Tim Moore / Blackboard Inc. / Software Engineer
1899 L Street, NW / 5th Floor / Washington, DC 20036
Phone 202-463-4860 ext. 258 / Fax 202-463-4863


 -Original Message-
 From: Turner, John [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, October 10, 2002 9:01 AM
 To: 'Tomcat Users List'
 Subject: RE: Tomcat IIS HowTo - with Tomcat 4?
 
 
 
 It definitely works.  HOWTOs are posted.
 
 http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm
 
 John
 
 
  -Original Message-
  From: Richard Katz [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, October 09, 2002 5:08 PM
  To: [EMAIL PROTECTED]
  Subject: Tomcat IIS HowTo - with Tomcat 4?
  
  
  Does this just not work with Tomcat 4.0?  I've followed all
  the steps but I
  still get a down red arrow instead of an up green one on 
  the IIS MMC for
  the jakarta filter.
  
  Questions - about quotes:
  
  Tomcat 4 normally installs in
  C:\Program Files\Apache Tomcat 4.0 which is where I installed it.
  
  Unfprtunately, this offers the registry, the MMC, and the
  workers.properties
  numerous opportunities to mis-handle quotes.  
  
  For instance in the registry:
  Should there be quotes around
  log_file value:
  C:\Program Files\Apache Tomcat 4.0\logs\isapi.log
  
  I've tried it both ways - no luck.
  
  In MMC:
  The Virtual directory does not seem to want quotes.  It
  browses correctly when
  given
  C:\Program Files\Apache Tomcat 4.0\bin\win32\i386
  
  The filter executable can be specified as
  C:\Program Files\Apache Tomcat 4.0\bin\win32\i386\isapi_redirect.dll
  
  Neither require quotes.
  
  If Tomcat 4 is supposed to work with IIS, I'll move it to a 
 different 
  directory so that the quote question goes away and try again.
  
  Otherwise, I'll go back to Tomcat 3.x
  
  Thanks,
  
  Rich Katz
  
  --
  To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 --
 To 
 unsubscribe, e-mail:   
 mailto:tomcat-user- [EMAIL PROTECTED]
 For 
 additional commands, 
 e-mail: mailto:[EMAIL PROTECTED]
 
 

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




Re: Tomcat/IIS SSL

2002-10-08 Thread Fawaz Ahmad

Hello,

I don't have any experience using SSL, but I have been reading up on it on
the web.  On the Apache website for Tomcat, it says that if you are using
tomcat with another server (I'm using IIS) you should implement SSL in IIS
rather than tomcat.  I went on the Microsoft site to read up on
implementing it on IIS and I couldn't find a simple way to implement a
self-signed certificate.  Does anyone know of a simple way to implement
this?  Is it possible to use the java keytool to generate the key and use
it in IIS?  How would IIS locate this key after it has been created?

Fawaz


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




RE: Tomcat+IIS+https redirect

2002-09-25 Thread Ignacio J. Ortega

 De: Hoffman, Matt [mailto:[EMAIL PROTECTED]]
 Enviado el: 25 de septiembre de 2002 5:18

 found it. We recently implemented an SSL accelerator which acts as a
 frontend, transfering de-encrypted SSL communcation to IIS, which then
 transfers it to Tomcat. The only problem is when we use a 

It's a issue with Tomcat ( any version if i recall well ), tomcat does a
redirection to the welcome pages, and your acelerator is sending the req
uest to tc and iis withoput the correct scheme, when tomcat trie to do a
redirect for the welcome page i does not have any way to get to know
that the redirection   should be with https instead of http.. 

a Solution could be to use a static page for welcome file served
directly from IIs not tomcat, IIS doesnot redirect for welcome files,
does the equivalent to a jsp:forward..

In anycase with your setup, you couldnt do any redirect from tomcat nor
from IIS.. 

Saludos ,
Ignacio J. Ortega



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




RE: Tomcat, IIS and ArcIMS

2002-07-22 Thread Turner, John


I have no idea what ArcIMS is, but perhaps this link will help:

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm

John Turner
[EMAIL PROTECTED]


-Original Message-
From: Ken Sanderson [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 4:43 PM
To: [EMAIL PROTECTED]
Subject: Tomcat, IIS and ArcIMS


Hello all. I have installed Tomcat on our win2k machine that also has an IIS
server running. After install I tested the localhost:8080 and everything
works fine.

However this seems to be setup for the standalone setting, do I need to do
anything to have it work in conjunction with the IIS server? Also when I got
to install ArcIMS it asks me for the servlet directory which is typically
tomcathome/webapps/root/web-inf/classes

There is no classes folder, am I missing something, has it moved in recent
versions?

Thanks for any insight.

Ken

Miistakis Institute for the Rockies
c/o Faculty of Environmental Design
2500 University Drive NW
Calgary, Alberta
T2N 1N4

t 1 (403) 220-8968
  1 (403) 220-2573
w www.rockies.ca

facilitating ecosystem research  management in the Rocky Mountains


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

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




RE: Tomcat, IIS and ArcIMS

2002-07-22 Thread Mladen Turk

Create the classes directory inside the webapps/root/web-inf and copy
the context of the 
C:\Program Files\ArcGIS\ArcIMS\Connectors\Servlet to that newly created
directory or make just make the classes directory and then install the
ArcIMS.

Do not forget to install the ArcExplorer 4 Java prior the ArcIMS
installation if you wish to use the web Manager.

Also don't forget to setup the needed virtual directories (output,
manager and website) with the browse option.

MT.


 -Original Message-
 From: Ken Sanderson [mailto:[EMAIL PROTECTED]] 
 Sent: Monday, July 22, 2002 10:43 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat, IIS and ArcIMS
 
 
 Hello all. I have installed Tomcat on our win2k machine that 
 also has an IIS server running. After install I tested the 
 localhost:8080 and everything works fine.
 
 However this seems to be setup for the standalone setting, do 
 I need to do anything to have it work in conjunction with the 
 IIS server? Also when I got to install ArcIMS it asks me for 
 the servlet directory which is typically 
 tomcathome/webapps/root/web-inf/classes
 
 There is no classes folder, am I missing something, has it 
 moved in recent versions?
 
 Thanks for any insight.
 
 Ken
 
 Miistakis Institute for the Rockies
 c/o Faculty of Environmental Design
 2500 University Drive NW
 Calgary, Alberta
 T2N 1N4
 
 t 1 (403) 220-8968
   1 (403) 220-2573
 w www.rockies.ca
 
 facilitating ecosystem research  management in the Rocky Mountains
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For 
 additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 


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




RE: Tomcat IIS - success

2002-07-11 Thread Anoop Kumar V

hi Andrew, (and Tomcat users)

You hv helped me a lot in my previous configuration of IIS with Tomcat.
It is running well on my machine, and now i am trying to run it on another
machine.(reconfiguring), but i am facing a lot of problems here.
pasting the last bit of my isapi.log file..

[Thu Jul 11 13:17:17 2002]  [jk_isapi_plugin.c (860)]: HttpExtensionProc got
a worker for name ajp13
[Thu Jul 11 13:17:17 2002]  [jk_ajp_common.c (1352)]: Into
jk_worker_t::get_endpoint
[Thu Jul 11 13:17:17 2002]  [jk_ajp_common.c (1075)]: Into
jk_endpoint_t::service
[Thu Jul 11 13:17:17 2002]  [jk_ajp_common.c (280)]: Into
ajp_marshal_into_msgb
[Thu Jul 11 13:17:17 2002]  [jk_ajp_common.c (413)]: ajp_marshal_into_msgb -
Done
[Thu Jul 11 13:17:17 2002]  [jk_connect.c (116)]: Into jk_open_socket
[Thu Jul 11 13:17:17 2002]  [jk_connect.c (123)]: jk_open_socket, try to
connect socket = 2596
[Thu Jul 11 13:17:18 2002]  [jk_connect.c (132)]: jk_open_socket, after
connect ret = -1
[Thu Jul 11 13:17:18 2002]  [jk_connect.c (151)]: jk_open_socket, connect()
failed errno = 61
[Thu Jul 11 13:17:18 2002]  [jk_ajp_common.c (598)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61
[Thu Jul 11 13:17:18 2002]  [jk_ajp_common.c (843)]: Error connecting to the
Tomcat process.
[Thu Jul 11 13:17:18 2002]  [jk_ajp_common.c (1149)]: In
jk_endpoint_t::service, ajp_send_request failed in send loop 0
[Thu Jul 11 13:17:18 2002]  [jk_connect.c (116)]: Into jk_open_socket
[Thu Jul 11 13:17:18 2002]  [jk_connect.c (123)]: jk_open_socket, try to
connect socket = 2596
[Thu Jul 11 13:17:19 2002]  [jk_connect.c (132)]: jk_open_socket, after
connect ret = -1
[Thu Jul 11 13:17:19 2002]  [jk_connect.c (151)]: jk_open_socket, connect()
failed errno = 61
[Thu Jul 11 13:17:19 2002]  [jk_ajp_common.c (598)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61
[Thu Jul 11 13:17:19 2002]  [jk_ajp_common.c (843)]: Error connecting to the
Tomcat process.
[Thu Jul 11 13:17:19 2002]  [jk_ajp_common.c (1149)]: In
jk_endpoint_t::service, ajp_send_request failed in send loop 1
[Thu Jul 11 13:17:19 2002]  [jk_connect.c (116)]: Into jk_open_socket
[Thu Jul 11 13:17:19 2002]  [jk_connect.c (123)]: jk_open_socket, try to
connect socket = 2596
[Thu Jul 11 13:17:20 2002]  [jk_connect.c (132)]: jk_open_socket, after
connect ret = -1
[Thu Jul 11 13:17:20 2002]  [jk_connect.c (151)]: jk_open_socket, connect()
failed errno = 61
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (598)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (843)]: Error connecting to the
Tomcat process.
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (1149)]: In
jk_endpoint_t::service, ajp_send_request failed in send loop 2
[Thu Jul 11 13:17:20 2002]  [jk_isapi_plugin.c (875)]: HttpExtensionProc
error, service() failed
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (1307)]: Into
jk_endpoint_t::done
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (535)]: In
jk_endpoint_t::ajp_close_endpoint

Can you please guide me as to where the problem might be...
why do we get the error connecting to Tomcat process and the service()
failed error.

thanx in advance
-anoop

-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 2:42 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat  IIS - success


I think I'm in agreement with Dave here.  While I can't say it took me
quite as long, about 6 hours, it was extremely difficult to find the
documentation on configuring IIS with Tomcat.  Who would have thought
(as a newbe) to look in the AJP configuration documentation?  Along with
the JGuru.com FAQ that leads to a seriously flawed installation guide.  

I guess my point is that ripping this poor chap for taking 4 days (which
does seem a little excessive but not unbelievable) is a little
counter-productive.  We should take this endless barrage of IIS
installation problems as a HINT to improve the documentation and
navigation to the documentation.


OK, saying that, my question to anyone reading this thread is:

How do I help with the documentation?  

I've written an installation guide that I believe improves on the
current documentation (which might only be my opinion)
(http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm) and I've written
a setup program to automate the installation of the redirector
completely. I would like to include them in the documentation and the
distribution, but I'm not real sure how.  Do I just drop a line in the
developers' mailing list, or what?


Thanks,

Andrew




-Original Message-
From: David Bishop [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 28, 2002 3:03 PM
To: Tomcat Users List
Subject: Re: Tomcat  IIS - success

I have been a unix administrator (i.e., Solaris, HPUX, AIX, Linux, BSD,
Sco,
+more) for 4 years.  I have had tomcat 3.x running for over a year.  I
have
admin'ed apache for over three years.  Summary: I know what the hell I'm
doing.  It took me 7 days to get

RE: Tomcat IIS - success

2002-07-11 Thread Anoop Kumar V


One more thing.. sometimes i get the download-dialog when i access the jsp
page...
need help..


hi Andrew, (and Tomcat users)

You hv helped me a lot in my previous configuration of IIS with Tomcat.
It is running well on my machine, and now i am trying to run it on another
machine.(reconfiguring), but i am facing a lot of problems here.
pasting the last bit of my isapi.log file..

[Thu Jul 11 13:17:17 2002]  [jk_isapi_plugin.c (860)]: HttpExtensionProc got
a worker for name ajp13
[Thu Jul 11 13:17:17 2002]  [jk_ajp_common.c (1352)]: Into
jk_worker_t::get_endpoint
[Thu Jul 11 13:17:17 2002]  [jk_ajp_common.c (1075)]: Into
jk_endpoint_t::service
[Thu Jul 11 13:17:17 2002]  [jk_ajp_common.c (280)]: Into
ajp_marshal_into_msgb
[Thu Jul 11 13:17:17 2002]  [jk_ajp_common.c (413)]: ajp_marshal_into_msgb -
Done
[Thu Jul 11 13:17:17 2002]  [jk_connect.c (116)]: Into jk_open_socket
[Thu Jul 11 13:17:17 2002]  [jk_connect.c (123)]: jk_open_socket, try to
connect socket = 2596
[Thu Jul 11 13:17:18 2002]  [jk_connect.c (132)]: jk_open_socket, after
connect ret = -1
[Thu Jul 11 13:17:18 2002]  [jk_connect.c (151)]: jk_open_socket, connect()
failed errno = 61
[Thu Jul 11 13:17:18 2002]  [jk_ajp_common.c (598)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61
[Thu Jul 11 13:17:18 2002]  [jk_ajp_common.c (843)]: Error connecting to the
Tomcat process.
[Thu Jul 11 13:17:18 2002]  [jk_ajp_common.c (1149)]: In
jk_endpoint_t::service, ajp_send_request failed in send loop 0
[Thu Jul 11 13:17:18 2002]  [jk_connect.c (116)]: Into jk_open_socket
[Thu Jul 11 13:17:18 2002]  [jk_connect.c (123)]: jk_open_socket, try to
connect socket = 2596
[Thu Jul 11 13:17:19 2002]  [jk_connect.c (132)]: jk_open_socket, after
connect ret = -1
[Thu Jul 11 13:17:19 2002]  [jk_connect.c (151)]: jk_open_socket, connect()
failed errno = 61
[Thu Jul 11 13:17:19 2002]  [jk_ajp_common.c (598)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61
[Thu Jul 11 13:17:19 2002]  [jk_ajp_common.c (843)]: Error connecting to the
Tomcat process.
[Thu Jul 11 13:17:19 2002]  [jk_ajp_common.c (1149)]: In
jk_endpoint_t::service, ajp_send_request failed in send loop 1
[Thu Jul 11 13:17:19 2002]  [jk_connect.c (116)]: Into jk_open_socket
[Thu Jul 11 13:17:19 2002]  [jk_connect.c (123)]: jk_open_socket, try to
connect socket = 2596
[Thu Jul 11 13:17:20 2002]  [jk_connect.c (132)]: jk_open_socket, after
connect ret = -1
[Thu Jul 11 13:17:20 2002]  [jk_connect.c (151)]: jk_open_socket, connect()
failed errno = 61
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (598)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (843)]: Error connecting to the
Tomcat process.
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (1149)]: In
jk_endpoint_t::service, ajp_send_request failed in send loop 2
[Thu Jul 11 13:17:20 2002]  [jk_isapi_plugin.c (875)]: HttpExtensionProc
error, service() failed
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (1307)]: Into
jk_endpoint_t::done
[Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (535)]: In
jk_endpoint_t::ajp_close_endpoint

Can you please guide me as to where the problem might be...
why do we get the error connecting to Tomcat process and the service()
failed error.

thanx in advance
-anoop

-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 2:42 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat  IIS - success


I think I'm in agreement with Dave here.  While I can't say it took me
quite as long, about 6 hours, it was extremely difficult to find the
documentation on configuring IIS with Tomcat.  Who would have thought
(as a newbe) to look in the AJP configuration documentation?  Along with
the JGuru.com FAQ that leads to a seriously flawed installation guide.  

I guess my point is that ripping this poor chap for taking 4 days (which
does seem a little excessive but not unbelievable) is a little
counter-productive.  We should take this endless barrage of IIS
installation problems as a HINT to improve the documentation and
navigation to the documentation.


OK, saying that, my question to anyone reading this thread is:

How do I help with the documentation?  

I've written an installation guide that I believe improves on the
current documentation (which might only be my opinion)
(http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm) and I've written
a setup program to automate the installation of the redirector
completely. I would like to include them in the documentation and the
distribution, but I'm not real sure how.  Do I just drop a line in the
developers' mailing list, or what?


Thanks,

Andrew




-Original Message-
From: David Bishop [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 28, 2002 3:03 PM
To: Tomcat Users List
Subject: Re: Tomcat  IIS - success

I have been a unix administrator (i.e., Solaris, HPUX, AIX, Linux, BSD,
Sco,
+more) for 4 years.  I have had tomcat 3.x running for over a year.  I
have
admin'ed

RE: Tomcat IIS - success

2002-07-11 Thread Andrew Conrad

Hey Anoop,

The log isn't going to be enough for me.  Zip up your
uriworkermap.properties, workers.properties and export a copy of your
Reg file.  Post it so we can all see whats going on.  Also, some info on
your OS, JDK version and locations, and anything else about your machine
that you think might be helpful.

- Andrew



-Original Message-
From: Anoop Kumar V [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 11, 2002 4:46 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat  IIS - success


hi Andrew, (and Tomcat users)

You hv helped me a lot in my previous configuration of IIS with Tomcat.
It is running well on my machine, and now i am trying to run it on
another machine.(reconfiguring), but i am facing a lot of problems here.
pasting the last bit of my isapi.log file..

[Thu Jul 11 13:17:17 2002]  [jk_isapi_plugin.c (860)]: HttpExtensionProc
got a worker for name ajp13 [Thu Jul 11 13:17:17 2002]  [jk_ajp_common.c
(1352)]: Into jk_worker_t::get_endpoint [Thu Jul 11 13:17:17 2002]
[jk_ajp_common.c (1075)]: Into jk_endpoint_t::service [Thu Jul 11
13:17:17 2002]  [jk_ajp_common.c (280)]: Into ajp_marshal_into_msgb [Thu
Jul 11 13:17:17 2002]  [jk_ajp_common.c (413)]: ajp_marshal_into_msgb -
Done [Thu Jul 11 13:17:17 2002]  [jk_connect.c (116)]: Into
jk_open_socket [Thu Jul 11 13:17:17 2002]  [jk_connect.c (123)]:
jk_open_socket, try to connect socket = 2596 [Thu Jul 11 13:17:18 2002]
[jk_connect.c (132)]: jk_open_socket, after connect ret = -1 [Thu Jul 11
13:17:18 2002]  [jk_connect.c (151)]: jk_open_socket, connect() failed
errno = 61 [Thu Jul 11 13:17:18 2002]  [jk_ajp_common.c (598)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61 [Thu Jul 11
13:17:18 2002]  [jk_ajp_common.c (843)]: Error connecting to the Tomcat
process. [Thu Jul 11 13:17:18 2002]  [jk_ajp_common.c (1149)]: In
jk_endpoint_t::service, ajp_send_request failed in send loop 0 [Thu Jul
11 13:17:18 2002]  [jk_connect.c (116)]: Into jk_open_socket [Thu Jul 11
13:17:18 2002]  [jk_connect.c (123)]: jk_open_socket, try to connect
socket = 2596 [Thu Jul 11 13:17:19 2002]  [jk_connect.c (132)]:
jk_open_socket, after connect ret = -1 [Thu Jul 11 13:17:19 2002]
[jk_connect.c (151)]: jk_open_socket, connect() failed errno = 61 [Thu
Jul 11 13:17:19 2002]  [jk_ajp_common.c (598)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61 [Thu Jul 11
13:17:19 2002]  [jk_ajp_common.c (843)]: Error connecting to the Tomcat
process. [Thu Jul 11 13:17:19 2002]  [jk_ajp_common.c (1149)]: In
jk_endpoint_t::service, ajp_send_request failed in send loop 1 [Thu Jul
11 13:17:19 2002]  [jk_connect.c (116)]: Into jk_open_socket [Thu Jul 11
13:17:19 2002]  [jk_connect.c (123)]: jk_open_socket, try to connect
socket = 2596 [Thu Jul 11 13:17:20 2002]  [jk_connect.c (132)]:
jk_open_socket, after connect ret = -1 [Thu Jul 11 13:17:20 2002]
[jk_connect.c (151)]: jk_open_socket, connect() failed errno = 61 [Thu
Jul 11 13:17:20 2002]  [jk_ajp_common.c (598)]: In
jk_endpoint_t::ajp_connect_to_endpoint, failed errno = 61 [Thu Jul 11
13:17:20 2002]  [jk_ajp_common.c (843)]: Error connecting to the Tomcat
process. [Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (1149)]: In
jk_endpoint_t::service, ajp_send_request failed in send loop 2 [Thu Jul
11 13:17:20 2002]  [jk_isapi_plugin.c (875)]: HttpExtensionProc error,
service() failed [Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c (1307)]:
Into jk_endpoint_t::done [Thu Jul 11 13:17:20 2002]  [jk_ajp_common.c
(535)]: In jk_endpoint_t::ajp_close_endpoint

Can you please guide me as to where the problem might be...
why do we get the error connecting to Tomcat process and the service()
failed error.

thanx in advance
-anoop

-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 29, 2002 2:42 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat  IIS - success


I think I'm in agreement with Dave here.  While I can't say it took me
quite as long, about 6 hours, it was extremely difficult to find the
documentation on configuring IIS with Tomcat.  Who would have thought
(as a newbe) to look in the AJP configuration documentation?  Along with
the JGuru.com FAQ that leads to a seriously flawed installation guide.

I guess my point is that ripping this poor chap for taking 4 days (which
does seem a little excessive but not unbelievable) is a little
counter-productive.  We should take this endless barrage of IIS
installation problems as a HINT to improve the documentation and
navigation to the documentation.


OK, saying that, my question to anyone reading this thread is:

How do I help with the documentation?

I've written an installation guide that I believe improves on the
current documentation (which might only be my opinion)
(http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm) and I've written
a setup program to automate the installation of the redirector
completely. I would like to include them in the documentation and the
distribution, but I'm not real sure how.  Do I just drop

RE: tomcat-iis problem in hosting server

2002-07-11 Thread Andrew Conrad

It sounds like your Test.jsp is not in the directory tomcat sees as your
root.

You need to have your ISP map the root context for your domain to your
www directory.

- Andrew

-Original Message-
From: Moj Vahed [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, July 10, 2002 7:52 AM
To: [EMAIL PROTECTED]
Subject: tomcat-iis problem in hosting server


Dear

We have an application written by jsp  java languages.
We run it under apache-tomcat in our lan interanet.
Now we get a hosting service for install it on internet. Our hosting
provider installed the Tomcat on IIS and we can see the tomcat 1st page
when we type : http://(IP address):8080 or if we type: http://(our
domain name):8080

we own a WWW directory in our ftp hosting. I put a Test.jsp file in our
www directory and when i type: http://(our domain name):8080/Test.jsp it
display page not found !

how can i solve this problem?and how can i define my www directory for
Tomact?

regards
Vahed




_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx


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


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




Re: Tomcat, IIS and JavaService Problem

2002-04-16 Thread Daniel Tamborelli Alvarenga

Does anybody knows any kind of bug in Tomcat or JavaService
that can be the reason of this problem?

Thanks

- Original Message - 
From: Daniel Tamborelli Alvarenga [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 12:53 PM
Subject: Tomcat, IIS and JavaService Problem


Hi,

I am using Tomcat 3.2.3 as service (JavaService) with IIS 5.0/Win2k.
Sometimes Tomcat just stop responding and we must restart it.

Anybody knows what may be causing this problem?

PS: JavaService is configured with HotSpot.

Thank you.



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat, IIS and JavaService Problem

2002-04-16 Thread Barney Hamish

What driver are you using for your database connections. The most common
cause of Tomcat crashes like you describe is the use of the JDBC-ODBC
bridge.

-Original Message-
From: Daniel Tamborelli Alvarenga [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 6:55 PM
To: Tomcat Users List
Subject: Re: Tomcat, IIS and JavaService Problem


Does anybody knows any kind of bug in Tomcat or JavaService
that can be the reason of this problem?

Thanks

- Original Message - 
From: Daniel Tamborelli Alvarenga [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 12:53 PM
Subject: Tomcat, IIS and JavaService Problem


Hi,

I am using Tomcat 3.2.3 as service (JavaService) with IIS 5.0/Win2k.
Sometimes Tomcat just stop responding and we must restart it.

Anybody knows what may be causing this problem?

PS: JavaService is configured with HotSpot.

Thank you.



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat, IIS and JavaService Problem

2002-04-16 Thread Daniel Tamborelli Alvarenga

I'm using com.thinweb.tds.Driver.

- Original Message - 
From: Barney Hamish [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 1:56 PM
Subject: RE: Tomcat, IIS and JavaService Problem


 What driver are you using for your database connections. The most common
 cause of Tomcat crashes like you describe is the use of the JDBC-ODBC
 bridge.
 
 -Original Message-
 From: Daniel Tamborelli Alvarenga [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 16, 2002 6:55 PM
 To: Tomcat Users List
 Subject: Re: Tomcat, IIS and JavaService Problem
 
 
 Does anybody knows any kind of bug in Tomcat or JavaService
 that can be the reason of this problem?
 
 Thanks
 
 - Original Message - 
 From: Daniel Tamborelli Alvarenga [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, April 16, 2002 12:53 PM
 Subject: Tomcat, IIS and JavaService Problem
 
 
 Hi,
 
 I am using Tomcat 3.2.3 as service (JavaService) with IIS 5.0/Win2k.
 Sometimes Tomcat just stop responding and we must restart it.
 
 Anybody knows what may be causing this problem?
 
 PS: JavaService is configured with HotSpot.
 
 Thank you.
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat IIS + MemoryRealm

2002-03-26 Thread Lee Kyon


It seems that noone got an answer to this one but if someone knows where I
can find a documentation of the problem or something like an official bug
statement that would help too.
Need it for a diploma work :P

thanks

-Original Message-
From: Lee Kyon 
Sent: Montag, 25. Marz 2002 13:27
To: '[EMAIL PROTECTED]'
Subject: Tomcat  IIS + MemoryRealm


Hi, 

I've installed Tomcat 4.0.3 on a Win 2k Server and installed the redirector
plugin so that IIS redirects JSP  and Servlet requests to Tomat. Everything
works fine, Tomcat serves JSP and servlets are running. 

Here's the problem:
Tomcat's built-in MemoryRealm doesn't work when trying it via IIS. When
using the 8080 Port while trying to  access a protected file the browser is
redirected to the login page and upon succesful login to the requested
secure page. When I try the same thing through IIS Tomcat sends me to a 403
Restricted Area Access  Denied page. Attempts to log in by calling the login
page manually result in a 404 error for j_security_check,  the action
specified in the login form. I've already tried to include j_security_check
in the  uriworkermap.properties, but with no success.

Any help is appreciated

Lee

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Tomcat IIS + MemoryRealm

2002-03-25 Thread A. Lai

Hi Lee,

I have installed Tomcat 4.03 on Win2K Server but it always complains about
the redirector .dll cannot load. Can you give me some pointers as to which
documentation you use? Thanks.

Alec

 Hi,

 I've installed Tomcat 4.0.3 on a Win 2k Server and installed the
redirector
 plugin so that IIS redirects JSP  and Servlet requests to Tomat.
Everything
 works fine, Tomcat serves JSP and servlets are running.

 Here's the problem:
 Tomcat's built-in MemoryRealm doesn't work when trying it via IIS. When
 using the 8080 Port while trying to  access a protected file the browser
is
 redirected to the login page and upon succesful login to the requested
 secure page. When I try the same thing through IIS Tomcat sends me to a
403
 Restricted Area Access  Denied page. Attempts to log in by calling the
login
 page manually result in a 404 error for j_security_check,  the action
 specified in the login form. I've already tried to include
j_security_check
 in the  uriworkermap.properties, but with no success.

 Any help is appreciated

 Lee

 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat IIS Servlets

2002-02-08 Thread Randy Layman


When you want to run servlets, you do need to modify your mapping.
However, people don't generally call servlets from /servlet/className any
more.  Its more typical that you would have some specific URLs.

There are two places where you might be having problems:
1.  IIS doesn't recognize that it must forward the request.  To
check this you need to look at your IIS log files and see if you are getting
404 errors for the servlet requests, or if they have been rewritten to the
ISAPI Redirector.  If so you need to modify the uriworkermap.properties.
2.  Tomcat doesn't recognize the URL passed from IIS as a valid
servlet URL.  To check this you need check the Tomcat logs for 404 errors.
If this is the case then you need to either create servlet mappings in your
web.xml file or change the URL that you are using.

Randy

 -Original Message-
 From: Martin Jussel [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 08, 2002 4:50 AM
 To: Tomcat Users List
 Subject: Tomcat  IIS  Servlets
 
 
 Hi,
 
 Tomcat is running fine with IIS. I can surf .jsp pages and 
 JDBC is also
 working. But I've troubles with servlets. Placing a servlet in
 WEB-INF/classes seems not to work. Is there any basic
 (uriworkermap.properties?) or webapp specific (apps*.xml) 
 configuration
 needed do get it work?
 
 my uriworkermap.properties currently looks like described in howto
 documentation:
 default.worker=ajp13
 /*.jsp=$(default.worker)
 
 - jsp's are running
 
 But is it not needed to add a line like this for servlets?
 /servlet/*=$(default.worker)
 
 (I did it but servlets still not work)
 
 Martin
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat IIS Servlets

2002-02-08 Thread Randy Layman


I don't believe that the ISAPI Redirector offers double wild cards,
but it would seem like what you are trying to do is:
/*/servlets/*=${default.worker}

Like I said, I don't believe that this syntax is supported, but
there is nothing stopping you from downloading the source and adding this
functionality yourself.

Randy

 -Original Message-
 From: Martin Jussel [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 08, 2002 8:42 AM
 To: Tomcat Users List
 Subject: AW: Tomcat  IIS  Servlets
 
 
 Is it possible to do a more *basic* configuration? I want to run
 multiple webs and do not want to change the 
 uriworkermap.properties for
 each app.
 
 Replacing 
 
 default.worker=ajp13
 /admin=$(default.worker)
 /admin/*=$(default.worker)
 /examples=$(default.worker)
 /examples/*=$(default.worker)
 
 with
 
 default.worker=ajp13
 /*.jsp=$(default.worker)
 
 is also working fine for JSP pages. Is it not possible to do 
 stuff like
 this for servlets?
 
 Martin
 
 
 
 -Ursprüngliche Nachricht-
 Von: Randy Layman [mailto:[EMAIL PROTECTED]]
 Gesendet: Freitag, 08. Februar 2002 13:50
 An: 'Tomcat Users List'
 Betreff: RE: Tomcat  IIS  Servlets
 
 
 
 You need to map /kunden/servlet to Tomcat, so add
 /kunden/servlet/*=${default.worker}
 to your uriworkermap.properties file.
 
   Randy
 
 
  -Original Message-
  From: Martin Jussel [mailto:[EMAIL PROTECTED]]
  Sent: Friday, February 08, 2002 8:35 AM
  To: Tomcat Users List
  Subject: AW: Tomcat  IIS  Servlets
  
  
  Hi,
  
  Thanx for your help. I checked the IIS log and found lines 
 like that:
  
  [...]
  2002-02-08 13:29:59 192.168.0.38 - 192.168.0.3 80 GET
  /kunden/servlet/Abbildung picID=16$08517270 404
  [...]
  
  I think this is what you described under 1. and so I've to 
  modify the
  uriworkermap.properties. Can you help me how to modify?
  
  Martin
  
  
  
  
  -Ursprüngliche Nachricht-
  Von: Randy Layman [mailto:[EMAIL PROTECTED]]
  Gesendet: Freitag, 08. Februar 2002 13:24
  An: 'Tomcat Users List'
  Betreff: RE: Tomcat  IIS  Servlets
  
  
  
  When you want to run servlets, you do need to modify your
  mapping.
  However, people don't generally call servlets from 
 /servlet/className
  any
  more.  Its more typical that you would have some specific URLs.
  
  There are two places where you might be having problems:
  1.  IIS doesn't recognize that it must forward the request.  To
  check this you need to look at your IIS log files and see if you are
  getting
  404 errors for the servlet requests, or if they have been 
 rewritten to
  the
  ISAPI Redirector.  If so you need to modify the 
  uriworkermap.properties.
  2.  Tomcat doesn't recognize the URL passed from IIS as a valid
  servlet URL.  To check this you need check the Tomcat logs for 404
  errors.
  If this is the case then you need to either create servlet 
 mappings in
  your
  web.xml file or change the URL that you are using.
  
  Randy
  
   -Original Message-
   From: Martin Jussel [mailto:[EMAIL PROTECTED]]
   Sent: Friday, February 08, 2002 4:50 AM
   To: Tomcat Users List
   Subject: Tomcat  IIS  Servlets
   
   
   Hi,
   
   Tomcat is running fine with IIS. I can surf .jsp pages and 
   JDBC is also
   working. But I've troubles with servlets. Placing a servlet in
   WEB-INF/classes seems not to work. Is there any basic
   (uriworkermap.properties?) or webapp specific (apps*.xml) 
   configuration
   needed do get it work?
   
   my uriworkermap.properties currently looks like described in howto
   documentation:
   default.worker=ajp13
   /*.jsp=$(default.worker)
   
   - jsp's are running
   
   But is it not needed to add a line like this for servlets?
   /servlet/*=$(default.worker)
   
   (I did it but servlets still not work)
   
   Martin
   
   --
   To unsubscribe:   
  mailto:[EMAIL PROTECTED]
   For additional commands: 
  mailto:[EMAIL PROTECTED]
   Troubles with the list: 
  mailto:[EMAIL PROTECTED]
   
  
  --
  To unsubscribe:   
mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat IIS optional packages

2002-02-08 Thread Randy Layman


Tomcat ignores the Classpath (for good reason).  You need to add JAR
files to either WEB-INF/lib or TOMCAT_HOME/lib as appropriate.

Randy

 -Original Message-
 From: Martin Jussel [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 08, 2002 11:20 AM
 To: Tomcat Users List
 Subject: Tomcat  IIS  optional packages
 
 
 Hi,
 
 I want to use optional packages like JavaMail. Installing and 
 adding the
 path to the CLASSPATH seems not to work. Running pages which import
 classes (e.g. %@ page import='javax.mail.*' %) return a Package ***
 not found in import. How to include these packages correctly?
 
 Martin
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: tomcat +iis working

2001-11-13 Thread Nihar

Hi!

 Well, not much..few things are required like creating virtual directory
under the web site with executable rights and one registry setting  are
required..

regards
-NIHAR

-Original Message-
From: Steve Vu [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 11, 2001 12:03 PM
To: Tomcat Users List
Subject: RE: tomcat +iis working


That's cool Nihar.  The thing you said that interests me is using both ASP
and JSP.
Did you have to do any special configuration after connecting IIs to Tomcat?
We are using ASP at work but may consider using JSP, so being able to do
this would make the transition a lot easier.

I'm guessing that there's not too much config necessary?  IIS automatically
handles ASP and Tomcat takes all JSP requests?

Thanks for any info.  The more detail the beter.

Thanks much,
Steve

-Original Message-
From: Nihar [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 10, 2001 7:29 PM
To: Tomcat Users List
Subject: RE: tomcat +iis working


tomact version 3.2.1 !!

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 11, 2001 4:24 AM
To: 'Tomcat Users List'
Subject: RE: tomcat +iis working


Which version of tomcat?

Saludos ,
Ignacio J. Ortega


 -Mensaje original-
 De: Nihar [mailto:[EMAIL PROTECTED]]
 Enviado el: sábado 10 de noviembre de 2001 23:49
 Para: tomcat
 Asunto: tomcat +iis working


 Hi gurus,

 Finally my tomcat and iis integration works. I spend near
 about 8 hours on
 this and now willing to help people who is having difficulty in this.
  I am running around 30 virtual domains on iis(windows nt)
 serving jsp and
 asp functionality.

 regards
 -NIHAR


 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat - IIS

2001-11-13 Thread Nihar

well, you will have to create virtual directory called jakarta under the web
site you have created and give executable right to that VD.

it should work..i am having multiple sites serving jsp and asp with
iis/tomcat on single ip address
-Nihar

-Original Message-
From: Gandham, Ram [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 8:13 PM
To: '[EMAIL PROTECTED]'
Subject: Tomcat - IIS


Hi,
This is Ram.Gandham.I'm working as a senior programmer analyst at william R
Hough.
I installed jakarta-tomcat-3.2.3 and completed all the steps that are there
in Tomcat IIS HowTo.html to syncronize the Tomcat server with IIS.Here I did
installed at my home,There the link between IIS and Tomcat established.I did
tyhe same procedure at my work.But when I try to run JSP or servlet it says
page can not be found ,some http error 404 is coming.At home if I type wrong
URL then I can see errors in Tomcat dos window.But here I couldnt see any
error inn Tomcat window.My basic assumption is,In this system IIS is not
redirecting to Tomcat.Because even if i entered wrong url there are no
errors in Tomcat window.
I tried by deleting and installing several times,But I failed to run jsps or
servlets.The wonder is I did the same procedure at my home,Its working
fine.why its not working here?Here also I'm using windows 2000.I checked
everything,and jakarta is showing green up arrow,I checked all registries
and IIS gilter.everything is coool and Tomcat started in a nice way.But why
IIS is not redirecting to Tomcat?

Do I need to do some more things here?I'm looking for someone to suggest me
something to resolve this.I stucked up here with out progress.I really
appriciate,if someone can suggest me what to do now?How to resolve this
problem

ThankYou verymuch



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]



--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat - IIS

2001-11-13 Thread Larry Isaacs

Did you add the Filter DLLs key?  If so, delete it and things
will work better.  The Filter DLLs key is only for Win98.

If not, include the log output for the last failed request.

Cheers,
Larry

 -Original Message-
 From: Gandham, Ram [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, November 13, 2001 9:43 AM
 To: '[EMAIL PROTECTED]'
 Subject: Tomcat - IIS
 
 
 Hi,
 This is Ram.Gandham.I'm working as a senior programmer 
 analyst at william R
 Hough.
 I installed jakarta-tomcat-3.2.3 and completed all the steps 
 that are there
 in Tomcat IIS HowTo.html to syncronize the Tomcat server with 
 IIS.Here I did
 installed at my home,There the link between IIS and Tomcat 
 established.I did
 tyhe same procedure at my work.But when I try to run JSP or 
 servlet it says
 page can not be found ,some http error 404 is coming.At home 
 if I type wrong
 URL then I can see errors in Tomcat dos window.But here I 
 couldnt see any
 error inn Tomcat window.My basic assumption is,In this system 
 IIS is not
 redirecting to Tomcat.Because even if i entered wrong url there are no
 errors in Tomcat window.
 I tried by deleting and installing several times,But I failed 
 to run jsps or
 servlets.The wonder is I did the same procedure at my home,Its working
 fine.why its not working here?Here also I'm using windows 
 2000.I checked
 everything,and jakarta is showing green up arrow,I checked 
 all registries
 and IIS gilter.everything is coool and Tomcat started in a 
 nice way.But why
 IIS is not redirecting to Tomcat?
 
 Do I need to do some more things here?I'm looking for someone 
 to suggest me
 something to resolve this.I stucked up here with out progress.I really
 appriciate,if someone can suggest me what to do now?How to 
 resolve this
 problem
 
 ThankYou verymuch
 
 
 
 --
 To unsubscribe:   mailto:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]
 

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




RE: Tomcat-IIS integration

2001-10-23 Thread Reynir Hübner

hi, 
the only thing I can tell you to do is ...
connect the AJP connectors accordingly to this document 

http://jakarta.apache.org/~hgomez/ajp13-tc4.0/

and then try to use the documentation for tomcat 3.3 on how to
intergrate into IIS.

That´s what we did, and it works.
hope it helps, 
- reynir



-Original Message-
From: Ram Kumaran [mailto:[EMAIL PROTECTED]]
Sent: 23. október 2001 11:18
To: [EMAIL PROTECTED]
Subject: Tomcat-IIS integration


Sir/Madam,

We are using jakarta-tomcat-4.0.1

We are not having any documents for integrating
Tomcat with IIS

So, we are not able to integrate.

kindly help us to get the document.


Regards
Ram







*NEW*   Connect to Yahoo! Messenger through your mobile phone   *NEW*
   Visit http://in.mobile.yahoo.com/smsmgr_signin.html



RE: Tomcat IIS How to

2001-09-16 Thread Ratnakar Palle

Hi Chris,

You need to right click on the Default Web Site but not on the jakarta..
Or, go to Action - Properties after selecting Default Web Site...

Hope this helps...

-Ratnakar


-Original Message-
From: Chris Huisman [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 16, 2001 3:02 PM
To: [EMAIL PROTECTED]
Subject: Tomcat IIS How to


Hello,

I am trying to integrate tomcat with iis on windows 2000.  I do not
understand how to set up a filter in the IIS Management Console.  There is
no Filter tab.  How do you set up this filter under windows 2000.


Thanks,

Chris.




RE: Tomcat/IIS

2001-09-14 Thread Robert Turner

I set mine up with the information supplied on the tomcat section of the
Jakarta web site. One major thing to watch out is that when setting
paths in the tomcat files such worker.properties etc you must use 8.3
format. For example you use workers.tomcat_home=c:\progra~1\jakart~1.3
instead of c:\program files\jakarta-tomcat-3.2.3.

Please email me if you think I can help you. [EMAIL PROTECTED]

Robert T Turner


-Original Message-
From: Arafat [mailto:[EMAIL PROTECTED]] 
Sent: 14 September 2001 14:48
To: [EMAIL PROTECTED]
Subject: Tomcat/IIS

Anyone know of a good article on virtual hosting with IIS and Tomcat? 

Any help is appreciated...

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: Tomcat IIS HowTo update

2001-08-29 Thread Dmitri Colebatch

On Wed, 29 Aug 2001, Gary Allen Vollink wrote:

 Since it's not in the HowTo, I thought I'd forward the following info:
 
 Verified working for Tomcat 3.2.1, IIS 5.0 / Windows 2000 using Java
 (JRE) 1.3.1

are you saying you got JSPs to work with a JRE?  Sure its not the JDK, or
that tools.jar doesn't exist in the classpath somewhere?

cheesr
dim


 
 It may be good to mention that using Java 1.2 and 1.3 requires the
 java.dll entered into the workers.properties file (instead of the
 defaults of javai.dll for Java 1.1 and jvm.dll for Java 2.
 
 Thank you,
 Gary Allen Vollink
 CorVu IT Manager
 
 
 
 




RE: Tomcat / IIS 5.0 - isapi_redirect Error - log data included

2001-08-29 Thread rturner003

I recently installed tomcat on a Windows XP machine without much
problems. I would like to draw you attention to page 1 of another
document
http://Jakarta.apache.org/tomcat/tomcat-3.3-doc/NT-Service-howto.html
and special note 2 regarding the using of long filenames. I says don't
and use 8.3 format. For instance in my workers.propeerties file it says:

workers.tomcat_home=c:\progra~1\jakart~1.3

#
# workers.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
workers.java_home=c:\progra~1\jdk13~1.0_0

where progra~1 is normally known as 'program files'.

I hope this helps. You may email me direct if you wish

Robert T Turner
[EMAIL PROTECTED]

-Original Message-
From: SpuTTer [mailto:[EMAIL PROTECTED]] 
Sent: 29 August 2001 19:29
To: [EMAIL PROTECTED]
Subject: Tomcat / IIS 5.0 - isapi_redirect Error - log data included

Hello, I am trying to install Tomcat on a Windows 2000 Advanced 
Server machine. I followed the instructions at 
http://jakarta.apache.org/tomcat/to...-iis-howto.html)
and I still havent gotten it to work. 

If I go to the examples/jsp/index.html I get a 404 

Not Found (404)  
Original request: /jakarta/isapi_redirect.dll 
Not found request: /jakarta/isapi_redirect.dll 

So it appears to be a problem with my virtual directory 

My log gives the following: 
#Software: Microsoft Internet Information Services 5.0 
#Version: 1.0 #Date: 2001-08-29 05:25:17 
#Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-
stem cs-uri-query sc-status cs(User-Agent) 
2001-08-29 05:25:17 127.0.0.1 - 127.0.0.1 80 GET 
 /jakarta/isapi_redirect.dll - 403 
 Mozilla/4.0+
(compatible;+MSIE+5.01;+Windows+NT+5.0) 


The doc states 

If the number following GET /... is 200 or 403, make sure you 
have checked Execute Access for the jakarta virtual directory in 
the Advanced Options of the Personal Web Manager.  

I checked and I have set that directory for execute. 

Any ideas?


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




RE: Tomcat IIS HowTo

2001-08-22 Thread Dirk Kühnemann

Hi Allwin,

I had this problem to. Once there was posted a script for doing the entries
in the registry. Copy the script into notepad, edit the paths and save it as
jakarta.reg.

-Start-
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector]

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0]
extension_uri=/jakarta/isapi_redirect.dll
log_file=E:\\tomcat\\logs\\isapi.log
log_level=info
worker_file=E:\\tomcat\\conf\\workers.properties
worker_mount_file=E:\\tomcat\\conf\\uriworkermap.properties
--End-

Create the filter not as global, add the filter to a Web Site. Do the steps
written in the HowTo (Creating the Virtual Dir, and create a Virtual Dir
Examples with path to the Tomcat examples.

That's the way I get it going.

Have Fun
Dirk


-Original Message-
From: Allwin Immanuel [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 22. August 2001 15:46
To: [EMAIL PROTECTED]
Subject: Tomcat IIS HowTo


Hi,
 Does the ISAPI redirector work with Windows 2000? The
filter is not loaded when i add the filter.

Any update on this,
Thanks,
Allwin

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



RE: Tomcat IIS HowTo

2001-08-22 Thread Curtis Dougherty

yes...

-Original Message-
From: Allwin Immanuel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 8:46 AM
To: [EMAIL PROTECTED]
Subject: Tomcat IIS HowTo


Hi,
 Does the ISAPI redirector work with Windows 2000? The
filter is not loaded when i add the filter.

Any update on this,
Thanks,
Allwin

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/



RE: Tomcat-IIS

2001-08-01 Thread Randy Layman


Even without your actual entries, I can tell you that your problem
is probably due to you adding the filter to the wrong IIS instance or that
you don't have your uriworkermap.properites set up correctly.

For the first one, the filter only works on the server that you add
the filter to.  If you have virtual servers and you want Tomcat on all of
them, you need to add the filter to all of them.

For the second one, look at your file and remember that you can only
use an asterisk at the beginning or end of a URL, not both, and not in the
middle.

Randy

 -Original Message-
 From: Marko Viitanen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 31, 2001 6:57 PM
 To: '[EMAIL PROTECTED]'
 Subject: Tomcat-IIS
 
 
 Hi, 
 I followed the instructions in the tomcat-iis how-to file. I have now
 started over about 10 times, and I just can't get it to work. 
 I am running Windows 2000 professional, JDK 1.3.1, Tomcat 3.2.3 
 Here is my registry:
 
  ...OLE_Obj... 
 
 Here is the isapi filter location
 
  ...OLE_Obj... 
 
 
 Here is the jakarta virtual path  properties:
 
  ...OLE_Obj... 
 
 
 
 
 Here is the filter properties:
 
  ...OLE_Obj... 
 
 
 
 
 I think I have done everything as it says in the how-to. 
 However I just
 can't get it to work. Can you see something obvious that I am 
 doing wrong? I
 have tried the registry key values with and without 
 surrounding parentheses.
 Neither works.
 
 I don't even get an isapi.log log.
 
 Web server log is like this:
 
 #Software: Microsoft Internet Information Services 5.0
 #Version: 1.0
 #Date: 2001-07-31 22:39:39
 #Fields: time c-ip cs-method cs-uri-stem sc-status 
 22:39:39 127.0.0.1 GET /examples/servlet/HelloWorldExample 404
 
 
 THank you for your help
 
 
 Marko
 
   
 
 
 



Re: Tomcat IIS HowTo

2001-06-15 Thread Irfan Baig

It must be the same thing - mine says Internet Service Manager also. Just 
right click on your jakarta virtual directory, choose Properties and set the
Permissions at the bottom to 'execute'.

Can you see http://localhost:8080/examples/jsp/index.html ?

On Friday 15 June 2001 00:25, you wrote:
 Hi,

 I am having problem in configuring IIS 4.0 and Jakarta Tomcat 3.2.1. I have
 followed the instruction given by you in your documentation. I am not able
 to see http://localhost/examples/jsp/index.html;.

 In your trouble shooting section 5.A.3 says
 If the number following GET /... is 200 or 403, make sure you have
 checked Execute Access for the jakarta virtual directory in the Advanced
 Options of the Personal Web Manager.  But i'm not using Personal Web
 Manager. I'm using Internet Service Manager

 Please help me in this regard

 Thanks in Advance

 Manjunath


 _
 Chat with your friends as soon as they come online. Get Rediff Bol at
 http://bol.rediff.com

-- 
irfan.baig   =   Engineer,  Abstract Edge
irfan.phone  =   212.352.9311 ext 102
irfan.fax=   212.352.9498




Re: Tomcat IIS serves one request (or hell with the dll) then it gets unloaded!

2001-06-15 Thread Robert Schweng

Hi, does anyone else have the problem with iis redirect???
i made some really wierd experiance with isapi redirect.
i got it to work on my server NT4 sp5 but if some one requestet an
JAVA Applet from IIS it stopped to work.
i installed several versions of ISAPI redirect.
in all versions green arrows in IIS where up and Tomcat where working fine.
the latest version works only for one request, after that nothing more is
redirected by isapi_redirect.
i traced everything i could but without a solution since there is no output.
when i recomiled a debug version of isapi_redirect.dll on my workstaion
there i could see
this errormessage (it says an unexpected exception occured in Kerner32.dll):

Der HTTP-Server ist bei der Verarbeitung der ISAPI-Anwendung '
 + 0x31313131
isapi_redirect + 0x10D80
isapi_redirect + 0x2A71
isapi_redirect + 0x1ABA
isapi_redirect + 0x71A9
 + 0x688971B1
 + 0x68897E33
 + 0x68C2063A
 + 0x68C1F911
 + 0x68C10EDA
 + 0x68C10E4A
 + 0x68C177B1
 + 0x68C0A20E
 + 0x68C09DF1
 + 0x68C09D89
 + 0x6862471E
 + 0x6862493B
KERNEL32!lstrcmpiW + 0xBE
' auf eine unerwartete Ausnahme gestoßen.

So my question is does someone know how to replace the kernel32.dll
with the current (which is be used by the system?).
i mean without using a registered version of ntfsdos?
or does someone think if i install the MS Visual Studio on the server it
will solve the problem?
(cause i can compile the dll there?)


cheers
Robert






RE: tomcat + IIS 5

2001-06-07 Thread Randy Layman


First, I would suggest that you only post using Plain Text email
messages.  A number of readers on this list don't have HTML enabled email
readers and will simply skip your message because its to difficult to
decipher, which you probably don't want.

Your issue seems to be that the URL requested (/jakarta/teste.jsp)
doesn't match anything in your uriworkermap.properties file.  I would
suggest you look at the file to verify that it matches some mapping in
there.  Also, changes to this file are not reloaded until the inetinfo
process is restarted (in other words, you must use the Services control
panel and not the Internet Manager application).

Randy

-Original Message-
From: Francisco Areas Guimaraes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 5:04 PM
To: Lista tomcat User
Subject: tomcat + IIS 5


I have  win2k, tomcat 3.2, and IIS5. I have done everything that the
IIS-tomcat-Howto says, including the Filter DLLs option, got the green
arrow in the IIS ISAPI filters, but when I open a page, it simply doesn´t
compile the code.
Here´s what has been writen in the log file:
 
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/jakarta/teste.jsp
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (435)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/jakarta/teste.jsp] is not a
servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/jakarta/teste.jsp] is
points to the web-inf directory

Anyone have a clue on what´s happening? Please, help me, because i´m tottaly
clueless...
 
thanks,
Francisco
[EMAIL PROTECTED]



RE: Tomcat IIS HowTo - Troubleshooting WinNT Point 5

2001-06-06 Thread Randy Layman


The way that it has to be is that the Virtual Directory and the
Filter must both be installed for each virtual/default host that will
process JSPs.  Your directory structure indicates that the jakarta virtual
directory is set up for www..nl.  You need to make sure that you
installed the Filter to this web instance as well. (Using the properties of
the web instance and selecting the Filters tab).

Randy

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, June 06, 2001 10:53 AM
 To: [EMAIL PROTECTED]
 Subject: Tomcat IIS HowTo - Troubleshooting WinNT Point 5
 
 
 Hello,
 
 I'm trying to work with Tomcat and IIS as you have read in 
 the subject.
 Up to now I have solved the problems till point 4 in the 
 troubleshooting of
 WinNT.
 But now I'm at a point, where I think that something is wrong with my
 directory on the IIS.
 Because it isn't determined, where I have to place my sonamed Jakarta
 filter.
 If I may show you my directory and perhaps you know then the 
 solution, that
 would be perfect.
 The directory starts with:
 
 Console Root
  Internet Information Server
   Computername
Default FTP Site
Socks Proxy
Default Webside
www..nl
 event
 jakarta
 test
webproxy
Winsock Proxy
 Transaction server
 
 Here is my question: I followed exactly the installation 
 instructions of
 Tomcat IIS HowTo. Did I place the Jakarta Filter on the right position
 according the installation instructions ?
 If you have an idea to solve this problem please send them 
 me. I'm thankful
 about every idea/help.
 
 Thank you
 Greetings
 
 Walter
 [EMAIL PROTECTED]
 



Re: Tomcat IIS how to

2001-06-03 Thread Gilson do N. D'Elrei

Hello,
I have my win2000 working with Tomcat without problems now, cos i had the
same problem in my first installation, i find out errors in my registry key
values and it's ok now Verify again your registry configuration.
good luck.
greetings.

- Original Message -
From: Jimmie Dean [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, June 03, 2001 4:09 PM
Subject: Tomcat IIS how to


 Dear sir,

 I followed the instruction on this document to run JSP under IIS. However
it
 did not work.  I did not see the green light for the jakarta filter in the
 IIS management control, under default web site.  I believe somehow your
 document might not be complete for win2000 (the system I am on). Somehow
the
 registry entry was not recognized by IIS.

 Is there any other document can help?

 Thanks and regards
 Jimmie Dean
 _
 Get your FREE download of MSN Explorer at http://explorer.msn.com





RE: Tomcat IIS how to

2001-06-03 Thread Todd Sussman

Be sure to double check the spelling.  We run IIS + Tomcat on a Win2k
Server and Adv. Server.  Both setups work well.  We had a similar
problem and it was just a spelling error.

Todd

-Original Message-
From: Jimmie Dean [mailto:[EMAIL PROTECTED]]
Sent: Sunday, June 03, 2001 9:09 PM
To: [EMAIL PROTECTED]
Subject: Tomcat IIS how to


Dear sir,

I followed the instruction on this document to run JSP under IIS.
However it 
did not work.  I did not see the green light for the jakarta filter in
the 
IIS management control, under default web site.  I believe somehow your 
document might not be complete for win2000 (the system I am on). Somehow
the 
registry entry was not recognized by IIS.

Is there any other document can help?

Thanks and regards
Jimmie Dean
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




RE: Tomcat/IIS Installation Problem

2001-05-31 Thread Todd Sussman

   I am sorry if this question was answered, but our mail server was
down for 2 days.

We have tomcat 3.2.1 running on Win2k (IIS 5.0).

When we run using http, all is fine.  When adding SSL via a Verisign
Cert., we get a message asking whether we want to d/l secure and
unsecure information.  I then installed JSSE 1.0.2 and modified our
server.xml to allow https requests.  I used keytool to import the cert.
using tomcat as the alias.  I get a message no self-signed cert.
available.  This is from verisign and is not self created.  How do I get
tomcat to use this cert. to serve JSP's under SSL.

Thank You Again,

Todd



Re: Tomcat/IIS Installation Problem

2001-05-31 Thread Mr.Y.SHIVAKANT


-Original Message-
From: Todd Sussman [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Thursday, May 31, 2001 2:18 PM
Subject: RE: Tomcat/IIS Installation Problem


   I am sorry if this question was answered, but our mail server was
down for 2 days.

We have tomcat 3.2.1 running on Win2k (IIS 5.0).

When we run using http, all is fine.  When adding SSL via a Verisign
Cert., we get a message asking whether we want to d/l secure and
unsecure information.  I then installed JSSE 1.0.2 and modified our
server.xml to allow https requests.  I used keytool to import the cert.
using tomcat as the alias.  I get a message no self-signed cert.
available.  This is from verisign and is not self created.  How do I get
tomcat to use this cert. to serve JSP's under SSL.

Thank You Again,

Todd


Can i install iis server on windows 98.i am asking this because it is meant
for nt platform


Shivakanth




RE: Tomcat/IIS Installation Problem

2001-05-30 Thread Randy Layman


Your quandary is a mis-configuration.  Remove the virtual
directories from IIS, add the appropriate entries to
uriworkermap.properties, and then restart the IIS process (using the
Services Control Panel, or perform a machine restart, not the stop/start
buttons in IIS Admin)

Randy

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 30, 2001 10:52 AM
 To: [EMAIL PROTECTED]
 Subject: Tomcat/IIS Installation Problem
 
 
 
 
 Gentlemen:
 
 I have installed a copy of Tomcat 3.2.1 onto an IIS system.  
 I can process the
 /examples/jsp/index.html example fine.  I am trying to make 
 two custom
 applications work in this same environment with no success.
 
 I have created two new directories under Tomcat/webapps  
 when I start up
 Tomcat, the servlet log file indicates that it sees these new 
 application
 directories:
 
  2001-05-25 03:05:25 - path=/examples :jsp: init
  2001-05-25 03:05:26 - path=/admin :jsp: init
  2001-05-25 03:05:26 - path=/MachineHealthROI :jsp: init
  2001-05-25 03:05:27 - path=/PMQualityROI :jsp: init
  2001-05-25 03:05:27 - path= :jsp: init
  2001-05-25 03:05:28 - path=/test :jsp: init
 
 If I specify a request to an application as follows:
 
  http://localhost/PMQualityROI/index.jsp or 
 http://localhost/PMQualityROI, I
  get a 404 file not found error.
 
 If I create a virtual directory within IIS for an 
 application, When I access the
  application as follows:
 
  http://localhost/MachineHealth/ROI/index.jsp or
 http://localhostMachineHealthROI, I get a 403 no 
 authorization error.
 
 Could you posibly supply and additional information, which 
 might help me out of
 my quandry?
 
 
 Thank-you for any help you can give me.
 
 Ernie DiCicco
 
 



RE: Tomcat/IIS Installation

2001-05-30 Thread Randy Layman


Does this file contain the mappings for your new contexts?  I've
never used the automatically generated file, just the one that I edited
myself.  Remember, every time you start IIS, this file will be overwritten.

Randy

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 30, 2001 1:37 PM
 To: [EMAIL PROTECTED]
 Subject: Tomcat/IIS Installation
 
 
 
 
 I received the following reply message from Randy Layman in 
 response to my
 original request for info.
   I made his suggested updates, but it still doesn't work, in 
 fact now the
 examples servlet no longer works.
 I must state, that I used the uriworkermap.properties-auto file as the
 worker_mount_file in REGEDIT as described in the user manual.
 
 Again any help would be greatly appreciated.  I have been 
 struggling with this
 now for over a week.
 
 Ernie DiCicco
 
 
 --
 ---
 From: Randy Layman
 Subject:  RE: Tomcat/IIS Installation Problem
 Date:  Wed, 30 May 2001 10:44:09 -0400
 
  Your quandary is a mis-configuration.  Remove the virtual
 directories from IIS, add the appropriate entries to
 uriworkermap.properties, and then restart the IIS process (using the
 Services Control Panel, or perform a machine restart, not the
 stop/start
 buttons in IIS Admin)
 
  Randy
 
  -Original Message-
  From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, May 30, 2001 10:52 AM
  To: [EMAIL PROTECTED]
  Subject: Tomcat/IIS Installation Problem
 
 
 
 
  Gentlemen:
 
  I have installed a copy of Tomcat 3.2.1 onto an IIS system.
  I can process the
  /examples/jsp/index.html example fine.  I am trying to make
  two custom
  applications work in this same environment with no success.
 
  I have created two new directories under Tomcat/webapps
  when I start up
  Tomcat, the servlet log file indicates that it sees these new
  application
  directories:
 
   2001-05-25 03:05:25 - path=/examples :jsp: init
   2001-05-25 03:05:26 - path=/admin :jsp: init
   2001-05-25 03:05:26 - path=/MachineHealthROI :jsp: init
   2001-05-25 03:05:27 - path=/PMQualityROI :jsp: init
   2001-05-25 03:05:27 - path= :jsp: init
   2001-05-25 03:05:28 - path=/test :jsp: init
 
  If I specify a request to an application as follows:
 
   http://localhost/PMQualityROI/index.jsp or
  http://localhost/PMQualityROI, I
   get a 404 file not found error.
 
  If I create a virtual directory within IIS for an
  application, When I access the
   application as follows:
 
   http://localhost/MachineHealth/ROI/index.jsp or
  http://localhostMachineHealthROI, I get a 403 no
  authorization error.
 
  Could you posibly supply and additional information, which
  might help me out of
  my quandry?
 
 
  Thank-you for any help you can give me.
 
  Ernie DiCicco
 
 
 
 
 



RE: tomcat-iis configuration

2001-05-28 Thread Todd Sussman

The servlets we had mapped in tomcat.conf had to be added as aliases in
IIS.  The same way you added jakarta for isapi_redirect.dll
 
Hope this helps.
 
Todd

-Original Message-
From: hardik [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 3:23 PM
To: [EMAIL PROTECTED]
Subject: tomcat-iis configuration


hi!..
 
i tried to configure IIS- with tomcat3.2.. and was successful in serving
the /examples context with the IIS...
but i want to add more context to be served by IIS.. i followed the
steps described in the file.. but it doesnt work.. can anyone tell me
how to make
other contexts work with IIS.
 
thanxs..
 
hardik




Re: tomcat IIS error

2001-05-18 Thread Arnaud Dostes - NTI



youmore explicit
us help


  - Original Message - 
  From: 
  Alex Almero 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Friday, May 18, 2001 10:06 AM
  Subject: tomcat IIS error
  
  got this error under the isapi.log
   
  jk_uri_worker_map_t::uri_worker_map_free, NULL parameters
  
  also under the w3svc/ex"date"
   GET 
  /jakarta/examples/jsp/snp/snoop.jsp 200


RE: Tomcat/IIS Error

2001-05-17 Thread Ross Merritt

Looks like you changed your context, web.xml file with the uri-path or you
moved the code to a different directory

Ross

-Original Message-
From: Joe Ryburn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2001 2:37 PM
To: [EMAIL PROTECTED]
Subject: Tomcat/IIS Error





I had IIS working with Tomcat using the isapi_redirect.dll was working a
couple of days ago, but now I'm having unexpected problems.
The isapi.log file, for every request I make, logs the following
information...

[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/servlet/ImServ
let
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_isapi_plugin.c (439)]: HttpFilterProc
[/servlet/ImServlet?xmldoc=common/sign
up/signup_register.xmlstyle=common/signup/signup_register.xslactor_type=af
fili
atecomefrom=signupaction=logon] is a servlet url - should redirect to
ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/servlet/ImServlet?xmldoc=co
mmon/signup/signup_register.xmlstyle=common/signup/signup_register.xslacto
r_ty
pe=affiliatecomefrom=signupaction=logon] is points to the web-inf
directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/servlet/ImServ
let
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_isapi_plugin.c (439)]: HttpFilterProc
[/servlet/ImServlet?xmldoc=common/sign
up/signup_register.xmlstyle=common/signup/signup_register.xslactor_type=af
fili
atecomefrom=signupaction=logon] is a servlet url - should redirect to
ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/servlet/ImServlet?xmldoc=co
mmon/signup/signup_register.xmlstyle=common/signup/signup_register.xslacto
r_ty
pe=affiliatecomefrom=signupaction=logon] is points to the web-inf
directory

This looks OK to me, but I get a (404) error response from tomcat...


2001-05-17 01:59:02 - Ctx(  ): 404 R(  + /jakarta/isapi_redirect.dll + null)
null


And a (200) error from IIS...

18:51:46 127.0.0.1 GET /jakarta/isapi_redirect.dll 200

Now the exact same configuration works with Apache without problems. Can
anyone provide me
clues?

Joe Ryburn
iMediation Professional Services
41 Perimeter Center East
Suite 350
Atlanta, GA 30346
Cell Phone - 501-249-5015



RE: Tomcat IIS HowTo

2001-05-15 Thread Ross Merritt

I would check if you have allowed anonomous users on you IIS setting for
your web site.

-Original Message-
From: Li, Maria Q [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 15, 2001 6:21 PM
To: '[EMAIL PROTECTED]'
Subject: Tomcat IIS HowTo


First of all, this is very good instruction on how to make Tomcat work with
IIS. The only thing is that when I try to run
http://localhost/examples/jsp/index.html, it always prompt dialog box Enter
Network Password. After I entered username/password and everything runs OK.
Any idea on what do I missing? I already setup the permission on the
directory for the NT server which runs IIS and Tomcat.

Thank you for your time!



RE: Tomcat IIS HowTo

2001-05-10 Thread Lee Goddard

This is of course not a Tomcat issue at all, but a Cocoon issue, and derives
from being awake for too long too eager to see XML to PDF.  ALl is fine now:
I love all of you Apache people very much; keep up the good work folks!

Thank you and good night.
lee

 -Original Message-
 From: Lee Goddard [mailto:[EMAIL PROTECTED]]
 Sent: 09 May 2001 12:42
 To: [EMAIL PROTECTED]
 Subject: Tomcat IIS HowTo


 Tomcat IIS HowTo
   Feedback
 Please send feedback, bug report or any
 additional information to [EMAIL PROTECTED]

 So I am followed the excellent HOWTO, and got the server
 up to the extent that I'm getting this response when clicking
 the links on the examples/jsp/index.html :-

 Failed to connect to ServletExec instance servletexec1
 at 127.0.0.1:
 The error number is 0

 Is this a FAQ?

 Could someone please help?

 Thanks in anticipation,
 lee


 Lee Goddard  http://www.leegoddard.com
 Perl / XML / XSLT




Re: Tomcat/IIS 5.0 ISAPI REDIRECTOR

2001-05-10 Thread Keith Willis

Hi,

I have been fighting this also.  I have not been able to solve it either.  I 
put the following in my server.xml file...

 Context path=/
  docBase=D:\www
  crossContext=false
  debug=0
  reloadable=true 
 /Context

I am using the assumption that if you put / it refers to the 
http://localhost URL.  In the examples in the server.xml file, it was using 
relative paths...  Is there a problem if I put in an absolute path?

It will bring up the jsp file when I type http://localhost/HelloWorld.jsp 
but it will not execute the server side script.

I would appreciate any help with this.

Thanks in advance,

Keith

Original Message Follows
From: Mike Spisak [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Tomcat/IIS 5.0  ISAPI REDIRECTOR
Date: Wed, 09 May 2001 23:58:27 -0400

Hamant-

I believe if you are not using the default directory setup
(tomcat_home/webapps/ROOT, etc.) then you must define the context in the
server.xml file (located in the conf directory) Like so:

 Context path=/your URL path
  docBase=Your Path (inetPub)
  crossContext=false
  debug=0
  reloadable=true 
 /Context

Hope this helps..

mike-

|  m i k e  |

At 01:38 PM 5/10/2001 +1000, you wrote:
Hello

I have a problem with getting my own jsp's located under 
c:/inetpub/wwwroot/
to work.

I have managed to get IIS 5.0 to serve the JSP examples.

I have added a context to :

uriwokermap.properties


for my own files which are sitting under the Jakarta
directory and this works fine.

How can I get JSP files located under c:/inetpub/wwwroot/ to work ?

I suspect I may have to add another context , but adding:

c:/inetpub/wwwroot/

to the uriworkermap.properties file does not work.

Can anyone help ?


Many thanks

Hamant


_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: Tomcat/IIS 5.0 ISAPI REDIRECTOR

2001-05-10 Thread Mike Spisak

Hamant / Keith -

I tried to do what I believe you are asking and I got it to work.. Here is 
the process I followed:

My server.xml file has lines that looks like this (as I stated in my 
previous note):

 Context path=/
 docBase=/Inetpub/wwwroot
 crossContext=false
 debug=0
 reloadable=true 
 /Context

Note: there is no C:\  replaced by /


Then I added this line to my: conf/uriworkermap.properties file:

 /*.jsp=ajp12

Then I restarted my IIS and tomcat services.. and I was able to hit: 
http://127.0.0.1/helloWorld.jsp

I hope this helps...
mike

| m i k e |


At 02:40 PM 5/10/2001 +, you wrote:

Mike,

Thanks for posting this. I have been looking for it.

I have one question though...

on this line of code... Context path=/your URL path

If I want the root directory would I use... Context path=/ ?

Thanks,

Keith Willis

Original Message Follows
From: Mike Spisak [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Tomcat/IIS 5.0  ISAPI REDIRECTOR
Date: Wed, 09 May 2001 23:58:27 -0400

Hamant-

I believe if you are not using the default directory setup
(tomcat_home/webapps/ROOT, etc.) then you must define the context in the
server.xml file (located in the conf directory) Like so:

Context path=/your URL path
docBase=Your Path (inetPub)
crossContext=false
debug=0
reloadable=true 
/Context

Hope this helps..

mike-

| m i k e |

At 01:38 PM 5/10/2001 +1000, you wrote:
Hello

I have a problem with getting my own jsp's located under c:/inetpub/wwwroot/
to work.

I have managed to get IIS 5.0 to serve the JSP examples.

I have added a context to :

uriwokermap.properties


for my own files which are sitting under the Jakarta
directory and this works fine.

How can I get JSP files located under c:/inetpub/wwwroot/ to work ?

I suspect I may have to add another context , but adding:

c:/inetpub/wwwroot/

to the uriworkermap.properties file does not work.

Can anyone help ?


Many thanks

Hamant


_
Get your FREE download of MSN Explorer at http://explorer.msn.com




RE: Tomcat/IIS 5.0 ISAPI REDIRECTOR

2001-05-10 Thread Will Thien

Will

If you get it working, I would be interested. I have been fighting it. I can
get tomcat to work but not the redirect form IIS.

Will


-Original Message-
From: Keith Willis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 10, 2001 2:53 PM
To: tomcat-user
Subject: Re: Tomcat/IIS 5.0  ISAPI REDIRECTOR


Hi,

I have been fighting this also.  I have not been able to solve it either.  I
put the following in my server.xml file...

 Context path=/
  docBase=D:\www
  crossContext=false
  debug=0
  reloadable=true 
 /Context

I am using the assumption that if you put / it refers to the
http://localhost URL.  In the examples in the server.xml file, it was using
relative paths...  Is there a problem if I put in an absolute path?

It will bring up the jsp file when I type http://localhost/HelloWorld.jsp
but it will not execute the server side script.

I would appreciate any help with this.

Thanks in advance,

Keith

Original Message Follows
From: Mike Spisak [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Tomcat/IIS 5.0  ISAPI REDIRECTOR
Date: Wed, 09 May 2001 23:58:27 -0400

Hamant-

I believe if you are not using the default directory setup
(tomcat_home/webapps/ROOT, etc.) then you must define the context in the
server.xml file (located in the conf directory) Like so:

 Context path=/your URL path
  docBase=Your Path (inetPub)
  crossContext=false
  debug=0
  reloadable=true 
 /Context

Hope this helps..

mike-

|  m i k e  |

At 01:38 PM 5/10/2001 +1000, you wrote:
Hello

I have a problem with getting my own jsp's located under
c:/inetpub/wwwroot/
to work.

I have managed to get IIS 5.0 to serve the JSP examples.

I have added a context to :

uriwokermap.properties


for my own files which are sitting under the Jakarta
directory and this works fine.

How can I get JSP files located under c:/inetpub/wwwroot/ to work ?

I suspect I may have to add another context , but adding:

c:/inetpub/wwwroot/

to the uriworkermap.properties file does not work.

Can anyone help ?


Many thanks

Hamant


_
Get your FREE download of MSN Explorer at http://explorer.msn.com





Re: Tomcat, IIS and virtual hosts

2001-05-09 Thread Sachin Phatak

Hi!
This Post by Robert was helpful I tried it and it works. But i have a few
more Qs.

Q 1. The Documentation mentions that to add contexts to the IIS we  need to
add contexts in uriworkermap.properties (a file totaly ignored in Robert's
solution). Any idea whether that needs to be done at all  if so in what
situation?

Q 2. In the Host ... /Host entry of server.xml, we create a Context with
path=xyz  docBase=webapps/contextname. What should one do if teh
context is to be mapped to a directory outside c:\jakarta-tomcat\webapps\
say maybe on d:\webapps\

Q3. Are there any benefits to running multiple instances of tomcat for each
virtual host. If yes how does one run multiple instances?

thanks
sachin

- Original Message -
From: Robert J. Lebowitz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 04, 2001 12:23 AM
Subject: Re: Tomcat, IIS and virtual hosts


 I finally solved the problem of virtual hosts on IIS myself it took a
 bit of time, and I had to re-read the Tomcat documentation quite a bit.
It
 might be useful to have an example as there is for the Apache server in
 there in the future.

 I had to modify to files to allow me to connect properly to my virtual
 hosts:

 1.  server.xml - use the Host name=myhost.org
 /Host section to define an appropriate context for the virtual host.
 Supposedly you can specify either the fully qualified hostname, or it's IP
 address in the name attribute.

 2.  workers.properties.  This is the part that had me stumped for quite a
 while.  I had to redefine the host associated with the ajp12 worker.  I
 suppose that if I wanted to retain the localhost setting, I could define
 another worker in the worker.list, make sure it is of type ajp12, and
assign
 it's .host attribute with the name of my virtual host, and it's port as
 8007.

 here's an example.

 In the uriworkers.properties file it's important to assign the correct
 worker to the URL path name you're using for that virtual host... since I
 used ajp12, I didn't have to do much there...

 #
 # Defining a worker named ajp12 and of type ajp12
 # Note that the name and the type do not have to match.
 #
 worker.list=ajp12, ajp13
 worker.ajp12.port=8007
 #worker.ajp12.host=localhost
 worker.ajp12.host=myhost.org
 worker.ajp12.type=ajp12






Re: Tomcat IIS

2001-05-06 Thread Keith Willis

I have actually done this.  And that works fine.   The problem is that I 
cannot have jsp files in the wwwroot directory that I have IIS pointed at.

The redirect works fine...  I have the samples loading up and everything.

Any further help would be appreciated.

Thanks again,

Keith


Original Message Follows
From: Allan Kamau [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Tomcat  IIS
Date: Sat, 5 May 2001 02:43:54 -0700 (PDT)

Hi Willis and others installing tomcat and IIS

You will need to configure IIS and install a filter
that will forward requests to Tomcat.
I don't remember the exact steps.The how to docs in
Tomcat/docs directory provide detailed explanations on
the same.
Basically you will need to visit the tomcat download
page, move into the win32/ directory and download
files from there, you will end up using only one of
the dlls included here. Extract the dll (from it's zip
format) and copy it to a directory .. you will get
more information from the docs.
You will need to create a vitual directory in the
site(s) you have created in your IIS.
At the end. You should be able to run your .asp and
.htm[l] files with IIS handling those and your
servlets and .jsp files being handled by Tomcat. You
can even access servlets in the contexts you've
defined.

Allan Kamau.

--- Keith Willis [EMAIL PROTECTED] wrote:
  I am trying to run Tomcat and IIS together.
 
  I would like to put ASP and JSP files in the same
  directory.
 
  I tried changing the directory in IIS to point to
  the Root directory of
  Tomcat, but it would not run the JSP in that folder
  then.
 
  Is there a way to do this? (Basically I want all my
  files in the same set of
  directories rather than ASP in one set and JSP in
  another)
 
  Thanks,
 
  Keith
 
_
  Get your FREE download of MSN Explorer at
  http://explorer.msn.com
 


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: Tomcat IIS

2001-05-05 Thread Allan Kamau

Hi Willis and others installing tomcat and IIS

You will need to configure IIS and install a filter
that will forward requests to Tomcat.
I don't remember the exact steps.The how to docs in
Tomcat/docs directory provide detailed explanations on
the same.
Basically you will need to visit the tomcat download
page, move into the win32/ directory and download
files from there, you will end up using only one of
the dlls included here. Extract the dll (from it's zip
format) and copy it to a directory .. you will get
more information from the docs.
You will need to create a vitual directory in the
site(s) you have created in your IIS. 
At the end. You should be able to run your .asp and
.htm[l] files with IIS handling those and your
servlets and .jsp files being handled by Tomcat. You
can even access servlets in the contexts you've
defined.

Allan Kamau.

--- Keith Willis [EMAIL PROTECTED] wrote:
 I am trying to run Tomcat and IIS together.
 
 I would like to put ASP and JSP files in the same
 directory.
 
 I tried changing the directory in IIS to point to
 the Root directory of 
 Tomcat, but it would not run the JSP in that folder
 then.
 
 Is there a way to do this? (Basically I want all my
 files in the same set of 
 directories rather than ASP in one set and JSP in
 another)
 
 Thanks,
 
 Keith

_
 Get your FREE download of MSN Explorer at
 http://explorer.msn.com
 


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



Re: Tomcat, IIS and virtual hosts

2001-05-03 Thread Brian Murray

 Apache is a much better solution for virtual hosts than IIS

He's using IIS and I'm using Apache.  What we have in common is that we're both after 
examples of
setting up Tomcat to work with virtual hosts.  I'm sorry if that was not clear.

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



RE: Tomcat, IIS and virtual hosts

2001-05-03 Thread Duncan Irvine

I didn't spend too long on this, as we only needed the vhosts as a stop-gap
solution, and only needed three at that, but the only way I found to do it
was to have vhosts defined in both Apache and Tomcat.

Apache's vhosting knows the difference for the static pages, and any
.jsps/servlets for *any* of the servers are handed off to Tomcat without
vhosting.  Tomcat then knows the correct vhost as well, and serves the
relevant jsp.  I forget which (but I believe Apache) complained about the
mod_jk config appearing within a vhost definition.  I've no idea about IIS
unfortunately - I only use real web-servers!

The rest of the information you need is in the docs, and you should be able
to work it out yourself.  

There may be a better way to do it, but I didn't have the time to find it.

Hope this helps,
Duncan.

P.S. I can probably dig the old config files out if you need them, but I
don't have them to hand at the mo.


 -Original Message-
 From: Brian Murray [mailto:[EMAIL PROTECTED]]
 Sent: 03 May 2001 08:42
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat, IIS and virtual hosts
 
 
  Apache is a much better solution for virtual hosts than IIS
 
 He's using IIS and I'm using Apache.  What we have in common 
 is that we're both after examples of
 setting up Tomcat to work with virtual hosts.  I'm sorry if 
 that was not clear.
 
 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/
 



This message contains information which may be privileged
and confidential and subject to legal privilege. If you are not
the intended recipient, you may not peruse, use, disseminate,
distribute or copy this message. If you have received this 
message in error, please notify the sender immediately by 
e-mail, facsimile, or telephone and return or destroy the 
original message. Sopheon and its officers are not responsible
for any statements or material in this e-mail and in any attachment
to it which might give rise to any criminal or civil claim.




RE: Tomcat, IIS and virtual hosts

2001-05-03 Thread christopher

here is what i am using to Vhost with tomcat

and in the server.xml

Host name=xxx.com
   Context path= docBase=webapps/xxx debug=0 reloadable=true /
/Host
Host name=www.xxx.com
   Context path= docBase=webapps/xxx debug=0 reloadable=true /
/Host

with apache i just include the mod_jk.conf-auto
i assume that IIS has a mechanism to include the iis_redirect.conf-auto
file.

i found the only other thing to do is ensure the webserver can't server the
WEB-INF and META-INF directories.

hope this helps

chris




-Original Message-
From: Brian Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 9:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Tomcat, IIS and virtual hosts


snip
Can someone send me an example of how to configure Tomcat to work with
virtual hosts?

Hi Mr. Lebowitz.  I've been after the same thing.  Unfortunately the score
sits at Requests 2,
Responses 0.  If you receive any help off the list, I'd greatly appreciate
it if you would share
it with me.  If I receive any, I'll certainly pass it along to you.  Good
luck.

=


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




Re: Tomcat, IIS and virtual hosts

2001-05-03 Thread Robert J. Lebowitz

Chris:

I've made the same modifications to server.xml as you describe below, but
there appears to be more to it when working with IIS.


- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 03, 2001 9:32 AM
Subject: RE: Tomcat, IIS and virtual hosts


 here is what i am using to Vhost with tomcat

 and in the server.xml

 Host name=xxx.com
Context path= docBase=webapps/xxx debug=0 reloadable=true /
 /Host
 Host name=www.xxx.com
Context path= docBase=webapps/xxx debug=0 reloadable=true /
 /Host

 with apache i just include the mod_jk.conf-auto
 i assume that IIS has a mechanism to include the iis_redirect.conf-auto
 file.

 i found the only other thing to do is ensure the webserver can't server
the
 WEB-INF and META-INF directories.

 hope this helps

 chris




 -Original Message-
 From: Brian Murray [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, May 02, 2001 9:32 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Tomcat, IIS and virtual hosts


 snip
 Can someone send me an example of how to configure Tomcat to work with
 virtual hosts?

 Hi Mr. Lebowitz.  I've been after the same thing.  Unfortunately the score
 sits at Requests 2,
 Responses 0.  If you receive any help off the list, I'd greatly appreciate
 it if you would share
 it with me.  If I receive any, I'll certainly pass it along to you.  Good
 luck.

 =


 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/




Re: Tomcat, IIS and virtual hosts

2001-05-03 Thread Robert J. Lebowitz

I finally solved the problem of virtual hosts on IIS myself it took a
bit of time, and I had to re-read the Tomcat documentation quite a bit.  It
might be useful to have an example as there is for the Apache server in
there in the future.

I had to modify to files to allow me to connect properly to my virtual
hosts:

1.  server.xml - use the Host name=myhost.org
/Host section to define an appropriate context for the virtual host.
Supposedly you can specify either the fully qualified hostname, or it's IP
address in the name attribute.

2.  workers.properties.  This is the part that had me stumped for quite a
while.  I had to redefine the host associated with the ajp12 worker.  I
suppose that if I wanted to retain the localhost setting, I could define
another worker in the worker.list, make sure it is of type ajp12, and assign
it's .host attribute with the name of my virtual host, and it's port as
8007.

here's an example.

In the uriworkers.properties file it's important to assign the correct
worker to the URL path name you're using for that virtual host... since I
used ajp12, I didn't have to do much there...

#
# Defining a worker named ajp12 and of type ajp12
# Note that the name and the type do not have to match.
#
worker.list=ajp12, ajp13
worker.ajp12.port=8007
#worker.ajp12.host=localhost
worker.ajp12.host=myhost.org
worker.ajp12.type=ajp12





Re: Tomcat, IIS and virtual hosts

2001-05-02 Thread Brian Murray

snip
Can someone send me an example of how to configure Tomcat to work with
virtual hosts?

Hi Mr. Lebowitz.  I've been after the same thing.  Unfortunately the score sits at 
Requests 2,
Responses 0.  If you receive any help off the list, I'd greatly appreciate it if you 
would share
it with me.  If I receive any, I'll certainly pass it along to you.  Good luck.

=


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/



Re: Tomcat, IIS and virtual hosts

2001-05-02 Thread David Crooke

Apache is a much better solution for virtual hosts than IIS

Brian Murray wrote:

 snip
 Can someone send me an example of how to configure Tomcat to work with
 virtual hosts?

 Hi Mr. Lebowitz.  I've been after the same thing.  Unfortunately the score sits at 
Requests 2,
 Responses 0.  If you receive any help off the list, I'd greatly appreciate it if you 
would share
 it with me.  If I receive any, I'll certainly pass it along to you.  Good luck.

 =

 __
 Do You Yahoo!?
 Yahoo! Auctions - buy the things you want at great prices
 http://auctions.yahoo.com/




RE: Tomcat/IIS 5 /examples solution?

2001-04-27 Thread David McCormick

Can you point me to Eric's post?

Thanks.

-Original Message-
From: Steve Holmlund [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 6:08 PM
To: [EMAIL PROTECTED]
Subject: Tomcat/IIS 5 /examples solution?


Ok, it was a trip to jGuru and a post by Eric M. from December that may have
provided the answer to my problem. Eric reiterated the isapi_redirect.dll
install procedure in 28 steps. Step #26 was to start Tomcat.

I didn't think this was necessary as I thought that IIS started Tomcat by
having it installed as a filter. Then I re-read the tomcat-iis-howto and lo
and behold, after Configuring the ISAPI Redirector Step 9, there is the
following:

That's all, you should now start Tomcat and ask IIS to serve you the
/examples context.

So I fire up the Jakarta NT Service on the server and test from another
machine.

With IIS running, this works:
http://192.168.1.2/examples/jsp/index.html (192.168.1.2 is server IP)

If I stop IIS, that URL no longer works and I must enter:
http://192.168.1.2:8080/examples/jsp/index.html

which I presume is the standalone Tomcat working???

Can someone confirm that this is correct? If you know and have the time, I
would appreciate understanding why you must both add the filter and start
Tomcat separately. I don't really understand the theory of operation.

Thanks!
Steve



RE: Tomcat/IIS 5 /examples solution?

2001-04-27 Thread Steve Holmlund

 -Original Message-
 From: David McCormick [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 27, 2001 5:40 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: Tomcat/IIS 5 /examples solution?


 Can you point me to Eric's post?

Gladly, http://jguru.com/faq/view.jsp?EID=275211

Ignore my response below his, where I start to tell him he's mistaken, and
then eat my words.

Steve




RE: Tomcat/IIS 5 /examples solution?

2001-04-27 Thread Boyce, David

Steve,

FWIW the person to whom you owe this help is an Erin (and thus presumably a
she), not an Eric. Yet more words to eat.

-dsb 

-Original Message-
From: Steve Holmlund [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 1:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat/IIS 5 /examples solution?


 -Original Message-
 From: David McCormick [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 27, 2001 5:40 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: Tomcat/IIS 5 /examples solution?


 Can you point me to Eric's post?

Gladly, http://jguru.com/faq/view.jsp?EID=275211

Ignore my response below his, where I start to tell him he's mistaken, and
then eat my words.

Steve



RE: Tomcat/IIS 5 /examples solution?

2001-04-27 Thread Steve Holmlund

ugh, my apologies to Erin.

Steve

 -Original Message-
 From: Boyce, David [mailto:[EMAIL PROTECTED]]
 Sent: Friday, April 27, 2001 12:16 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: Tomcat/IIS 5 /examples solution?
 
 
 Steve,
 
 FWIW the person to whom you owe this help is an Erin (and thus 
 presumably a
 she), not an Eric. Yet more words to eat.
 
 -dsb 




Re: Tomcat/IIS 5 /examples solution?

2001-04-26 Thread Steve Ruby


If it works as you described then you have it all working (yes the response
to port 8080 is tomcat standalone working, you can turn off responses
to port 8080 in server.xml if you wish).

The reason you have to start Tomcat is beause the isapi redirector only
redirects requests to tomcat over the ajp port (8007 by default) the redirector
doesn't run tomcat unless you run tomcat as an in process server see the
manual on that one.



Steve Holmlund wrote:
 
 Ok, it was a trip to jGuru and a post by Eric M. from December that may have
 provided the answer to my problem. Eric reiterated the isapi_redirect.dll
 install procedure in 28 steps. Step #26 was to start Tomcat.
 
 I didn't think this was necessary as I thought that IIS started Tomcat by
 having it installed as a filter. Then I re-read the tomcat-iis-howto and lo
 and behold, after Configuring the ISAPI Redirector Step 9, there is the
 following:
 
 That's all, you should now start Tomcat and ask IIS to serve you the
 /examples context.
 
 So I fire up the Jakarta NT Service on the server and test from another
 machine.
 
 With IIS running, this works:
 http://192.168.1.2/examples/jsp/index.html (192.168.1.2 is server IP)
 
 If I stop IIS, that URL no longer works and I must enter:
 http://192.168.1.2:8080/examples/jsp/index.html
 
 which I presume is the standalone Tomcat working???
 
 Can someone confirm that this is correct? If you know and have the time, I
 would appreciate understanding why you must both add the filter and start
 Tomcat separately. I don't really understand the theory of operation.
 
 Thanks!
 Steve



RE: Tomcat/IIS 5 /examples solution?

2001-04-26 Thread Darrell Porter

ISAPI applications are called only on demand, if a request explicitly points
to the DLL. Hence, in the most common case - of processing all normal
requests, the additional overhead of a filter will not be incurred.

ISAPI Filters provide call backs at each stage of the processing. Realize
that what is being installed is a filter, not an application and therefore
IIS doesn't know (or even need to know) how to start Tomcat.

The ISAPI filter simply forwards items to Tomcat for processing.

At least, this is what I am told...=P

Darrell


-Original Message-
From: Steve Holmlund [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 3:08 PM
To: [EMAIL PROTECTED]
Subject: Tomcat/IIS 5 /examples solution?


Ok, it was a trip to jGuru and a post by Eric M. from December that may have
provided the answer to my problem. Eric reiterated the isapi_redirect.dll
install procedure in 28 steps. Step #26 was to start Tomcat.

I didn't think this was necessary as I thought that IIS started Tomcat by
having it installed as a filter. Then I re-read the tomcat-iis-howto and lo
and behold, after Configuring the ISAPI Redirector Step 9, there is the
following:

That's all, you should now start Tomcat and ask IIS to serve you the
/examples context.

So I fire up the Jakarta NT Service on the server and test from another
machine.

With IIS running, this works:
http://192.168.1.2/examples/jsp/index.html (192.168.1.2 is server IP)

If I stop IIS, that URL no longer works and I must enter:
http://192.168.1.2:8080/examples/jsp/index.html

which I presume is the standalone Tomcat working???

Can someone confirm that this is correct? If you know and have the time, I
would appreciate understanding why you must both add the filter and start
Tomcat separately. I don't really understand the theory of operation.

Thanks!
Steve



RE: Tomcat/IIS 5 /examples solution?

2001-04-26 Thread Steve Holmlund

Thanks, Steve and Jeff, for the explanations. It's all starting to make
sense now.

Steve H.

 If it works as you described then you have it all working (yes
 the response
 to port 8080 is tomcat standalone working, you can turn off responses
 to port 8080 in server.xml if you wish).

 The reason you have to start Tomcat is beause the isapi redirector only
 redirects requests to tomcat over the ajp port (8007 by default)
 the redirector
 doesn't run tomcat unless you run tomcat as an in process server see the
 manual on that one.




Re: tomcat-iis-howto.html

2001-03-12 Thread Christian Rauh


Is this on the docs?

Christian

Marc Saegesser wrote:
 
 When tomcat starts it creates a file in tomcat/conf called
 iis_redirect.reg-auto that has all the right registry entries with the
 correct paths based on the current config files.  For example the full path
 to the log file, the full path to the workers and uriworkermap properties
 files.
 
 -Original Message-
 From: Rob Wloch [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, March 07, 2001 10:54 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: re: tomcat-iis-howto.html
 
 Hi,
 
 I've attached a simple little file that people installing jakarta-tomcat
 might find useful. I found doing the Registry stuff a bit time consuming and
 awkward so I made this .reg file and it worked for me. You just have to
 double-click it and it will do it automatically create the registry entries.
 
 -Rob.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

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




RE: tomcat-iis-howto.html

2001-03-09 Thread Marc Saegesser

When tomcat starts it creates a file in tomcat/conf called
iis_redirect.reg-auto that has all the right registry entries with the
correct paths based on the current config files.  For example the full path
to the log file, the full path to the workers and uriworkermap properties
files.

-Original Message-
From: Rob Wloch [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 10:54 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: re: tomcat-iis-howto.html


Hi,

I've attached a simple little file that people installing jakarta-tomcat
might find useful. I found doing the Registry stuff a bit time consuming and
awkward so I made this .reg file and it worked for me. You just have to
double-click it and it will do it automatically create the registry entries.

-Rob.


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




re: tomcat-iis-howto.html

2001-03-07 Thread Rob Wloch



Hi,

I've attached a simple little file that people 
installing jakarta-tomcatmight find useful. I found doing the Registry 
stuff a bit time consuming and awkward so Imade this .reg file and it 
worked for me. You just have to double-clickit andit will do it 
automatically create the registry entries.

-Rob.
 robjakarta.reg

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


RE: TomCat - IIS - Security

2001-03-05 Thread Brett Knights

Authentication and IIS seems to be a bit of a joke.

One of the sites I develop needed to use NTLM for an intranet application. After some 
trials with IIS we ended up with Apache and
mod_ntlm. It works like a charm. If you try to write your own realm you may want to 
check the code for that.

OTOH you should be able to use that with Apache and use Location tags in the .conf 
file to achieve your aims. Restricted users can
be shut out and req.getRemoteUser() can be used to see who has been authenticated. 
(note username will be "domain\user")

HTH

Brett Knights

 -Original Message-
 From: Randy Layman [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 28, 2001 4:32 AM
 To: [EMAIL PROTECTED]
 Subject: RE: TomCat - IIS - Security



   To secure things in Tomcat you need to use realms.  To
 use NTLM you
 will need to write your own realm, which will require writing
 C/C++ code
 since NT doesn't play nice with Java.  Perhaps someone has
 already written
 this and will publish it when they see this message.

   How does this solve your problem of protecting various
 resources?
 You will use security-constraint tags in the web.xml file.

   Randy

 -Original Message-
 From: Christian Schulz [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 27, 2001 5:37 PM
 To: '[EMAIL PROTECTED]'
 Subject: AW: TomCat - IIS - Security
 Importance: High


 Hello Randy,
 how can we tell TomCat to perfom user authentication using NT mechnism
 (NTLM) ? And, if we want to protect
 "ourserver/secretfolder" with permissions for user "foo" and
 user "bar",
 but
 "ourserver/secretfolder/moresecret" with permissions for user
 "bar", how
 could that be possible ?
 Bye
 Christian
 -Ursprngliche Nachricht-
 Von: Randy Layman [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 27. Februar 2001 13:57
 An: [EMAIL PROTECTED]
 Betreff: RE: TomCat - IIS - Security



 This seems perfectly reasonable to me - you told IIS
 to protect
 everything it serves our of outserver/secrectfolder and have
 apparently not
 told Tomcat to protect this webapp.  If you want to protect
 all JSPs then
 you can protect the /jakarta directory, or you could
 configure Tomcat to
 perform user authentication.
 Randy
 -Original Message-
 From: Christian Schulz [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 27, 2001 8:17 AM
 To: '[EMAIL PROTECTED]'
 Cc: Thomas Dingel
 Subject: TomCat - IIS - Security
 Importance: High


 Hello,
 when using Tomcat with IIS, we have a security hole.
 We installed Tomcat as descriped at the documentation.
 The following scenario will show our problem:
 We have a folder named reachable as
 http://outserver/secretfolder/ with NT
 Security permissions set.
 The folder "secretfolder" can only be read by the system and
 by a user named

 "foo". Now, without tomcat, the user "foo" can access the
 contents of the
 folder "secretfolder", all other users will get "access
 denied". We use NTLM

 for authentification (so the browser [IE 5.x] automatically
 send the current

 NT user's account to the webserver).
 Now, we put a file named "testme.jsp" to "secretfolder" and
 try to open it
 from an NT User's account named "bar". The IIS now redirects
 to TomCat
 without checking any permissions and tomcat returns the result of
 "testme.jsp". But, in our opinion, this should not happen !!!
 The user "bar" also has to get an error "access denied" ! So, TomCat
 bypasses NT Security !
 Does anybody have a solution for that ?
 Bye bye
   Christian Schulz
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]

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




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




RE: TomCat - IIS - Security

2001-02-28 Thread Randy Layman


To secure things in Tomcat you need to use realms.  To use NTLM you
will need to write your own realm, which will require writing C/C++ code
since NT doesn't play nice with Java.  Perhaps someone has already written
this and will publish it when they see this message.

How does this solve your problem of protecting various resources?
You will use security-constraint tags in the web.xml file.

Randy

-Original Message-
From: Christian Schulz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 5:37 PM
To: '[EMAIL PROTECTED]'
Subject: AW: TomCat - IIS - Security
Importance: High


Hello Randy, 
how can we tell TomCat to perfom user authentication using NT mechnism
(NTLM) ? And, if we want to protect 
"ourserver/secretfolder" with permissions for user "foo" and user "bar", 
but 
"ourserver/secretfolder/moresecret" with permissions for user "bar", how
could that be possible ? 
Bye 
Christian 
-Ursprngliche Nachricht- 
Von: Randy Layman [mailto:[EMAIL PROTECTED]] 
Gesendet: Dienstag, 27. Februar 2001 13:57 
An: [EMAIL PROTECTED] 
Betreff: RE: TomCat - IIS - Security 



This seems perfectly reasonable to me - you told IIS to protect 
everything it serves our of outserver/secrectfolder and have apparently not 
told Tomcat to protect this webapp.  If you want to protect all JSPs then 
you can protect the /jakarta directory, or you could configure Tomcat to 
perform user authentication. 
Randy 
-Original Message- 
From: Christian Schulz [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 27, 2001 8:17 AM 
To: '[EMAIL PROTECTED]' 
Cc: Thomas Dingel 
Subject: TomCat - IIS - Security 
Importance: High 


Hello, 
when using Tomcat with IIS, we have a security hole. 
We installed Tomcat as descriped at the documentation. 
The following scenario will show our problem: 
We have a folder named reachable as http://outserver/secretfolder/ with NT 
Security permissions set. 
The folder "secretfolder" can only be read by the system and by a user named

"foo". Now, without tomcat, the user "foo" can access the contents of the 
folder "secretfolder", all other users will get "access denied". We use NTLM

for authentification (so the browser [IE 5.x] automatically send the current

NT user's account to the webserver). 
Now, we put a file named "testme.jsp" to "secretfolder" and try to open it 
from an NT User's account named "bar". The IIS now redirects to TomCat 
without checking any permissions and tomcat returns the result of 
"testme.jsp". But, in our opinion, this should not happen !!! 
The user "bar" also has to get an error "access denied" ! So, TomCat 
bypasses NT Security ! 
Does anybody have a solution for that ? 
Bye bye 
  Christian Schulz 
- 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, email: [EMAIL PROTECTED] 

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




RE: TomCat - IIS - Security

2001-02-27 Thread Randy Layman


This seems perfectly reasonable to me - you told IIS to protect
everything it serves our of outserver/secrectfolder and have apparently not
told Tomcat to protect this webapp.  If you want to protect all JSPs then
you can protect the /jakarta directory, or you could configure Tomcat to
perform user authentication.

Randy

-Original Message-
From: Christian Schulz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 8:17 AM
To: '[EMAIL PROTECTED]'
Cc: Thomas Dingel
Subject: TomCat - IIS - Security
Importance: High


Hello, 
when using Tomcat with IIS, we have a security hole. 
We installed Tomcat as descriped at the documentation. 
The following scenario will show our problem: 
We have a folder named reachable as http://outserver/secretfolder/ with NT
Security permissions set. 
The folder "secretfolder" can only be read by the system and by a user named
"foo". Now, without tomcat, the user "foo" can access the contents of the
folder "secretfolder", all other users will get "access denied". We use NTLM
for authentification (so the browser [IE 5.x] automatically send the current
NT user's account to the webserver).
Now, we put a file named "testme.jsp" to "secretfolder" and try to open it
from an NT User's account named "bar". The IIS now redirects to TomCat
without checking any permissions and tomcat returns the result of
"testme.jsp". But, in our opinion, this should not happen !!!
The user "bar" also has to get an error "access denied" ! So, TomCat
bypasses NT Security ! 
Does anybody have a solution for that ? 
Bye bye 
  Christian Schulz 

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




RE: Tomcat IIS How to

2001-02-27 Thread sohail . rana



  -Original Message-
 From: Rana,SP,Sohail,CEG1 RANASP R  
 Sent: Friday, February 23, 2001 5:20 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  Tomcat IIS How to
 
 Hi 
 I am having problems running PWS with Tomcat. If you could help me I would
 be grateful.
 
 What Am I running
 NT4 (SP6) workstation
 Tomcat 3.2.1
 PWS 4
 
 I followed the instruction but don't understand one of them 
 
 
  (I use the name jakarta), its executable must be our
 c:\jakarta-tomcat\bin\win32\i386\isapi_redirect.dll. For PWS, you'll
  need to use regedit and add/edit the "Filter DLLs" key under
  
 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters.
 This key contains a "," separated list of dlls ( full
  paths ) - you need to insert the full path to isapi_redirect.dll. 
 
 
 OK, for PWS I need to add Filter DLLs as key and .isapi_redirect.dll
 as a value (I guess), but my question is what is the name of the string. I
 am not sure, so created the Key (Filter DLLs) under Parameters and add the
 value to the default key.
 
 All the other settings are OK. But I can not access the .../examples, and
 always get 404. Also notice the /tomcat/logs/ dir did not produce
 isapi.log file.
 
 Can you see what am I doing wrong? Please let me know.
 
 Kind Regards
 Sohail

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




  1   2   >