RE: TOMCAT + APACHE + WINNT = PAIN

2001-03-19 Thread Mike Braden

Your .jsp files need to be in a webapp or context
(not necessarily TOMCAT_HOME/webapps) for Tomcat
to process/serve them.

On a Unix box, this directory could be anywhere and
symbolically linked within TOMCAT_HOME/webapps

You can also identify your context with an absolute
path.

Refer to:

http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/appdev/index.html

section 3.2

You may want to read the whole doc, it answers
many questions about developing with Tomcat.

Mike.
--
Mike Braden
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-Original Message-
From: Arif Tayebali [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 19, 2001 10:28 PM
To: '[EMAIL PROTECTED]'
Subject: TOMCAT + APACHE + WINNT = PAIN
Importance: High


 Follow programmers  -

Whats up?

BTW, im on NT4, Apache1.3, Tomcat3.2

 I had a question regarding the Tomcat config files...are you familiar with
these files? If so, do i need to keep all my jsp files within the webapps
dir or can i place the jsp files anywhere I choose to?

For example, if I placed a jsp file anywhere say, F:\mydir\ (which is mapped
to Apache as a root dir) would Apache be able to communicate to Tomcat that
it has received a jsp file and to handle as it wishes?

or do I need to move some tomcat dirs over to F:\mydir\ and place my jsp
files within webapps?

Do u have any insight...

Thanx in advance.

Arif Tayebali
(562) 424-7899 Ext.150
[EMAIL PROTECTED]




Re: TOMCAT + APACHE + WINNT = PAIN

2001-03-19 Thread Miles Poindexter
Tomcat + Apache + RedHat Linux = 5 minute painless install and configure  :^)
(Mac OS X was 5 minutes too . . .)
hee hee . . . .

- miles

On Monday, March 19, 2001, at 10:28 PM, Arif Tayebali wrote:

28L;56L;84L;112L;140L;168L;196L;224L;252L;280L;308L;336L; Follow programmers  -28L;56L;84L;112L;140L;168L;196L;224L;252L;280L;308L;336L;
 
Whats up?  
 
BTW, im on NT4, Apache1.3, Tomcat3.2
 
 I had a question regarding the Tomcat config files...are you familiar with these files? If so, do i need to keep all my jsp files within the webapps dir or can i place the jsp files anywhere I choose to?
 
For example, if I placed a jsp file anywheresay, F:\mydir\ (which is mapped to Apache as a root dir) would Apache be able to communicate to Tomcat that it has received a jsp file and to handle as it wishes?
 
or do I need to move some tomcat dirs over to F:\mydir\ and place my jsp files within webapps?
 
Do u have any insight...
 
Thanx in advance.  
   

Arif Tayebali
(562) 424-7899 Ext.150
[EMAIL PROTECTED]

 



Re: TOMCAT + APACHE + WINNT = PAIN

2001-03-20 Thread Steve Ruby

Miles Poindexter wrote:
> 
> Tomcat + Apache + RedHat Linux = 5 minute painless install and configure :^)
> (Mac OS X was 5 minutes too . . .)
> hee hee . . . .
> 
> - miles

^

I'm not sure how that helps answer his question? If you don't have something
constructive to say why don't you help by keeping list traffic down.


Arif:
You didn't say what configuration steps you've completed. 
Do you have your apache<-->tomcat dll installed? Have you configured
workers? is tomcat standalone working properly with the jsps?

You will need to do the above make sure tomcat works alone and
then configure your workers and your apache conf to point certain
file extensions to the workers via JkMount.  If none of that sounds familiar
then you need to go read the howto

> 
> On Monday, March 19, 2001, at 10:28 PM, Arif Tayebali wrote:
> 
>  Follow programmers  -
> 
> Whats up?
> 
> BTW, im on NT4, Apache1.3, Tomcat3.2
> 
>  I had a question regarding the Tomcat config files...are you familiar with these 
>files? If so, do i need to keep all my jsp files within the webapps dir or can i 
>place the jsp files anywhere I choose to?
> 
> For example, if I placed a jsp file anywheresay, F:\mydir\ (which is mapped to 
>Apache as a root dir) would Apache be able to communicate to Tomcat that it has 
>received a jsp file and to handle as it wishes?
> 
> or do I need to move some tomcat dirs over to F:\mydir\ and place my jsp files 
>within webapps?
> 
> Do u have any insight...
> 
> Thanx in advance.
> 
> 
> Arif Tayebali
> (562) 424-7899 Ext.150
> [EMAIL PROTECTED]
> 
>



RE: TOMCAT + APACHE + WINNT = PAIN

2001-03-20 Thread Arif Tayebali


Look down below for my comments!

Arif:
You didn't say what configuration steps you've completed. 
Do you have your apache<-->tomcat dll installed? 

yes, i have installed mod_jk.dll 

Have you configured
workers? 

i have configured the workers.properties file

is tomcat standalone working properly with the jsps?

I have Apache on Port80 and Tomcat on Port84. Im using the apj13 protocol
and everything works great. However, I have to keep my jsps within the \examples\ dir or else my jsps are not recognized. Is there a
way I can configure Tomcat so that I can place my jsps in some other dir
say, N:\mydir for jsps\ instead of the \examples\ dir. I
doubt I can because the jsps must be kept under the \examples\ dir where
Tomcat actually resides. I have tried to configure the docBase attribute in
the  element in the server.xml file however, it led to no where. In
order to use N:\my dir for jsps\ dir I think I have to have install Tomcat
in N:\, configure Tomcat there and then run my jsps from the
N:\Tomcat\examples\ dir. Am I right or am I wrong? You tell me!

Any help is greatly appreciated.

Thanx in advance

> 
> On Monday, March 19, 2001, at 10:28 PM, Arif Tayebali wrote:
> 
>  Fellow programmers  -
> 
> Whats up?
> 
> BTW, im on NT4, Apache1.3, Tomcat3.2
> 
>  I had a question regarding the Tomcat config files...are you familiar
with these files? If so, do i need to keep all my jsp files within the
webapps dir or can i place the jsp files anywhere I choose to?
> 
> For example, if I placed a jsp file anywheresay, F:\mydir\ (which is
mapped to Apache as a root dir) would Apache be able to communicate to
Tomcat that it has received a jsp file and to handle as it wishes?
> 
> or do I need to move some tomcat dirs over to F:\mydir\ and place my jsp
files within webapps?
> 
> Do u have any insight...
> 
> Thanx in advance.
> 
> 
> Arif Tayebali
> (562) 424-7899 Ext.150
> [EMAIL PROTECTED]
> 
>