RE: Tomcat and IIS Authorization

2005-03-02 Thread Allistair Crossley
Hi,

Sorry, I thought you had it setup and wanted only to know how to pass NTLM to 
Tomcat. For IIS->Tomcat in general you will need to install and configure the 
JK1.2.8 connector.

http://jakarta.apache.org/tomcat/connectors-doc/

Cheers, Allistair.

> -Original Message-
> From: Denny Lee [mailto:[EMAIL PROTECTED]
> Sent: 01 March 2005 18:45
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Tomcat and IIS Authorization
> 
> 
>  Hello Allistair,
> I looked at your blog but I am still lost as to how to
> setup IIS and Tomcat.  I saw that you mentioned you
> have it setup but did not specify how to do so.
> 
> > 
> > -Original Message-
> > > 
> > > Check out the NTLM part in my Tomcat 5.5 blog
> > > 
> > > www.adcworks.com/blog
> > > 
> > > Cheers, Allistair.
> > > 
> > > > -Original Message-
> > > > From: Denny Lee [mailto:[EMAIL PROTECTED]
> > > > Sent: 01 March 2005 17:26
> > > > To: tomcat-user@jakarta.apache.org
> > > > Subject: Tomcat and IIS Authorization
> > > > 
> > > > 
> > > > Hello All,
> > > > I am creating a web app that has users and
> > admins
> > > and
> > > > I need to limit certain configuration pages only
> > > to
> > > > admins.  I must use NTLM to authenticate users
> > > into
> > > > the web site and somehow get the credential to
> > > > determine if the user has sufficient access or
> > > not. 
> > > > How can I do this? Can I do this through IIS? 
> > So
> > > far
> > > > I got authentication part working using jcfis
> > but
> > > I
> > > > can't seem to get the role of the user.  I tried
> > > > tagish JAAS but keep getting missing LoginModule
> > > > error.  Any help would be great. Thanks.
> > > > 
> > > >
> > > 
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



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



Re: Tomcat and IIS Authorization

2005-03-01 Thread karjera

Laba diena.

Dėkojame, kad mums parašėte.
Jūsų atsiųsta žinutė išsaugota mūsų duomenų bazėje.


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



Re: Tomcat and IIS Authorization

2005-03-01 Thread Denny Lee
 Hello Allistair,
I looked at your blog but I am still lost as to how to
setup IIS and Tomcat.  I saw that you mentioned you
have it setup but did not specify how to do so.

> 
> -Original Message-
> > 
> > Check out the NTLM part in my Tomcat 5.5 blog
> > 
> > www.adcworks.com/blog
> > 
> > Cheers, Allistair.
> > 
> > > -Original Message-
> > > From: Denny Lee [mailto:[EMAIL PROTECTED]
> > > Sent: 01 March 2005 17:26
> > > To: tomcat-user@jakarta.apache.org
> > > Subject: Tomcat and IIS Authorization
> > > 
> > > 
> > > Hello All,
> > > I am creating a web app that has users and
> admins
> > and
> > > I need to limit certain configuration pages only
> > to
> > > admins.  I must use NTLM to authenticate users
> > into
> > > the web site and somehow get the credential to
> > > determine if the user has sufficient access or
> > not. 
> > > How can I do this? Can I do this through IIS? 
> So
> > far
> > > I got authentication part working using jcfis
> but
> > I
> > > can't seem to get the role of the user.  I tried
> > > tagish JAAS but keep getting missing LoginModule
> > > error.  Any help would be great. Thanks.
> > > 
> > >
> > 
> 


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



RE: Tomcat and IIS Authorization

2005-03-01 Thread Allistair Crossley
Check out the NTLM part in my Tomcat 5.5 blog

www.adcworks.com/blog

Cheers, Allistair.

> -Original Message-
> From: Denny Lee [mailto:[EMAIL PROTECTED]
> Sent: 01 March 2005 17:26
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat and IIS Authorization
> 
> 
> Hello All,
> I am creating a web app that has users and admins and
> I need to limit certain configuration pages only to
> admins.  I must use NTLM to authenticate users into
> the web site and somehow get the credential to
> determine if the user has sufficient access or not. 
> How can I do this? Can I do this through IIS?  So far
> I got authentication part working using jcfis but I
> can't seem to get the role of the user.  I tried
> tagish JAAS but keep getting missing LoginModule
> error.  Any help would be great. Thanks.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


 
---
QAS Ltd.
Developers of QuickAddress Software
http://www.qas.com";>www.qas.com
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---



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



Re: Tomcat and IIS Web Server

2004-04-19 Thread Daniel Gibby
You're right. If you can trust your machine(s) and the users on them, 
then you should be secure enough.

Varley, Roger wrote:

IIS will handle the https. That means that actually the connection 
between IIS and tomcat is not secure, so take that into 
consideration as 
you make your decision.

   

Thanks Daniel. Both the IIS server and Tomcat are located on the same server behind a firewall - so that really shouldn't be an issue should it? Even if they were on different servers behind a firewall given that I'm not worried about internal snooping it's still not an issue - or am I missing something important here?

Regards
Roger
 

Varley, Roger wrote:

   

Hi

I have Tomcat running behind Microsofts IIS Web server. All 
 

requests go first to IIS and IIS forwards any URL specified 
in workers.properties to Tomcat. All standard stuff and it 
works well. I now need to use HTTPS to send a request to IIS 
which is going to be forwarded to Tomcat. My question is 
where does the authentication take place? Does IIS handle the 
authentication and certificates *before* it passes the 
request to Tomcat or does IIS pass control to Tomcat 
expecting it to handle the authentication and certificates? 
Or do I need to configure both IIS and Tomcat to handle HTTPS?
   

Regards
Roger 

_
 

_
   

This e-mail and the documents attached are confidential and intended 
solely for the addressee; it may also be privileged. If you 
 

receive this 
   

e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos 
 

Origin group 
   

liability cannot be triggered for the message content. Although the 
sender endeavours to maintain a computer virus-free network, 
 

the sender 
   

does not warrant that this transmission is virus-free and 
 

will not be 
   

liable for any damages resulting from any virus transmitted.
_
 

_
   

-
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]
   



__
This e-mail and the documents attached are confidential and intended 
solely for the addressee; it may also be privileged. If you receive this 
e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group 
liability cannot be triggered for the message content. Although the 
sender endeavours to maintain a computer virus-free network, the sender 
does not warrant that this transmission is virus-free and will not be 
liable for any damages resulting from any virus transmitted.
__

-
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 and IIS Web Server

2004-04-19 Thread Varley, Roger
> 
> IIS will handle the https. That means that actually the connection 
> between IIS and tomcat is not secure, so take that into 
> consideration as 
> you make your decision.
> 

Thanks Daniel. Both the IIS server and Tomcat are located on the same server behind a 
firewall - so that really shouldn't be an issue should it? Even if they were on 
different servers behind a firewall given that I'm not worried about internal snooping 
it's still not an issue - or am I missing something important here?

Regards
Roger

> Varley, Roger wrote:
> 
> >Hi
> >
> >I have Tomcat running behind Microsofts IIS Web server. All 
> requests go first to IIS and IIS forwards any URL specified 
> in workers.properties to Tomcat. All standard stuff and it 
> works well. I now need to use HTTPS to send a request to IIS 
> which is going to be forwarded to Tomcat. My question is 
> where does the authentication take place? Does IIS handle the 
> authentication and certificates *before* it passes the 
> request to Tomcat or does IIS pass control to Tomcat 
> expecting it to handle the authentication and certificates? 
> Or do I need to configure both IIS and Tomcat to handle HTTPS?
> >
> >Regards
> >Roger 
> >
> >
> >_
> _
> >This e-mail and the documents attached are confidential and intended 
> >solely for the addressee; it may also be privileged. If you 
> receive this 
> >e-mail in error, please notify the sender immediately and destroy it.
> >As its integrity cannot be secured on the Internet, the Atos 
> Origin group 
> >liability cannot be triggered for the message content. Although the 
> >sender endeavours to maintain a computer virus-free network, 
> the sender 
> >does not warrant that this transmission is virus-free and 
> will not be 
> >liable for any damages resulting from any virus transmitted.
> >_
> _
> >
> >-
> >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]
> 
> 


__
This e-mail and the documents attached are confidential and intended 
solely for the addressee; it may also be privileged. If you receive this 
e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group 
liability cannot be triggered for the message content. Although the 
sender endeavours to maintain a computer virus-free network, the sender 
does not warrant that this transmission is virus-free and will not be 
liable for any damages resulting from any virus transmitted.
__

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



Re: Tomcat and IIS Web Server

2004-04-19 Thread Daniel Gibby
IIS will handle the https. That means that actually the connection 
between IIS and tomcat is not secure, so take that into consideration as 
you make your decision.

Varley, Roger wrote:

Hi

I have Tomcat running behind Microsofts IIS Web server. All requests go first to IIS and IIS forwards any URL specified in workers.properties to Tomcat. All standard stuff and it works well. I now need to use HTTPS to send a request to IIS which is going to be forwarded to Tomcat. My question is where does the authentication take place? Does IIS handle the authentication and certificates *before* it passes the request to Tomcat or does IIS pass control to Tomcat expecting it to handle the authentication and certificates? Or do I need to configure both IIS and Tomcat to handle HTTPS?

Regards
Roger 

__
This e-mail and the documents attached are confidential and intended 
solely for the addressee; it may also be privileged. If you receive this 
e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group 
liability cannot be triggered for the message content. Although the 
sender endeavours to maintain a computer virus-free network, the sender 
does not warrant that this transmission is virus-free and will not be 
liable for any damages resulting from any virus transmitted.
__

-
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 and IIS question

2004-02-27 Thread John MccLain


-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 3:43 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS question


I imagine that you've got Tomcat and IIS communicating behind a firewall, if
not on the same machine.  If only IIS is exposed to the internet, why would
you need communication between the two to be encrypted?

>We are producing a medical app. As part of the new HIPAA requirements,
we are to take all precautions necessary to ensure that personal health
information is securely
transmitted electronically. If someone should break through all other
security measures,
the data will still be encrypted, and we have reduced our liability.

Also, If you aren't relying on IIS for encryption, why use it at all?  Why
not just use Tomcat as a stand alone and install the certificate there?

> IIS needs to run so that our clients can continue to administer their
other
apps (which could be ASP) in the same manner as they are used too,
without having our app interfere. What we need is roundtrip encryption - yes
it will be slow through IIS-
but if you have any other ideas for this kind of scenario, please tell me as
I am not an sys admin.
I am a humble software engineer


Are you running ASP apps too?



On Thursday 26 February 2004 06:51 pm, you wrote:
> I believe there is a misunderstanding (I think???)...
> I already have tomcat talking to IIS, and IIS talking securely with the
> client. The problem is that IIS decrypts ssl requests to process them. In
> the case of a servlet request, it forwards the decrypted request to Tomcat
> and Tomcat sends the response decrypted back to IIS (I think???). I want
> all requests and responses to be encrypted. How can I have all
> communication secure???
>
> -Original Message-
> From: Ben Souther [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 26, 2004 2:58 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS question
>
>
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html
>
> On Thursday 26 February 2004 05:19 pm, you wrote:
> > Can I be running IIS and Tomcat concurrently and have specific webapps
> > directed to each for processing. I am assuming that Tomcat will be
> > running as a web server as well as servlet container and that IIS is of
> > course running as a web server. The goal is to elminate the port number
> > from the address window for all requests, to use tomcat/ssl for dynamic
> > webapps,
>
> and
>
> > for other static webapss, have them run through IIS. The general
question
> > is--how can I accomplish this goal???
> >
> >
> > -
> > 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]
>
>
> -
> 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]


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



Re: Tomcat and IIS question

2004-02-26 Thread Ben Souther
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html


On Thursday 26 February 2004 05:19 pm, you wrote:
> Can I be running IIS and Tomcat concurrently and have specific webapps
> directed to each for processing. I am assuming that Tomcat will be running
> as a web server as well as servlet container and that IIS is of course
> running as a web server. The goal is to elminate the port number from the
> address window for all requests, to use tomcat/ssl for dynamic webapps, and
> for other static webapss, have them run through IIS. The general question
> is--how can I accomplish this goal???
>
>
> -
> 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 and IIS question

2004-02-26 Thread John MccLain
I believe there is a misunderstanding (I think???)...
I already have tomcat talking to IIS, and IIS talking securely with the
client. The problem is that IIS decrypts ssl requests to process them. In
the case of a servlet request, it forwards the decrypted request to Tomcat
and Tomcat sends the response decrypted back to IIS (I think???). I want all
requests and responses to be encrypted. How can I have all communication
secure???

-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 2:58 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS question


http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html


On Thursday 26 February 2004 05:19 pm, you wrote:
> Can I be running IIS and Tomcat concurrently and have specific webapps
> directed to each for processing. I am assuming that Tomcat will be running
> as a web server as well as servlet container and that IIS is of course
> running as a web server. The goal is to elminate the port number from the
> address window for all requests, to use tomcat/ssl for dynamic webapps,
and
> for other static webapss, have them run through IIS. The general question
> is--how can I accomplish this goal???
>
>
> -
> 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]


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



Re: Tomcat and IIS question

2004-02-26 Thread Ben Souther
I imagine that you've got Tomcat and IIS communicating behind a firewall, if 
not on the same machine.  If only IIS is exposed to the internet, why would 
you need communication between the two to be encrypted?

Also, If you aren't relying on IIS for encryption, why use it at all?  Why 
not just use Tomcat as a stand alone and install the certificate there?

Are you running ASP apps too?



On Thursday 26 February 2004 06:51 pm, you wrote:
> I believe there is a misunderstanding (I think???)...
> I already have tomcat talking to IIS, and IIS talking securely with the
> client. The problem is that IIS decrypts ssl requests to process them. In
> the case of a servlet request, it forwards the decrypted request to Tomcat
> and Tomcat sends the response decrypted back to IIS (I think???). I want
> all requests and responses to be encrypted. How can I have all
> communication secure???
>
> -Original Message-
> From: Ben Souther [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 26, 2004 2:58 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS question
>
>
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html
>
> On Thursday 26 February 2004 05:19 pm, you wrote:
> > Can I be running IIS and Tomcat concurrently and have specific webapps
> > directed to each for processing. I am assuming that Tomcat will be
> > running as a web server as well as servlet container and that IIS is of
> > course running as a web server. The goal is to elminate the port number
> > from the address window for all requests, to use tomcat/ssl for dynamic
> > webapps,
>
> and
>
> > for other static webapss, have them run through IIS. The general question
> > is--how can I accomplish this goal???
> >
> >
> > -
> > 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]
>
>
> -
> 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 and IIS + Index Server -> possible ?

2003-09-12 Thread Hertenstein Alain
Hi Marco,

Thanks for your answer.
I'm using pure JSPs (no Struts or the like), but indeed most of the content
come from other sources (Database, java classes output). So parsing the JSP
files themselves is not a solution for my case (as indicated in the Lucene
documentation anyway).
So I tried to parse the content retrieved from the url of the file (by
creating an HttpUrlConnection to it, therefore the web application must be
running while creating the index) and I can get the HTML output from the JSP
file, then create the index out of it. It seems to work for the moment...

See ya
Alain

-Message d'origine-
De : Marco Tedone [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi, 10. septembre 2003 22:26
À : Tomcat Users List
Objet : Re: Tomcat and IIS + Index Server -> possible ?


Hi Alain, I'm developing the same functionality for my site. Limiting the
problems to JSPs (as if you are using Struts are more and if you're using
Struts + Tiles are a lot more...Guess...which one am I using??) the only
real activity you need to do is to manipulate the path returned by Lucene,
which refers to your JSPs, in a web-context manner, so that you can give
those pages as links to the user. The content it's not a problem, at least
in my case, because Lucene build an index of all significant words in your
JSPs and the correct JSPs are returned if you run a query for any of the
words contained in your JSP.

You may have additional problems if your JSPs are used as pure views,
letting the hard-work to servlets (which any possible background) which act
as proxies. The reason is that, even if a possible search engine would
return to you the path to a JSP page, this page could not be accessible
directly, because for instance, it displays some JavaBean content which has
been prepared by some background work. Rather, you will want the user to
link to the relevant action which eventually will forward the control to the
JSP, therefore even if the content is contained in JSPs, what you should
show to the user to click on, is a link to the action bound with that JSP.

I solved all those problems so far; unfortunately, I'm running with Tiles,
and the JSPs which actually contains the content of interest, is not the JSP
bound with the action I want to show to the user. The JSP bound with the
action has got the following code (snippet):

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>



As you can see, there is not a lot of content here for a search engine to
find :|

Good luck,

Marco

- Original Message - 
From: "Hertenstein Alain" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, September 10, 2003 12:45 PM
Subject: RE : Tomcat and IIS + Index Server -> possible ?


Hi,

Just asking about this topic again, since nobody answered or seems to have
an idea...
Meanwhile I just had a look on Lucene, but I'm not sure if it can do what I
need without -too much- setup and code work.
I "managed" to make it work and search local files, but I don't know if it
can search JSP files, i.e. what the JSPs generate in HTML... It seems like
one has to re-code the whole index creation process to achive this !

Anyone has done that before ?
Can anybody recommend me what to do to implement that search engine with IIS
and Tomcat ?

Thanks for your help, I'm really stuck here...
Alain

-Message d'origine-
De : Hertenstein Alain
Envoyé : lundi, 1. septembre 2003 18:24
À : 'Tomcat Users List'
Objet : Tomcat and IIS + Index Server -> possible ?


Hello,

Our configuration is as follows : Win2K, JDK 1.4.1, Tomcat 4.1.24 connected
with IIS using mod_jk. Index Server is AFAIK also installed. We are thinking
of adding a "Search site" button in our web application. The "problem" is
that we have content coming from numerous places in our JSP pages : inside
the pages (stored either as HTML or in Java String variables) or in MS SQL
Server tables.

We thought of using Index Server to do that, since it should normally handle
most of the work easily... Is this possible in such configuration ? In other
words, can Index Server access text retrieved in any way by JSPs ? Another
issue is that there's no virtual directory configured in IIS other than the
"redirector" directory (pointing to the isapi_redirector2.dll file). So I'n
not sure IIS/Index Server can access JSPs at all anyway...

Has anyone already tried this before ? Or maybe is there another better way
to achieve this ? Please let me know, thank you very much ! Alain


**
 This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in er

Re: Tomcat and IIS + Index Server -> possible ?

2003-09-10 Thread Marco Tedone
Hi Alain, I'm developing the same functionality for my site. Limiting the
problems to JSPs (as if you are using Struts are more and if you're using
Struts + Tiles are a lot more...Guess...which one am I using??) the only
real activity you need to do is to manipulate the path returned by Lucene,
which refers to your JSPs, in a web-context manner, so that you can give
those pages as links to the user. The content it's not a problem, at least
in my case, because Lucene build an index of all significant words in your
JSPs and the correct JSPs are returned if you run a query for any of the
words contained in your JSP.

You may have additional problems if your JSPs are used as pure views,
letting the hard-work to servlets (which any possible background) which act
as proxies. The reason is that, even if a possible search engine would
return to you the path to a JSP page, this page could not be accessible
directly, because for instance, it displays some JavaBean content which has
been prepared by some background work. Rather, you will want the user to
link to the relevant action which eventually will forward the control to the
JSP, therefore even if the content is contained in JSPs, what you should
show to the user to click on, is a link to the action bound with that JSP.

I solved all those problems so far; unfortunately, I'm running with Tiles,
and the JSPs which actually contains the content of interest, is not the JSP
bound with the action I want to show to the user. The JSP bound with the
action has got the following code (snippet):

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>



As you can see, there is not a lot of content here for a search engine to
find :|

Good luck,

Marco

- Original Message - 
From: "Hertenstein Alain" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Wednesday, September 10, 2003 12:45 PM
Subject: RE : Tomcat and IIS + Index Server -> possible ?


Hi,

Just asking about this topic again, since nobody answered or seems to have
an idea...
Meanwhile I just had a look on Lucene, but I'm not sure if it can do what I
need without -too much- setup and code work.
I "managed" to make it work and search local files, but I don't know if it
can search JSP files, i.e. what the JSPs generate in HTML... It seems like
one has to re-code the whole index creation process to achive this !

Anyone has done that before ?
Can anybody recommend me what to do to implement that search engine with IIS
and Tomcat ?

Thanks for your help, I'm really stuck here...
Alain

-Message d'origine-
De : Hertenstein Alain
Envoyé : lundi, 1. septembre 2003 18:24
À : 'Tomcat Users List'
Objet : Tomcat and IIS + Index Server -> possible ?


Hello,

Our configuration is as follows : Win2K, JDK 1.4.1, Tomcat 4.1.24 connected
with IIS using mod_jk. Index Server is AFAIK also installed. We are thinking
of adding a "Search site" button in our web application. The "problem" is
that we have content coming from numerous places in our JSP pages : inside
the pages (stored either as HTML or in Java String variables) or in MS SQL
Server tables.

We thought of using Index Server to do that, since it should normally handle
most of the work easily... Is this possible in such configuration ? In other
words, can Index Server access text retrieved in any way by JSPs ? Another
issue is that there's no virtual directory configured in IIS other than the
"redirector" directory (pointing to the isapi_redirector2.dll file). So I'n
not sure IIS/Index Server can access JSPs at all anyway...

Has anyone already tried this before ? Or maybe is there another better way
to achieve this ? Please let me know, thank you very much ! Alain


**
 This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


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




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



RE : Tomcat and IIS + Index Server -> possible ?

2003-09-10 Thread Hertenstein Alain
Hi,

Just asking about this topic again, since nobody answered or seems to have
an idea...
Meanwhile I just had a look on Lucene, but I'm not sure if it can do what I
need without -too much- setup and code work.
I "managed" to make it work and search local files, but I don't know if it
can search JSP files, i.e. what the JSPs generate in HTML... It seems like
one has to re-code the whole index creation process to achive this !

Anyone has done that before ?
Can anybody recommend me what to do to implement that search engine with IIS
and Tomcat ?

Thanks for your help, I'm really stuck here...
Alain

-Message d'origine-
De : Hertenstein Alain 
Envoyé : lundi, 1. septembre 2003 18:24
À : 'Tomcat Users List'
Objet : Tomcat and IIS + Index Server -> possible ?


Hello,

Our configuration is as follows : Win2K, JDK 1.4.1, Tomcat 4.1.24 connected
with IIS using mod_jk. Index Server is AFAIK also installed. We are thinking
of adding a "Search site" button in our web application. The "problem" is
that we have content coming from numerous places in our JSP pages : inside
the pages (stored either as HTML or in Java String variables) or in MS SQL
Server tables.

We thought of using Index Server to do that, since it should normally handle
most of the work easily... Is this possible in such configuration ? In other
words, can Index Server access text retrieved in any way by JSPs ? Another
issue is that there's no virtual directory configured in IIS other than the
"redirector" directory (pointing to the isapi_redirector2.dll file). So I'n
not sure IIS/Index Server can access JSPs at all anyway...

Has anyone already tried this before ? Or maybe is there another better way
to achieve this ? Please let me know, thank you very much ! Alain


**
 This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


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



RE: Tomcat and IIS 6 - Please HELP

2003-09-01 Thread Renato Romano
I don't know if the following can be useful to someone having the same
problem, but I observed the following strange behavior in IIS 6:

1) when addressing with the client a filename with extension, say zzz,
like myfile.zzz, IIS answers with 404 (of course the file is where it is
requested; you can try also allowing directory browsing and then
clicking on the file);
2) even putting the extension zzz in the mime types list doesn't affect
this result;
3) the same for the extension dll

By
Renato


Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA

e-mail: [EMAIL PROTECTED]
Tel.:   010 2712603
_


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: mercoledì 27 agosto 2003 17.32
To: Tomcat Users List
Subject: Re: Tomcat and IIS 6 - Please HELP



Many people have the same problem (archives!).

As far as I know, there is no redirector built and available for IIS 6. 
  You either have to build it yourself, or wait for someone else to 
build it.  Even if you build it, there's no guarantee the source that 
works with IIS 5 will work unmodified for IIS 6, so you will then need 
to wait for someone savvy enough in IIS 6 internals to make the 
appropriate changes and post the changes to CVS.

Economic incentives might speed this process up...I doubt anything else 
will.

John

Renato Romano wrote:

> I'm trying to configure IIS (6) to forward requests to Tomcat 
> (4.1.18): the configuration works fine with IIS 5, but with IIS 6, 
> though I don't get error messages, and the ISAPI filter shows the 
> green upward arrow, the browsere gets a 404 error.
> 
> I'm pretty sure there is no config error, because I "copied" the 
> configuration from a working installation with IIS 5, so I think the 
> problem is the IIS version. I could not find any help on the net... 
> Does anyone had the same problem ?? Thanks
> 
> Renato
> 
> Renato Romano
> Sistemi e Telematica S.p.A.
> Calata Grazie - Vial Al Molo Giano
> 16127 - GENOVA
> 
> e-mail: [EMAIL PROTECTED]
> Tel.:   010 2712603
> _
> 
> 
> 
> -
> 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]




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



Re: Tomcat and IIS 6 - Please HELP

2003-08-27 Thread John Turner
FAQ

http://jakarta.apache.org/tomcat/faq/connectors.html

and

http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=tomcat+iis+5&btnG=Google+Search

which would eventually lead you to:

http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html

John

J Raf wrote:

Hi,

I also have a similar question.

Where is the documentation for making IIS 5. work with Tomcat 4.1.18 or 
4.1.27? The documentation I was able to find reference 3.X. My Tomcat 
4.X installation does not include any files such as workers2.properties.

Thank you for your help.


From: "Renato Romano" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Subject: Tomcat and IIS 6 - Please HELP
Date: Wed, 27 Aug 2003 17:33:19 +0200
I'm trying to configure IIS (6) to forward requests to Tomcat (4.1.18):
the configuration works fine with IIS 5, but with IIS 6, though I don't
get error messages, and the ISAPI filter shows the green upward arrow,
the browsere gets a 404 error.
I'm pretty sure there is no config error, because I "copied" the
configuration from a working installation with IIS 5, so I think the
problem is the IIS version. I could not find any help on the net...
Does anyone had the same problem ??
Thanks
Renato

Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA
e-mail: [EMAIL PROTECTED]
Tel.:   010 2712603
_


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

-
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 and IIS 6 - Please HELP

2003-08-27 Thread John Turner
Many people have the same problem (archives!).

As far as I know, there is no redirector built and available for IIS 6. 
 You either have to build it yourself, or wait for someone else to 
build it.  Even if you build it, there's no guarantee the source that 
works with IIS 5 will work unmodified for IIS 6, so you will then need 
to wait for someone savvy enough in IIS 6 internals to make the 
appropriate changes and post the changes to CVS.

Economic incentives might speed this process up...I doubt anything else 
will.

John

Renato Romano wrote:

I'm trying to configure IIS (6) to forward requests to Tomcat (4.1.18):
the configuration works fine with IIS 5, but with IIS 6, though I don't
get error messages, and the ISAPI filter shows the green upward arrow,
the browsere gets a 404 error.
I'm pretty sure there is no config error, because I "copied" the
configuration from a working installation with IIS 5, so I think the
problem is the IIS version. I could not find any help on the net...
Does anyone had the same problem ??
Thanks
Renato

Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA
e-mail: [EMAIL PROTECTED]
Tel.:   010 2712603
_


-
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 and IIS 6 - Please HELP

2003-08-27 Thread J Raf
Hi,

I also have a similar question.

Where is the documentation for making IIS 5. work with Tomcat 4.1.18 or 
4.1.27? The documentation I was able to find reference 3.X. My Tomcat 4.X 
installation does not include any files such as workers2.properties.

Thank you for your help.


From: "Renato Romano" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Subject: Tomcat and IIS 6 - Please HELP
Date: Wed, 27 Aug 2003 17:33:19 +0200
I'm trying to configure IIS (6) to forward requests to Tomcat (4.1.18):
the configuration works fine with IIS 5, but with IIS 6, though I don't
get error messages, and the ISAPI filter shows the green upward arrow,
the browsere gets a 404 error.
I'm pretty sure there is no config error, because I "copied" the
configuration from a working installation with IIS 5, so I think the
problem is the IIS version. I could not find any help on the net...
Does anyone had the same problem ??
Thanks
Renato

Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA
e-mail: [EMAIL PROTECTED]
Tel.:   010 2712603
_


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


Re: Tomcat and IIS

2003-07-22 Thread Lior Shliechkorn
How far along the installation are you? Are you seeing the index.jsp page when 
starting up tomcat through localhost:8080/index.jsp?


Nicholas Camilleri <[EMAIL PROTECTED]> wrote:
I am using tomcat 4.1.12 and windows XP with IIS 5 and I am trying to secure
the virutal directory (named Jakarta) which I created to redirect requests
to the tomcat containerThanks Again

- Original Message - 



All email is scanned by Keyworld against known Viruses. This service is offered to all 
Keyworld subscribers and hosted domains and does not carry any warranty. You are 
advised to protect your PC with updated antivirus software at all times.

> ATTACHMENT part 2 message/rfc822 
From: "Kannan Sundararajan" 
To: "'Tomcat Users List'" 
Subject: RE: Tomcat and IIS


> The instruction set given is so confusing. After sometime, i could able to
> do the connectivity. But the documents is not to the standards.
>
> -Original Message-
> From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 21, 2003 3:26 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS
>
>
> What version of Tomcat? Windows? And are you trying to use windows
security
> on the virtual directory?
>
> Nicholas Camilleri wrote:
>
> Hi there,
>
> I am attempting to configure IIS with tomcat however I am encountering
some
> problems, related to security and authentication features with IIS 5. Each
> time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP
401
> errorDo you know what I can do, found somthing on the net which indicates
> that I
> should give anonimous user right on the vitual directory, I could not
> configure it with IIS an now each time the page is accessed, a security
> dialog is displayed indicating that the user should enter the username and
> password.
>
> Thanks Alot
> Nick.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
>
> -
> 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]


-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Re: Tomcat and IIS

2003-07-21 Thread Nicholas Camilleri
I am using tomcat 4.1.12 and windows XP with IIS 5 and I am trying to secure
the virutal directory (named Jakarta) which I created to redirect requests
to the tomcat containerThanks Again

- Original Message - 



All email is scanned by Keyworld against known Viruses. This service is offered to all 
Keyworld subscribers and hosted domains and does not carry any warranty. You are 
advised to protect your PC with updated antivirus software at all times.--- Begin Message ---

> The instruction set given is so confusing. After sometime, i could able to
> do the connectivity. But the documents is not to the standards.
>
> -Original Message-
> From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 21, 2003 3:26 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS
>
>
> What version of Tomcat? Windows? And are you trying to use windows
security
> on the virtual directory?
>
> Nicholas Camilleri <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> I am attempting to configure IIS with tomcat however I am encountering
some
> problems, related to security and authentication features with IIS 5. Each
> time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP
401
> errorDo you know what I can do, found somthing on the net which indicates
> that I
> should give anonimous user right on the vitual directory, I could not
> configure it with IIS an now each time the page is accessed, a security
> dialog is displayed indicating that the user should enter the username and
> password.
>
> Thanks Alot
> Nick.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> -
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

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

RE: Tomcat and IIS

2003-07-21 Thread Kannan Sundararajan
The instruction set given is so confusing. After sometime, i could able to
do the connectivity. But the documents is not to the standards. 

-Original Message-
From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 3:26 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


What version of Tomcat? Windows? And are you trying to use windows security
on the virtual directory?

Nicholas Camilleri <[EMAIL PROTECTED]> wrote:

Hi there,

I am attempting to configure IIS with tomcat however I am encountering some
problems, related to security and authentication features with IIS 5. Each
time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP 401
errorDo you know what I can do, found somthing on the net which indicates
that I
should give anonimous user right on the vitual directory, I could not
configure it with IIS an now each time the page is accessed, a security
dialog is displayed indicating that the user should enter the username and
password.

Thanks Alot
Nick. 

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



-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

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



Re: Tomcat and IIS

2003-07-21 Thread Lior Shliechkorn
What version of Tomcat? Windows? And are you trying to use windows security on the 
virtual directory?

Nicholas Camilleri <[EMAIL PROTECTED]> wrote:

Hi there,

I am attempting to configure IIS with tomcat however I am encountering some
problems, related to security and authentication features with IIS 5. Each
time a request is redirected to the isapi_redirect.dll, IIS logs a HTTP 401
errorDo you know what I can do, found somthing on the net which indicates that I
should give anonimous user right on the vitual directory, I could not
configure it with IIS an now each time the page is accessed, a security
dialog is displayed indicating that the user should enter the username and
password.

Thanks Alot
Nick. 

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



-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

RE: Tomcat and IIS 6.0??

2003-06-17 Thread connil
Thanks, many members?

Have you tried the IIS 5 Isolation Mode? I had no luck :(

/cn

-- Original Message --

Welcome to the club

I had the same problem, but no response up til now
Hope you will be more lucky

Vince

-Message d'origine-

I've been trying this, with out luck.
The connector does not work between the two, maybe it's enough to build
it on win2003...

I'm hoping someone will take a look at this soon.

Bye
-reynir


> -Original Message-
> Hi!
>
> Is it possible to combine Tomcat with IIS 6.0 (Win 2003)?
>
> I've tried without luck. Do I do something wrong or is it
> impossible. Can I use the same isapi_redirect.dll as for IIS
> 5.0 (everything works fine on IIS 5)
>
> /cn
>



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



RE: Tomcat and IIS 6.0??

2003-06-16 Thread Vincent Faraut
Welcome to the club

I had the same problem, but no response up til now
Hope you will be more lucky

Vince

-Message d'origine-
De : Reynir Hübner [mailto:[EMAIL PROTECTED]
Envoyé : lundi 16 juin 2003 18:10
À : Tomcat Users List
Objet : RE: Tomcat and IIS 6.0??


I've been trying this, with out luck. 
The connector does not work between the two, maybe it's enough to build it on 
win2003...

I'm hoping someone will take a look at this soon. 

Bye
-reynir


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: 16. júní 2003 16:11
> To: [EMAIL PROTECTED]
> Subject: Tomcat and IIS 6.0??
> 
> 
> Hi!
> 
> Is it possible to combine Tomcat with IIS 6.0 (Win 2003)? 
> 
> I've tried without luck. Do I do something wrong or is it 
> impossible. Can I use the same isapi_redirect.dll as for IIS 
> 5.0 (everything works fine on IIS 5)
> 
> /cn
> 
> 
> -
> 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]


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



RE: Tomcat and IIS 6.0??

2003-06-16 Thread Reynir Hübner
I've been trying this, with out luck. 
The connector does not work between the two, maybe it's enough to build it on 
win2003...

I'm hoping someone will take a look at this soon. 

Bye
-reynir


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: 16. júní 2003 16:11
> To: [EMAIL PROTECTED]
> Subject: Tomcat and IIS 6.0??
> 
> 
> Hi!
> 
> Is it possible to combine Tomcat with IIS 6.0 (Win 2003)? 
> 
> I've tried without luck. Do I do something wrong or is it 
> impossible. Can I use the same isapi_redirect.dll as for IIS 
> 5.0 (everything works fine on IIS 5)
> 
> /cn
> 
> 
> -
> 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 and IIS ( PROBLEM SOLVED )

2003-03-28 Thread jsp
Yes your right, I unfortunately I have to keep asp for that reason.

Anyway I solved the problem I was ranting about yesterday very easily I,
made the top file an asp page in "INETPUB". And did a response redirect
to my webapps folder in tomcat to the jsp. I got the referrer after all,
not the index.asp as referrer. I'm thinking it just saved the session
and passed it right on over to tomcat no big deal.

Also, I visited the below link and it's a dead one.

Thanks for all the comments
-wiley




Simply install the isapi filter into iis and you can run Jsp/servlets in
conjunction with other asp sites.
Its the non-cludge solution!!

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

It all good and well to suggest that we simply uninstall IIS and install
Apache but we often don't have the
luxury of choice when it comes to these things as it os dependant on
client's needs!




-
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 and IIS

2003-03-27 Thread Hans Liebenberg
Simply install the isapi filter into iis and you can run Jsp/servlets in
conjunction with other asp sites.
Its the non-cludge solution!!

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

It all good and well to suggest that we simply uninstall IIS and install
Apache but we often don't have the
luxury of choice when it comes to these things as it os dependant on
client's needs!




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



RE: Tomcat and IIS

2003-03-27 Thread Justin Ruthenbeck
At 04:52 PM 3/27/2003, you wrote:
The specific problem I am having with IIS and Tomcat is...
I'm trying to run a Statistics Program I wrote in java. It seems there
is a problem that if I specify a default file ie
http://www.mywebsite.com/index.jsp in IIS while pointing to the home
directory of tomcat\webapps\mywebsite\index.jsp
THE CATCH IS ... I cant use any type of redirector because I am trying
to get the REFERER URL from the default file index.jsp . Otherwise I
could just use a meta tag to redirect to the jsp file.
If I use http://www.mywebsite.com/mywebsite/index.jsp the JSP
functionality works.
If I use http://www.mywebsite.com - with a top file set as index.jsp and
the home directory of /mywebsites in IIS  the JSP functionality is gone.
EVEN THOUGH THEY ARE BOTH POINTING TO THE SAME PLACE  I've been TOLD
it can't be done and to use tomcat and apache.
You don't need to use Tomcat and Apache.  The easiest way I know of to do 
this is to create an index.html file as your default IIS file.  Add a small 
snippet of ASP to that file that reads the referrer URL and redirects to 
your webapp's main page with this URL as a parameter (or sets a cookie, or 
submits a form, or whatever).

BTW, this will also work for Apache if it's running the asp support mod.

I don't understand if they are both pointing to the same place why jsp
does not work ?
It doesn't work because the IIS redirector (that works with Tomcat) doesn't 
know how to map http://www.mywebsite.com/index.jsp to 
http://www.mywebsite.com/mywebsite/index.jsp.  You've told IIS about it, 
but the Tomcat redirector doesn't know anything about this.

You may also be able to get the same functionality if you setup your webapp 
as the ROOT webapp, but I'm not 100% sure about that.  It depends on how 
IIS generates the URL and when IISRedirect gets its hands on it.  This 
suggestion carries no warranty, implied or otherwise.  ;)

justin

-wiley





This issue of Tomcat and Apache comes up over and over and over again on

the list here because everyone tells everyone else that they should run
Apache in front of Tomcat without understanding what the person is
doing.  There are definitely reasons for this (which have been discussed
more than many times), but I have *never* seen anyone give _conclusive_
*performance-centric* proof for this.
I agree -- conceptually it gives you performance boost after some
activity
threshold, but I surmise that the *large majority* of people out there
aren't even close to this threshold.  It seems to me that it's more of a
"common knowledge" thing than anything.  The more often something is
repeated, the more likely it will become defacto truth.
In fact, our app supports connections both through a proxy (IIS or
Apache)
*and* directly to Tomcat because response times are very important to us
and the turnaround going through Apache is ~100ms while the turnaround
directly to Tomcat is ~20ms.  Tomcat is an excellent HTTP server.  It
easily supports the requirements of most projects out there.  IMHO,
using
Tomcat as Http server should be the default and Apache should only be
used
if you have a specific reason to use it (of which there are many very
real,
very valid ones, some of which Jeffrey Peloquin, amongst others, have
mentioned in this thread).
My point in writing this is that we should all be careful what we
suggest
before understanding what exactly the person needs.  And, quite frankly,
those asking should find these threads *easily* with a little effort.
;)
justin



Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
   See http://www.nextengine.com/confidentiality.php

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


RE: Tomcat and IIS

2003-03-27 Thread Goehring, Chuck Mr., RCI - San Diego



It occurred to me to put Tomcat in front of Apache. Why?  Because I'm on Windows 2000. 
And, Apache 1.x with mod_perl is a single-threaded dog that even ASF does not 
recommend using for production.  Apache 2 and mod_perl beta is out but nonone can tell 
me if it is ready for prime time on Windows (or when it will be). So I'm rolling the 
dice whichever way I go.  We have been on Apache 1.x with mod_perl for several years 
and it is reliable, but not multi-user friendly.  Our load is very low but the current 
solution will not scale.  I have 3 static pages and the whole rest of the system 
(almost) is written in perl to run under mod_perl.  I inquired about the possibility 
of doing a mod_perl for Tomcat and I got poopooed.  On unix they have none of the 
problems I have, so they can stay on Apache 1 and play around with Apache 2 for the 
next decade.

The way I see it, the Apache/mod_perl/perl camp wrote all their stuff in C language 
for performance - which is fine.  Its fine until your stuck in "betaland" for 4 years 
because Windows is hind tit in Apacheland, and few windows programmers can help with 
C.  Java may be a bit slower, but the clustering and load balancing might be better 
with just Tomcat.  The connector between Apache and Tomcat will work for me, but it 
doesn't solve my single-thread issue if I have to stay on Apache1.x.  Also, I need to 
run ssl all the time because of the customer's requirement.  Windows is hind tit in 
mod_ssl land also.  The mod_ssl list often responds with a lecture on how stupid you 
are for using Windows instead of offering any useful help.  So, support is a supreme 
factor in the decision on architectures.  If you can't fix it yourself, you are not 
necessarily any better off than if you use a closed source product.


So, I'm thinking it may be better to put Apache in the back, so it can be phased out.

That's my 2 cents.

Chuck

-Original Message-
From: Justin Ruthenbeck [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 4:26 PM
To: Tomcat Users List
Subject: RE: Tomcat and IIS



This issue of Tomcat and Apache comes up over and over and over again on 
the list here because everyone tells everyone else that they should run 
Apache in front of Tomcat without understanding what the person is 
doing.  There are definitely reasons for this (which have been discussed 
more than many times), but I have *never* seen anyone give _conclusive_ 
*performance-centric* proof for this.

I agree -- conceptually it gives you performance boost after some activity 
threshold, but I surmise that the *large majority* of people out there 
aren't even close to this threshold.  It seems to me that it's more of a 
"common knowledge" thing than anything.  The more often something is 
repeated, the more likely it will become defacto truth.

In fact, our app supports connections both through a proxy (IIS or Apache) 
*and* directly to Tomcat because response times are very important to us 
and the turnaround going through Apache is ~100ms while the turnaround 
directly to Tomcat is ~20ms.  Tomcat is an excellent HTTP server.  It 
easily supports the requirements of most projects out there.  IMHO, using 
Tomcat as Http server should be the default and Apache should only be used 
if you have a specific reason to use it (of which there are many very real, 
very valid ones, some of which Jeffrey Peloquin, amongst others, have 
mentioned in this thread).

My point in writing this is that we should all be careful what we suggest 
before understanding what exactly the person needs.  And, quite frankly, 
those asking should find these threads *easily* with a little effort.  ;)

justin


At 03:26 PM 3/27/2003, you wrote:
>What if the majority of your pages are either servlets or JSP. I have only a
>couple pages that are not dynamically created, so Apache will only handle
>those, right? I'm running in a pure Tomcat environment because of this...
>and the fact I don't know how to set up apache with tomcat :-)
>
>-Brian
>
>-Original Message-
>From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 27, 2003 3:23 PM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat and IIS
>
>
>That's possible BUT performance will suffer.  Tomcat isn't as powerful
>as Apache.  If you are running a small website, intranet and such,
>Tomcat would probably work fine but it's not Commercially fit as a Web
>Server.  Apache on the other hand is.  Later, J



Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php



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

RE: Tomcat and IIS

2003-03-27 Thread jsp


The specific problem I am having with IIS and Tomcat is...
I'm trying to run a Statistics Program I wrote in java. It seems there
is a problem that if I specify a default file ie
http://www.mywebsite.com/index.jsp in IIS while pointing to the home
directory of tomcat\webapps\mywebsite\index.jsp

THE CATCH IS ... I cant use any type of redirector because I am trying
to get the REFERER URL from the default file index.jsp . Otherwise I
could just use a meta tag to redirect to the jsp file.

If I use http://www.mywebsite.com/mywebsite/index.jsp the JSP
functionality works.

If I use http://www.mywebsite.com - with a top file set as index.jsp and
the home directory of /mywebsites in IIS  the JSP functionality is gone.

EVEN THOUGH THEY ARE BOTH POINTING TO THE SAME PLACE  I've been TOLD
it can't be done and to use tomcat and apache.

I don't understand if they are both pointing to the same place why jsp
does not work ?

-wiley




This issue of Tomcat and Apache comes up over and over and over again on

the list here because everyone tells everyone else that they should run 
Apache in front of Tomcat without understanding what the person is 
doing.  There are definitely reasons for this (which have been discussed

more than many times), but I have *never* seen anyone give _conclusive_ 
*performance-centric* proof for this.

I agree -- conceptually it gives you performance boost after some
activity 
threshold, but I surmise that the *large majority* of people out there 
aren't even close to this threshold.  It seems to me that it's more of a

"common knowledge" thing than anything.  The more often something is 
repeated, the more likely it will become defacto truth.

In fact, our app supports connections both through a proxy (IIS or
Apache) 
*and* directly to Tomcat because response times are very important to us

and the turnaround going through Apache is ~100ms while the turnaround 
directly to Tomcat is ~20ms.  Tomcat is an excellent HTTP server.  It 
easily supports the requirements of most projects out there.  IMHO,
using 
Tomcat as Http server should be the default and Apache should only be
used 
if you have a specific reason to use it (of which there are many very
real, 
very valid ones, some of which Jeffrey Peloquin, amongst others, have 
mentioned in this thread).

My point in writing this is that we should all be careful what we
suggest 
before understanding what exactly the person needs.  And, quite frankly,

those asking should find these threads *easily* with a little effort.
;)

justin


At 03:26 PM 3/27/2003, you wrote:
>What if the majority of your pages are either servlets or JSP. I have
only a
>couple pages that are not dynamically created, so Apache will only
handle
>those, right? I'm running in a pure Tomcat environment because of
this...
>and the fact I don't know how to set up apache with tomcat :-)
>
>-Brian
>
>-Original Message-
>From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 27, 2003 3:23 PM
>To: 'Tomcat Users List'
>Subject: RE: Tomcat and IIS
>
>
>That's possible BUT performance will suffer.  Tomcat isn't as powerful
>as Apache.  If you are running a small website, intranet and such,
>Tomcat would probably work fine but it's not Commercially fit as a Web
>Server.  Apache on the other hand is.  Later, J



Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
See http://www.nextengine.com/confidentiality.php



-
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 and IIS

2003-03-27 Thread Justin Ruthenbeck
This issue of Tomcat and Apache comes up over and over and over again on 
the list here because everyone tells everyone else that they should run 
Apache in front of Tomcat without understanding what the person is 
doing.  There are definitely reasons for this (which have been discussed 
more than many times), but I have *never* seen anyone give _conclusive_ 
*performance-centric* proof for this.

I agree -- conceptually it gives you performance boost after some activity 
threshold, but I surmise that the *large majority* of people out there 
aren't even close to this threshold.  It seems to me that it's more of a 
"common knowledge" thing than anything.  The more often something is 
repeated, the more likely it will become defacto truth.

In fact, our app supports connections both through a proxy (IIS or Apache) 
*and* directly to Tomcat because response times are very important to us 
and the turnaround going through Apache is ~100ms while the turnaround 
directly to Tomcat is ~20ms.  Tomcat is an excellent HTTP server.  It 
easily supports the requirements of most projects out there.  IMHO, using 
Tomcat as Http server should be the default and Apache should only be used 
if you have a specific reason to use it (of which there are many very real, 
very valid ones, some of which Jeffrey Peloquin, amongst others, have 
mentioned in this thread).

My point in writing this is that we should all be careful what we suggest 
before understanding what exactly the person needs.  And, quite frankly, 
those asking should find these threads *easily* with a little effort.  ;)

justin

At 03:26 PM 3/27/2003, you wrote:
What if the majority of your pages are either servlets or JSP. I have only a
couple pages that are not dynamically created, so Apache will only handle
those, right? I'm running in a pure Tomcat environment because of this...
and the fact I don't know how to set up apache with tomcat :-)
-Brian

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 3:23 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS
That's possible BUT performance will suffer.  Tomcat isn't as powerful
as Apache.  If you are running a small website, intranet and such,
Tomcat would probably work fine but it's not Commercially fit as a Web
Server.  Apache on the other hand is.  Later, J



Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential
   See http://www.nextengine.com/confidentiality.php

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


RE: Tomcat and IIS

2003-03-27 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Apache also comes in handy if you need to have multiple tomcats serve a
single IP address.  this is particualy important if you host legacy
applications that cannot handle upgrading JVM's or need specific JVM
configurations incompatible with other application needs.

Then there is load balancing.

True security freaks will argue that only your webserver should be outside
the firewall while tomcat should be hidden inside with only the mod_jk port
open for communication.


-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 4:23 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS


That's possible BUT performance will suffer.  Tomcat isn't as powerful
as Apache.  If you are running a small website, intranet and such,
Tomcat would probably work fine but it's not Commercially fit as a Web
Server.  Apache on the other hand is.  Later, J

-Original Message-
From: jsp [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 4:25 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

If you can use TOMCAT as a web server also a container for jsp and
servlets, then I don't understand why you even need Apache Web server?
Can someone fill me in? I'm running IIS with tomcat right now but I
would like to turn IIS off and just use tomcat like someone here
suggested.

-wiley


-Original Message-
From: Quinton McCombs [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:29 PM
To: 'John Turner'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 27, 2003 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat and IIS
> 
> 
> 
> Really?  Can you post your config files?  I'd be interested in seeing 
> them...I haven't been able to make this work, though I don't use JK2.
> 
> John
> 

Httpd.conf:


DocumentRoot /usr/local/www/default
ServerName neo03.nequalsone.com
DirectoryIndex index.html Wiki.jsp

Alias /wiki /opt/jakarta/webapps/wiki

Options -Indexes +FollowSymLinks +Includes MultiViews


   AllowOverride None
   deny from all


   AllowOverride None
   deny from all



Workers2.properties:

[channel.socket:localhost:8009]

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/wiki/*.jsp]
worker=ajp13:localhost:8009






> On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs 
> <[EMAIL PROTECTED]> wrote:
> 
> > Well, I am doing this on apache 2.0.44.  My DirectoryIndex has 
> > index.html and index.jsp.  I am directing *.jsp to tomcat.  
> Requesting 
> > the directory without a filename causes index.jsp to be 
> processed by 
> > tomcat and the result returned.
> >
> > I am also using mod_jk2 if that makes a difference.
> >
> > 
> > Quinton McCombs
> > NequalsOne - HealthCare marketing tools 
> mailto:[EMAIL PROTECTED]
> > http://www.NequalsOne.com
> >
> >> -Original Message-
> >> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday,
> >> March 27, 2003 3:11 PM
> >> To: Tomcat Users List
> >> Subject: Re: Tomcat and IIS
> >>
> >>
> >>
> >> Switching to Apache wouldn't solve it unless you wanted to use
> >> mod_rewrite. Check the archives for last fall...there were 
> bunches of 
> >> threads on this topic for quite awhile.  AFAIK, nothing's changed, 
> >> though I was off this list for several weeks recently and its very 
> >> possible someone came up with a workaround that I missed.
> >>
> >> John
> >>
> >> On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:
> >>
> >> > Yea, I thought about that( or even an asp redirect, defeats the >
> >> purpose
> >> > of using jsp) but I'm trying to get the referrer from 
> the browser 
> >> > into
> >> a > database and I don't want index.html as my only referrer :)
> >> >
> >> > I'll try just using tomcat, I would just switch to 
> apache I guess 
> >> > but
> >> > I
> >> > paid about 1200 bucks for w2k server 2 years ago and 
> STILL paying on 
> >> it. > Oh well.
> >> >
> >> > Thanks
> >> > -wiley
> >> >
> >> >
> >> > -Original Message-
> >> > From: John Turner [mailto:[EMAIL PROTECTED] Sent: 
> >> > Thursday, March 27, 2003 12:57 PM
> >> > To: Tomcat Users List
> >> >

Re: Tomcat and IIS

2003-03-27 Thread Mark Eggers
You can tell IIS which page to serve as well.  I'll
try to describe the graphic interface while typing.

Go to the following place:

Start-->Settings-->Control Panel-->
Administrative Tools-->Internet Services Manager

Go to the following place in the manager:

[hostname]-->Default Web Site

Right-mouse click on the Default Web Site and select
properties.

1. Select the Documents tab.
2. Click the add button
3. Type in the name of the document
4. Click OK
5. Click OK (again) to close the Properties dialogue
box
6. Exit the Information Services Manager

I can't remember if you have to restart the IIS
server, but I usually do.

Right now I'm using Apache 2.043 on Windows/2000 Pro
with Tomcat 4.1.24 and mod_jk2.  I can substitue IIS 5
by shutting down Apache and starting up IIS.

Both work fine, but I just prefer working with the
Apache web server.  That way, I know my configurations
will work on both Windows and more reasonable
operating systems.

As soon as I get forrest patched up (again), I will
have a document that details all of this stuff. 
Hopefully it will be available in html, pdf, and the
original how-to-v1.0 xml.  If I'm really lucky, I may
be able to get forrest to spit out rtf as well.

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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



RE: Tomcat and IIS

2003-03-27 Thread Brian Menke
What if the majority of your pages are either servlets or JSP. I have only a
couple pages that are not dynamically created, so Apache will only handle
those, right? I'm running in a pure Tomcat environment because of this...
and the fact I don't know how to set up apache with tomcat :-)

-Brian

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 3:23 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS


That's possible BUT performance will suffer.  Tomcat isn't as powerful
as Apache.  If you are running a small website, intranet and such,
Tomcat would probably work fine but it's not Commercially fit as a Web
Server.  Apache on the other hand is.  Later, J

-Original Message-
From: jsp [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 4:25 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

If you can use TOMCAT as a web server also a container for jsp and
servlets, then I don't understand why you even need Apache Web server?
Can someone fill me in? I'm running IIS with tomcat right now but I
would like to turn IIS off and just use tomcat like someone here
suggested.

-wiley


-Original Message-
From: Quinton McCombs [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 1:29 PM
To: 'John Turner'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 27, 2003 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat and IIS
>
>
>
> Really?  Can you post your config files?  I'd be interested in seeing
> them...I haven't been able to make this work, though I don't use JK2.
>
> John
>

Httpd.conf:


DocumentRoot /usr/local/www/default
ServerName neo03.nequalsone.com
DirectoryIndex index.html Wiki.jsp

Alias /wiki /opt/jakarta/webapps/wiki

Options -Indexes +FollowSymLinks +Includes MultiViews


   AllowOverride None
   deny from all


   AllowOverride None
   deny from all



Workers2.properties:

[channel.socket:localhost:8009]

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/wiki/*.jsp]
worker=ajp13:localhost:8009






> On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs
> <[EMAIL PROTECTED]> wrote:
>
> > Well, I am doing this on apache 2.0.44.  My DirectoryIndex has
> > index.html and index.jsp.  I am directing *.jsp to tomcat.
> Requesting
> > the directory without a filename causes index.jsp to be
> processed by
> > tomcat and the result returned.
> >
> > I am also using mod_jk2 if that makes a difference.
> >
> > 
> > Quinton McCombs
> > NequalsOne - HealthCare marketing tools
> mailto:[EMAIL PROTECTED]
> > http://www.NequalsOne.com
> >
> >> -Original Message-
> >> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Thursday,
> >> March 27, 2003 3:11 PM
> >> To: Tomcat Users List
> >> Subject: Re: Tomcat and IIS
> >>
> >>
> >>
> >> Switching to Apache wouldn't solve it unless you wanted to use
> >> mod_rewrite. Check the archives for last fall...there were
> bunches of
> >> threads on this topic for quite awhile.  AFAIK, nothing's changed,
> >> though I was off this list for several weeks recently and its very
> >> possible someone came up with a workaround that I missed.
> >>
> >> John
> >>
> >> On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:
> >>
> >> > Yea, I thought about that( or even an asp redirect, defeats the >
> >> purpose
> >> > of using jsp) but I'm trying to get the referrer from
> the browser
> >> > into
> >> a > database and I don't want index.html as my only referrer :)
> >> >
> >> > I'll try just using tomcat, I would just switch to
> apache I guess
> >> > but
> >> > I
> >> > paid about 1200 bucks for w2k server 2 years ago and
> STILL paying on
> >> it. > Oh well.
> >> >
> >> > Thanks
> >> > -wiley
> >> >
> >> >
> >> > -Original Message-
> >> > From: John Turner [mailto:[EMAIL PROTECTED] Sent:
> >> > Thursday, March 27, 2003 12:57 PM
> >> > To: Tomcat Users List
> >> > Subject: Re: Tomcat and IIS
> >> >
> >> >
> >> > AFAIK, the only way to do this when using Tomcat in conjunction
> >> > with a web server is a kludge.  I do

RE: Tomcat and IIS

2003-03-27 Thread Jeremy Whitlock
That's possible BUT performance will suffer.  Tomcat isn't as powerful
as Apache.  If you are running a small website, intranet and such,
Tomcat would probably work fine but it's not Commercially fit as a Web
Server.  Apache on the other hand is.  Later, J

-Original Message-
From: jsp [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 4:25 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

If you can use TOMCAT as a web server also a container for jsp and
servlets, then I don't understand why you even need Apache Web server?
Can someone fill me in? I'm running IIS with tomcat right now but I
would like to turn IIS off and just use tomcat like someone here
suggested.

-wiley


-Original Message-
From: Quinton McCombs [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:29 PM
To: 'John Turner'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 27, 2003 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat and IIS
> 
> 
> 
> Really?  Can you post your config files?  I'd be interested in seeing 
> them...I haven't been able to make this work, though I don't use JK2.
> 
> John
> 

Httpd.conf:


DocumentRoot /usr/local/www/default
ServerName neo03.nequalsone.com
DirectoryIndex index.html Wiki.jsp

Alias /wiki /opt/jakarta/webapps/wiki

Options -Indexes +FollowSymLinks +Includes MultiViews


   AllowOverride None
   deny from all


   AllowOverride None
   deny from all



Workers2.properties:

[channel.socket:localhost:8009]

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/wiki/*.jsp]
worker=ajp13:localhost:8009






> On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs 
> <[EMAIL PROTECTED]> wrote:
> 
> > Well, I am doing this on apache 2.0.44.  My DirectoryIndex has 
> > index.html and index.jsp.  I am directing *.jsp to tomcat.  
> Requesting 
> > the directory without a filename causes index.jsp to be 
> processed by 
> > tomcat and the result returned.
> >
> > I am also using mod_jk2 if that makes a difference.
> >
> > 
> > Quinton McCombs
> > NequalsOne - HealthCare marketing tools 
> mailto:[EMAIL PROTECTED]
> > http://www.NequalsOne.com
> >
> >> -Original Message-
> >> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday,
> >> March 27, 2003 3:11 PM
> >> To: Tomcat Users List
> >> Subject: Re: Tomcat and IIS
> >>
> >>
> >>
> >> Switching to Apache wouldn't solve it unless you wanted to use
> >> mod_rewrite. Check the archives for last fall...there were 
> bunches of 
> >> threads on this topic for quite awhile.  AFAIK, nothing's changed, 
> >> though I was off this list for several weeks recently and its very 
> >> possible someone came up with a workaround that I missed.
> >>
> >> John
> >>
> >> On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:
> >>
> >> > Yea, I thought about that( or even an asp redirect, defeats the >
> >> purpose
> >> > of using jsp) but I'm trying to get the referrer from 
> the browser 
> >> > into
> >> a > database and I don't want index.html as my only referrer :)
> >> >
> >> > I'll try just using tomcat, I would just switch to 
> apache I guess 
> >> > but
> >> > I
> >> > paid about 1200 bucks for w2k server 2 years ago and 
> STILL paying on 
> >> it. > Oh well.
> >> >
> >> > Thanks
> >> > -wiley
> >> >
> >> >
> >> > -Original Message-
> >> > From: John Turner [mailto:[EMAIL PROTECTED] Sent: 
> >> > Thursday, March 27, 2003 12:57 PM
> >> > To: Tomcat Users List
> >> > Subject: Re: Tomcat and IIS
> >> >
> >> >
> >> > AFAIK, the only way to do this when using Tomcat in conjunction 
> >> > with a web server is a kludge.  I do it by making index.html my 
> >> > default home page, and having index.html be nothing but a meta 
> >> > refresh page with a time of "0" to 
> http://www.foo.com/index.jsp.  
> >> > There are other
> >> ways...some > Apache folks use mod_rewrite.
> >> >
> >> > This means index.jsp will show up in the address bar of the 
> >> > browser.
> >> >

RE: Tomcat and IIS

2003-03-27 Thread jsp
If you can use TOMCAT as a web server also a container for jsp and
servlets, then I don't understand why you even need Apache Web server?
Can someone fill me in? I'm running IIS with tomcat right now but I
would like to turn IIS off and just use tomcat like someone here
suggested.

-wiley


-Original Message-
From: Quinton McCombs [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:29 PM
To: 'John Turner'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 27, 2003 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat and IIS
> 
> 
> 
> Really?  Can you post your config files?  I'd be interested in seeing 
> them...I haven't been able to make this work, though I don't use JK2.
> 
> John
> 

Httpd.conf:


DocumentRoot /usr/local/www/default
ServerName neo03.nequalsone.com
DirectoryIndex index.html Wiki.jsp

Alias /wiki /opt/jakarta/webapps/wiki

Options -Indexes +FollowSymLinks +Includes MultiViews


   AllowOverride None
   deny from all


   AllowOverride None
   deny from all



Workers2.properties:

[channel.socket:localhost:8009]

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/wiki/*.jsp]
worker=ajp13:localhost:8009






> On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs 
> <[EMAIL PROTECTED]> wrote:
> 
> > Well, I am doing this on apache 2.0.44.  My DirectoryIndex has 
> > index.html and index.jsp.  I am directing *.jsp to tomcat.  
> Requesting 
> > the directory without a filename causes index.jsp to be 
> processed by 
> > tomcat and the result returned.
> >
> > I am also using mod_jk2 if that makes a difference.
> >
> > 
> > Quinton McCombs
> > NequalsOne - HealthCare marketing tools 
> mailto:[EMAIL PROTECTED]
> > http://www.NequalsOne.com
> >
> >> -----Original Message-
> >> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday,
> >> March 27, 2003 3:11 PM
> >> To: Tomcat Users List
> >> Subject: Re: Tomcat and IIS
> >>
> >>
> >>
> >> Switching to Apache wouldn't solve it unless you wanted to use
> >> mod_rewrite. Check the archives for last fall...there were 
> bunches of 
> >> threads on this topic for quite awhile.  AFAIK, nothing's changed, 
> >> though I was off this list for several weeks recently and its very 
> >> possible someone came up with a workaround that I missed.
> >>
> >> John
> >>
> >> On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:
> >>
> >> > Yea, I thought about that( or even an asp redirect, defeats the >
> >> purpose
> >> > of using jsp) but I'm trying to get the referrer from 
> the browser 
> >> > into
> >> a > database and I don't want index.html as my only referrer :)
> >> >
> >> > I'll try just using tomcat, I would just switch to 
> apache I guess 
> >> > but
> >> > I
> >> > paid about 1200 bucks for w2k server 2 years ago and 
> STILL paying on 
> >> it. > Oh well.
> >> >
> >> > Thanks
> >> > -wiley
> >> >
> >> >
> >> > -Original Message-
> >> > From: John Turner [mailto:[EMAIL PROTECTED] Sent: 
> >> > Thursday, March 27, 2003 12:57 PM
> >> > To: Tomcat Users List
> >> > Subject: Re: Tomcat and IIS
> >> >
> >> >
> >> > AFAIK, the only way to do this when using Tomcat in conjunction 
> >> > with a web server is a kludge.  I do it by making index.html my 
> >> > default home page, and having index.html be nothing but a meta 
> >> > refresh page with a time of "0" to 
> http://www.foo.com/index.jsp.  
> >> > There are other
> >> ways...some > Apache folks use mod_rewrite.
> >> >
> >> > This means index.jsp will show up in the address bar of the 
> >> > browser.
> >> > If
> >> > you don't want that, I'm not sure you can do it. I don't 
> know enough > 
> >> about IIS to know if there is a more elegant way to do it.
> >> >
> >> > If you want to use Tomcat alone, you setup a welcome-file 
> >> > tag/element
> >> > in
> >> > your application's web.xml file that has index.jsp as a 
> parameter.
> >> >

Re: Tomcat and IIS

2003-03-27 Thread John Turner
See Craig's reply earlier today about Tomcat security.  Tomcat is no less 
secure or "more" secure than anything else, and it is very possible to have 
a very secure Tomcat installation properly configured.  Bias aside, knowing 
the history of IIS, I would almost prefer to use Tomcat alone on Windows 
than using it in conjunction with a web server, even Apache.  Not that 
Apache on Windows is bad, but the whole services/kernel model for Windows 
NT/2k is a little flaky in my book, and Apache has to use it.  No, I'm not 
trolling, just stating a preference/perception based on personal 
experience.

John

On Thu, 27 Mar 2003 13:32:23 -0800, jsp <[EMAIL PROTECTED]> wrote:

That's interesting but it doesn't seem like that would be a very secure
set up to me. I'm positive you know more about that than I do but
something doesn't sound right there. I've never heard of that before.
Let me check into that thanks
-wiley

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, 
March 27, 2003 1:23 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS

Since you are on Windows, you don't have to worry about the privileged 
ports restriction for running Tomcat like you do on a UNIX variant, so
why not just run Tomcat on port 80 and be done with the whole web server
issue completely?

John

On Thu, 27 Mar 2003 13:24:13 -0800, jsp <[EMAIL PROTECTED]> wrote:

Guess I need to learn YET ANOTHER piece of software. Apache Web Server
here I come...
-Original Message-
From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday,

March 27, 2003 1:15 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS
Well, I am doing this on apache 2.0.44.  My DirectoryIndex has
index.html and index.jsp.  I am directing *.jsp to tomcat.  Requesting
the directory without a filename causes index.jsp to be processed by
tomcat and the result returned.
I am also using mod_jk2 if that makes a difference.


Quinton McCombs
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday,

March 27, 2003 3:11 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


Switching to Apache wouldn't solve it unless you wanted to use 
mod_rewrite. Check the archives for last fall...there were bunches of

threads on this topic for quite awhile.  AFAIK, nothing's changed, 
though I was off this list for several weeks recently and its very 
possible someone came up with a workaround that I missed.

John

On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:

> Yea, I thought about that( or even an asp redirect, defeats the > 
purpose
> of using jsp) but I'm trying to get the referrer from the browser
into
a > database and I don't want index.html as my only referrer :)
>
> I'll try just using tomcat, I would just switch to apache I guess
but
> I
> paid about 1200 bucks for w2k server 2 years ago and STILL paying
on
it. > Oh well.
>
> Thanks
> -wiley
>
>
> -----Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] Sent:
Thursday,
> March 27, 2003 12:57 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS
>
>
> AFAIK, the only way to do this when using Tomcat in conjunction
with a
> web server is a kludge.  I do it by making index.html my default
home
> page, and having index.html be nothing but a meta refresh page with
a
> time of "0" to http://www.foo.com/index.jsp.  There are other 
ways...some > Apache folks use mod_rewrite.
>
> This means index.jsp will show up in the address bar of the
browser.
> If
> you don't want that, I'm not sure you can do it. I don't know
enough >
about IIS to know if there is a more elegant way to do it.
>
> If you want to use Tomcat alone, you setup a welcome-file
tag/element
> in
> your application's web.xml file that has index.jsp as a parameter.
>
> John
>
> On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:
>
>> I'm trying to get away from ASP. The top file of my website is an
index.jsp page. I set the root directory for the website to >> 
\\webapps\MyWebsite
>>
>> So when you go to http://www.mywebsite.com the default page in iis
is
>> index.jsp but I'm positive that is the wrong way to do this
because
>> the only way jsp will work is if you type into the browser
>>
>> http://www.mywebsite.com/MyWebsite/index.jsp
>>
>> maybe this is not a tomcat related question but I'm hoping someone
could be doing this and give me some type of CLUE ?
>>
>> Basically when you go to http://www.mywebsite.com I want the top
file
>> to be a functioning .jsp 

RE: Tomcat and IIS

2003-03-27 Thread Quinton McCombs
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 27, 2003 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat and IIS
> 
> 
> 
> Really?  Can you post your config files?  I'd be interested in seeing 
> them...I haven't been able to make this work, though I don't use JK2.
> 
> John
> 

Httpd.conf:


DocumentRoot /usr/local/www/default
ServerName neo03.nequalsone.com
DirectoryIndex index.html Wiki.jsp

Alias /wiki /opt/jakarta/webapps/wiki

Options -Indexes +FollowSymLinks +Includes MultiViews


   AllowOverride None
   deny from all


   AllowOverride None
   deny from all



Workers2.properties:

[channel.socket:localhost:8009]

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/wiki/*.jsp]
worker=ajp13:localhost:8009






> On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs 
> <[EMAIL PROTECTED]> wrote:
> 
> > Well, I am doing this on apache 2.0.44.  My DirectoryIndex has 
> > index.html and index.jsp.  I am directing *.jsp to tomcat.  
> Requesting 
> > the directory without a filename causes index.jsp to be 
> processed by 
> > tomcat and the result returned.
> >
> > I am also using mod_jk2 if that makes a difference.
> >
> > 
> > Quinton McCombs
> > NequalsOne - HealthCare marketing tools 
> mailto:[EMAIL PROTECTED]
> > http://www.NequalsOne.com
> >
> >> -Original Message-----
> >> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday,
> >> March 27, 2003 3:11 PM
> >> To: Tomcat Users List
> >> Subject: Re: Tomcat and IIS
> >>
> >>
> >>
> >> Switching to Apache wouldn't solve it unless you wanted to use
> >> mod_rewrite. Check the archives for last fall...there were 
> bunches of 
> >> threads on this topic for quite awhile.  AFAIK, nothing's changed, 
> >> though I was off this list for several weeks recently and its very 
> >> possible someone came up with a workaround that I missed.
> >>
> >> John
> >>
> >> On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:
> >>
> >> > Yea, I thought about that( or even an asp redirect, defeats the >
> >> purpose
> >> > of using jsp) but I'm trying to get the referrer from 
> the browser 
> >> > into
> >> a > database and I don't want index.html as my only referrer :)
> >> >
> >> > I'll try just using tomcat, I would just switch to 
> apache I guess 
> >> > but
> >> > I
> >> > paid about 1200 bucks for w2k server 2 years ago and 
> STILL paying on 
> >> it. > Oh well.
> >> >
> >> > Thanks
> >> > -wiley
> >> >
> >> >
> >> > -Original Message-
> >> > From: John Turner [mailto:[EMAIL PROTECTED] Sent: 
> >> > Thursday, March 27, 2003 12:57 PM
> >> > To: Tomcat Users List
> >> > Subject: Re: Tomcat and IIS
> >> >
> >> >
> >> > AFAIK, the only way to do this when using Tomcat in conjunction 
> >> > with a web server is a kludge.  I do it by making index.html my 
> >> > default home page, and having index.html be nothing but a meta 
> >> > refresh page with a time of "0" to 
> http://www.foo.com/index.jsp.  
> >> > There are other
> >> ways...some > Apache folks use mod_rewrite.
> >> >
> >> > This means index.jsp will show up in the address bar of the 
> >> > browser.
> >> > If
> >> > you don't want that, I'm not sure you can do it. I don't 
> know enough > 
> >> about IIS to know if there is a more elegant way to do it.
> >> >
> >> > If you want to use Tomcat alone, you setup a welcome-file 
> >> > tag/element
> >> > in
> >> > your application's web.xml file that has index.jsp as a 
> parameter.
> >> >
> >> > John
> >> >
> >> > On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:
> >> >
> >> >> I'm trying to get away from ASP. The top file of my 
> website is an 
> >> >> >>
> >> index.jsp page. I set the root directory for the website to >>
> >> \\webapps\MyWebsite
> >> >>
> >> >> So when you go to http://www.mywebs

RE: Tomcat and IIS

2003-03-27 Thread jsp
That's interesting but it doesn't seem like that would be a very secure
set up to me. I'm positive you know more about that than I do but
something doesn't sound right there. I've never heard of that before.
Let me check into that thanks

-wiley


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:23 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


Since you are on Windows, you don't have to worry about the privileged 
ports restriction for running Tomcat like you do on a UNIX variant, so
why 
not just run Tomcat on port 80 and be done with the whole web server
issue 
completely?

John

On Thu, 27 Mar 2003 13:24:13 -0800, jsp <[EMAIL PROTECTED]> wrote:

> Guess I need to learn YET ANOTHER piece of software. Apache Web Server
> here I come...
>
> -Original Message-
> From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday,

> March 27, 2003 1:15 PM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat and IIS
>
> Well, I am doing this on apache 2.0.44.  My DirectoryIndex has
> index.html and index.jsp.  I am directing *.jsp to tomcat.  Requesting
> the directory without a filename causes index.jsp to be processed by
> tomcat and the result returned.
>
> I am also using mod_jk2 if that makes a difference.
>
> 
> Quinton McCombs
> NequalsOne - HealthCare marketing tools
> mailto:[EMAIL PROTECTED]
> http://www.NequalsOne.com
>
>> -Original Message-
>> From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday,

>> March 27, 2003 3:11 PM
>> To: Tomcat Users List
>> Subject: Re: Tomcat and IIS
>>
>>
>>
>> Switching to Apache wouldn't solve it unless you wanted to use 
>> mod_rewrite. Check the archives for last fall...there were bunches of

>> threads on this topic for quite awhile.  AFAIK, nothing's changed, 
>> though I was off this list for several weeks recently and its very 
>> possible someone came up with a workaround that I missed.
>>
>> John
>>
>> On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:
>>
>> > Yea, I thought about that( or even an asp redirect, defeats the > 
>> purpose
>> > of using jsp) but I'm trying to get the referrer from the browser
into 
>> a > database and I don't want index.html as my only referrer :)
>> >
>> > I'll try just using tomcat, I would just switch to apache I guess
but 
>> > I
>> > paid about 1200 bucks for w2k server 2 years ago and STILL paying
on 
>> it. > Oh well.
>> >
>> > Thanks
>> > -wiley
>> >
>> >
>> > -Original Message-
>> > From: John Turner [mailto:[EMAIL PROTECTED] Sent:
Thursday,
>> > March 27, 2003 12:57 PM
>> > To: Tomcat Users List
>> > Subject: Re: Tomcat and IIS
>> >
>> >
>> > AFAIK, the only way to do this when using Tomcat in conjunction
with a
>> > web server is a kludge.  I do it by making index.html my default
home 
>> > page, and having index.html be nothing but a meta refresh page with
a 
>> > time of "0" to http://www.foo.com/index.jsp.  There are other 
>> ways...some > Apache folks use mod_rewrite.
>> >
>> > This means index.jsp will show up in the address bar of the
browser.  
>> > If
>> > you don't want that, I'm not sure you can do it. I don't know
enough > 
>> about IIS to know if there is a more elegant way to do it.
>> >
>> > If you want to use Tomcat alone, you setup a welcome-file
tag/element 
>> > in
>> > your application's web.xml file that has index.jsp as a parameter.
>> >
>> > John
>> >
>> > On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:
>> >
>> >> I'm trying to get away from ASP. The top file of my website is an
>> 
>> index.jsp page. I set the root directory for the website to >> 
>> \\webapps\MyWebsite
>> >>
>> >> So when you go to http://www.mywebsite.com the default page in iis
is 
>> >> index.jsp but I'm positive that is the wrong way to do this
because 
>> >> the only way jsp will work is if you type into the browser
>> >>
>> >> http://www.mywebsite.com/MyWebsite/index.jsp
>> >>
>> >> maybe this is not a tomcat related question but I'm hoping someone
>> 
>> could be doing this and give me some type of CLUE ?
>> >>
>> >> Basically when you g

Re: Tomcat and IIS

2003-03-27 Thread John Turner
Since you are on Windows, you don't have to worry about the privileged 
ports restriction for running Tomcat like you do on a UNIX variant, so why 
not just run Tomcat on port 80 and be done with the whole web server issue 
completely?

John

On Thu, 27 Mar 2003 13:24:13 -0800, jsp <[EMAIL PROTECTED]> wrote:

Guess I need to learn YET ANOTHER piece of software. Apache Web Server
here I come...
-Original Message-
From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, 
March 27, 2003 1:15 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS

Well, I am doing this on apache 2.0.44.  My DirectoryIndex has
index.html and index.jsp.  I am directing *.jsp to tomcat.  Requesting
the directory without a filename causes index.jsp to be processed by
tomcat and the result returned.
I am also using mod_jk2 if that makes a difference.


Quinton McCombs
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, 
March 27, 2003 3:11 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS



Switching to Apache wouldn't solve it unless you wanted to use 
mod_rewrite. Check the archives for last fall...there were bunches of 
threads on this topic for quite awhile.  AFAIK, nothing's changed, 
though I was off this list for several weeks recently and its very 
possible someone came up with a workaround that I missed.

John

On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:

> Yea, I thought about that( or even an asp redirect, defeats the > 
purpose
> of using jsp) but I'm trying to get the referrer from the browser into 
a > database and I don't want index.html as my only referrer :)
>
> I'll try just using tomcat, I would just switch to apache I guess but 
> I
> paid about 1200 bucks for w2k server 2 years ago and STILL paying on 
it. > Oh well.
>
> Thanks
> -wiley
>
>
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday,
> March 27, 2003 12:57 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS
>
>
> AFAIK, the only way to do this when using Tomcat in conjunction with a
> web server is a kludge.  I do it by making index.html my default home 
> page, and having index.html be nothing but a meta refresh page with a 
> time of "0" to http://www.foo.com/index.jsp.  There are other 
ways...some > Apache folks use mod_rewrite.
>
> This means index.jsp will show up in the address bar of the browser.  
> If
> you don't want that, I'm not sure you can do it. I don't know enough > 
about IIS to know if there is a more elegant way to do it.
>
> If you want to use Tomcat alone, you setup a welcome-file tag/element 
> in
> your application's web.xml file that has index.jsp as a parameter.
>
> John
>
> On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:
>
>> I'm trying to get away from ASP. The top file of my website is an >> 
index.jsp page. I set the root directory for the website to >> 
\\webapps\MyWebsite
>>
>> So when you go to http://www.mywebsite.com the default page in iis is 
>> index.jsp but I'm positive that is the wrong way to do this because 
>> the only way jsp will work is if you type into the browser
>>
>> http://www.mywebsite.com/MyWebsite/index.jsp
>>
>> maybe this is not a tomcat related question but I'm hoping someone >> 
could be doing this and give me some type of CLUE ?
>>
>> Basically when you go to http://www.mywebsite.com I want the top file 
>> to be a functioning .jsp page because I don't want to use an ASP >> 
stats program.
>>
>> Hopefully it makes sense
>>
>> -wiley
>>
>>
>>
>>
>>
>>
>> -
>> 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]




-
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 and IIS

2003-03-27 Thread jsp
Guess I need to learn YET ANOTHER piece of software. Apache Web Server
here I come...

-Original Message-
From: Quinton McCombs [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:15 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS

Well, I am doing this on apache 2.0.44.  My DirectoryIndex has
index.html and index.jsp.  I am directing *.jsp to tomcat.  Requesting
the directory without a filename causes index.jsp to be processed by
tomcat and the result returned.

I am also using mod_jk2 if that makes a difference.


Quinton McCombs
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com 

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 27, 2003 3:11 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS
> 
> 
> 
> Switching to Apache wouldn't solve it unless you wanted to 
> use mod_rewrite. 
>  Check the archives for last fall...there were bunches of 
> threads on this 
> topic for quite awhile.  AFAIK, nothing's changed, though I 
> was off this 
> list for several weeks recently and its very possible someone 
> came up with 
> a workaround that I missed.
> 
> John
> 
> On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:
> 
> > Yea, I thought about that( or even an asp redirect, defeats the 
> > purpose
> > of using jsp) but I'm trying to get the referrer from the 
> browser into a 
> > database and I don't want index.html as my only referrer :)
> >
> > I'll try just using tomcat, I would just switch to apache I 
> guess but 
> > I
> > paid about 1200 bucks for w2k server 2 years ago and STILL 
> paying on it. 
> > Oh well.
> >
> > Thanks
> > -wiley
> >
> >
> > -Original Message-
> > From: John Turner [mailto:[EMAIL PROTECTED] Sent: 
> Thursday,
> > March 27, 2003 12:57 PM
> > To: Tomcat Users List
> > Subject: Re: Tomcat and IIS
> >
> >
> > AFAIK, the only way to do this when using Tomcat in 
> conjunction with a
> > web server is a kludge.  I do it by making index.html my 
> default home 
> > page, and having index.html be nothing but a meta refresh 
> page with a 
> > time of "0" to http://www.foo.com/index.jsp.  There are 
> other ways...some 
> > Apache folks use mod_rewrite.
> >
> > This means index.jsp will show up in the address bar of the 
> browser.  
> > If
> > you don't want that, I'm not sure you can do it. I don't 
> know enough 
> > about IIS to know if there is a more elegant way to do it.
> >
> > If you want to use Tomcat alone, you setup a welcome-file 
> tag/element 
> > in
> > your application's web.xml file that has index.jsp as a parameter.
> >
> > John
> >
> > On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:
> >
> >> I'm trying to get away from ASP. The top file of my website is an 
> >> index.jsp page. I set the root directory for the website to 
> >> \\webapps\MyWebsite
> >>
> >> So when you go to http://www.mywebsite.com the default 
> page in iis is 
> >> index.jsp but I'm positive that is the wrong way to do 
> this because 
> >> the only way jsp will work is if you type into the browser
> >>
> >> http://www.mywebsite.com/MyWebsite/index.jsp
> >>
> >> maybe this is not a tomcat related question but I'm hoping someone 
> >> could be doing this and give me some type of CLUE ?
> >>
> >> Basically when you go to http://www.mywebsite.com I want 
> the top file 
> >> to be a functioning .jsp page because I don't want to use an ASP 
> >> stats program.
> >>
> >> Hopefully it makes sense
> >>
> >> -wiley
> >>
> >>
> >>
> >>
> >>
> >>
> >> 
> -
> >> 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]
> 
> 
> 


-
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 and IIS

2003-03-27 Thread jsp
Ok thanks, I will do that. I just spent some time writing a little stats bean and it 
would suck if I had to go back and use an asp.

-wiley

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:11 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. 
 Check the archives for last fall...there were bunches of threads on this 
topic for quite awhile.  AFAIK, nothing's changed, though I was off this 
list for several weeks recently and its very possible someone came up with 
a workaround that I missed.

John

On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:

> Yea, I thought about that( or even an asp redirect, defeats the purpose 
> of using jsp) but I'm trying to get the referrer from the browser into a 
> database and I don’t want index.html as my only referrer :)
>
> I'll try just using tomcat, I would just switch to apache I guess but I 
> paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. 
> Oh well.
>
> Thanks
> -wiley
>
>
> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, 
> March 27, 2003 12:57 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS
>
>
> AFAIK, the only way to do this when using Tomcat in conjunction with a 
> web server is a kludge.  I do it by making index.html my default home 
> page, and having index.html be nothing but a meta refresh page with a 
> time of "0" to http://www.foo.com/index.jsp.  There are other ways...some 
> Apache folks use mod_rewrite.
>
> This means index.jsp will show up in the address bar of the browser.  If 
> you don't want that, I'm not sure you can do it. I don't know enough 
> about IIS to know if there is a more elegant way to do it.
>
> If you want to use Tomcat alone, you setup a welcome-file tag/element in 
> your application's web.xml file that has index.jsp as a parameter.
>
> John
>
> On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:
>
>> I'm trying to get away from ASP. The top file of my website is an
>> index.jsp page. I set the root directory for the website to
>> \\webapps\MyWebsite
>>
>> So when you go to http://www.mywebsite.com the default page in iis is
>> index.jsp but I'm positive that is the wrong way to do this because the
>> only way jsp will work is if you type into the browser
>>
>> http://www.mywebsite.com/MyWebsite/index.jsp
>>
>> maybe this is not a tomcat related question but I'm hoping someone could
>> be doing this and give me some type of CLUE ?
>>
>> Basically when you go to http://www.mywebsite.com I want the top file to
>> be a functioning .jsp page because I don’t want to use an ASP stats
>> program.
>>
>> Hopefully it makes sense
>>
>> -wiley
>>
>>
>>
>>
>>
>>
>> -
>> 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]


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



RE: Tomcat and IIS

2003-03-27 Thread Quinton McCombs
Well, I am doing this on apache 2.0.44.  My DirectoryIndex has
index.html and index.jsp.  I am directing *.jsp to tomcat.  Requesting
the directory without a filename causes index.jsp to be processed by
tomcat and the result returned.

I am also using mod_jk2 if that makes a difference.


Quinton McCombs
NequalsOne - HealthCare marketing tools
mailto:[EMAIL PROTECTED]
http://www.NequalsOne.com 

> -Original Message-
> From: John Turner [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, March 27, 2003 3:11 PM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS
> 
> 
> 
> Switching to Apache wouldn't solve it unless you wanted to 
> use mod_rewrite. 
>  Check the archives for last fall...there were bunches of 
> threads on this 
> topic for quite awhile.  AFAIK, nothing's changed, though I 
> was off this 
> list for several weeks recently and its very possible someone 
> came up with 
> a workaround that I missed.
> 
> John
> 
> On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:
> 
> > Yea, I thought about that( or even an asp redirect, defeats the 
> > purpose
> > of using jsp) but I'm trying to get the referrer from the 
> browser into a 
> > database and I don't want index.html as my only referrer :)
> >
> > I'll try just using tomcat, I would just switch to apache I 
> guess but 
> > I
> > paid about 1200 bucks for w2k server 2 years ago and STILL 
> paying on it. 
> > Oh well.
> >
> > Thanks
> > -wiley
> >
> >
> > -Original Message-
> > From: John Turner [mailto:[EMAIL PROTECTED] Sent: 
> Thursday,
> > March 27, 2003 12:57 PM
> > To: Tomcat Users List
> > Subject: Re: Tomcat and IIS
> >
> >
> > AFAIK, the only way to do this when using Tomcat in 
> conjunction with a
> > web server is a kludge.  I do it by making index.html my 
> default home 
> > page, and having index.html be nothing but a meta refresh 
> page with a 
> > time of "0" to http://www.foo.com/index.jsp.  There are 
> other ways...some 
> > Apache folks use mod_rewrite.
> >
> > This means index.jsp will show up in the address bar of the 
> browser.  
> > If
> > you don't want that, I'm not sure you can do it. I don't 
> know enough 
> > about IIS to know if there is a more elegant way to do it.
> >
> > If you want to use Tomcat alone, you setup a welcome-file 
> tag/element 
> > in
> > your application's web.xml file that has index.jsp as a parameter.
> >
> > John
> >
> > On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:
> >
> >> I'm trying to get away from ASP. The top file of my website is an 
> >> index.jsp page. I set the root directory for the website to 
> >> \\webapps\MyWebsite
> >>
> >> So when you go to http://www.mywebsite.com the default 
> page in iis is 
> >> index.jsp but I'm positive that is the wrong way to do 
> this because 
> >> the only way jsp will work is if you type into the browser
> >>
> >> http://www.mywebsite.com/MyWebsite/index.jsp
> >>
> >> maybe this is not a tomcat related question but I'm hoping someone 
> >> could be doing this and give me some type of CLUE ?
> >>
> >> Basically when you go to http://www.mywebsite.com I want 
> the top file 
> >> to be a functioning .jsp page because I don't want to use an ASP 
> >> stats program.
> >>
> >> Hopefully it makes sense
> >>
> >> -wiley
> >>
> >>
> >>
> >>
> >>
> >>
> >> 
> -
> >> 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]
> 
> 
> 


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



Re: Tomcat and IIS

2003-03-27 Thread John Turner
Switching to Apache wouldn't solve it unless you wanted to use mod_rewrite. 
Check the archives for last fall...there were bunches of threads on this 
topic for quite awhile.  AFAIK, nothing's changed, though I was off this 
list for several weeks recently and its very possible someone came up with 
a workaround that I missed.

John

On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote:

Yea, I thought about that( or even an asp redirect, defeats the purpose 
of using jsp) but I'm trying to get the referrer from the browser into a 
database and I don’t want index.html as my only referrer :)

I'll try just using tomcat, I would just switch to apache I guess but I 
paid about 1200 bucks for w2k server 2 years ago and STILL paying on it. 
Oh well.

Thanks
-wiley
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, 
March 27, 2003 12:57 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS

AFAIK, the only way to do this when using Tomcat in conjunction with a 
web server is a kludge.  I do it by making index.html my default home 
page, and having index.html be nothing but a meta refresh page with a 
time of "0" to http://www.foo.com/index.jsp.  There are other ways...some 
Apache folks use mod_rewrite.

This means index.jsp will show up in the address bar of the browser.  If 
you don't want that, I'm not sure you can do it. I don't know enough 
about IIS to know if there is a more elegant way to do it.

If you want to use Tomcat alone, you setup a welcome-file tag/element in 
your application's web.xml file that has index.jsp as a parameter.

John

On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:

I'm trying to get away from ASP. The top file of my website is an
index.jsp page. I set the root directory for the website to
\\webapps\MyWebsite
So when you go to http://www.mywebsite.com the default page in iis is
index.jsp but I'm positive that is the wrong way to do this because the
only way jsp will work is if you type into the browser
http://www.mywebsite.com/MyWebsite/index.jsp

maybe this is not a tomcat related question but I'm hoping someone could
be doing this and give me some type of CLUE ?
Basically when you go to http://www.mywebsite.com I want the top file to
be a functioning .jsp page because I don’t want to use an ASP stats
program.
Hopefully it makes sense

-wiley





-
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 and IIS

2003-03-27 Thread Jeremy Whitlock
You didn't buy it as a web server though did you?  It will still be of
service to you...it will run Apache just fine.  Apache is great and over
63% of ALL web servers in the world run it.  Probably even MS. :)
Later, Jeremy

-Original Message-
From: jsp [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 2:10 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS

Yea, I thought about that( or even an asp redirect, defeats the purpose
of using jsp) but I'm trying to get the referrer from the browser into a
database and I don't want index.html as my only referrer :)

I'll try just using tomcat, I would just switch to apache I guess but I
paid about 1200 bucks for w2k server 2 years ago and STILL paying on it.
Oh well.

Thanks
-wiley


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 12:57 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


AFAIK, the only way to do this when using Tomcat in conjunction with a
web 
server is a kludge.  I do it by making index.html my default home page,
and 
having index.html be nothing but a meta refresh page with a time of "0"
to 
http://www.foo.com/index.jsp.  There are other ways...some Apache folks
use 
mod_rewrite.

This means index.jsp will show up in the address bar of the browser.  If

you don't want that, I'm not sure you can do it. I don't know enough
about 
IIS to know if there is a more elegant way to do it.

If you want to use Tomcat alone, you setup a welcome-file tag/element in

your application's web.xml file that has index.jsp as a parameter.

John

On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:

> I'm trying to get away from ASP. The top file of my website is an
> index.jsp page. I set the root directory for the website to
> \\webapps\MyWebsite
>
> So when you go to http://www.mywebsite.com the default page in iis is
> index.jsp but I'm positive that is the wrong way to do this because
the
> only way jsp will work is if you type into the browser
>
> http://www.mywebsite.com/MyWebsite/index.jsp
>
> maybe this is not a tomcat related question but I'm hoping someone
could
> be doing this and give me some type of CLUE ?
>
> Basically when you go to http://www.mywebsite.com I want the top file
to
> be a functioning .jsp page because I don't want to use an ASP stats
> program.
>
> Hopefully it makes sense
>
> -wiley
>
>
>
>
>
>
> -
> 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]


-
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 and IIS

2003-03-27 Thread John Turner
Yes, but this doesn't work if you use "index.jsp" as the DirectoryIndex, 
unless someone has figured out how to do it in the last couple of months.  
It's an FAQ, or at least it was last fall, there were threads once a week 
or more for awhile.  It has to do with the sequence of checking the URL to 
see if the request should be passed to mod_jk...it seems to happen before 
Apache consults DirectoryIndex, so as the request is sent to Tomcat, it 
doesn't have "index.jsp" attached to it yet.

The sequence should be: does the request have a filename, if not append 
file listed in DirectoryIndex, then check to see if URL should be handled 
by mod_jk.  It seems to happen in the reverse, right now, so the 
DirectoryIndex check never happens.

John

On Thu, 27 Mar 2003 13:56:56 -0700, Jeremy Whitlock 
<[EMAIL PROTECTED]> wrote:

Or, just screw IIS and go to Apache.  With Apache, you can tell it what
pages to serve if no page is put into the url.  (DirectoryIndex
index.html index.html.var default.htm)
-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, 
March 27, 2003 1:57 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS

AFAIK, the only way to do this when using Tomcat in conjunction with a
web server is a kludge.  I do it by making index.html my default home 
page,
and having index.html be nothing but a meta refresh page with a time of 
"0"
to http://www.foo.com/index.jsp.  There are other ways...some Apache 
folks
use mod_rewrite.

This means index.jsp will show up in the address bar of the browser.  If

you don't want that, I'm not sure you can do it. I don't know enough
about IIS to know if there is a more elegant way to do it.
If you want to use Tomcat alone, you setup a welcome-file tag/element in

your application's web.xml file that has index.jsp as a parameter.

John

On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:

I'm trying to get away from ASP. The top file of my website is an
index.jsp page. I set the root directory for the website to
\\webapps\MyWebsite
So when you go to http://www.mywebsite.com the default page in iis is
index.jsp but I'm positive that is the wrong way to do this because
the
only way jsp will work is if you type into the browser

http://www.mywebsite.com/MyWebsite/index.jsp

maybe this is not a tomcat related question but I'm hoping someone
could
be doing this and give me some type of CLUE ?

Basically when you go to http://www.mywebsite.com I want the top file
to
be a functioning .jsp page because I don't want to use an ASP stats
program.
Hopefully it makes sense

-wiley





-
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 and IIS

2003-03-27 Thread jsp
I might do that. thanks

-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 12:57 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS

Or, just screw IIS and go to Apache.  With Apache, you can tell it what
pages to serve if no page is put into the url.  (DirectoryIndex
index.html index.html.var default.htm)

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:57 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


AFAIK, the only way to do this when using Tomcat in conjunction with a
web 
server is a kludge.  I do it by making index.html my default home page,
and 
having index.html be nothing but a meta refresh page with a time of "0"
to 
http://www.foo.com/index.jsp.  There are other ways...some Apache folks
use 
mod_rewrite.

This means index.jsp will show up in the address bar of the browser.  If

you don't want that, I'm not sure you can do it. I don't know enough
about 
IIS to know if there is a more elegant way to do it.

If you want to use Tomcat alone, you setup a welcome-file tag/element in

your application's web.xml file that has index.jsp as a parameter.

John

On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:

> I'm trying to get away from ASP. The top file of my website is an
> index.jsp page. I set the root directory for the website to
> \\webapps\MyWebsite
>
> So when you go to http://www.mywebsite.com the default page in iis is
> index.jsp but I'm positive that is the wrong way to do this because
the
> only way jsp will work is if you type into the browser
>
> http://www.mywebsite.com/MyWebsite/index.jsp
>
> maybe this is not a tomcat related question but I'm hoping someone
could
> be doing this and give me some type of CLUE ?
>
> Basically when you go to http://www.mywebsite.com I want the top file
to
> be a functioning .jsp page because I don't want to use an ASP stats
> program.
>
> Hopefully it makes sense
>
> -wiley
>
>
>
>
>
>
> -
> 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]



-
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 and IIS

2003-03-27 Thread jsp
Yea, I thought about that( or even an asp redirect, defeats the purpose of using jsp) 
but I'm trying to get the referrer from the browser into a database and I don’t want 
index.html as my only referrer :)

I'll try just using tomcat, I would just switch to apache I guess but I paid about 
1200 bucks for w2k server 2 years ago and STILL paying on it. Oh well.

Thanks
-wiley


-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 12:57 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


AFAIK, the only way to do this when using Tomcat in conjunction with a web 
server is a kludge.  I do it by making index.html my default home page, and 
having index.html be nothing but a meta refresh page with a time of "0" to 
http://www.foo.com/index.jsp.  There are other ways...some Apache folks use 
mod_rewrite.

This means index.jsp will show up in the address bar of the browser.  If 
you don't want that, I'm not sure you can do it. I don't know enough about 
IIS to know if there is a more elegant way to do it.

If you want to use Tomcat alone, you setup a welcome-file tag/element in 
your application's web.xml file that has index.jsp as a parameter.

John

On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:

> I'm trying to get away from ASP. The top file of my website is an
> index.jsp page. I set the root directory for the website to
> \\webapps\MyWebsite
>
> So when you go to http://www.mywebsite.com the default page in iis is
> index.jsp but I'm positive that is the wrong way to do this because the
> only way jsp will work is if you type into the browser
>
> http://www.mywebsite.com/MyWebsite/index.jsp
>
> maybe this is not a tomcat related question but I'm hoping someone could
> be doing this and give me some type of CLUE ?
>
> Basically when you go to http://www.mywebsite.com I want the top file to
> be a functioning .jsp page because I don’t want to use an ASP stats
> program.
>
> Hopefully it makes sense
>
> -wiley
>
>
>
>
>
>
> -
> 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]


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



RE: Tomcat and IIS

2003-03-27 Thread Jeremy Whitlock
Or, just screw IIS and go to Apache.  With Apache, you can tell it what
pages to serve if no page is put into the url.  (DirectoryIndex
index.html index.html.var default.htm)

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2003 1:57 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS


AFAIK, the only way to do this when using Tomcat in conjunction with a
web 
server is a kludge.  I do it by making index.html my default home page,
and 
having index.html be nothing but a meta refresh page with a time of "0"
to 
http://www.foo.com/index.jsp.  There are other ways...some Apache folks
use 
mod_rewrite.

This means index.jsp will show up in the address bar of the browser.  If

you don't want that, I'm not sure you can do it. I don't know enough
about 
IIS to know if there is a more elegant way to do it.

If you want to use Tomcat alone, you setup a welcome-file tag/element in

your application's web.xml file that has index.jsp as a parameter.

John

On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:

> I'm trying to get away from ASP. The top file of my website is an
> index.jsp page. I set the root directory for the website to
> \\webapps\MyWebsite
>
> So when you go to http://www.mywebsite.com the default page in iis is
> index.jsp but I'm positive that is the wrong way to do this because
the
> only way jsp will work is if you type into the browser
>
> http://www.mywebsite.com/MyWebsite/index.jsp
>
> maybe this is not a tomcat related question but I'm hoping someone
could
> be doing this and give me some type of CLUE ?
>
> Basically when you go to http://www.mywebsite.com I want the top file
to
> be a functioning .jsp page because I don't want to use an ASP stats
> program.
>
> Hopefully it makes sense
>
> -wiley
>
>
>
>
>
>
> -
> 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]



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



Re: Tomcat and IIS

2003-03-27 Thread John Turner
AFAIK, the only way to do this when using Tomcat in conjunction with a web 
server is a kludge.  I do it by making index.html my default home page, and 
having index.html be nothing but a meta refresh page with a time of "0" to 
http://www.foo.com/index.jsp.  There are other ways...some Apache folks use 
mod_rewrite.

This means index.jsp will show up in the address bar of the browser.  If 
you don't want that, I'm not sure you can do it. I don't know enough about 
IIS to know if there is a more elegant way to do it.

If you want to use Tomcat alone, you setup a welcome-file tag/element in 
your application's web.xml file that has index.jsp as a parameter.

John

On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote:

I'm trying to get away from ASP. The top file of my website is an
index.jsp page. I set the root directory for the website to
\\webapps\MyWebsite
So when you go to http://www.mywebsite.com the default page in iis is
index.jsp but I'm positive that is the wrong way to do this because the
only way jsp will work is if you type into the browser
http://www.mywebsite.com/MyWebsite/index.jsp

maybe this is not a tomcat related question but I'm hoping someone could
be doing this and give me some type of CLUE ?
Basically when you go to http://www.mywebsite.com I want the top file to
be a functioning .jsp page because I don’t want to use an ASP stats
program.
Hopefully it makes sense

-wiley





-
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]


solved: RE: Tomcat and IIS

2002-12-04 Thread Schultz, Cecilia

Just want to give a solution for any other user..
I was missing 

/i1440/*.jsp=ajp13
/i1440/servlet/*=ajp13

in uriworkermap.properties

after adding this and restarting tomcat, I started to see the 
80 GET /jakarta/isapi_redirect.dll - 200 
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0)
entries in iis log

Thank you
Cecilia




> -Original Message-
> From: Schultz, Cecilia 
> Sent: Tuesday, December 03, 2002 9:01 AM
> To: Tomcat Users List
> Subject: Tomcat and IIS
> 
> 
> 
> 
> Hi,
> 
> I installed Tomcat 3.3.1, win2K server with IIS 
> 
> I followed the IIS HowTo and did all the additional IIS setup 
> to have IIS redirect jsp/servlets to tomcat (started tomcat 
> with jkconf option, generated the isapi_redirect.properties 
> files in conf/auto, created Jakarta virtual directory on 
> isapi_redirect.dll, restarted tomcat, etc)
> 
> 
> I have a simple test1.jsp with content:
> 
> 
> 
> <% String thispage="test1.jsp"; %>
> this page is <%=thispage %> 
> 
> 
> 
> 
> I am able to see a "this page is test1.jsp" when I do:
> 
> http://webapps2/examples/test1.jsp
> 
> http://webapps2/admin/test2.jsp
> 
> 
> but when I try to see it in the web app that I set up (which 
> is not not under c:\tomcat\webapps)
> I don't get to see the jsp part (I only see "this page is")
> 
> http://webapps2/i1440/test1.jsp
> 
> 
> "i1440" is a virtual directory that points to a directory 
> path F:\i1440root\opt\i1440\webapps\i1440
> 
> this directory has a WEB-INF under it, and a web.xml is 
> inside this WEB-INF directory.
> 
> At this point, the content of web.xml is very simple:
> 
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
> 
>JHU iTrack
> 
> 
> 
> 
> 
> also, the content of c:\tomcat\conf\apps-i1440.xml is
> 
> 
> 
> 
> docBase="F:/i1440root/opt/i1440/webapps/i1440" 
> debug="0" 
> trusted="true"
>   reloadable="true"> 
>   
> 
> 
> 
> 
> Why am I doing wrong? why am I not able to see a test1.jsp 
> under my i1440 web app? is tehre a restriction in Tomcat that 
> your webapp needs to be under c:\tomcat\webapps  ?
> 
> 
> Thanks in advance for your help
> Cecilia
> 
> 
> --
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 
> 
> 

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




Re: tomcat and IIS 5.0 exe files create problems

2002-11-04 Thread Prashanth Pushpagiri
I meant 3.2.2...sorry never put my hands into 3.3
series. 

Consider two situations of serving .exe files. First I
have no tomcat working alongside IIS 5.0. When I place
the exe file in the web-folder, a request for the exe
file would be responded to by the exe file right?(I
dont think that was eloquent explanation...every one
know that!)

Now when I have tomcat installed I configured it so
that only calls to jsp pages are handled by tomcat and
all static pages by IIS. Now when I make for an exe
file the file I dont get prompted for a download.
After a few minutes, my event log shows an error
saying that the script from URL /*.exe has not
responded within the configured the timeout period. So
it was terminated! Does that mean that instead of
serving the page to the user the webserver is
executing it on the server itself? Also, why would
this same request work with IIS w/o tomcat?

Thanks
Prashanth

--- Bill Barker <[EMAIL PROTECTED]> wrote:
> Way back in the yet-to-be-released 3.3.2. ;-)
> 
> Having just checked, 3.3.1 (unchanged in 3.3.2-dev),
> Tomcat will assign the
> content-type of "application/octet-stream" to an
> ".exe" file by default.  I
> don't use the "isapi_redirector.dll" myself, but
> I'll need more details to
> be able to determine if this is a Tomcat bug or not.
> 
> "Prashanth Pushpagiri" <[EMAIL PROTECTED]>
> wrote in message
>
news:20021103011916.90693.qmail@;web20807.mail.yahoo.com...
> > Hello everyone:
> >
> > I am running tomcat 4.1.12 on windows 2000
> advanced
> > server (IIS 5.0) and have been facing problems
> with
> > exe files. note that this problem has been
> persistent
> > ever since I started using tomcat(way back in
> version
> > 3.3.2).
> >
> > When I have a website without tomcat working
> > along-side IIS, I can serve exe files without any
> > problem. But once I plug the ISAPI filter for
> tomcat
> > into IIS, any request for exe files just hangs(no
> exe
> > file is served). Has anyone else faced such a
> problem
> > and resolved it previously? Does anyone have any
> > specific instructions/suggestions to resolve this?
> I
> > am in a bind as I am expected to serve .exe files.
> >
> > Any suggestions will be very helpful
> >
> > thanks
> > Prashanth
> >
> > __
> > Do you Yahoo!?
> > HotJobs - Search new jobs daily now
> > http://hotjobs.yahoo.com/
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> 
> For additional commands, e-mail:
> 
> 


__
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

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




Re: tomcat and IIS 5.0 exe files create problems

2002-11-03 Thread Bill Barker
Way back in the yet-to-be-released 3.3.2. ;-)

Having just checked, 3.3.1 (unchanged in 3.3.2-dev), Tomcat will assign the
content-type of "application/octet-stream" to an ".exe" file by default.  I
don't use the "isapi_redirector.dll" myself, but I'll need more details to
be able to determine if this is a Tomcat bug or not.

"Prashanth Pushpagiri" <[EMAIL PROTECTED]> wrote in message
news:20021103011916.90693.qmail@;web20807.mail.yahoo.com...
> Hello everyone:
>
> I am running tomcat 4.1.12 on windows 2000 advanced
> server (IIS 5.0) and have been facing problems with
> exe files. note that this problem has been persistent
> ever since I started using tomcat(way back in version
> 3.3.2).
>
> When I have a website without tomcat working
> along-side IIS, I can serve exe files without any
> problem. But once I plug the ISAPI filter for tomcat
> into IIS, any request for exe files just hangs(no exe
> file is served). Has anyone else faced such a problem
> and resolved it previously? Does anyone have any
> specific instructions/suggestions to resolve this? I
> am in a bind as I am expected to serve .exe files.
>
> Any suggestions will be very helpful
>
> thanks
> Prashanth
>
> __
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/





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




Re: tomcat and IIS 5.0 exe files create problems

2002-11-03 Thread Darren Rose - text4texts.com
Hi,

I am trying to configure tomcat 4 with windows 2000 advanced server, but am
failing
miserably. Can anyone please help. I have configure tomcat with windows 2k,
but am
now trying to configure with w2k advanced server that will servce site to
the Internet.

thanks

Darren

- Original Message -
From: "Prashanth Pushpagiri" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 03, 2002 1:19 AM
Subject: tomcat and IIS 5.0 exe files create problems


> Hello everyone:
>
> I am running tomcat 4.1.12 on windows 2000 advanced
> server (IIS 5.0) and have been facing problems with
> exe files. note that this problem has been persistent
> ever since I started using tomcat(way back in version
> 3.3.2).
>
> When I have a website without tomcat working
> along-side IIS, I can serve exe files without any
> problem. But once I plug the ISAPI filter for tomcat
> into IIS, any request for exe files just hangs(no exe
> file is served). Has anyone else faced such a problem
> and resolved it previously? Does anyone have any
> specific instructions/suggestions to resolve this? I
> am in a bind as I am expected to serve .exe files.
>
> Any suggestions will be very helpful
>
> thanks
> Prashanth
>
> __
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:

>


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




RE: Tomcat and IIS

2002-08-10 Thread Andrew

Instructions and files can be located here.

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

- Andrew

> -Original Message-
> From: ed banfa [mailto:[EMAIL PROTECTED]] 
> Sent: Saturday, August 10, 2002 9:11 AM
> To: Tomcat Users List
> Subject: Tomcat and IIS
> 
> 
> 
> Hi all, 
> 
> please I hear you can run  tomcat on iis, but that one needs 
> a couple of dll's can any one tell where i can get these 
> dynamic link libraries and how to install them,
> 
> i have a  couple of web apps that i have tested and tried on 
> other servlet/jsp enable servers now the problem is how to 
> mIgrate them to my clients IIS
> 
> Scenario: run jsp and servlets on  IIS 5.0 on win2000 OS
> 
> thanks in advance 
> 
>  
> 
> yours 
> 
> Edward Banfa
> 
> Afrione Nigeria Ltd
> 
> 
> 
> -
> Do You Yahoo!?
> HotJobs, a Yahoo! service - Search Thousands of New Jobs
> 


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




Re: Tomcat and IIS Error 500

2001-12-14 Thread Andy Soedibjo

Could you tell me your configuration of your servlet, and the error message?

Rgds,
Andy.

At 08:47 14/12/2001 -0600, you wrote:
>I have installed Tomcat 4.0 on a client machine running Win 2K Server.  IIS
>is also installed and running on this server.  I followed the instructions
>for attaching Tomcat to IIS as listed on the Tomcat web site.  I also added
>my application to the uriworkermap.properties file.  After following all the
>instructions, I rebooted the server and Tomcat and IIS both started.  I can
>access my app via port 8080.  If I try to access it through IIS I get an
>error 500.  Any ideas what is causing this?
>
>Thanks,
>
>Jim Urban
>Product Manager
>Netsteps Inc.
>Suite 505E
>1 Pierce Pl.
>Itasca, IL  60143
>Voice:  (630) 250-3045 x2164
>Fax:  (630) 250-3046
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: TomCat and IIS

2001-10-19 Thread Michael Risch

I just solved this very problem with help from the list, and  have been told I am now 
the official answerer on this problem ;)

Did you both a) add to the ISAPI dialog in internet service manager and b) add 
isapi_redirect.dll in the registry under Filter DLL's?  That is what the docs say, but 
it is wrong. Delete the registry entry and it should work.  

>>> [EMAIL PROTECTED] 10/19/01 01:21PM >>>
On the windows2000 server, the http://localhost/examples/jsp/index.html 
doesn t work to IIS. 
The last line in the file 
C:\WINNT\system32\LogFiles\W3SVC1\ex011019.log is 
"2001-10-19 17:41:50 127.0.0.1 - 127.0.0.1 80 
GET /jakarta/isapi_redirect.dll - 200 Mozilla/4.0+
(compatible;+MSIE+5.01;+Windows+NT+5.0)".

In the tomcat s prompt, the last line is
"2001-10-19 15:41:50 - Ctx(  ): 404 R(  + /jakarta/isapi_redirect.dll + 
null) null"

I think that all configuration are ok. What I do?

thanks, Antonio.

MailBR - O e-mail do Brasil -- http://www.mailbr.com.br 
Faça já o seu. É gratuito!!!




Re: tomcat and iis

2001-08-06 Thread Joe Clem

Got it.  Didn't map my context in the urimapping.properties.  It was all
right there in the documentation.  Just overlooked it.

Joe

Richard Heintze wrote:

> --- Joe Clem <[EMAIL PROTECTED]> wrote:
> > If integrating with IIS or anyother web server do I
> > need tomcat
> > listening on port 8080.  Can I have every request go
> > thru the webserver
> > such as iis and take advantage of all of the tomcat
> > features such as
> > form authentication, JDBCRealms...
> >
> > Will IIS be able to see the tomcat Contexts?
>
> The IIS ISAPI filter aparently sees the tomcat
> contexts -- it is working for me!
>
> >
> > Is there anything special I have to do to achieve
> > this behavior.  If
> > this is already detailed in documentation please
> > point me in the right
> > directions.
> >
> > Thanks very much.
> >
> > Joe Clem
> >
>
> __
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/




Re: tomcat and iis

2001-08-06 Thread Richard Heintze


--- Joe Clem <[EMAIL PROTECTED]> wrote:
> If integrating with IIS or anyother web server do I
> need tomcat
> listening on port 8080.  Can I have every request go
> thru the webserver
> such as iis and take advantage of all of the tomcat
> features such as
> form authentication, JDBCRealms...
> 
> Will IIS be able to see the tomcat Contexts?

The IIS ISAPI filter aparently sees the tomcat
contexts -- it is working for me!

> 
> Is there anything special I have to do to achieve
> this behavior.  If
> this is already detailed in documentation please
> point me in the right
> directions.
> 
> Thanks very much.
> 
> Joe Clem
> 


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



Re: Tomcat and IIS 5

2001-07-25 Thread John Baker

Actually, the design of the website and the related docs is very poor. And
when I last visited there were empty pages, bits missing, and stuff tha
didnt want to display on Mozilla (any version). I think that was the 'server
administration' section.


John


On Thu, Jul 26, 2001 at 07:53:44AM +1000, Dmitri Colebatch wrote:
> yes there is, its all of two clicks away from the home page of
> tomcat.  could _everyone_ posting messages that perhaps could be answered
> without taking other people's time up make an effort to answer the
> question themselves before posting on the list.  by all means if you cant
> find it, post - but as someone who answers questions, I can tell you I
> feel a _lot_ more compelled to answer questions where it is clear the
> person asking has made a reasonable effort to answer the question
> themselves.
> 
> http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html
> 
> cheesr
> dim
> 
> 
> On Wed, 25 Jul 2001, Luiz Olavo Bonino wrote:
> 
> > Is there any document that shows how to install Tomcat on a Windows 2000 and IIS 5 
>environment?
> > 
> > Thanks,
> > 
> > Luiz Olavo
> > 
> 

-- 
John Baker, BSc CS.   
Java developer, Linux lover.
I don't wanna rock, DJ.



Re: Tomcat and IIS 5

2001-07-25 Thread Dmitri Colebatch

yes there is, its all of two clicks away from the home page of
tomcat.  could _everyone_ posting messages that perhaps could be answered
without taking other people's time up make an effort to answer the
question themselves before posting on the list.  by all means if you cant
find it, post - but as someone who answers questions, I can tell you I
feel a _lot_ more compelled to answer questions where it is clear the
person asking has made a reasonable effort to answer the question
themselves.

http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-iis-howto.html

cheesr
dim


On Wed, 25 Jul 2001, Luiz Olavo Bonino wrote:

> Is there any document that shows how to install Tomcat on a Windows 2000 and IIS 5 
>environment?
> 
> Thanks,
> 
> Luiz Olavo
> 




RE: Tomcat And IIS: Suggestion

2001-07-02 Thread Randy Layman



> -Original Message-
> From: Steve [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 02, 2001 2:58 PM
> To: [EMAIL PROTECTED]
> Subject: Tomcat And IIS: Suggestion
> 
> 
> Hi
> 
> I've been trying to use your tomcat-iis-howto.html to 
> integrate IIS 5.0 
> on Win 2000 with Tomcat.
> 
> I am in my second day and getting very frustrated.
> 
> When I try to start tomcat the dos windows wiz by with error messages 
> that go by to fast for me to read them.  Windows 2000 no longer lets 
> user conviently set environmental memory via the properties tab.  You 
> now have to alter the config.sys file.  I can't restart the 
> machine and 
> I can't read the error msg that happens when I try to start tomcat.
> 
In Win 2K you don't need to change the environment memory.  To see the
messages, instead of using the commands "startup" or "tomcat start", try
using "tomcat run" - this will start Tomcat in the DOS window that you are
currently in so that the message will stay around longer than Tomcat.

> How about modifying your bat files so people can read the 
> error messages?
Its already set up, you just need to know how to use them (or read them to
know how to use them)
> 
> 
> I would like to suggest that an install program for 
> integrating tomcat 
> with IIS be created.
I've tried, but there are three things that prevent problems:
1.  Can't distribute JDK, which makes Tomcat pretty useless
2.  Can't create virtual directories in IIS other than interactively
3.  Can't create filters in IIS other than interactively.

(If anyone knows of answers to 2 or 3 then please let me know, I'll gladly
build the installer, it will save me lots of time like right now).
> 
> I would venture to say that a lot of people who do want to 
> use both IIS 
> and Tomcat are people like me:  intermediate ( or less ) 
> programmers ( 
> java ) who have a tight fisted corporate structure that will 
> not let my 
> buy an alternative to Tomcat at the "get go",  who know little about 
> windows, and less about IIS.
I think a better assessment would be that most are familiar with the
Microsoft way and deviations from the way in which Microsoft does things
causes people problems, even though they are better solutions.  Another
example would be the difficulty in getting Apache installed on Windows by
most people.

> 
> IIS is a very prevalent web server. Tomcat is also prevalent. Many 
> people would like to use both of them together.
No, its a 30% market share server.  Apache is prevalent.  iPlanet is just
behind.

> 
> If it was made easy, tomcat ___and java___ would proliferate 
> even faster
It is easy.  You just need to think outside of Microsoft's box.  Installing
Tomcat with IIS is no harder (and probably easier) than integrating Tomcat
and Apache, however there are almost twice as many questions about the IIS
process.  Many people from the Microsoft world of computers don't have the
ability to follow the configuration process since there isn't a one-click
GUI prompt me for everything solution.  And the reason that there isn't is
that IIS won't allow you to modify its configuration programmatically.  Go
figure.

Randy

PS Yes, we do use NT/IIS for 90% of our work.  It works well enough and I'm
not against Microsoft and IIS, but the culture produces sys admins and
developers who expect everything to be right in front of them in an Arial
font.



RE: Tomcat and IIS revisited

2001-06-11 Thread Winer, Matthew

Randy,

Here is a clip from my server.xml file:







Thank You
Matt Winer

-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 1:55 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS revisited



Now, my question is, have you modified Tomcat's server.xml file?
This file indicates that it will try and use ajp12 to connect to
localhost:8007 to find Tomcat.  From your uriworkermap.properties file we
know that this one should be used, and from the log files posted earlier we
know that it is being used.  So, the only thing that remains that could be
wrong, is that Tomcat is not running AJP12 on port 8007.



RE: Tomcat and IIS revisited

2001-06-11 Thread Randy Layman


Now, my question is, have you modified Tomcat's server.xml file?
This file indicates that it will try and use ajp12 to connect to
localhost:8007 to find Tomcat.  From your uriworkermap.properties file we
know that this one should be used, and from the log files posted earlier we
know that it is being used.  So, the only thing that remains that could be
wrong, is that Tomcat is not running AJP12 on port 8007.

Randy

> -Original Message-
> From: Winer, Matthew [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 11, 2001 2:17 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Tomcat and IIS revisited
> 
> 
> I appoligize here is the correct file
> 
> #
> # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/workers.properties,v
> 1.3.2.2 2000/10/16 01:59:22 larryi Exp $
> # $Revision: 1.3.2.2 $
> # $Date: 2000/10/16 01:59:22 $
> #
> #
> # workers.properties -
> #
> # This file provides jk derived plugins with with the needed 
> information to
> # connect to the different tomcat workers.
> #
> # As a general note, the characters $( and ) are used 
> internally to define
> # macros. Do not use them in your own configuration!!!
> #
> # Whenever you see a set of lines such as:
> # x=value
> # y=$(x)\something
> #
> # the final value for y will be value\something
> #
> # Normaly all you will need to modify is the first properties, i.e.
> # workers.tomcat_home, workers.java_home and ps. Most of the 
> configuration
> # is derived from these.
> #
> # When you are done updating workers.tomcat_home, 
> workers.java_home and ps
> # you should have 3 workers configured:
> #
> # - An ajp12 worker that connects to localhost:8007
> # - An ajp13 worker that connects to localhost:8009
> # - A jni inprocess worker.
> # - A load balancer worker
> #
> # However by default the plugins will only use the ajp12 
> worker. To have
> # the plugins use other workers you should modify the 
> worker.list property.
> #
> #
> 
> #
> # workers.tomcat_home should point to the location where you
> # installed tomcat. This is where you have your conf, webapps and lib
> # directories.
> #
> workers.tomcat_home=c:\tomcat\jakarta-tomcat-3.2.2
> 
> #
> # workers.java_home should point to your Java installation. Normally
> # you should have a bin and lib directories beneath it.
> #
> workers.java_home=c:\jdk1.3.1
> 
> #
> # You should configure your environment slash... ps=\ on NT 
> and / on UNIX
> # and maybe something different elsewhere.
> #
> ps=\
> # ps=/
> 
> #
> #-- ADVANCED MODE 
> #-
> #
> 
> #
> #-- DEFAULT worket list --
> #-
> #
> #
> # The workers that your plugins should create and work with
> #
> worker.list=ajp12, ajp13
> 
> #
> #-- DEFAULT ajp12 WORKER DEFINITION --
> #-
> #
> 
> #
> # Defining a worker named ajp12 and of type ajp12
> # Note that the name and the type do not have to match.
> #
> worker.ajp12.port=8007
> worker.ajp12.host=localhost
> worker.ajp12.type=ajp12
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  > lbfactor must be > 0
> #  > Low lbfactor means less work done by the worker.
> worker.ajp12.lbfactor=1
> 
> #
> #-- DEFAULT ajp13 WORKER DEFINITION --
> #-
> #
> 
> #
> # Defining a worker named ajp13 and of type ajp13
> # Note that the name and the type do not have to match.
> #
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> #
> # Specifies the load balance factor when used with
> # a load balancing worker.
> # Note:
> #  > lbfactor must be > 0
> #  > Low lbfactor means less work done by the worker.
> worker.ajp13.lbfactor=1
> 
> #
> # Specify the size of the open connection cache.
> #worker.ajp13.cachesize
> 
> #
> #-- DEFAULT LOAD BALANCER WORKER DEFINITION --
> #-
> #
> 
> #
> # The loadbalancer (type lb) workers perform wighted round-robin
> # load balancing with sticky sessions.
> # Note:
> #  > If a worker dies, the load balancer will check its state
> #once in a while. Until then all work is redi

RE: Tomcat and IIS revisited

2001-06-11 Thread Winer, Matthew
line=$(workers.tomcat_home)/conf/jni_server.xml
worker.inprocess.cmd_line=-home
worker.inprocess.cmd_line=$(workers.tomcat_home)

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

#
# And this is for jdk1.1.X
#
#worker.inprocess.jvm_lib=$(workers.java_home)$(ps)bin$(ps)javai.dll
#

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

#
# Setting the tomcat.home Java property
#
worker.inprocess.sysprops=tomcat.home=$(workers.tomcat_home)

#
# Java system properties
#
# worker.inprocess.sysprops=java.compiler=NONE
# worker.inprocess.sysprops=myprop=mypropvalue

#
# Additional path components.
#
# worker.inprocess.ld_path=d:$(ps)SQLLIB$(ps)bin
#



-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 1:36 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS revisited

> # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v
> 1.2.2.1 2000/10/16 01:59:22 larryi Exp $

workers.properties, not wrapper.properties.



RE: Tomcat and IIS revisited

2001-06-11 Thread Randy Layman



> -Original Message-
> From: Winer, Matthew [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 11, 2001 1:38 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Tomcat and IIS revisited
> 
> 
> Here is a copy of my workers.properties and 
> uriworkermap.properties files.
> I was told that this is where my problem lies.  If somebody 
> could take a
> quick look, maybe see if anything is wrong.  Thanks
> 
> 
> 
> #
> # $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v
> 1.2.2.1 2000/10/16 01:59:22 larryi Exp $

workers.properties, not wrapper.properties.



RE: Tomcat and IIS revisited

2001-06-11 Thread Winer, Matthew

Here is a copy of my workers.properties and uriworkermap.properties files.
I was told that this is where my problem lies.  If somebody could take a
quick look, maybe see if anything is wrong.  Thanks



#
# $Header: /home/cvs/jakarta-tomcat/src/etc/Attic/wrapper.properties,v
1.2.2.1 2000/10/16 01:59:22 larryi Exp $
# $Revision: 1.2.2.1 $
# $Date: 2000/10/16 01:59:22 $
#
#
# jk_service.properties - a bootstrup file for the Tomcat NT service.
#
# This file provides jk_nt_service with the needed information to
# start tomcat at a different process.
#
# As a general note, the characters $( and ) are used internally to define
# macros. Do not use them!!!
#
# Whenever you see a set of lines such as:
# x=value
# y=$(x)\something
#
# the final value for y will be value\something
#
# Normaly all you will need to modify is the first two properties, i.e.
# wrapper.tomcat_home and wrapper.java_home. Most of the configuration
# is derived from these two.
#

#
# wrapper.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
wrapper.tomcat_home=c:\tomcat\jakarta-tomcat-3.2.2

#
# wrapper.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
wrapper.java_home=c:\jdk1.3.1

#
#-- ADVANCED MODE 
# Make sure that you read the how-to before making too many changes.
#-
#

#
# Defining where the service is going to put the standard
# output of Tomcat. This is where System.out.println and
# System.err.println goes to.
#
wrapper.stdout=$(wrapper.tomcat_home)\logs\jvm.stdout
wrapper.stderr=$(wrapper.tomcat_home)\logs\jvm.stderr

#
# Additions to the path. put here directories where you store DLLs for
# native methods etc.
#
wrapper.ld_path=d:\
wrapper.ld_path=c:\

#
# Defining the classpath. All the rows that belongs to the class_path
# property are concatenated to create the classpath for Tomcat.
#
# If you have additional locations that you would like to add to the
# claspath you should add a new wrapper.class_path= line.
#
wrapper.class_path=$(wrapper.tomcat_home)\classes
wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar

#
# This is where Javac is located in JDK1.2.x
#
wrapper.class_path=$(wrapper.java_home)\lib\tools.jar
#
# and a tribute to JDK1.1.x
#
#wrapper.class_path=$(wrapper.java_home)\lib\classes.zip

#
# This is the Java interpreter used for running Tomcat
#
wrapper.javabin=$(wrapper.java_home)\bin\java.exe

#
# This is Tomcat's startup class (the class that contains Tomcat's
# starting point.
#
wrapper.startup_class=org.apache.tomcat.startup.Tomcat

#
# This is the location where tomcat's server.xml configuration file 
# is located. 
#
wrapper.server_xml=$(wrapper.tomcat_home)\conf\server.xml

#
# The NT service uses AJP12/AJP13 to shutdown Tomcat. The 
# wrapper.shutdown_port tells the service the identity of the port that 
# is used by AJP12/AJP13.
#
wrapper.shutdown_port=8007

#
# Can either be ajp12 or ajp13 depending on your configuration.
#
# Default value is ajp12
#
wrapper.shutdown_protocol=ajp12

#
# This is the command line that is used to start Tomcat. You can *add* extra
# parameters to it but you can not remove anything.
#
wrapper.cmd_line=$(wrapper.javabin) -classpath $(wrapper.class_path)
$(wrapper.startup_class) -config $(wrapper.server_xml) -home
$(wrapper.tomcat_home)





#The uriworkermap.properties file

#
# Simple worker configuration file
#

# Mount the servlet context to the ajp12 worker
/servlet/*=ajp12

# Mount the examples context to the ajp12 worker
/examples/*=ajp12

# Advanced mount of the examples context
# /examples/*.jsp=ajp12
# /examples/servlet/*=ajp12


***

Can I or should I use this file.  I am going to need the uwi and loxt
contexts


#This is the uriworkermap.properties-auto file
#
# Auto configuration for the /loxt context starts.
#

#
# The following line mounts all JSP file and the /servlet/ uri to tomcat
#
/loxt/servlet/*=$(default.worker)
/loxt/*.jsp=$(default.worker)

#
# If you want tomcat to serve all the resources (including static) that
# are part of the /loxt context, uncomment the following line
#
# /loxt/*=$(default.worker)
###
# Auto configuration for the /loxt context ends.
###

#

RE: Tomcat and IIS revisited

2001-06-11 Thread Randy Layman


Your workers file is not correct - from your previous messages,
isapi_redirect is finding that the resource should be a redirect to Tomcat.
The problem is it can't find the worker for the redirect - the right side of
the mapping in uriworkermap.properties is not defined (or not correctly
defined) in workers.properties.

Randy

> -Original Message-
> From: Winer, Matthew [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 11, 2001 11:55 AM
> To: 'Tomcat-User (E-mail)
> Subject: RE: Tomcat and IIS revisited
> 
> 
> When I check the IIS log files I see a 
> 
> GET "/jakarta/isapi_redirect.dll" 401 
> 
> It is a 401 error.  I still have the 
> 
> > jk_uri_worker_map_t::uri_worker_map_close, NULL
> > parameter
> > [jk_uri_worker_map.c (185)]: In 
> > jk_uri_worker_map_t::uri_worker_map_free,
> > NULL parameters
> 
> in my isapi.log file and I am about to throw this $#!* out 
> the window.  
> 
> Thank you for you time
> 
> 
> -Matt Winer
> 



RE: Tomcat and IIS revisited

2001-06-11 Thread Winer, Matthew

When I check the IIS log files I see a 

GET "/jakarta/isapi_redirect.dll" 401 

It is a 401 error.  I still have the 

> jk_uri_worker_map_t::uri_worker_map_close, NULL
> parameter
> [jk_uri_worker_map.c (185)]: In 
> jk_uri_worker_map_t::uri_worker_map_free,
> NULL parameters

in my isapi.log file and I am about to throw this $#!* out the window.  

Thank you for you time


-Matt Winer



RE: Tomcat and IIS revisited!

2001-06-11 Thread Randy Layman



> -Original Message-
> From: Winer, Matthew [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 11, 2001 9:54 AM
> To: 'Tomcat-User (E-mail)
> Subject: Tomcat and IIS revisited!
> 
> 
> Ok well I have made some progress this morning.  I now how 
> the green up
> arrow for the ISAPI filter.  I am so excited.  Now I just 
> have a couple more
> questions.  Does it matter what the home directory is for my 
> IIS web server?
> I did put in a virtual directory for jakarta.  Now when I go to
> 
> http://localhost/examples/jsp/index.html
> 
> it asks for the uname and passwd for that directory.  If I put in the
> correct information I get "Cannot Find Server."  Every time a 
> request is
> made for the site I get two entries in the ISAPI.log file.  
> An ISAPI_Close
> and an ISAPI_free.  There is a little more on each line but 
> that is about
> it.  I have seen nothing in my ISS logs referring to jakarta 
> or the GET
> "/jakarta/isapi_redirect.dll"
> 
> One of my other questions is...  Do I start the Tomcat Server 
> in conjunction
> with the IIS.  I have tried it both ways and still no 
> success.  I would
> assume that it has to be running being that is the whole Java 
> part of this
> whole thing.
> 
> Thank you for you help!!
> 
> -Matt Winer
> 

First, Tomcat must be started before you begin requesting
JSP/servlets.  Otherwise, you will get a 500 (Internal Server) error.  It
doesn't matter, however if you stop and start Tomcat again without starting
IIS - the filter can deal with it.

Second, it sounds like you have the ISAPI debugging set pretty high.
This is probably good for production but not debugging.  I would suggest
changing the debugging level to DEBUG in the registry and then restart IIS
(the process, not instance)

Lastly, if you are getting the IIS username/password prompt then its
because you have restricted access to the virtual directory.  Check your
directory permissions in both the NT File Explorer and the IIS console - you
must have public (anonymous) execute permissions for things to work.

Randy



RE: Tomcat and IIS

2001-04-25 Thread Nottebrok, Guido

Hallo Craig,

with http://localhost:8080/examples/jsp/index.html everything is o.k.

I'll check permissions and port now.

Thanks for your response.

Guido

-Original Message-
From: Craig O'Brien [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 5:17 PM
To: [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS


Hello Nottebrok,

Are the examples working with port 8080?
http://localhost:8080/examples/jsp/index.html
If not, are you using an SDK as jsps need the compiler javac? Check your
classpaths.

Your redirect appears to be working but you have a page/server config error.

If everything is working with port 8080
Check your permissions.  It looks like you are getting a socket error port
2380.  Have you reassigned anything?  Do you also perhaps have a database
there? I am not near my NT machine but that port rings a bell.  DB2, Oracle,
MSSQL? Perhaps an old Apache with JServe instillation which came bundled
with Oracle.(if that's the case stop that server and try again)

Good luck,
Craig


-Original Message-
From: Nottebrok, Guido [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 7:48 AM
To: [EMAIL PROTECTED]
Subject: Tomcat and IIS


Hallo,

we have installed Tomcat Version 3.2.1 to run with IIS.
The setup is done according to the tomcat documentation.

In IIS we have the green arrow telling that everything should be o.k.

When trying to access the tomcat examples with
http://localhost/examples/jsp/index.html
we get the error that the requested page can not be shown.

isapi logfile:
-
[...]

winnt\system32\LogFiles\W3SVC1:
-
[...]

Any ideas?

Guido Nottebrok





RE: Tomcat and IIS

2001-04-25 Thread Craig O'Brien

Hello Nottebrok,

Are the examples working with port 8080?
http://localhost:8080/examples/jsp/index.html
If not, are you using an SDK as jsps need the compiler javac? Check your
classpaths.

Your redirect appears to be working but you have a page/server config error.

If everything is working with port 8080
Check your permissions.  It looks like you are getting a socket error port
2380.  Have you reassigned anything?  Do you also perhaps have a database
there? I am not near my NT machine but that port rings a bell.  DB2, Oracle,
MSSQL? Perhaps an old Apache with JServe instillation which came bundled
with Oracle.(if that's the case stop that server and try again)

Good luck,
Craig


-Original Message-
From: Nottebrok, Guido [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 7:48 AM
To: [EMAIL PROTECTED]
Subject: Tomcat and IIS


Hallo,

we have installed Tomcat Version 3.2.1 to run with IIS.
The setup is done according to the tomcat documentation.

In IIS we have the green arrow telling that everything should be o.k.

When trying to access the tomcat examples with
http://localhost/examples/jsp/index.html
we get the error that the requested page can not be shown.

isapi logfile:
-
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
match ajp12
[jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a
servlet url - should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/index.html] is points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
\jakarta\isapi_redirect.dll
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker,
wrong parameters
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [\jakarta\isapi_redirect.dll] is
not a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[\jakarta\isapi_redirect.dll] is points to the web-inf directory
[jk_isapi_plugin.c (517)]: HttpExtensionProc started
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 2380
[jk_connect.c (124)]: jk_open_socket, after connect ret = -1
[jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1
[jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
[jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed
[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done

winnt\system32\LogFiles\W3SVC1:
-
#Software: Microsoft Internet Information Server 4.0
#Version: 1.0
#Date: 2001-04-25 14:41:12
#Fields: time c-ip cs-method cs-uri-stem sc-status
14:41:11 164.28.39.80 GET /examples/jsp/index.html 500
14:42:10 164.28.39.80 GET / 404
14:42:21 164.28.39.80 GET /postinfo.html 302
14:42:21 164.28.39.80 GET /postinfo.html/ 403
14:42:28 164.28.39.80 GET / 404
14:43:05 164.28.39.80 GET / 404
14:45:48 164.28.39.80 GET /examples/jsp/index.html 500
14:48:23 164.28.39.80 GET /examples/jsp/index.html 500

Any ideas?

Guido Nottebrok






Re: Tomcat and IIS

2001-04-25 Thread Sam Newman

Do you get any error in servlet.log in the tomcat/log directory? It looks
like your trying to connect to a port but failing - is anything else on port
2380?
Also, have you confirmed that Tomcat runs ok in standalone mode?

sam
- Original Message -
From: "Nottebrok, Guido" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 25, 2001 3:47 PM
Subject: Tomcat and IIS


> Hallo,
>
> we have installed Tomcat Version 3.2.1 to run with IIS.
> The setup is done according to the tomcat documentation.
>
> In IIS we have the green arrow telling that everything should be o.k.
>
> When trying to access the tomcat examples with
> http://localhost/examples/jsp/index.html
> we get the error that the requested page can not be shown.
>
> isapi logfile:
> -
> [jk_isapi_plugin.c (408)]: HttpFilterProc started
> [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/index.html
> [jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found
a match ajp12
> [jk_isapi_plugin.c (439)]: HttpFilterProc [/examples/jsp/index.html] is a
servlet url - should redirect to ajp12
> [jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/index.html] is points to the web-inf directory
> [jk_isapi_plugin.c (408)]: HttpFilterProc started
> [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
\jakarta\isapi_redirect.dll
> [jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (430)]: In jk_uri_worker_map_t::map_uri_to_worker,
wrong parameters
> [jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
> [jk_isapi_plugin.c (452)]: HttpFilterProc [\jakarta\isapi_redirect.dll] is
not a servlet url
> [jk_isapi_plugin.c (461)]: HttpFilterProc check if
[\jakarta\isapi_redirect.dll] is points to the web-inf directory
> [jk_isapi_plugin.c (517)]: HttpExtensionProc started
> [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
> [jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
> [jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12
> [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
> [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
> [jk_connect.c (108)]: Into jk_open_socket
> [jk_connect.c (115)]: jk_open_socket, try to connect socket = 2380
> [jk_connect.c (124)]: jk_open_socket, after connect ret = -1
> [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
> [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1
> [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
> [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed
> [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done
>
> winnt\system32\LogFiles\W3SVC1:
> -
> #Software: Microsoft Internet Information Server 4.0
> #Version: 1.0
> #Date: 2001-04-25 14:41:12
> #Fields: time c-ip cs-method cs-uri-stem sc-status
> 14:41:11 164.28.39.80 GET /examples/jsp/index.html 500
> 14:42:10 164.28.39.80 GET / 404
> 14:42:21 164.28.39.80 GET /postinfo.html 302
> 14:42:21 164.28.39.80 GET /postinfo.html/ 403
> 14:42:28 164.28.39.80 GET / 404
> 14:43:05 164.28.39.80 GET / 404
> 14:45:48 164.28.39.80 GET /examples/jsp/index.html 500
> 14:48:23 164.28.39.80 GET /examples/jsp/index.html 500
>
> Any ideas?
>
> Guido Nottebrok
>
>




RE: Tomcat and IIS

2001-02-22 Thread Mike Dewhirst


Also check the "log_file" registry entry (normally tomcat\iis_redirect.log.  Set the 
log_level registry entry to debug see detailed info about the progress of the request 
through the redirector.

Also check permissions on your directories (try Everyone and full permissions).

Double and triple check the registry settings, this seems to be a common problem.

I presume you have the "jakarta" isapi filter installed in IIS, with the dirname 
pointing to the isapi_redirect.dll in Executable.

Are you using the most recent version of the isapi_redirect.dll ?

check the set-up process with {TOMCAT_HOME}\doc\tomcat-iis-howto.html
or with 
http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-tomcat/etc/Attic/tomcat-iis-howto.html?rev=1.6&content-type=text/html


--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorised copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.


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




Re: Tomcat and IIS

2000-12-29 Thread Mohammed Nasr Shalaby

TomcCat does run under IIS, Please refer to the list archive and search for
messages with subject "Installing tomcat on IIS" & "Tomcat & IIS"...Other
subject will apply too.

Nasr

[EMAIL PROTECTED] wrote:

> Hi Mr. Tomcat,
>  I am just installing tomcat into my Win2000 machine. and follow the
> installation guide as provided. However, I can't get it up and running. My
> question is does Tomcat run under IIS 5.0/Win2000 platform?
>
> thanks and best regards,spl
>
> -
> 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 and IIS

2000-12-29 Thread Nacho

Hi, Su:

It's working for me without problems.

Please revise filenames case, dont use long filenames, mail archive,
this quetions arises too often, publish your configs , logs and so on in
the list...

My advice : double check everything, it's a pain to make it work but
works without problems.

Saludos ,
Ignacio J. Ortega


> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Enviado el: viernes 29 de diciembre de 2000 5:54
> Para: [EMAIL PROTECTED]
> Asunto: Tomcat and IIS
> 
> 
> Hi Mr. Tomcat,
>  I am just installing tomcat into my Win2000 machine. and 
> follow the
> installation guide as provided. However, I can't get it up 
> and running. My
> question is does Tomcat run under IIS 5.0/Win2000 platform?
> 
> thanks and best regards,spl
> 
> 
> -
> 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 and IIS 5.0 An example

2000-12-20 Thread Lorenzo Soncini

I have tried to set Ugo in all file...its don't works. I reinstallsee
you later..and thanks !

Lorenzo
- Original Message -
From: "Krieg Steffen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 2:38 PM
Subject: AW: Tomcat and IIS 5.0 An example


do you mean ugo or Ugo. It's different in Tomcat 3.2

-Ursprüngliche Nachricht-
Von: Lorenzo Soncini [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Dezember 2000 14:36
An: [EMAIL PROTECTED]
Betreff: Re: Tomcat and IIS 5.0 An example


I have witten thatbut don't work.

I try to reinstall my Win2000 test machine :-(
This is my URIWORKERS file
#
# Configuration for the /ugo context starts.
#

#
# The following line mounts all JSP file and the /servlet/ uri to tomcat
#
/ugo/servlet/*=$(default.worker)
/ugo/*.jsp=$(default.worker)

###
# Configuration for the /ugo context ends.
###
And nothing else!
This is my log:
[IIS redirect log]
[jk_uri_worker_map.c (155)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (195)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (210)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 2
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /ugo/servlet/=$(default.worker) was added
[jk_uri_worker_map.c (255)]: Into jk_uri_worker_map_t::uri_worker_map_open,
suffix rule /ugo/.jsp=$(default.worker) was added
[jk_uri_worker_map.c (295)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 2 rules
[jk_uri_worker_map.c (316)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (82)]: Into wc_open
[jk_worker.c (207)]: Into build_worker_map, creating 1 workers
[jk_worker.c (213)]: build_worker_map, creating worker ajp12
[jk_worker.c (138)]: Into wc_create_worker
[jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of
ajp12
[jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12
[jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
[jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact
is localhost:8007
[jk_worker.c (177)]: wc_create_worker, done
[jk_worker.c (223)]: build_worker_map, removing old ajp12 worker
[jk_worker.c (235)]: build_worker_map, done
[jk_worker.c (102)]: wc_open, done
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/Ugo/Elenco.jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/Ugo/Elenco.jsp] is not a servlet
url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/Ugo/Elenco.jsp] is
points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/Ugo/Elenco.jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/Ugo/Elenco.jsp] is not a servlet
url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/Ugo/Elenco.jsp] is
points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/Ugo/Elenco.jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/Ugo/Elenco.jsp] is not a servlet
url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/Ugo/Elenco.jsp] is
points to the web-inf directory


- Original Message -
From: "Krieg Steffen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 2:28 PM
Subject: AW: Tomcat and IIS 5.0 An example


You have to write the following in the uriworkermap.properties:
/Ugo/*.jsp=ajp12
/Ugo/servlet/*=ajp12

The first is for the JSP's and the second for the servlets.

-Ursprüngliche Nachricht-
Von: Lorenzo Soncini [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Dezember 2000 13:01
An: [EMAIL PROTECTED]
Betreff: Fw: Tomcat and IIS 5.0 An example


Here the problem
If I make a call
 http://ls234/Ugo/Elenco.jsp
The server ignore the JSP tags and return the file as an STATIC HTML FILE,
but if I call the same file with
http://ls234:8080/Ugo/Elenco.jsp
all work fine, the JSp call my beeans and its work!

Lorenzo
- Original Message -
From: "Lorenzo Soncini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Se

Re: Tomcat and IIS 5.0 An example

2000-12-20 Thread Lorenzo Soncini

I have witten thatbut don't work.

I try to reinstall my Win2000 test machine :-(
This is my URIWORKERS file
#
# Configuration for the /ugo context starts.
#

#
# The following line mounts all JSP file and the /servlet/ uri to tomcat
#
/ugo/servlet/*=$(default.worker)
/ugo/*.jsp=$(default.worker)

###
# Configuration for the /ugo context ends.
###
And nothing else!
This is my log:
[IIS redirect log]
[jk_uri_worker_map.c (155)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (195)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (210)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 2
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /ugo/servlet/=$(default.worker) was added
[jk_uri_worker_map.c (255)]: Into jk_uri_worker_map_t::uri_worker_map_open,
suffix rule /ugo/.jsp=$(default.worker) was added
[jk_uri_worker_map.c (295)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 2 rules
[jk_uri_worker_map.c (316)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (82)]: Into wc_open
[jk_worker.c (207)]: Into build_worker_map, creating 1 workers
[jk_worker.c (213)]: build_worker_map, creating worker ajp12
[jk_worker.c (138)]: Into wc_create_worker
[jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of
ajp12
[jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12
[jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
[jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact
is localhost:8007
[jk_worker.c (177)]: wc_create_worker, done
[jk_worker.c (223)]: build_worker_map, removing old ajp12 worker
[jk_worker.c (235)]: build_worker_map, done
[jk_worker.c (102)]: wc_open, done
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/Ugo/Elenco.jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/Ugo/Elenco.jsp] is not a servlet
url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/Ugo/Elenco.jsp] is
points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/Ugo/Elenco.jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/Ugo/Elenco.jsp] is not a servlet
url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/Ugo/Elenco.jsp] is
points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/Ugo/Elenco.jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/Ugo/Elenco.jsp] is not a servlet
url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if [/Ugo/Elenco.jsp] is
points to the web-inf directory


- Original Message -
From: "Krieg Steffen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 2:28 PM
Subject: AW: Tomcat and IIS 5.0 An example


You have to write the following in the uriworkermap.properties:
/Ugo/*.jsp=ajp12
/Ugo/servlet/*=ajp12

The first is for the JSP's and the second for the servlets.

-Ursprüngliche Nachricht-
Von: Lorenzo Soncini [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Dezember 2000 13:01
An: [EMAIL PROTECTED]
Betreff: Fw: Tomcat and IIS 5.0 An example


Here the problem
If I make a call
 http://ls234/Ugo/Elenco.jsp
The server ignore the JSP tags and return the file as an STATIC HTML FILE,
but if I call the same file with
http://ls234:8080/Ugo/Elenco.jsp
all work fine, the JSp call my beeans and its work!

Lorenzo
- Original Message -
From: "Lorenzo Soncini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 12:47 PM
Subject: Re: Tomcat and IIS 5.0


This is my configuration
D:\Tomcat\Webapps\MyApp\ with inside JSP and servlet
C:\InetPub\wwwroot\with inside the WEB Site (HTML,ASP,..)

I need that:
If I call http://server/myapp/*.* respond the tomcat for jsp and
servlet...and IIS for ASP and Static.
if I call any other adress..respond my IIS.

Thanks
- Original Message -
From: "Krieg Steffen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 12:33 PM
Subject: AW

Re: Tomcat and IIS 5.0

2000-12-20 Thread Lorenzo Soncini

This is my configuration
D:\Tomcat\Webapps\MyApp\ with inside JSP and servlet
C:\InetPub\wwwroot\with inside the WEB Site (HTML,ASP,..)

I need that:
If I call http://server/myapp/*.* respond the tomcat for jsp and
servlet...and IIS for ASP and Static.
if I call any other adress..respond my IIS.

Thanks
- Original Message -
From: "Krieg Steffen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 12:33 PM
Subject: AW: Tomcat and IIS 5.0


And what is your problem?
It works fine on my machine ...

-Ursprüngliche Nachricht-
Von: Lorenzo Soncini [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Dezember 2000 10:47
An: [EMAIL PROTECTED]
Betreff: Tomcat and IIS 5.0


Hi folks.
I have installed the Tomcat 3.2 on Windows 2000 and JDK 1.3 + 1.2EE. I need
to integrate Tomcat with IIS 5 so I can use Servlet and JSP on my sites.

Thanks
Lorenzo Soncini





Re: Tomcat and IIS 4.0

2000-12-04 Thread seidhi Help

Hi,
I might be too late to catch up on this. I hope you
found a solution already. 

I have been able to run NT 4.0 + IIS + TOMCAT (also on
Win98). In case you have not found something, let me
know if i can help you out.

Good luck,
-Seidhi

--- Margarita Manterola <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> I'm trying to make Tomcat and IIS 4.0 work together.
> I followed the HOW-TO as much as I could understand.
> But I keep getting a 500 error.
> 
> I read in the Java Forums of Sun that it could have
> to do with the versions.
> I'm using jdk 1.3 and Tomcat 3.1.
> 
> I really need help with this asap.  I beg you,
> please help me.
> 
> Thanks,
> Margarita Manterola
> 

> ATTACHMENT part 2 application/ms-tnef 



__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/