RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread pqin
We should not waste precious resource teaching people how to read the
link.:)

Regards,
 
 
PQ
 
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-Original Message-
From: Barney Hamish [mailto:[EMAIL PROTECTED]] 
Sent: February 18, 2003 12:19 PM
To: 'Tomcat Users List'
Subject: RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

Look at the link again! You're missing the part that was chopped off at the
end of the line...

> -Original Message-
> From: sunisson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 9:18 PM
> To: Tomcat Users List
> Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the 
> way there.
> 
> 
> That is what I have:
> 
> 
>   Not Found
> 
> The requested URL /tomcat/tomcat-4.1-doc/jk2/jk2/config was 
> not found on 
> this server.
> 
> --
> --
> Apache/2.0.44 (Unix) Server at jakarta.apache.org Port 80
> 
> 
> 
> 
> [EMAIL PROTECTED] wrote:
> 
> >Works perfectly for me.
> >
> >John
> >
> >
> >  
> >
> >>-----Original Message-
> >>From: sunisson [mailto:[EMAIL PROTECTED]]
> >>Sent: Tuesday, February 18, 2003 3:05 PM
> >>To: Tomcat Users List
> >>Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the 
> >>way there.
> >>
> >>
> >>This link is broken.: 
> >>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config
> >>howto.html
> >>
> >>
> >>[EMAIL PROTECTED] wrote:
> >>
> >>
> >>
> >>>Hi RK,
> >>>
> >>>I thought my workers.properties file looked very different
> >>>from everybody else's using mod_jk2 !
> >>>
> >>>I just checked again and realize I misread the page
> >>>
> >>>  
> >>>
> >>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config
> >>howto.html
> >>
> >>
> >>>I actually put the following in jk2.properties instead of in 
> >>>workers2.properties -
> >>>
> >>>_jk2.properties
> >>># Define the communication channel
> >>>[channel.socket:localhost:8009]
> >>>info=Ajp13 forwarding over socket
> >>>tomcatId=localhost:8009
> >>># Map the Tomcat examples webapp to the Web server uri space
> >>>[uri:/examples/*]
> >>>info=Map the whole webapp
> >>>--
> >>>
> >>>and the really strange thing is that it all worked 
> >>>
> >>>My workers.properties looks very different from everybody
> >>>else's but it also works fine
> >>>
> >>>_workers.properties___
> >>>worker.list=worker1
> >>># Set properties for worker1 (ajp13)
> >>>worker.worker1.type=ajp13
> >>>worker.worker1.host=localhost
> >>>worker.worker1.port=8009
> >>>worker.worker1.lbfactor=50
> >>>worker.worker1.cachesize=10
> >>>worker.worker1.cache_timeout=600
> >>>worker.worker1.socket_keepalive=1
> >>>worker.worker1.socket_timeout=3
> >>>--
> >>>
> >>>Is the mod_jk2.so backwards compatible ?
> >>>I'm also using the mod_jk-1.3-noeapi.so file from
> >>>
> >>>  
> >>>
> >http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk
/release/v1.2.1
>/bin/solaris8/ 
>  
>
>>which was linked from the jk2 FAQ
>>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/faq.html
>>Or is the link in the FAQ incorrect ?
>>
>>It's going to hurt if I've somehow managed to use mod_jk1 as
>>opposed to mod_jk2 :(
>>
>>Soefara.
>>
>>_
>>The new MSN 8: advanced junk mail protection and 2 months FREE* 
>>http://join.msn.com/?page=features/junkmail
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>  
>

-- 
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/



-
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: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Barney Hamish
Look at the link again! You're missing the part that was chopped off at the
end of the line...

> -Original Message-
> From: sunisson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 9:18 PM
> To: Tomcat Users List
> Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the 
> way there.
> 
> 
> That is what I have:
> 
> 
>   Not Found
> 
> The requested URL /tomcat/tomcat-4.1-doc/jk2/jk2/config was 
> not found on 
> this server.
> 
> --
> --
> Apache/2.0.44 (Unix) Server at jakarta.apache.org Port 80
> 
> 
> 
> 
> [EMAIL PROTECTED] wrote:
> 
> >Works perfectly for me.
> >
> >John
> >
> >
> >  
> >
> >>-Original Message-----
> >>From: sunisson [mailto:[EMAIL PROTECTED]]
> >>Sent: Tuesday, February 18, 2003 3:05 PM
> >>To: Tomcat Users List
> >>Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the 
> >>way there.
> >>
> >>
> >>This link is broken.: 
> >>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config
> >>howto.html
> >>
> >>
> >>[EMAIL PROTECTED] wrote:
> >>
> >>
> >>
> >>>Hi RK,
> >>>
> >>>I thought my workers.properties file looked very different
> >>>from everybody else's using mod_jk2 !
> >>>
> >>>I just checked again and realize I misread the page
> >>>
> >>>  
> >>>
> >>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config
> >>howto.html
> >>
> >>
> >>>I actually put the following in jk2.properties instead of in 
> >>>workers2.properties -
> >>>
> >>>_jk2.properties
> >>># Define the communication channel
> >>>[channel.socket:localhost:8009]
> >>>info=Ajp13 forwarding over socket
> >>>tomcatId=localhost:8009
> >>># Map the Tomcat examples webapp to the Web server uri space
> >>>[uri:/examples/*]
> >>>info=Map the whole webapp
> >>>--
> >>>
> >>>and the really strange thing is that it all worked 
> >>>
> >>>My workers.properties looks very different from everybody
> >>>else's but it also works fine
> >>>
> >>>_workers.properties___
> >>>worker.list=worker1
> >>># Set properties for worker1 (ajp13)
> >>>worker.worker1.type=ajp13
> >>>worker.worker1.host=localhost
> >>>worker.worker1.port=8009
> >>>worker.worker1.lbfactor=50
> >>>worker.worker1.cachesize=10
> >>>worker.worker1.cache_timeout=600
> >>>worker.worker1.socket_keepalive=1
> >>>worker.worker1.socket_timeout=3
> >>>--
> >>>
> >>>Is the mod_jk2.so backwards compatible ?
> >>>I'm also using the mod_jk-1.3-noeapi.so file from
> >>>
> >>>  
> >>>
> >http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk
/release/v1.2.1
>/bin/solaris8/ 
>  
>
>>which was linked from the jk2 FAQ
>>http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/faq.html
>>Or is the link in the FAQ incorrect ?
>>
>>It's going to hurt if I've somehow managed to use mod_jk1 as
>>opposed to mod_jk2 :(
>>
>>Soefara.
>>
>>_
>>The new MSN 8: advanced junk mail protection and 2 months FREE* 
>>http://join.msn.com/?page=features/junkmail
>>
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
>  
>

-- 
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/



-
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: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread sunisson
That is what I have:


 Not Found

The requested URL /tomcat/tomcat-4.1-doc/jk2/jk2/config was not found on 
this server.


Apache/2.0.44 (Unix) Server at jakarta.apache.org Port 80




[EMAIL PROTECTED] wrote:

Works perfectly for me.

John


 

-Original Message-
From: sunisson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 18, 2003 3:05 PM
To: Tomcat Users List
Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the 
way there.


This link is broken.: 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config
howto.html


[EMAIL PROTECTED] wrote:

   

Hi RK,

I thought my workers.properties file looked very different
from everybody else's using mod_jk2 !

I just checked again and realize I misread the page

 

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config
howto.html
   

I actually put the following in jk2.properties instead of in 
workers2.properties -

_jk2.properties
# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
--

and the really strange thing is that it all worked 

My workers.properties looks very different from everybody
else's but it also works fine

_workers.properties___
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=3
--

Is the mod_jk2.so backwards compatible ?
I'm also using the mod_jk-1.3-noeapi.so file from

 

http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1
/bin/solaris8/ 
 

which was linked from the jk2 FAQ
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/faq.html
Or is the link in the FAQ incorrect ?

It's going to hurt if I've somehow managed to use mod_jk1 as
opposed to mod_jk2 :(

Soefara.

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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

   


 


--
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/



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



RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John

Works perfectly for me.

John


> -Original Message-
> From: sunisson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 18, 2003 3:05 PM
> To: Tomcat Users List
> Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the 
> way there.
> 
> 
> This link is broken.: 
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config
> howto.html
> 
> 
> [EMAIL PROTECTED] wrote:
> 
> > Hi RK,
> >
> > I thought my workers.properties file looked very different
> > from everybody else's using mod_jk2 !
> >
> > I just checked again and realize I misread the page
> > 
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/config
> howto.html
> >
> > I actually put the following in jk2.properties instead of in 
> > workers2.properties -
> >
> > _jk2.properties
> > # Define the communication channel
> > [channel.socket:localhost:8009]
> > info=Ajp13 forwarding over socket
> > tomcatId=localhost:8009
> > # Map the Tomcat examples webapp to the Web server uri space
> > [uri:/examples/*]
> > info=Map the whole webapp
> > --
> >
> > and the really strange thing is that it all worked 
> >
> > My workers.properties looks very different from everybody
> > else's but it also works fine
> >
> > _workers.properties___
> > worker.list=worker1
> > # Set properties for worker1 (ajp13)
> > worker.worker1.type=ajp13
> > worker.worker1.host=localhost
> > worker.worker1.port=8009
> > worker.worker1.lbfactor=50
> > worker.worker1.cachesize=10
> > worker.worker1.cache_timeout=600
> > worker.worker1.socket_keepalive=1
> > worker.worker1.socket_timeout=3
> > --
> >
> > Is the mod_jk2.so backwards compatible ?
> > I'm also using the mod_jk-1.3-noeapi.so file from
> > 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1
/bin/solaris8/ 
>
> which was linked from the jk2 FAQ
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/faq.html
> Or is the link in the FAQ incorrect ?
>
> It's going to hurt if I've somehow managed to use mod_jk1 as
> opposed to mod_jk2 :(
>
> Soefara.
>
> _
> The new MSN 8: advanced junk mail protection and 2 months FREE* 
> http://join.msn.com/?page=features/junkmail
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

-- 
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/



-
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: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread sunisson
This link is broken.: 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html


[EMAIL PROTECTED] wrote:

Hi RK,

I thought my workers.properties file looked very different
from everybody else's using mod_jk2 !

I just checked again and realize I misread the page
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html

I actually put the following in jk2.properties instead of in 
workers2.properties -

_jk2.properties
# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
--

and the really strange thing is that it all worked 

My workers.properties looks very different from everybody
else's but it also works fine

_workers.properties___
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=3
--

Is the mod_jk2.so backwards compatible ?
I'm also using the mod_jk-1.3-noeapi.so file from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/bin/solaris8/ 

which was linked from the jk2 FAQ
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/faq.html
Or is the link in the FAQ incorrect ?

It's going to hurt if I've somehow managed to use mod_jk1 as
opposed to mod_jk2 :(

Soefara.

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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


--
Your favorite stores, helpful shopping tools and great gift ideas. 
Experience the convenience of buying online with Shop@Netscape! 
http://shopnow.netscape.com/



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



RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John

It all works because your jk2.properties file is completely irrelevant, it
isn't even being read.

You are not using JK2.  You are using JK.  Any files you have with "2" in
the name can be deleted...they're not being used.

John


-Original Message-
From: Soefara Redzuan [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 18, 2003 6:19 AM
To: [EMAIL PROTECTED]
Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.


Hi RK,

I thought my workers.properties file looked very different
from everybody else's using mod_jk2 !

I just checked again and realize I misread the page
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html

I actually put the following in jk2.properties instead of in 
workers2.properties -

_jk2.properties
# Define the communication channel [channel.socket:localhost:8009]
info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat
examples webapp to the Web server uri space [uri:/examples/*] info=Map the
whole webapp
--

and the really strange thing is that it all worked 

My workers.properties looks very different from everybody else's but it also
works fine

_workers.properties___
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=3
--

Is the mod_jk2.so backwards compatible ?
I'm also using the mod_jk-1.3-noeapi.so file from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1
/bin/solaris8/
which was linked from the jk2 FAQ
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/faq.html
Or is the link in the FAQ incorrect ?

It's going to hurt if I've somehow managed to use mod_jk1 as opposed to
mod_jk2 :(

Soefara.

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

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




RE: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Turner, John

FYI...you aren't using JK2 at all.  You are using JK.

John

-Original Message-
From: Soefara Redzuan [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 18, 2003 4:04 AM
To: [EMAIL PROTECTED]
Subject: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.


Solved it myself :-)

I added the JkMount to the  directives and now everything 
appears to work perfectly.


ServerName www.domain1.com
ErrorLog logs/error_log
TransferLog logs/access_log
JkMount /* worker1



ServerName www.domain2.com
ErrorLog logs/error_log
TransferLog logs/access_log
JkMount /* worker1


Wow, this mod_jk2 really is much easier to configure than mod_jk was, though

the advanced configuration looks quite daunting. For simple virtual hosting 
of a servlet/JSP site, I shouldn't need more than one worker, should I?

Thank you.

Soefara.





>From: "Soefara Redzuan" <[EMAIL PROTECTED]>
>Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: mod_jk virtual hosts ? 90% of the way there.
>Date: Tue, 18 Feb 2003 16:05:04 +0800
>
>Hello all,
>
>Mod_jk2 is much easier to install and configure than mod_jk ever was,
>largely due to some much more abundant and well-written documentation.
>
>I've set up mod_jk2 and now Apache is passing requests to Tomca OK. 
>I've also set up Virtual Hosts in Tomcat's server.xml, and now I can 
>access my server via "http://www.mydomain.com:8080"; instead of the IP 
>address.
>
>Now I'd like to put the two together and have Apache handle
>http://www.mydomain.com and pass the requests through to Tomcat4, and now 
>I'm confused where I go from here. I'm comfortable with Apache's 
> directive in httpd.conf but can't see how it works with 
>mod_jk since there's only one set of mod_jk directives per httpd.conf
>
>This is what I have so far,
>
>Tomcat_Home/conf/jk2.properties:
>
># Define the communication channel [channel.socket:localhost:8009]
>info=Ajp13 forwarding over socket
>tomcatId=localhost:8009
>
># Map the Tomcat examples webapp to the Web server uri space 
>[uri:/examples/*] info=Map the whole webapp
>
>
>
>Apache's httpd.conf
>---
>LoadModule jk_module modules/mod_jk.so
>
>AddModule mod_jk.c
>JkWorkersFile /usr/local/etc/httpd/conf/workers.properties
>JkLogFile /usr/local/etc/httpd/logs/mod_jk.log
>JkLogLevel info
>JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
>JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories 
>JkRequestLogFormat "%w %V %T" JkMount /examples/* worker1
>
>
>
>
>workers.properties (in same directory as httpd.conf)
>
># Define 1 real worker using ajp13
>worker.list=worker1
>
># Set properties for worker1 (ajp13)
>worker.worker1.type=ajp13
>worker.worker1.host=localhost
>worker.worker1.port=8009
>worker.worker1.lbfactor=50
>worker.worker1.cachesize=10
>worker.worker1.cache_timeout=600 worker.worker1.socket_keepalive=1
>worker.worker1.socket_timeout=3
>
>
>The above passes requests from Apache to Tomcat OK.
>Now for virtual hosts,
>
>
>domain1.com
>
>
>
>
>mydomain2.com
>
>
>
>
>But what do I add to Apache's httpd.conf for the virtual hosts ?
>
>
>ServerName www.domain1.com
>DocumentRoot /usr/local/etc/httpd/site1
>ErrorLog logs/error_log
>TransferLog logs/access_log
>
>
>I feel I'm so close. Could somebody please help with this last part ?
>
>Thank you very much,
>
>Soefara.
>
>ps. is 1 worker enough to handle everything ?
>
>
>_
>MSN 8 with e-mail virus protection service: 2 months FREE*
>http://join.msn.com/?page=features/virus
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

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




Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Soefara Redzuan
OK, you're right RK. Thank you for pointing it out - I am indeed using 
mod_jk instead of mod_jk2 !  I also must take back what I said about the 
mod_jk2 docs being so much better than the mod_jk(1) documents; it seems 
that I've been following the mod_jk(1) documentation.

I've been using this
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html#Installation

assuming from the 'jk2' in the URL that it applied to mod_jk2 but now I see 
from the navigation in the left of the page that it's actually mod_jk(1)

I still can't believe I got virtual hosts working exactly as I wanted 
though, and since I'm only running Apache 1.3 and don't wish to recompile it 
for pthreads, I think I'll stick with mod_jk for now, unless there's an 
over-riding reason why I should not ?

I'll get to the bottom of this one day.

Soefara.






From: "Soefara Redzuan" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.
Date: Tue, 18 Feb 2003 19:18:51 +0800

Hi RK,

I thought my workers.properties file looked very different
from everybody else's using mod_jk2 !

I just checked again and realize I misread the page
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html

I actually put the following in jk2.properties instead of in 
workers2.properties -

_jk2.properties
# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
--

and the really strange thing is that it all worked 

My workers.properties looks very different from everybody
else's but it also works fine

_workers.properties___
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=3
--

Is the mod_jk2.so backwards compatible ?
I'm also using the mod_jk-1.3-noeapi.so file from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/bin/solaris8/
which was linked from the jk2 FAQ
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/faq.html
Or is the link in the FAQ incorrect ?

It's going to hurt if I've somehow managed to use mod_jk1 as
opposed to mod_jk2 :(

Soefara.

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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


_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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



Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread Soefara Redzuan
Hi RK,

I thought my workers.properties file looked very different
from everybody else's using mod_jk2 !

I just checked again and realize I misread the page
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/confighowto.html

I actually put the following in jk2.properties instead of in 
workers2.properties -

_jk2.properties
# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
--

and the really strange thing is that it all worked 

My workers.properties looks very different from everybody
else's but it also works fine

_workers.properties___
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=3
--

Is the mod_jk2.so backwards compatible ?
I'm also using the mod_jk-1.3-noeapi.so file from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/bin/solaris8/
which was linked from the jk2 FAQ
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/faq.html
Or is the link in the FAQ incorrect ?

It's going to hurt if I've somehow managed to use mod_jk1 as
opposed to mod_jk2 :(

Soefara.

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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



Re: Solved it. Re: mod_jk virtual hosts ? 90% of the way there.

2003-02-18 Thread ramakrishna
hi,

* Soefara Redzuan ([EMAIL PROTECTED]) wrote:
> Wow, this mod_jk2 really is much easier to configure than mod_jk was, though 
> the advanced configuration looks quite daunting. For simple virtual hosting 
> of a servlet/JSP site, I shouldn't need more than one worker, should I?

Correct me if am wrong!

I went thru the config u had explained in this thread. And i see the
configs which u have done is for mod_jk and not mod_jk2.

rk
--
-
Ramakrishna | [EMAIL PROTECTED]
Exocore Consulting  | http://www.exocore.com
Bangalore, India| +91 (80) 344-0397 
-

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