RE: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread Allistair Crossley
the following is my workers2.properties for Tomcat 5 / IIS 5 / JK2. You seem to have 
commented out the channel socket to 8009.

[shm]
file=d:\Tomcat 5.0.18\work\jk2.shm
size=1048576

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[uri:/*.do]
info=do
context=/

[uri:/*.jsp]
info=jsp
context=/

[uri:/tomcat-docs/*]
info=docs
context=/tomcat-docs

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples

-Original Message-
From: Moran Ben-David [mailto:[EMAIL PROTECTED]
Sent: 22 April 2004 16:03
To: 'Tomcat Users List'
Subject: Cannot use JK2 with Tomcat5 and IIS 5


Having an awfull time climbing the tomcat/iis/jk2 learning curve..

Can anyone explain to me why my worker's file gives me the following error:

Error: [jk_worker_ajp13.c (871)]: ajp13.init(): No channel
localhost:8009

Workers2.properts:

[logger.file:0]
level=INFO
file=E:/Programs/Tomcat5.0/logs/iis_jk2.log

[shm:]
info=Shared memory file. Required for multiprocess servers
file=E:\Programs\Tomcat5.0\work\jk2.shm
size=100

# from tutorial #1
#[channel.socket:localhost:8009]
#info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
#tomcatId=localhost:8009

# from tutorial #2
[ajp13:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
channel=channel.socket:localhost:8009

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples

Thanks,
Moran Ben-David


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



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



RE: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread Moran Ben-David
Worked.. (I commented out the channel line probably in trying to fix a
different error previously)..

Thanks Allistair!!  Your help was invaluable as frustration was certainly
eroding my focus.

moran

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 22, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Cannot use JK2 with Tomcat5 and IIS 5

the following is my workers2.properties for Tomcat 5 / IIS 5 / JK2. You seem
to have commented out the channel socket to 8009.

[shm]
file=d:\Tomcat 5.0.18\work\jk2.shm
size=1048576

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[uri:/*.do]
info=do
context=/

[uri:/*.jsp]
info=jsp
context=/

[uri:/tomcat-docs/*]
info=docs
context=/tomcat-docs

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples

-Original Message-
From: Moran Ben-David [mailto:[EMAIL PROTECTED]
Sent: 22 April 2004 16:03
To: 'Tomcat Users List'
Subject: Cannot use JK2 with Tomcat5 and IIS 5


Having an awfull time climbing the tomcat/iis/jk2 learning curve..

Can anyone explain to me why my worker's file gives me the following error:

Error: [jk_worker_ajp13.c (871)]: ajp13.init(): No channel
localhost:8009

Workers2.properts:

[logger.file:0]
level=INFO
file=E:/Programs/Tomcat5.0/logs/iis_jk2.log

[shm:]
info=Shared memory file. Required for multiprocess servers
file=E:\Programs\Tomcat5.0\work\jk2.shm
size=100

# from tutorial #1
#[channel.socket:localhost:8009]
#info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
#tomcatId=localhost:8009

# from tutorial #2
[ajp13:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
channel=channel.socket:localhost:8009

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples

Thanks,
Moran Ben-David


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



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
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: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread Allistair Crossley
i spent years trying to get my workers file going so i understand ;)

-Original Message-
From: Moran Ben-David [mailto:[EMAIL PROTECTED]
Sent: 22 April 2004 16:17
To: 'Tomcat Users List'
Subject: RE: Cannot use JK2 with Tomcat5 and IIS 5


Worked.. (I commented out the channel line probably in trying to fix a
different error previously)..

Thanks Allistair!!  Your help was invaluable as frustration was certainly
eroding my focus.

moran

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 22, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Cannot use JK2 with Tomcat5 and IIS 5

the following is my workers2.properties for Tomcat 5 / IIS 5 / JK2. You seem
to have commented out the channel socket to 8009.

[shm]
file=d:\Tomcat 5.0.18\work\jk2.shm
size=1048576

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[uri:/*.do]
info=do
context=/

[uri:/*.jsp]
info=jsp
context=/

[uri:/tomcat-docs/*]
info=docs
context=/tomcat-docs

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples

-Original Message-
From: Moran Ben-David [mailto:[EMAIL PROTECTED]
Sent: 22 April 2004 16:03
To: 'Tomcat Users List'
Subject: Cannot use JK2 with Tomcat5 and IIS 5


Having an awfull time climbing the tomcat/iis/jk2 learning curve..

Can anyone explain to me why my worker's file gives me the following error:

Error: [jk_worker_ajp13.c (871)]: ajp13.init(): No channel
localhost:8009

Workers2.properts:

[logger.file:0]
level=INFO
file=E:/Programs/Tomcat5.0/logs/iis_jk2.log

[shm:]
info=Shared memory file. Required for multiprocess servers
file=E:\Programs\Tomcat5.0\work\jk2.shm
size=100

# from tutorial #1
#[channel.socket:localhost:8009]
#info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
#tomcatId=localhost:8009

# from tutorial #2
[ajp13:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
channel=channel.socket:localhost:8009

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples

Thanks,
Moran Ben-David


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



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
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: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread Moran Ben-David
I hate to get on my high horse.. but 

complain
I think the tomcat project (as brilliant as it is) could benefit from some
Larry Wallism:

A 'goto' in Perl falls into the category of hard things that should be
possible, not easy things that should be easy

I found that doing the simple thing like executing a jsp page was hard.. and
perhaps load balancing 5 different tomcat instances on 3 machines using
different connectors for each was proportionally easy.  Something's wrong in
that equation.  That is, should easy things be easy and hard things
possible?
/complaint

Not sure if this is the right place for this type of message.. sorry to
polute your mailboxes if it isn't.

Thanks,
Moran

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 22, 2004 11:21 AM
To: Tomcat Users List
Subject: RE: Cannot use JK2 with Tomcat5 and IIS 5

i spent years trying to get my workers file going so i understand ;)

-Original Message-
From: Moran Ben-David [mailto:[EMAIL PROTECTED]
Sent: 22 April 2004 16:17
To: 'Tomcat Users List'
Subject: RE: Cannot use JK2 with Tomcat5 and IIS 5


Worked.. (I commented out the channel line probably in trying to fix a
different error previously)..

Thanks Allistair!!  Your help was invaluable as frustration was certainly
eroding my focus.

moran

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 22, 2004 11:01 AM
To: Tomcat Users List
Subject: RE: Cannot use JK2 with Tomcat5 and IIS 5

the following is my workers2.properties for Tomcat 5 / IIS 5 / JK2. You seem
to have commented out the channel socket to 8009.

[shm]
file=d:\Tomcat 5.0.18\work\jk2.shm
size=1048576

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[uri:/*.do]
info=do
context=/

[uri:/*.jsp]
info=jsp
context=/

[uri:/tomcat-docs/*]
info=docs
context=/tomcat-docs

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples

-Original Message-
From: Moran Ben-David [mailto:[EMAIL PROTECTED]
Sent: 22 April 2004 16:03
To: 'Tomcat Users List'
Subject: Cannot use JK2 with Tomcat5 and IIS 5


Having an awfull time climbing the tomcat/iis/jk2 learning curve..

Can anyone explain to me why my worker's file gives me the following error:

Error: [jk_worker_ajp13.c (871)]: ajp13.init(): No channel
localhost:8009

Workers2.properts:

[logger.file:0]
level=INFO
file=E:/Programs/Tomcat5.0/logs/iis_jk2.log

[shm:]
info=Shared memory file. Required for multiprocess servers
file=E:\Programs\Tomcat5.0\work\jk2.shm
size=100

# from tutorial #1
#[channel.socket:localhost:8009]
#info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
#tomcatId=localhost:8009

# from tutorial #2
[ajp13:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
channel=channel.socket:localhost:8009

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples

Thanks,
Moran Ben-David


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



FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
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: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread QM
On Thu, Apr 22, 2004 at 11:40:37AM -0400, Moran Ben-David wrote:
: complain
: [snip] 
: /complaint

I missed your original post.  Is there any reason you must use JK2
instead of JK?  JK2 has given many people fits and starts over the past
few months. It sounds like it's still maturing.

As always, YMMV.

In defense of Tomcat and the developers:
I've also worked with commercial behemoths such as WebLogic and
WebSphere, and Tomcat has consistently proven itself to have an
appreciable balance of feature set vs ease-of-use.  (WebLogic's catching
up, but it still comes with a hefty price tag. ;)

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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



RE: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread Moran Ben-David
Thanks for the warning.. I'm using JK2 on the assumption that JK2 would be
better and didn't want to be left behind.  As I am strating a new project on
Tomcat, I figured it was worth a shot starting with the latest greatest.  I
hadn't really gotten a sense for it's maturity.. thanks again.

As for Tomcat's complexity.. It seems to be inherent in the J2EE and I would
even say App Server concept as it's so rampant.  I think the industry
suffers from too much distributed architectures.. I wonder, what Kent Beck
thinks on this topic.  But that's an overall discussion I won't tire this
thread with.  

Thanks for your isnight,
Moran

-Original Message-
From: QM [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 22, 2004 12:14 PM
To: Tomcat Users List
Subject: Re: Cannot use JK2 with Tomcat5 and IIS 5

On Thu, Apr 22, 2004 at 11:40:37AM -0400, Moran Ben-David wrote:
: complain
: [snip] 
: /complaint

I missed your original post.  Is there any reason you must use JK2
instead of JK?  JK2 has given many people fits and starts over the past
few months. It sounds like it's still maturing.

As always, YMMV.

In defense of Tomcat and the developers:
I've also worked with commercial behemoths such as WebLogic and
WebSphere, and Tomcat has consistently proven itself to have an
appreciable balance of feature set vs ease-of-use.  (WebLogic's catching
up, but it still comes with a hefty price tag. ;)

-QM


-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.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: Cannot use JK2 with Tomcat5 and IIS 5

2004-04-22 Thread QM
On Thu, Apr 22, 2004 at 01:14:03PM -0400, Moran Ben-David wrote:
: 
: Thanks for the warning.. I'm using JK2 on the assumption that JK2 would be
: better and didn't want to be left behind.

Sort-of yes, sort-of no:
JK is newer, and it's certainly going to get more development attention
for the time being... just like Tomcat5.

For the archives, and in the hopes that I alleviate some frustrations:

A lot of people out there seem to think Apache2 and/or Tomcat5 requires
JK2. That's NOT the case.

I run Apache2 + jk + Tomcat5 and it's been fine.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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