Question

2002-12-26 Thread Gman
I am trying to setup Tomcat version 4.18 With Apache 2.0.43 and I am
confused on how to set it up I added the module and include line like
the documentation said, after that Apache would not start. Any help
would be greatly appreciated.

George Gman Flatman 


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




Sharing information

2002-12-26 Thread Iran Marcius
A few days ago I was asking for help because didn't can put my JNDI
stuff to work.

My resources was correctly configured in tomcat's server.xml but when I
tried to lookup anything, has always the same error: java:comp is not
bound in this context (kind of).

Well, I found out what was causing it. I had a alien JAR in my
WEB-INF/lib and consequently in my webapp's classpath. Once removed the
JAR, everything worked fine.

So thanks for everyone who tried to help me.

iran

ps: in time, the jar was tomcat-naming.jar, that came bundled in
jakarta's torque framework. I'm going to post it to torque's list too.


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




Re: Robert Sowder's howto for JK2 in Windows

2002-12-26 Thread Robert L Sowders
Yes I did and it ran just fine.  There was no magic formula, it just 
worked.  Once https was set up correctly for apache, when Tomcat URI's 
were accessed via https they just worked.  I don't have access to my test 
systems right now.  I do remember that I had to modify the default ssl 
config files slightly for it to work.  Nothing special though just routine 
stuff.  This was using TC 4.1.12.  I hear that TC 4.1.18 has solved this 
anomaly.  Sorry I can't be more helpful.

rls





Chris McCabe [EMAIL PROTECTED]
12/22/2002 09:44 PM
Please respond to Tomcat Users List

 
To: Tomcat Users List [EMAIL PROTECTED]
cc: 
Subject:Re: Robert Sowder's howto for JK2 in Windows


Have you ever tried running with Apache and JK2 with both secure and 
non-secure pages (https and http)?  I am curious if anyone has ever done 
it successfully and if so what the magic formula is.  For some reason 
the URL mapping is not done in Apache for https requests when using JK2, 
so it just comes up as Not Found and never gets to Tomcat.

Thanks,
Chris

-- 
Chris P. McCabe  - Principal Engineer
Choice Hotels International - Information Technology
[EMAIL PROTECTED] 602-953-4416






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






RE: Question

2002-12-26 Thread Laxmikanth M.S.
check the line which u added in htpd.conf ..
check the path for workers.properties 

Regards
Laxmikanth M S 
Off  : 91-80-6610330 extn 1256
http://www.sonata-software.com

 Coming together is the beginning, staying together is progress and working
 together is Success
What lies behind us and what lies before us are tiny matters compared to
what lies within us  - Emerson


 -Original Message-
 From: Gman [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, December 26, 2002 2:16 PM
 To:   [EMAIL PROTECTED]
 Subject:  Question
 
 I am trying to setup Tomcat version 4.18 With Apache 2.0.43 and I am
 confused on how to set it up I added the module and include line like
 the documentation said, after that Apache would not start. Any help
 would be greatly appreciated.
 
 George Gman Flatman 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*

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




RE: mod_jk---still trying, getting closer

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Your http.conf shows that apache is running as nobody
have you tried changing that so it runs as  the owner of the apache and
tomcat directory structure?



-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:32 AM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's 
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.

As noted in earlier e-mails, I can get the Tomcat example servlets to 
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page
http://localhost:8080 opens Tomcat's index page, and servlets work
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121  
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.properti
es
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/277  
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.properti
es

But the Apache error log says Apache cannot open the workers file, even 
though the path specified is correct and permissions to the file are 
-rw-rw-r-- and to all directories drwxrwxr-x:

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error 
while opening the workers, jk will not work
 
[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error 
while opening the workers, jk will not work
 
[Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0 
configured -- resuming normal operations
[Wed Dec 25 15:14:36 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)

Jerry


Turner, John wrote:

Whoa, I have NEVER seen a worker called ajp.13 before.  I can't imagine
that that would work at all, as . is a separator in workers.properties.
Is there a reason you are using that instead of ajp13 or something else?

Also, what exact URL are you trying to access?  What URL is not working?

From your httpd.conf, the only possible URL that would work, aside from
the
examples, the manager app, and the admin app, is:

http://localhost/j_tools/servlet/HelloWorld 

and

http://localhost/j_tools/some.jsp

Are those what you are trying?

John


-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 25, 2002 6:22 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer

Denise:

Other than path names, the major differences between your set up and 
mine is that you use SSL, and I don't, and you have a lot more modules 
loaded than I do (in addition to mod_jk).  But I don't see those 
differences as having anything to do with why yours works and mine 
doesn't.  For one thing, this installation of Apache is on my 
development workstation, and I just installed it to test the tomcat 
connection.  So, it doesn't need to be a fully functional web server. 
 At least, not yet.  

Also, I removed the comments from my conf file so I can find things :)

I have tried it both ways---with an include statement pointing to 
mod_jk.conf in tomcat/conf/auto,  and with statements inside httpd.conf. 
Same results.  

I have also experimented with a variety of permissions on both files and 
directories.

My configuration files are attached.

Thanks.

Jerry



Denise Mangano wrote:

  

Jerry -

My config is now working with the files that I had posted.  Did you notice
any major differences between those and yours? 

I had also gotten this same Apache error message at one point as well.
But
it just sort of went away when I put the JkMount statements right into
httpd.conf and made a different workers.properties file than the one that
was posted on the HOW-TO. Here are the contents of my workers.properties
file.  With this properties file I use worker1 instead of ajp13 in the
JkMount 

BUG: Tomcat does not reload webapps properly

2002-12-26 Thread Jiger Java
Hi,
  Am using Tomcat 4.1.12 on Windows 98/Linux. I found that tomcat when 
realoding a webapps becoz a class changed, does not call the Servlets 
registered as LoadOnStartup. Becoz of this the application starts correctly 
but if reloaded without a restart, the application comes unusabled since the 
other servlets/jsp's depend on a lot of stuff initialized in the 
LoadOnStartup Servlet's init() method.

does anyone have any idea if this is fixed in latter versions or work 
around?

Thanks,
Jiger





_
MSN 8 with e-mail virus protection service: 3 months FREE*. 
http://join.msn.com/?page=features/virusxAPID=42PS=47575PI=7324DI=7474SU= 
http://www.hotmail.msn.com/cgi-bin/getmsgHL=1216hotmailtaglines_eliminateviruses_3mf


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



Tomcat 3.2 versus 4.1

2002-12-26 Thread Ronen Shenkar
Hi,
I'm considering upgrading from Tomcat 3.2 to Tomcat 4.1.
I wonder if the performance and other improvements between the two releases
are major and if the upgrade itself is painful.
Is there a document instructing how to do such an upgrade?
Thanks, ronen

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




RE: Urgent - Issue with Tomcat/mod_jk?

2002-12-26 Thread Ben Ricker
I beleive we are dealing with a different problem. My app has been
running on Tomcat 4.0.6 for weeks until I had the problem recently.
There was no crash.

What happened was, it seems, a user REALLY fat-fingered the enter key or
some smart person sent the same request to the server 180 times within
one minute. I traced back through my access logs for Apache and caught
the massive number if requests for one URL at the same time I had the
problem.

All of these requests overwhelmed the number of AJP13 processors I had
configured (well, they are still at the default setting) and also caused
a massive opening of database connections.

Anyway, as to your problem: You may not have enough memory setup for
your JVM. Do you send amx -Xm and -Xs parameters to Tomcat using
JAVA_OPTS? You may be getting more load then Tomcat can handle due to a
RAM constraint.

Ben Ricker


On Tue, 2002-12-24 at 13:39, Venkat Reddy Valluri wrote:
 Hi ,
Even I too getting the same problem(lots of broken pipe errors )with catalina 
4.0.4(redhat 7.3, j2sdk1.4.1) connecting  apache 2.0.40(redat 7.3) on diffrenet 
machine with mod_jk,
  But what happened is after it ran for cuople of hours, tomcat crases,
  giving kernel out of memory error in syslog messages 
 
 Did you get any workaround for this
 Thks,
 --Venkat
   
 
 
 -Original Message-
 From: Ben Ricker [mailto:[EMAIL PROTECTED]]
 Sent: Mon 12/23/2002 5:49 PM
 To:   Tomcat Users List
 Cc:   
 Subject:  Re: Urgent - Issue with Tomcat/mod_jk?
 I had suspected that in the problem earlier in the day (the part of the
 email I posted at the end if the last email you replied to). However,
 what did not make sense was the connection pool woth the database also
 going up.
 
 If I understand the stuff below, after 85 concurrent connections (max
 connections + accept count) I would start getting the Out of
 Processors error. However, I cannot see how this would cause the
 DATABASE connection pool to grow as large as it did (we usually handle
 50k connections a business day with 5 pooled connections; during the
 earlier problem, the database connections went to *30*, our maximum).
 
 Additionally, why would we contine to get the following error:
 
 2002-12-23 09:07:28 Ajp13Processor[12009][18] process: invoke
 java.io.IOException: Broken pipe
 at java.net.SocketOutputStream.socketWrite(Native Method)
 at java.net.SocketOutputStream.write(SocketOutputStream.java:91)
 at org.apache.ajp.Ajp13.send(Ajp13.java:525)
 at org.apache.ajp.RequestHandler.finish(RequestHandler.java:501)
 at org.apache.ajp.Ajp13.finish(Ajp13.java:395)
 at 
org.apache.ajp.tomcat4.Ajp13Response.finishResponse(Ajp13Response.java:196)
 at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:464)
 at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
 at java.lang.Thread.run(Thread.java:479)
  
 without seeing the Out of Processor msgs? 
 
 I may be looking at two independent problems: one a scalability issue
 with the ajp13 processors (which are at the ddefault setting, btw) and
 some other issue I am in the dark about.
 
 Anyway, these questions are rhetorical. Thanks for the reply and do not
 feel obliged to answer back. I need to start putting pressure on the
 developers to help me out here.
 
 Thanks again,
 
 Ben Ricker
 
 On Mon, 2002-12-23 at 16:07, Mark Eggers wrote:
  Ben,
  
  Disclaimer:
  
  I'm not a Tomcat developer, but I do use it to develop
  software and integrate applications.
  
  In $CATALINA_HOME/conf/server.xml you should see an
  entry similar to the following:
  
  !-- Define an AJP 1.3 Connector on port 8009 --
  Connector 
   className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009
   minProcessors=5
   maxProcessors=75
   acceptCount=10 debug=0/
  
  I'm using 4.1.18, so your entry may be a bit
  different.  It looks like from your error messages
  that you may be running out of processors.
  
  The following information is taken from Tomcat's
  4.1.18 documentation.  If you have the documentation
  installed somewhere, the URL is:
  
  http://localhost/tomcat-docs/config/jk.html
  
  acceptCount:
  
  The maximum queue length for incoming connection
  requests when all possible request processing threads
  are in use. Any requests received when the queue is
  full will be refused. The default value is 10.
  
  maxProcessors:
  
  The maximum number of request processing threads to be
  created by this Connector, which therefore determines
  the maximum number of simultaneous requests that can
  be handled. If not specified, this attribute is set to
  20.
  
  NOTE:For Apache 1.3 on Unix there is a 1 to 1 mapping
  between httpd processes and Ajp13Processors. You must
  configure maxProcessors to be greater than or equal to
  the maximum number of httpd processes your Apache web
  server spawns.
  
  minProcessors:
  
  The number of request processing 

Why included pages fills with '????????' ?

2002-12-26 Thread Andrew Guts
Hello all

When I include templates using %@ include % i see a lot of '?' instead 
of text. When using jsp:include  all seems as expected.  Why so?

Thanks ahead.

Andrew




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



Re: Problems with starting Tomcat 4.1.12 - PLEASE HELP

2002-12-26 Thread yves lambert
Ronin Quigley wrote:


John,

I have tried your suggesions but I think the problem is the path to Tomcat.

I am using Windows XP and the command promp automatically defaults to
C:\Documents and Settings\Go For It  Web Design, it doesn't recognise
C:\ as a valid command. How can I get around this as Tomcat is installed
under C:\Tomcat?.

Thanks for your help

Rocket
p.s. the logs for Tomcat were empty

 

the directory you are un  doesn'r mattet as long as you set path and 
environment variables: PATH CATALINA_HOME JAVA_HOME.
if you just want to be in c:\tomcat\bin strike cd c:\tomcat\bin 
CATALINA_HOME will be set @ .. by the startup batch. but you still have 
to set JAVA_HOME correctly, or ot won't work.

--
\/

/\



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



³Ð³y¦Û¤vªº¥¼¨Ó

2002-12-26 Thread LULU
by mta119.mail.tpe.yahoo.com with SMTP; 07 Nov 2002 05: 05:42 +0800 (CST)
Wed, 6 Nov 2002 19: 51:43 +0800
Subject: =?big5?B?PLyvpPGmbrFks/g+NTCkuHYucy6k4r73q8Km063oISGr3b73rsm2oaRbpFukWyE=?=
Date: Wed, 6 Nov 2002 19:49:58 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300
Message-ID: TESTm8OtprR0E6faZWZ0206@test
X-OriginalArrivalTime: 06 Nov 2002 11:51:43.0489 (UTC) FILETIME=[E04C8F10:01C2858A]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary==_wzBdinLa_x529wqiD_MM
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

--=_wzBdinLa_x529wqiD_MM
Content-Type: application/octet-stream; name=Horoscope.txt
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=Horoscope.txt

VGhpcyBhdHRhY2htZW50IGNvbnRhaW5zIHlvdXIgcGVyc29uYWwgaG9yb3Njb3BlIGZvciBX
ZWRuZXNkYXksIERlY2VtYmVyIDI1dGgsIDIwMDIKCllvdSB3aWxsIG1lZXQgYSBuZXcgZnJp
ZW5kLgo=


--=_wzBdinLa_x529wqiD_MM
Content-Type: text/plain; charset=us-ascii

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




RE: Tomcat 3.2 versus 4.1

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Ronen,

The biggest issues I have seen are

1. Tomcat 4 strictly adheres to the DTD for the web.xml for web applications
where as some version of Tomcat 3 did not. The DTD for the web.xml is
specfied in the Servlet specs available at
http://java.sun.com/products/servlet/download.html.  I do not remember the
actual error returned but it fairly obvious.

2. As specifed in the release notes for Tomcat 4
Starting with Tomcat 4.1.12, the invoker servlet is no longer available by 
default in all webapp. Enabling it for all webapps is possible by editing
$CATALINA_HOME/conf/web.xml to uncomment the /servlet/* servlet-mapping
definition.

Using the invoker servlet in a production environment is not recommended and
is unsupported.

3. As specifed in the release notes for Tomcat 4
Unix symlinks will not work when used in a web application to link resources

located outside the web application root directory.

This behavior is optional, and the allowLinking flag may be used to
disable
the check.

I include an email from the list specifing the fix athough I have not
actually implemented it.

4. For the most CPU intensive webapp I saw a factor of 2 increase (6 secs
to 3 to 4 secs) in speed.  All others stayed about the same but they had sub
second responses to begin with so I was not expecting an increase.

5. Tomcat 4 comes with the Coyote JK connector turned on by default.  But
the original JK/ajp connector is still available.  The coyote connector is
technically for use with the JK2 module for apache2 but it appears to work
for JK with apache 1.3 and apache 2.0.  It does load info from
$TOMCAT_HOME/conf/jk2.properties but the default file has everything
commented out.  It would be good to validate you apps against both
connectors and see which works best for you.  I am currently doing this on
our test server and so far have not noticed any significant difference.

Jeff


-Original Message-
From: Ronen Shenkar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 6:27 AM
To: Tomcat Users List
Subject: Tomcat 3.2 versus 4.1


Hi,
I'm considering upgrading from Tomcat 3.2 to Tomcat 4.1.
I wonder if the performance and other improvements between the two releases
are major and if the upgrade itself is painful.
Is there a document instructing how to do such an upgrade?
Thanks, ronen

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


---BeginMessage---


-Original Message-
From: Bob McCormick [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 12:18 PM
To: Tomcat Users List
Subject: RE: Status of Symbolic Links on Linux/TC 4.1.12???


OK - thanks.  Didn't realize that this version is alpha.  Don't wish to
play with an alpha version for what we're doing.

I was able to get this to work with 4.1.12 by the doing the following:

In the server.xml I turned on the context for ROOT and added a
Resource as follows:

Context path= docBase=ROOT debug=0
Resources className=org.apache.naming.resources.FileDirContext
   allowLinking=true caseSensitive=false /
/Context

I would imagine you can add the above Resource to any context and it
will follow the symlinks.

Thanks...Bob


On Thu, 2002-11-21 at 10:58, Turner, John wrote:
 

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.15-alpha/bi
 n/
 
 John
 
 
  -Original Message-
  From: Bob McCormick [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, November 21, 2002 1:50 PM
  To: Tomcat Users List
  Subject: Re: Status of Symbolic Links on Linux/TC 4.1.12???
  
  
  Hi Bill,
  
  OK - sounds good.  Now, how do I find the 4.1.15?  I went to the
  binaries and see that there is only 4.1.12.  I a bit new to Tomcat, so
  I'm groping a bit here.
  
  Thanks..Bob
  
  
  On Wed, 2002-11-20 at 22:41, Bill Barker wrote:
   It should be pretty much working in 4.1.15 now (as long as 
  you configure the
   Resources yourself).  From 4.1.13, you can also get it to 
  work by setting
   the caseSensitive=false attribute on the Resources tag.
   
   Bob McCormick [EMAIL PROTECTED] wrote in message
   [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi All,
   
Have checked the archives and see that someone was having 
  a problem with
being able to access URL's via Tomcat 4.1.x that contain 
  a symbolic
link.  I too am having this problem and was hoping to 
  only use TomCat to
serve up content.
   
Would anyone be able to tell me whether this is just an 
  overlooked bug,
specified setting in the security settings somewhere or 
  flat-out not
going to be something that is supported any longer.  We'd 
  really like to
NOT have to use Apache to have on less thing to worry 
  about, and so any
information on this particular would be GREATLY appreciated.
   
Thanks...Bob
   
Bob McCormick
IST
   
   
   
   
   
   --
   To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL 

Re: Tomcat 3.2 versus 4.1

2002-12-26 Thread bcruz

Hi Ronen,

We just completed the upgrade ourselves.  For our applications, we are getting 
MUCH better performance with Tomcat 4.1.  We had an issue with CPU usage 
constantly increasing over time with 3.2.4, which seemed to go away with 4.1.  
The upgrade wasn't too bad, we just installed 4.1, copied over all our webapps, 
wrote a script to change server.xml, and made some custom configurations to 
web.xml, changed workers.properties and httpd.conf for the apache connection.  
Everything went well for the most part.  We are actually using the same JK 
connector that we used with tomcat 3.2.4.  

We did run into several bugs, but everything we need seems to be ironed out 
with the 4.1.17 version.


Brandon Cruz



Quoting Ronen Shenkar [EMAIL PROTECTED]:

 Hi,
 I'm considering upgrading from Tomcat 3.2 to Tomcat 4.1.
 I wonder if the performance and other improvements between the two
 releases
 are major and if the upgrade itself is painful.
 Is there a document instructing how to do such an upgrade?
 Thanks, ronen
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 


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




RE: Configuring mod_jk - Again!

2002-12-26 Thread Noel J. Bergman
Denise,

 I had all this placed at the end of my httpd.conf file so it
 would apply to all virtual hosts.

By now you may have all of this working (I'm catching up on a week's worth
of tomcat mail), but I seriously suggest that you either use do each config
within VirtualHost or you don't use it at all.  Don't use directives outside
of VirtualHost expecting them to be global, other than the loading of the
module.

--- Noel


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




web application manager package

2002-12-26 Thread birendrat
Hello Everybody

I have installed TomCat 4.1 and there is not web aplication manager in
mine. Can we find seperate package for this or we have to reinstall
TomCat?


Birendra Thapa



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




i have problem about rmi with tomcat4.1.12-LE-jdk14

2002-12-26 Thread Kosit Krepanich
Hi. i have problem.

Why i use RMI in servlet code and run in tomcat4.1.12-LE-jdk14.

it can get object but when it use that object its error :

  java.rmi.UnmarshalException: error unmarshalling arguments; nested
exception is: java.net.MalformedURLException: no protocol: Files/Apache

please help me. how to use RMI With Tomcat please...

thank you.

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




tomcat as service

2002-12-26 Thread Herwig Posedu
hi!
i tried to run tomcat as service with jdk14 and i doesnt work. there is
no error. with jdk 1.3 there were no problems. is there any nown bug
with version 1.4 of jdk
thx for helping,..

herwig


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


Re: i have problem about rmi with tomcat4.1.12-LE-jdk14

2002-12-26 Thread Jared Walker
Looks to me like you're using this on a windows machine. The space in
the file name is giving RMI a hard time. Move your tomcat installation
to a location that doesn't have a space (i.e. C:\tomcat). This should
fix your problem.

later,
-Jared

On Wed, 2002-12-25 at 21:35, Kosit Krepanich wrote:
 Hi. i have problem.
 
 Why i use RMI in servlet code and run in tomcat4.1.12-LE-jdk14.
 
 it can get object but when it use that object its error :
 
   java.rmi.UnmarshalException: error unmarshalling arguments; nested
 exception is: java.net.MalformedURLException: no protocol: Files/Apache
 
 please help me. how to use RMI With Tomcat please...
 
 thank you.
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]



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




Re: tomcat as service

2002-12-26 Thread Jacob Kjome
Hello Herwig,

Did you uninstall the service and then re-install it with the new
JAVA_HOME path?  You need to do this after you change any path in your
configuration as it relates to the Tomcat NT service.

http://www.mattkelli.com/tech/tomcat/ntservice.htm

Jake

Wednesday, December 25, 2002, 12:07:12 PM, you wrote:

HP hi!
HP i tried to run tomcat as service with jdk14 and i doesnt work. there is
HP no error. with jdk 1.3 there were no problems. is there any nown bug
HP with version 1.4 of jdk
HP thx for helping,..

HP herwig




-- 
Best regards,
 Jacobmailto:[EMAIL PROTECTED]


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




I'm lost... connecting Tomcat 4.1.18 to Apache 2.0.43/mod_jk2

2002-12-26 Thread WebMaster WebMaster
This is my first post and I've been reasonably successful with apache
1.3.x and tomcat 3.x...

I need help with Tomcat 4.1.18 to Apache 2.0.43. I can't get them to
communicate, its probably just a config problem with mod_jk2.

I think I found the error but am not sure how to ix it... this is in
Apache's error log:

[Thu Dec 26 10:28:06 2002] [notice] Digest: generating secret for
digest authentication ...
[Thu Dec 26 10:28:06 2002] [notice] Digest: done
[Thu Dec 26 10:28:07 2002] [error] config.update(): Can't find config
file $/usr/local/apache2/conf/workers2.properties
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13534 in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 0
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13536 in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [notice] Apache/2.0.43 (Unix) DAV/2
PHP/4.2.3 FrontPage/5.0.2.2624 mod_jk2/2.0.3-dev configure
d -- resuming normal operations
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:31:18 2002] [error] shm.init(): No file


Thomas

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED]
816.941.0430 x5900

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




RE: I'm lost... connecting Tomcat 4.1.18 to Apache 2.0.43/mod_jk2

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Question 1:
why is there a $ is the path?
$/usr/local/apache2/conf/workers2.properties

Question 2. does the file /usr/local/apache2/conf/workers2.properties exist?
i.e. is you execute

more /usr/local/apache2/conf/workers2.properties 

at the command prompt does it return the file?

Jeff

-Original Message-
From: WebMaster WebMaster [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 9:46 AM
To: [EMAIL PROTECTED]
Subject: I'm lost... connecting Tomcat 4.1.18 to Apache 2.0.43/mod_jk2


This is my first post and I've been reasonably successful with apache
1.3.x and tomcat 3.x...

I need help with Tomcat 4.1.18 to Apache 2.0.43. I can't get them to
communicate, its probably just a config problem with mod_jk2.

I think I found the error but am not sure how to ix it... this is in
Apache's error log:

[Thu Dec 26 10:28:06 2002] [notice] Digest: generating secret for
digest authentication ...
[Thu Dec 26 10:28:06 2002] [notice] Digest: done
[Thu Dec 26 10:28:07 2002] [error] config.update(): Can't find config
file $/usr/local/apache2/conf/workers2.properties
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13534 in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 0
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13536 in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [notice] Apache/2.0.43 (Unix) DAV/2
PHP/4.2.3 FrontPage/5.0.2.2624 mod_jk2/2.0.3-dev configure
d -- resuming normal operations
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:31:18 2002] [error] shm.init(): No file


Thomas

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED]
816.941.0430 x5900

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

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




Re: apache2 output filter, mod_jk and JSP content type

2002-12-26 Thread Aditya
In case anyone is wondering, I've found the fix for this based on:

  http://article.gmane.org/gmane.comp.apache.devel/7922
  http://article.gmane.org/gmane.comp.apache.devel/7928

There was a small missing Apache API call in mod_jk that has been
implemented in mod_jk (I just used the latest HEAD from CVS) by Henri
Gomez and it all works.

Thanks,
Adi

 On Wed, 25 Dec 2002 20:27:53 -0800, Aditya [EMAIL PROTECTED] said:
 I'm trying to apply a Apache2 output filter (mod-xslt) on JSPs,
 served by mod_jk, based on the JSP content MIME Type using the
 Apache AddOutputFilterByType directive.

 However, it looks like Apache2 decides the content type of a file
 when the request comes in rather than from the response
 headers. This causes the Output Filter not to be applied when the
 Content Type is overridden explictly in the headers of a JSP using:

   %@ page contentType=text/xml %

 The note at:


 http://httpd.apache.org/docs-2.0/mod/core.html#addoutputfilterbytype

 seems to suggest that. It also notes that The by-type output
 filters are never applied on proxy requests. -- would mod_jk served
 files qualify as proxy requests?

 It sounds like an Apache output filter bug/feature but perhaps I'm
 misunderstanding how it should work? Is that the way it's supposed
 to work?

 Thanks, Adi

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




RE: I'm lost... connecting Tomcat 4.1.18 to Apache2.0.43/mod_jk2

2002-12-26 Thread WebMaster WebMaster
I don't know where it gets the $. I'm not sure how to get rid of it
either? Where is that specified?

Yes the file exists.

 [EMAIL PROTECTED] 12/26/02 10:52AM 
Question 1:
why is there a $ is the path?
$/usr/local/apache2/conf/workers2.properties

Question 2. does the file /usr/local/apache2/conf/workers2.properties
exist?
i.e. is you execute

more /usr/local/apache2/conf/workers2.properties 

at the command prompt does it return the file?

Jeff

-Original Message-
From: WebMaster WebMaster [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 9:46 AM
To: [EMAIL PROTECTED] 
Subject: I'm lost... connecting Tomcat 4.1.18 to Apache 2.0.43/mod_jk2


This is my first post and I've been reasonably successful with apache
1.3.x and tomcat 3.x...

I need help with Tomcat 4.1.18 to Apache 2.0.43. I can't get them to
communicate, its probably just a config problem with mod_jk2.

I think I found the error but am not sure how to ix it... this is in
Apache's error log:

[Thu Dec 26 10:28:06 2002] [notice] Digest: generating secret for
digest authentication ...
[Thu Dec 26 10:28:06 2002] [notice] Digest: done
[Thu Dec 26 10:28:07 2002] [error] config.update(): Can't find config
file $/usr/local/apache2/conf/workers2.properties
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13534
in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 0
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13536
in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [notice] Apache/2.0.43 (Unix) DAV/2
PHP/4.2.3 FrontPage/5.0.2.2624 mod_jk2/2.0.3-dev configure
d -- resuming normal operations
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:31:18 2002] [error] shm.init(): No file


Thomas

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED] 
816.941.0430 x5900

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

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


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




RE: I'm lost... connecting Tomcat 4.1.18 toApache2.0.43/mod_jk2

2002-12-26 Thread WebMaster WebMaster
I think I found the error. Hold 1.

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED]
816.941.0430 x5900

 [EMAIL PROTECTED] 12/26/02 11:02AM 
I don't know where it gets the $. I'm not sure how to get rid of it
either? Where is that specified?

Yes the file exists.

 [EMAIL PROTECTED] 12/26/02 10:52AM 
Question 1:
why is there a $ is the path?
$/usr/local/apache2/conf/workers2.properties

Question 2. does the file /usr/local/apache2/conf/workers2.properties
exist?
i.e. is you execute

more /usr/local/apache2/conf/workers2.properties 

at the command prompt does it return the file?

Jeff

-Original Message-
From: WebMaster WebMaster [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 9:46 AM
To: [EMAIL PROTECTED] 
Subject: I'm lost... connecting Tomcat 4.1.18 to Apache 2.0.43/mod_jk2


This is my first post and I've been reasonably successful with apache
1.3.x and tomcat 3.x...

I need help with Tomcat 4.1.18 to Apache 2.0.43. I can't get them to
communicate, its probably just a config problem with mod_jk2.

I think I found the error but am not sure how to ix it... this is in
Apache's error log:

[Thu Dec 26 10:28:06 2002] [notice] Digest: generating secret for
digest authentication ...
[Thu Dec 26 10:28:06 2002] [notice] Digest: done
[Thu Dec 26 10:28:07 2002] [error] config.update(): Can't find config
file $/usr/local/apache2/conf/workers2.properties
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13534
in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 0
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13536
in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [notice] Apache/2.0.43 (Unix) DAV/2
PHP/4.2.3 FrontPage/5.0.2.2624 mod_jk2/2.0.3-dev configure
d -- resuming normal operations
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:31:18 2002] [error] shm.init(): No file


Thomas

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED] 
816.941.0430 x5900

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

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


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


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




Tomcat 3.3.1 and jdk1.4

2002-12-26 Thread Shankar Chelakarai
Hi ,
   I have been fighting with this problem for quite sometime now. Can
anyone tell me what the problem could be.

I have jdk1.4 installed with tomcat 3.3.1 on a Unix box.
I have set the JAVA_HOME directory set to point to java1.4 .
And when I do java -fullversion I do get java full version 1.4.0-b92

Now I get this error when I try to run a jsp

org.apache.jasper.JasperException: Unable to compile error: Invalid class
file format in /usr/java1.4/jre/lib/rt.jar(java/lang/Object.class).  The
major.minor version '48.0' is too recent for this tool to understand.
/export/home/jakarta-tomcat-3.3.1/work/DEFAULT/vt/PopAvail_1.java:0: Class
java.lang.Object not found in class javax.servlet.GenericServlet.
import javax.servlet.*;
^
2 errors

at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
at
org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:73
3)
at
org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968
)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:87
5)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Thread.java:536)


I made a few searched on the web and everyone say that its because of
version mismatch . I am not able to figure out where exactly I need to
change what.
One suggestion was to replace tools.jar but I don't see that jar file being
used by jdk1.4 at all. Any suggestions will be most welcome.

Thanks
Shankar


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




RE: Question

2002-12-26 Thread Gman
Here are the only lines I have added t my http.conf below

LoadModule jk2_module modules/mod_jk2.so

And

Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto 
that's all I have done.

George Gman Flatman
-Original Message-
From: Laxmikanth M.S. [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:56 AM
To: Tomcat Users List
Subject: RE: Question


check the line which u added in htpd.conf ..
check the path for workers.properties 

Regards
Laxmikanth M S 
Off  : 91-80-6610330 extn 1256
http://www.sonata-software.com

 Coming together is the beginning, staying together is progress and 
 working together is Success
What lies behind us and what lies before us are tiny matters compared to
what lies within us  - Emerson


 -Original Message-
 From: Gman [SMTP:[EMAIL PROTECTED]]
 Sent: Thursday, December 26, 2002 2:16 PM
 To:   [EMAIL PROTECTED]
 Subject:  Question
 
 I am trying to setup Tomcat version 4.18 With Apache 2.0.43 and I am 
 confused on how to set it up I added the module and include line like 
 the documentation said, after that Apache would not start. Any help 
 would be greatly appreciated.
 
 George Gman Flatman
 
 
 --
 To unsubscribe, e-mail: 
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
*
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you
may not copy or deliver this message to anyone. In such case, you should
destroy this message and kindly notify the sender by reply email. Please
advise immediately if you or your employer does not consent to Internet
email for messages of this kind.
*

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


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




Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
This seems to be a very common issue, however, I have to submit is again because I am 
unable to get things to work properly. I have read all the documentation that I can 
find, but, end up more confused than when I started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and most of 
the latest patches. I have successfully installed Apache 2.0.43 and it is running OK. 
I services my static web pages successfully and also services PHP requests. I have 
installed Tomcat 4.1.17 with JDK 1.4.0.03. This works fine for serving my JSP pages 
and JavaBeans. Now, I need to integrate the two so that whenever Apache, listening on 
port 80, receives a request for a JSP it forwards the request to Tomcat, currently 
listening in port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea 
where to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option in Tomcat. 
It suggest putting the ApacheConfig / directive in the server.xml file directly 
below the AutoWebApp ... / directive. In my file there is no such place, so, that's 
a dead end. I tried putting the directive in anyway, to no avail. I tried creating a 
WORKER2.PROPERTIES file from scratch and also modified the JK2.PROPERTIES file as 
directed by some of the Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider putting some 
simple straight forward documentation together that describes exactly how to 
accomplish this task. At the moment it's way to complicated.

If anyone has any come up with a way of making this work, please let me know. I would 
appreciate any assistance. 

 

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




RE: I'm lost... connecting Tomcat 4.1.18toApache2.0.43/mod_jk2

2002-12-26 Thread WebMaster WebMaster
Ok... I fixed that error... 

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED]
816.941.0430 x5900

 [EMAIL PROTECTED] 12/26/02 11:07AM 
I think I found the error. Hold 1.

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED] 
816.941.0430 x5900

 [EMAIL PROTECTED] 12/26/02 11:02AM 
I don't know where it gets the $. I'm not sure how to get rid of it
either? Where is that specified?

Yes the file exists.

 [EMAIL PROTECTED] 12/26/02 10:52AM 
Question 1:
why is there a $ is the path?
$/usr/local/apache2/conf/workers2.properties

Question 2. does the file /usr/local/apache2/conf/workers2.properties
exist?
i.e. is you execute

more /usr/local/apache2/conf/workers2.properties 

at the command prompt does it return the file?

Jeff

-Original Message-
From: WebMaster WebMaster [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 9:46 AM
To: [EMAIL PROTECTED] 
Subject: I'm lost... connecting Tomcat 4.1.18 to Apache 2.0.43/mod_jk2


This is my first post and I've been reasonably successful with apache
1.3.x and tomcat 3.x...

I need help with Tomcat 4.1.18 to Apache 2.0.43. I can't get them to
communicate, its probably just a config problem with mod_jk2.

I think I found the error but am not sure how to ix it... this is in
Apache's error log:

[Thu Dec 26 10:28:06 2002] [notice] Digest: generating secret for
digest authentication ...
[Thu Dec 26 10:28:06 2002] [notice] Digest: done
[Thu Dec 26 10:28:07 2002] [error] config.update(): Can't find config
file $/usr/local/apache2/conf/workers2.properties
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13534
in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 0
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13536
in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [notice] Apache/2.0.43 (Unix) DAV/2
PHP/4.2.3 FrontPage/5.0.2.2624 mod_jk2/2.0.3-dev configure
d -- resuming normal operations
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:31:18 2002] [error] shm.init(): No file


Thomas

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED] 
816.941.0430 x5900

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

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


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


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


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




RE: I'm lost... connecting Tomcat 4.1.18 toApache2.0.43/mod_jk2

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
what was the problem?

-Original Message-
From: WebMaster WebMaster [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: RE: I'm lost... connecting Tomcat 4.1.18 toApache2.0.43/mod_jk2


Ok... I fixed that error... 

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED]
816.941.0430 x5900

 [EMAIL PROTECTED] 12/26/02 11:07AM 
I think I found the error. Hold 1.

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED] 
816.941.0430 x5900

 [EMAIL PROTECTED] 12/26/02 11:02AM 
I don't know where it gets the $. I'm not sure how to get rid of it
either? Where is that specified?

Yes the file exists.

 [EMAIL PROTECTED] 12/26/02 10:52AM 
Question 1:
why is there a $ is the path?
$/usr/local/apache2/conf/workers2.properties

Question 2. does the file /usr/local/apache2/conf/workers2.properties
exist?
i.e. is you execute

more /usr/local/apache2/conf/workers2.properties 

at the command prompt does it return the file?

Jeff

-Original Message-
From: WebMaster WebMaster [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 9:46 AM
To: [EMAIL PROTECTED] 
Subject: I'm lost... connecting Tomcat 4.1.18 to Apache 2.0.43/mod_jk2


This is my first post and I've been reasonably successful with apache
1.3.x and tomcat 3.x...

I need help with Tomcat 4.1.18 to Apache 2.0.43. I can't get them to
communicate, its probably just a config problem with mod_jk2.

I think I found the error but am not sure how to ix it... this is in
Apache's error log:

[Thu Dec 26 10:28:06 2002] [notice] Digest: generating secret for
digest authentication ...
[Thu Dec 26 10:28:06 2002] [notice] Digest: done
[Thu Dec 26 10:28:07 2002] [error] config.update(): Can't find config
file $/usr/local/apache2/conf/workers2.properties
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13534
in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 0
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] jk2_init() Can't find child 13536
in
scoreboard
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:28:07 2002] [error] mod_jk child init 1 -2
[Thu Dec 26 10:28:07 2002] [notice] Apache/2.0.43 (Unix) DAV/2
PHP/4.2.3 FrontPage/5.0.2.2624 mod_jk2/2.0.3-dev configure
d -- resuming normal operations
[Thu Dec 26 10:28:07 2002] [error] shm.init(): No file
[Thu Dec 26 10:31:18 2002] [error] shm.init(): No file


Thomas

Web Admininistration Team
DeVry University
Kansas City, Missouri

[EMAIL PROTECTED] 
816.941.0430 x5900

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

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


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


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


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

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




RE: Tomcat 3.3.1 and jdk1.4

2002-12-26 Thread Shankar Chelakarai
Ok I got it working.. my mistake .. for some reason never had a lib
directory inside java1.4 directory . It had the tools.jar file in it. Now it
works just fine.

-Original Message-
From: Shankar Chelakarai [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:05 PM
To: Tomcat Users List
Subject: Tomcat 3.3.1 and jdk1.4

Hi ,
   I have been fighting with this problem for quite sometime now. Can
anyone tell me what the problem could be.

I have jdk1.4 installed with tomcat 3.3.1 on a Unix box.
I have set the JAVA_HOME directory set to point to java1.4 .
And when I do java -fullversion I do get java full version 1.4.0-b92

Now I get this error when I try to run a jsp

org.apache.jasper.JasperException: Unable to compile error: Invalid class
file format in /usr/java1.4/jre/lib/rt.jar(java/lang/Object.class).  The
major.minor version '48.0' is too recent for this tool to understand.
/export/home/jakarta-tomcat-3.3.1/work/DEFAULT/vt/PopAvail_1.java:0: Class
java.lang.Object not found in class javax.servlet.GenericServlet.
import javax.servlet.*;
^
2 errors

at
org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
at
org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:73
3)
at
org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968
)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:87
5)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Thread.java:536)


I made a few searched on the web and everyone say that its because of
version mismatch . I am not able to figure out where exactly I need to
change what.
One suggestion was to replace tools.jar but I don't see that jar file being
used by jdk1.4 at all. Any suggestions will be most welcome.

Thanks
Shankar


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


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




RE: Apache Tomcat configuration Issue

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html (this is mainly jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that describes
exactly how to accomplish this task. At the moment it's way to
complicated.

If anyone has any come up with a way of making this work, please let me
know. I would appreciate any assistance. 

 

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

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




Re: mod_jk---still trying, getting closer

2002-12-26 Thread Milt Epstein
On Wed, 25 Dec 2002, Jerry Ford wrote:

 John:

 Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's
 working setup, but that didn't do any good so I changed it back and
 inadvertently put the dot in. But it doesn't matter, it doesn't work
 either way.

One things I don't understand, it seems like you have JK2 running on
the Tomcat side, but you refer to workers.properties, which is a JK
file, JK2 doesn't use it, I don't believe.  Could that be related to
the problem?


 As noted in earlier e-mails, I can get the Tomcat example servlets to
 work, as well as my own j_tools HelloWorld, when I specify port 8080,
 but not through Apache:

 http://localhost opens Apache's index page
 http://localhost:8080 opens Tomcat's index page, and servlets work
 http://localhost/examples/servlets opens the servlets index page, but
 servlets don't work

 Catalina.out in Tomcat's logs directory says mod_jk is running:

 Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on port 8080
 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.12-LE-jdk14
 Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on tcp port 8009
 Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=2/121
 config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.properties
 Stopping service Tomcat-Standalone
 Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
 INFO: Initializing Coyote HTTP/1.1 on port 8080
 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.12-LE-jdk14
 Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on tcp port 8009
 Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=1/277
 config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.properties

 But the Apache error log says Apache cannot open the workers file, even
 though the path specified is correct and permissions to the file are
 -rw-rw-r-- and to all directories drwxrwxr-x:

 [Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error
 while opening the workers, jk will not work

 [Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error
 while opening the workers, jk will not work

 [Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0
 configured -- resuming normal operations
 [Wed Dec 25 15:14:36 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[ ... ]

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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




Re: tomcat as service

2002-12-26 Thread Gary Gwin

We use the Java Wrapper Service with JDK 1.4 to run Tomcat as an NT 
service. You can find it at:

  http://wrapper.sourceforge.net/doc/english/index.html

In addition to working cross platform (Windows NT and Unix), you can 
test the service from the command line before and after  installing it. 
They supply sample configurations for Tomcat.

Gary

Herwig Posedu wrote:

hi!
i tried to run tomcat as service with jdk14 and i doesnt work. there is
no error. with jdk 1.3 there were no problems. is there any nown bug
with version 1.4 of jdk
thx for helping,..

herwig

 



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


--

Gary Gwin
CEO and Founder
Cafesoft
858.455.1800 x205
http://www.cafesoft.com

*
*   *
*   The Cafesoft Access Management System, Cams, is security*
*   software that provides single sign-on authentication and*
*   centralized access control for Apache, Tomcat, and custom   *
*   resources.  *
*   *
*



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




ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory

2002-12-26 Thread Coolslife

Hello,

I am using Tomcat 4.1.18. I also have the oracle i(8.1.7) client installed and have 
the Classes12.zip (renamed to classes12.jar) in my tomcat/common/lib directory. I get 
the following error while trying to access some of my files. 

ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory

This seems to be a common problem but I could not find a satisfactory solution for 
this. I tried doing a search on existing jar/class for this class but could find it.

Is there something that I need to include in my path or do I need to install something 
 more?

Thanks,

Chhaya.



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


RE: ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Chhaya,

see
http://jakarta.apache.org/commons/dbcp.html


you should have a copy of commons-dbcp.jar (Commons DBCP 1.0) at
jakarta-tomcat-4.1.18/common/lib
did you get the full version or the LE

Jeff

-Original Message-
From: Coolslife [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 10:55 AM
To: [EMAIL PROTECTED]
Subject:
ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory



Hello,

I am using Tomcat 4.1.18. I also have the oracle i(8.1.7) client installed
and have the Classes12.zip (renamed to classes12.jar) in my
tomcat/common/lib directory. I get the following error while trying to
access some of my files. 

ClassNotFoundException:org.apache.commons.dbcp.BasicDataSourceFactory

This seems to be a common problem but I could not find a satisfactory
solution for this. I tried doing a search on existing jar/class for this
class but could find it.

Is there something that I need to include in my path or do I need to install
something  more?

Thanks,

Chhaya.



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

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




So lost and confused

2002-12-26 Thread Gman
I have tried to add the module mod_jk.so I have even tried
mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been
to the following web sites.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html 

And now I am even more confused and I can't figure what the hell to do.
I have Apache 2.0.43 currently running perfect(no easy task). I have
installed Tomcat 4.18 to run the java servlets I want to use. Is there
an idiots guide in simple english to get Apache to work with Tomcat? Or
is there another way to run Java that is simpler? I have even attached
my Apache http.conf file for viewing and laughing purposes. Any help
getting this to work would be greatly appreciated.

George Flatman




httpd.conf
Description: Binary data
--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: So lost and confused

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
your http.conf has these lines commented out and thus inactive but from what
I see in a previous post this is most likley due to apache not starting and
I assume you purposefully commented them out.

#LoadModule jk2_module modules/mod_jk2-2.0.43.dll
#Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto

Have your tried downloading mod_jk.dll from
http://www.johnturner.com/howto/apache-tomcat-howto.html and using that?

also the space you have in the directory path may be an issue.  I do not do
much apache/tomcat on windows but I have seen spaces in the path beeing
listed as a concern.  There was even a post earlier today that mentioned it
with regard to mod_jk.  try renaming Tomcat 4.1 to Tomcat4.1.

also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file?  that
looks like something generated for use by mod_jk and not mod_jk2.

Jeff

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:18 AM
To: 'Tomcat Users List'
Subject: So lost and confused


I have tried to add the module mod_jk.so I have even tried
mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been
to the following web sites.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html 

And now I am even more confused and I can't figure what the hell to do.
I have Apache 2.0.43 currently running perfect(no easy task). I have
installed Tomcat 4.18 to run the java servlets I want to use. Is there
an idiots guide in simple english to get Apache to work with Tomcat? Or
is there another way to run Java that is simpler? I have even attached
my Apache http.conf file for viewing and laughing purposes. Any help
getting this to work would be greatly appreciated.

George Flatman


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




Re: mod_jk---still trying, getting closer

2002-12-26 Thread Jerry Ford
Yes.  Same results.

PELOQUIN,JEFFREY (HP-Boise,ex1) wrote:


Your http.conf shows that apache is running as nobody
have you tried changing that so it runs as  the owner of the apache and
tomcat directory structure?



-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:32 AM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's 
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.

As noted in earlier e-mails, I can get the Tomcat example servlets to 
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page
http://localhost:8080 opens Tomcat's index page, and servlets work
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121  
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.properti
es
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/277  
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.properti
es

But the Apache error log says Apache cannot open the workers file, even 
though the path specified is correct and permissions to the file are 
-rw-rw-r-- and to all directories drwxrwxr-x:

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error 
while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error 
while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0 
configured -- resuming normal operations
[Wed Dec 25 15:14:36 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)

Jerry


Turner, John wrote:

 

Whoa, I have NEVER seen a worker called ajp.13 before.  I can't imagine
that that would work at all, as . is a separator in workers.properties.
Is there a reason you are using that instead of ajp13 or something else?

Also, what exact URL are you trying to access?  What URL is not working?


From your httpd.conf, the only possible URL that would work, aside from

   

the
 

examples, the manager app, and the admin app, is:

http://localhost/j_tools/servlet/HelloWorld 

and

http://localhost/j_tools/some.jsp

Are those what you are trying?

John


-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 25, 2002 6:22 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer

Denise:

Other than path names, the major differences between your set up and 
mine is that you use SSL, and I don't, and you have a lot more modules 
loaded than I do (in addition to mod_jk).  But I don't see those 
differences as having anything to do with why yours works and mine 
doesn't.  For one thing, this installation of Apache is on my 
development workstation, and I just installed it to test the tomcat 
connection.  So, it doesn't need to be a fully functional web server. 
At least, not yet.  

Also, I removed the comments from my conf file so I can find things :)

I have tried it both ways---with an include statement pointing to 
mod_jk.conf in tomcat/conf/auto,  and with statements inside httpd.conf. 
Same results.  

I have also experimented with a variety of permissions on both files and 
directories.

My configuration files are attached.

Thanks.

Jerry



Denise Mangano wrote:



   

Jerry -

My config is now working with the files that I had posted.  Did you notice
any major differences between those and yours? 

I had also gotten this same Apache error message at one point as well.
 

But
 

it just sort of went away when I put the JkMount statements right into
httpd.conf and made a different workers.properties file than the one that
was posted on the HOW-TO. Here are the contents of my 

Re: mod_jk---still trying, getting closer

2002-12-26 Thread Jerry Ford
I use the mod_jk binary obtained from John Turner's how-to page, and the 
httpd.conf and server.xml statements are the same as the statements in 
the configurations several other people here have provided as examples, 
I think.  I have also tried to follow John Turner's suggested 
confuguration statements.  

I've tried just about every combination of configurations that have been 
suggested. It's possible that by now I have mixed up different people's 
advice, but I don't know what needs to be changed.  

I don't know why JK2 is in there, other than the coyote packages that 
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking like my only hope of 
getting Tomcat and Apache to work together.

Jerry

Jerry

Milt Epstein wrote:

On Wed, 25 Dec 2002, Jerry Ford wrote:

 

John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's
working setup, but that didn't do any good so I changed it back and
inadvertently put the dot in. But it doesn't matter, it doesn't work
either way.
   


One things I don't understand, it seems like you have JK2 running on
the Tomcat side, but you refer to workers.properties, which is a JK
file, JK2 doesn't use it, I don't believe.  Could that be related to
the problem?


 

As noted in earlier e-mails, I can get the Tomcat example servlets to
work, as well as my own j_tools HelloWorld, when I specify port 8080,
but not through Apache:

http://localhost opens Apache's index page
http://localhost:8080 opens Tomcat's index page, and servlets work
http://localhost/examples/servlets opens the servlets index page, but
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.properties
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/277
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.properties

But the Apache error log says Apache cannot open the workers file, even
though the path specified is correct and permissions to the file are
-rw-rw-r-- and to all directories drwxrwxr-x:

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error
while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error
while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0
configured -- resuming normal operations
[Wed Dec 25 15:14:36 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
   

[ ... ]

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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



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




RE: So lost and confused

2002-12-26 Thread Gman
Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under
Tomcat\conf.


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 10:36 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


your http.conf has these lines commented out and thus inactive but from
what I see in a previous post this is most likley due to apache not
starting and I assume you purposefully commented them out.

#LoadModule jk2_module modules/mod_jk2-2.0.43.dll
#Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto

Have your tried downloading mod_jk.dll from
http://www.johnturner.com/howto/apache-tomcat-howto.html and using that?

also the space you have in the directory path may be an issue.  I do not
do much apache/tomcat on windows but I have seen spaces in the path
beeing listed as a concern.  There was even a post earlier today that
mentioned it with regard to mod_jk.  try renaming Tomcat 4.1 to
Tomcat4.1.

also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file?  that
looks like something generated for use by mod_jk and not mod_jk2.

Jeff

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:18 AM
To: 'Tomcat Users List'
Subject: So lost and confused


I have tried to add the module mod_jk.so I have even tried
mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been
to the following web sites.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html 

And now I am even more confused and I can't figure what the hell to do.
I have Apache 2.0.43 currently running perfect(no easy task). I have
installed Tomcat 4.18 to run the java servlets I want to use. Is there
an idiots guide in simple english to get Apache to work with Tomcat? Or
is there another way to run Java that is simpler? I have even attached
my Apache http.conf file for viewing and laughing purposes. Any help
getting this to work would be greatly appreciated.

George Flatman


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


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




RE: mod_jk---still trying, getting closer

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
Just for chuckles try it without putting quote around the file names
this is how I have it my http.conf

JkWorkersFile /opt_apps/hpapache2/conf/workers.properties
JkLogFile /opt_apps/hpapache2/logs/mod_jk.log
JkLogLevel info

if that does not work try moving the files local to the apache conf and log
directories

Jeff

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:54 AM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


Yes.  Same results.

PELOQUIN,JEFFREY (HP-Boise,ex1) wrote:

Your http.conf shows that apache is running as nobody
have you tried changing that so it runs as  the owner of the apache and
tomcat directory structure?



-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:32 AM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's 
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.

As noted in earlier e-mails, I can get the Tomcat example servlets to 
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page
http://localhost:8080 opens Tomcat's index page, and servlets work
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121  
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.propert
i
es
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/277  
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.propert
i
es

But the Apache error log says Apache cannot open the workers file, even 
though the path specified is correct and permissions to the file are 
-rw-rw-r-- and to all directories drwxrwxr-x:

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error 
while opening the workers, jk will not work
 
[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error 
while opening the workers, jk will not work
 
[Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0 
configured -- resuming normal operations
[Wed Dec 25 15:14:36 2002] [notice] Accept mutex: sysvsem (Default:
sysvsem)

Jerry


Turner, John wrote:

  

Whoa, I have NEVER seen a worker called ajp.13 before.  I can't imagine
that that would work at all, as . is a separator in workers.properties.
Is there a reason you are using that instead of ajp13 or something else?

Also, what exact URL are you trying to access?  What URL is not working?

From your httpd.conf, the only possible URL that would work, aside from


the
  

examples, the manager app, and the admin app, is:

http://localhost/j_tools/servlet/HelloWorld 

and

http://localhost/j_tools/some.jsp

Are those what you are trying?

John


-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 25, 2002 6:22 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer

Denise:

Other than path names, the major differences between your set up and 
mine is that you use SSL, and I don't, and you have a lot more modules 
loaded than I do (in addition to mod_jk).  But I don't see those 
differences as having anything to do with why yours works and mine 
doesn't.  For one thing, this installation of Apache is on my 
development workstation, and I just installed it to test the tomcat 
connection.  So, it doesn't need to be a fully functional web server. 
At least, not yet.  

Also, I removed the comments from my conf file so I can find things :)

I have tried it both ways---with an include statement pointing to 
mod_jk.conf in tomcat/conf/auto,  and with statements inside httpd.conf. 
Same results.  

I have also experimented with a variety of permissions on both files and 
directories.

My 

RE: So lost and confused

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
I would grab the one for 4.1.10.  The question marks most likely refer to a
question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure tomcat
to generate it for you.  Let us not worry about that for the moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go anywhere

place the attached workers.properties in path/to/apache/conf/
change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your java
and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root of
your tomcat install
worker.java_home=/opt/java1.3 to where your java is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under
Tomcat\conf.


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 10:36 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


your http.conf has these lines commented out and thus inactive but from
what I see in a previous post this is most likley due to apache not
starting and I assume you purposefully commented them out.

#LoadModule jk2_module modules/mod_jk2-2.0.43.dll
#Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto

Have your tried downloading mod_jk.dll from
http://www.johnturner.com/howto/apache-tomcat-howto.html and using that?

also the space you have in the directory path may be an issue.  I do not
do much apache/tomcat on windows but I have seen spaces in the path
beeing listed as a concern.  There was even a post earlier today that
mentioned it with regard to mod_jk.  try renaming Tomcat 4.1 to
Tomcat4.1.

also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file?  that
looks like something generated for use by mod_jk and not mod_jk2.

Jeff

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:18 AM
To: 'Tomcat Users List'
Subject: So lost and confused


I have tried to add the module mod_jk.so I have even tried
mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been
to the following web sites.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html 

And now I am even more confused and I can't figure what the hell to do.
I have Apache 2.0.43 currently running perfect(no easy task). I have
installed Tomcat 4.18 to run the java servlets I want to use. Is there
an idiots guide in simple english to get Apache to work with Tomcat? Or
is there another way to run Java that is simpler? I have even attached
my Apache http.conf file for viewing and laughing purposes. Any help
getting this to work would be greatly appreciated.

George Flatman


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


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




workers.properties
Description: Binary data
--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: mod_jk---still trying, getting closer

2002-12-26 Thread Justin L. Spies
Jerry,
Just to clarify, are you using the mod_jk.so or mod_jk2.so?

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and the

httpd.conf and server.xml statements are the same as the statements in 
the configurations several other people here have provided as examples, 
I think.  I have also tried to follow John Turner's suggested 
confuguration statements.  

I've tried just about every combination of configurations that have been

suggested. It's possible that by now I have mixed up different people's 
advice, but I don't know what needs to be changed.  

I don't know why JK2 is in there, other than the coyote packages that 
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking like my only hope of 
getting Tomcat and Apache to work together.

Jerry

Jerry

Milt Epstein wrote:

On Wed, 25 Dec 2002, Jerry Ford wrote:

  

John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's 
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.



One things I don't understand, it seems like you have JK2 running on 
the Tomcat side, but you refer to workers.properties, which is a JK 
file, JK2 doesn't use it, I don't believe.  Could that be related to 
the problem?


  

As noted in earlier e-mails, I can get the Tomcat example servlets to 
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page http://localhost:8080 opens

Tomcat's index page, and servlets work 
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121 
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr
operties
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/277
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr
operties

But the Apache error log says Apache cannot open the workers file, 
even though the path specified is correct and permissions to the file 
are
-rw-rw-r-- and to all directories drwxrwxr-x:

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error

while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error

while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0 
configured -- resuming normal operations [Wed Dec 25 15:14:36 2002] 
[notice] Accept mutex: sysvsem (Default: sysvsem)


[ ... ]

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES) 
University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]


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



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



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




RE: mod_jk---still trying, getting closer

2002-12-26 Thread Justin L. Spies
Jerry,
I've updated and simplified the configuration files that you supplied
previously.  Any changes I made are denoted by the following:
  NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first
used to get my system working.  I'm not sure about your directory
structure and whether or not you have symlinks setup, however I did
notice that in some of the configuration files you were using two
different directories that should point to the same directories.  Here
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pro
perties

But just below that you had the following apache directive:
Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above
the /webapps directory.  On my system, I have tomcat installed in
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
  --  and  --
Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless
you have a symlink (in your case) from
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to
/usr/local/webserver/tomcat.  Does that make sense, or did I just
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of
the apache error log and the tomcat catalina.out files?  Also, if you
could confirm the directory structure, that would be a big help.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 




-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and the

httpd.conf and server.xml statements are the same as the statements in 
the configurations several other people here have provided as examples, 
I think.  I have also tried to follow John Turner's suggested 
confuguration statements.  

I've tried just about every combination of configurations that have been

suggested. It's possible that by now I have mixed up different people's 
advice, but I don't know what needs to be changed.  

I don't know why JK2 is in there, other than the coyote packages that 
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking like my only hope of 
getting Tomcat and Apache to work together.

Jerry

Jerry

Milt Epstein wrote:

On Wed, 25 Dec 2002, Jerry Ford wrote:

  

John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's 
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.



One things I don't understand, it seems like you have JK2 running on 
the Tomcat side, but you refer to workers.properties, which is a JK 
file, JK2 doesn't use it, I don't believe.  Could that be related to 
the problem?


  

As noted in earlier e-mails, I can get the Tomcat example servlets to 
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page http://localhost:8080 opens

Tomcat's index page, and servlets work 
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121 
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr
operties
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/277
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr
operties

But the Apache error log says Apache cannot open the workers file, 
even though the path specified is 

Security Configuration in WEB.XML

2002-12-26 Thread Lior Shliechkorn

Hello,

I'm a bit confused about the whole security implementation in Tomcat. I'm using a 
webapp that has a Login.html page that posts information to a servlet that queries a 
database to authenticate the user. The values are then set into a bean, and each page 
checks the existance of the bean in order to enter that page.

If I want to add additional security, what would I do in the WEB.XML page in order to 
have it secured by tomcat? 

Thanks,

Lior



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


RE: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
I've tried everything that I can, based on the references that you sent. All without 
success. Perhaps there is another way. The only reason that I wanted to have Apache on 
this particular machine is so that I could use some of the functionality of PHP. Is 
there a way that I could have Tomcat service PHP requests?
 

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 12:27 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html (this is mainly jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that describes
exactly how to accomplish this task. At the moment it's way to
complicated.

If anyone has any come up with a way of making this work, please let me
know. I would appreciate any assistance.



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

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




attachment: winmail.dat--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: Apache Tomcat configuration Issue

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
I do not know about tomcat and php, I would guess no.
 
however the www.apache.org http://www.apache.org  site lists this as the
link for php
http://www.php.net/ http://www.php.net/ 
 
you might want to try the apache list group as well as any list group list
listed on the php site
 
good luck
Jeff
 
 
-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent. All
without success. Perhaps there is another way. The only reason that I wanted
to have Apache on this particular machine is so that I could use some of the
functionality of PHP. Is there a way that I could have Tomcat service PHP
requests?
 

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 12:27 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that describes
exactly how to accomplish this task. At the moment it's way to
complicated.

If anyone has any come up with a way of making this work, please let me
know. I would appreciate any assistance.



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

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






RE: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
I know that it works with Apache2. I've already had that working. What I was hoping 
was that there was a way to make a stand-alone Tomcat installation handle the requests.

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 2:52 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



I do not know about tomcat and php, I would guess no.

however the www.apache.org http://www.apache.org  site lists this as the
link for php
http://www.php.net/ http://www.php.net/

you might want to try the apache list group as well as any list group list
listed on the php site

good luck
Jeff


-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent. All
without success. Perhaps there is another way. The only reason that I wanted
to have Apache on this particular machine is so that I could use some of the
functionality of PHP. Is there a way that I could have Tomcat service PHP
requests?


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that 

RE: Apache Tomcat configuration Issue

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
to the best of my knowledge tomcat will not perform php requests.  But then
again I have never used php so I have not needed to ask the question.  If
all you are interested in is PHP not getting apache/tomcat connected, I
would suggest reposting the question monday morning with a different subject
heading when more people will be back at work and checking their email.
Traffic this week has been at about 10% of its usual.
 
 
If you need mod_jk to work you might look at a post of mine from earlier
today under the subject so lost and confused that advice I gave there may be
of use to you
 
Jeff
 
 
-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:55 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I know that it works with Apache2. I've already had that working. What I was
hoping was that there was a way to make a stand-alone Tomcat installation
handle the requests.

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 2:52 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



I do not know about tomcat and php, I would guess no.

however the www.apache.org  http://www.apache.org http://www.apache.org 
site lists this as the
link for php
http://www.php.net/ http://www.php.net/   http://www.php.net/
http://www.php.net/ 

you might want to try the apache list group as well as any list group list
listed on the php site

good luck
Jeff


-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent. All
without success. Perhaps there is another way. The only reason that I wanted
to have Apache on this particular machine is so that I could use some of the
functionality of PHP. Is there a way that I could have Tomcat service PHP
requests?


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html 
 http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html   (this is
mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive 

RE: So lost and confused

2002-12-26 Thread Gman
Ok, I got all that but I do not know which mod_jk to use and can I
shorten their name to mod_jk.dll? The 2 mod_jk files I have are called
mod_jk-2.0.43.dll and mod_jk2_4_1_12.dll I think I will use the later
but my concenr Is that if I shorten the name it should still work right?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under
Tomcat\conf.


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 10:36 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


your http.conf has these lines commented out and thus inactive but from
what I see in a previous post this is most likley due to apache not
starting and I assume you purposefully commented them out.

#LoadModule jk2_module modules/mod_jk2-2.0.43.dll
#Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto

Have your tried downloading mod_jk.dll from
http://www.johnturner.com/howto/apache-tomcat-howto.html and using that?

also the space you have in the directory path may be an issue.  I do not
do much apache/tomcat on windows but I have seen spaces in the path
beeing listed as a concern.  There was even a post earlier today that
mentioned it with regard to mod_jk.  try renaming Tomcat 4.1 to
Tomcat4.1.

also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file?  that
looks like something generated for use by mod_jk and not mod_jk2.

Jeff

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:18 AM
To: 'Tomcat Users List'
Subject: So lost and confused


I have tried to add the module mod_jk.so I have even tried
mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been
to the following web sites.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html 

And now I am even more confused and I can't figure what the hell to do.
I have Apache 2.0.43 currently running perfect(no easy task). I have
installed Tomcat 4.18 to run the java servlets I want to use. Is there
an idiots guide in simple english to get Apache to work with Tomcat? Or
is there another way to run Java that is simpler? I have even attached
my Apache http.conf file for viewing and laughing purposes. Any help
getting this to work would be greatly 

RE: Apache Tomcat configuration Issue

2002-12-26 Thread Justin L. Spies
Myles,
Sorry to say, but Jeffrey is correct--Tomcat will not service the PHP
requests.  That is link asking Micros...  ASP to service Tomcat
requests, it just doesn't work.  I haven't configured Apache 2.0.x yet
so I can't help with that other than to say this--don't try to get
everything running all at the same time.  Just work on getting the
examples going in a most minimalist way.  I know when I tried to first
setup Apache / Tomcat / mod_jk, I tried to setup all the bells and
whistles, but I ended up just spinning my wheels.  It wasn't until I
tried a piece at a time that I got it working.

Hope that this helps.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:52 PM
To: 'Tomcat Users List'
Subject: RE: Apache Tomcat configuration Issue


I do not know about tomcat and php, I would guess no.
 
however the www.apache.org http://www.apache.org  site lists this as
the link for php http://www.php.net/ http://www.php.net/ 
 
you might want to try the apache list group as well as any list group
list listed on the php site
 
good luck
Jeff
 
 
-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent.
All without success. Perhaps there is another way. The only reason that
I wanted to have Apache on this particular machine is so that I could
use some of the functionality of PHP. Is there a way that I could have
Tomcat service PHP requests?
 

-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 12:27 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



List o' links

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

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is
mainly jk not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there
is a different tag for tomcat 4, see links above.  I prefer to hard code
the directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base. John Turner has a
collection of downloads.

While the online documentation does lag behind the actual code
development the information is out there and I have found the info on
the jakarta site to be quite helpful for mod_jk in the latest 4.1
release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk
and most of the latest patches. I have successfully installed Apache
2.0.43 and it is running OK. I services my static web pages successfully
and also services PHP requests. I have installed Tomcat 4.1.17 with JDK
1.4.0.03. This works fine for serving my JSP pages and JavaBeans. Now, I
need to integrate the two so that whenever Apache, listening on port 80,
receives a request for a JSP it forwards the request to Tomcat,
currently listening in port 8081. I have downloaded the
MOD_JK2-2.0.43.dll, but, have no idea where to put it other than in the
\winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config
option in Tomcat. It suggest putting the ApacheConfig / directive in
the server.xml file directly below the AutoWebApp ... / directive. In
my file there is no such place, so, that's a dead end. I tried putting
the directive in anyway, to no avail. I tried creating a
WORKER2.PROPERTIES file from scratch and also modified the
JK2.PROPERTIES file as directed by some of the Jakarta documentation.
None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that
describes exactly how to accomplish this task. At the moment it's way
to complicated.

If anyone has any come up with a way of making this work, please let me
know. I would appreciate any assistance.



--
To unsubscribe, e-mail:
 mailto:[EMAIL 

Apache and Tomcat.

2002-12-26 Thread Hans Deragon
Greetings.


  I want to connect Apache to Tomcat.  However, I am stumbling on a 
few problems:

  1) How can I configure Tomcat to generate the mod_jk.conf-auto 
file? I cannot find any documentation on how to do this, and looking 
at the CATALINA_HOME/conf/* files did not gave any clue.  I want to 
use the mod_jk but with the auto configuration file if possible.

  2) According to the documentation, webapp is better than mod_jk. 
But I searched the web and www.apache.org, jakarta.apache.org, 
modules.apache.org but could not find the module!  Can someone provide 
me the link to the home page of this module?


Sincerely,
Hans Deragon


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



RE: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
Actually, I've been following that thread and believe I have applied all the changes 
that you suggested. After doing so, when I try to start Apache I get the following 
error:
 
-- apache: module 
C:\jakarta-tomcat-connectors-4.1.10-src\jk\native\apache-2.0\mod_jk.c is not 
-- compatible with this version of Apache (found 20020628, need 20020903).
-- Please contact the vendor for the correct version.
 
Please note that there is no reference to 
C:\jakarta-tomcat-connectors-4.1.10-src\jk\native\apache-2.0\mod_jk.c  in any of my 
setup files.
 
-Original Message- 
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 3:00 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



to the best of my knowledge tomcat will not perform php requests.  But then
again I have never used php so I have not needed to ask the question.  If
all you are interested in is PHP not getting apache/tomcat connected, I
would suggest reposting the question monday morning with a different subject
heading when more people will be back at work and checking their email.
Traffic this week has been at about 10% of its usual.


If you need mod_jk to work you might look at a post of mine from earlier
today under the subject so lost and confused that advice I gave there may be
of use to you

Jeff


-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:55 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I know that it works with Apache2. I've already had that working. What I was
hoping was that there was a way to make a stand-alone Tomcat installation
handle the requests.

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thu 12/26/2002 2:52 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



I do not know about tomcat and php, I would guess no.

however the www.apache.org  http://www.apache.org http://www.apache.org 
site lists this as the
link for php
http://www.php.net/ http://www.php.net/   http://www.php.net/
http://www.php.net/ 

you might want to try the apache list group as well as any list group list
listed on the php site

good luck
Jeff


-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent. All
without success. Perhaps there is another way. The only reason that I wanted
to have Apache on this particular machine is so that I could use some of the
functionality of PHP. Is there a way that I could have Tomcat service PHP
requests?


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html
 http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html   (this is
mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
 

RE: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
Thanks, I was afraid of that. Actually, I am only trying to get the basics working. 
I'm a developer, not an integrator. I really only need minimal functionality for 
Apache and Tomcat. But I do need to be able to use a variety of development tools in 
my test environment such as JSP, PHP, Python, JPython, etc.

-Original Message- 
From: Justin L. Spies [mailto:[EMAIL PROTECTED]] 
Sent: Thu 12/26/2002 3:02 PM 
To: 'Tomcat Users List' 
Cc: 
Subject: RE: Apache Tomcat configuration Issue



Myles,
Sorry to say, but Jeffrey is correct--Tomcat will not service the PHP
requests.  That is link asking Micros...  ASP to service Tomcat
requests, it just doesn't work.  I haven't configured Apache 2.0.x yet
so I can't help with that other than to say this--don't try to get
everything running all at the same time.  Just work on getting the
examples going in a most minimalist way.  I know when I tried to first
setup Apache / Tomcat / mod_jk, I tried to setup all the bells and
whistles, but I ended up just spinning my wheels.  It wasn't until I
tried a piece at a time that I got it working.

Hope that this helps.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:52 PM
To: 'Tomcat Users List'
Subject: RE: Apache Tomcat configuration Issue


I do not know about tomcat and php, I would guess no.

however the www.apache.org http://www.apache.org  site lists this as
the link for php http://www.php.net/ http://www.php.net/

you might want to try the apache list group as well as any list group
list listed on the php site

good luck
Jeff


-Original Message-
From: Moutoux, Myles [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:49 PM
To: Tomcat Users List
Subject: RE: Apache Tomcat configuration Issue


I've tried everything that I can, based on the references that you sent.
All without success. Perhaps there is another way. The only reason that
I wanted to have Apache on this particular machine is so that I could
use some of the functionality of PHP. Is there a way that I could have
Tomcat service PHP requests?


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

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

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html  (this is
mainly jk not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there
is a different tag for tomcat 4, see links above.  I prefer to hard code
the directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base. John Turner has a
collection of downloads.

While the online documentation does lag behind the actual code
development the information is out there and I have found the info on
the jakarta site to be quite helpful for mod_jk in the latest 4.1
release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk
and most of the latest patches. I have 

Apache/Tomcat JK binaries

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
As I do not use apache/tomcat on windows I cannot give an authorative answer
on where to get mod_jk

but there are binaries located at
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0
/bin/win32/

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

that were prepared by the connector team.  These should be for the jk
protocol and not the jk2 protocol

As for the binaries offered by John Turner on his web site he offeres three
different binaries for windows but they appear to listed as specific for
Apache 2.0 which suggests that they are the jk2 protocol.  and from the
comment in prior email today, these do indeed appear to be jk2 binaries

there should be no reason why you cannot rename them to what ever name you
wish but if you keep the name it comes with you will have some idea as to
its pedigree

Jeff

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




RE: Apache and Tomcat.

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
This link will give you initial info on the auto generating capabilities

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

you can also look at
http://www.johnturner.com/howto/apache-tomcat-howto.html


There are also numerous emails today and in the archive on the subject

You may want to consider hard coding the http.conf first before doing the
auto generation.

-Original Message-
From: Hans Deragon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:08 PM
To: [EMAIL PROTECTED]
Subject: Apache and Tomcat.


Greetings.


   I want to connect Apache to Tomcat.  However, I am stumbling on a 
few problems:

   1) How can I configure Tomcat to generate the mod_jk.conf-auto 
file? I cannot find any documentation on how to do this, and looking 
at the CATALINA_HOME/conf/* files did not gave any clue.  I want to 
use the mod_jk but with the auto configuration file if possible.

   2) According to the documentation, webapp is better than mod_jk. 
But I searched the web and www.apache.org, jakarta.apache.org, 
modules.apache.org but could not find the module!  Can someone provide 
me the link to the home page of this module?


Sincerely,
Hans Deragon


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

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




RE: mod_jk---still trying, getting closer

2002-12-26 Thread Justin L. Spies
Jerry,
Once upon a time, I think you asked where I got the mod_jk binaries
from.  Here is the link:

RPM's:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.2/rpms/
(Because I am running Apache 1.3, I grabbed version 1.3 in the file
mod_jk-ap13-1.2.2-1jpp.i386.rpm)

Binaries:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.2/bin/linux/i386/
If you are running Apache compiled with SSL support (even if SSL is
disabled), you will need the file:
mod_jk-1.3.eapi.so

If you are running Apache compiled without SSL support (i.e., not using
RedHat RPMS), you will need the file:
mod_jk-1.3-noeapi.so

Again, both of those files are for Apache 1.3 only.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 


-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and the

httpd.conf and server.xml statements are the same as the statements in 
the configurations several other people here have provided as examples, 
I think.  I have also tried to follow John Turner's suggested 
confuguration statements.  

I've tried just about every combination of configurations that have been

suggested. It's possible that by now I have mixed up different people's 
advice, but I don't know what needs to be changed.  

I don't know why JK2 is in there, other than the coyote packages that 
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking like my only hope of 
getting Tomcat and Apache to work together.

Jerry

Jerry

Milt Epstein wrote:

On Wed, 25 Dec 2002, Jerry Ford wrote:

  

John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's 
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.



One things I don't understand, it seems like you have JK2 running on 
the Tomcat side, but you refer to workers.properties, which is a JK 
file, JK2 doesn't use it, I don't believe.  Could that be related to 
the problem?


  

As noted in earlier e-mails, I can get the Tomcat example servlets to 
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page http://localhost:8080 opens

Tomcat's index page, and servlets work 
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121 
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr
operties
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/277
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr
operties

But the Apache error log says Apache cannot open the workers file, 
even though the path specified is correct and permissions to the file 
are
-rw-rw-r-- and to all directories drwxrwxr-x:

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error

while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error

while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0 
configured -- resuming normal operations [Wed Dec 25 15:14:36 2002] 
[notice] Accept mutex: sysvsem (Default: sysvsem)


[ ... ]

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES) 
University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]


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



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

RE: So lost and confused

2002-12-26 Thread Gman
Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under
Tomcat\conf.


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 10:36 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


your http.conf has these lines commented out and thus inactive but from
what I see in a previous post this is most likley due to apache not
starting and I assume you purposefully commented them out.

#LoadModule jk2_module modules/mod_jk2-2.0.43.dll
#Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto

Have your tried downloading mod_jk.dll from
http://www.johnturner.com/howto/apache-tomcat-howto.html and using that?

also the space you have in the directory path may be an issue.  I do not
do much apache/tomcat on windows but I have seen spaces in the path
beeing listed as a concern.  There was even a post earlier today that
mentioned it with regard to mod_jk.  try renaming Tomcat 4.1 to
Tomcat4.1.

also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file?  that
looks like something generated for use by mod_jk and not mod_jk2.

Jeff

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:18 AM
To: 'Tomcat Users List'
Subject: So lost and confused


I have tried to add the module mod_jk.so I have even tried
mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been
to the following web sites.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://www.johnturner.com/howto/apache-tomcat-howto.html 

And now I am even more confused and I can't figure what the hell to do.
I have Apache 2.0.43 currently running perfect(no easy task). I have
installed Tomcat 4.18 to run the java servlets I want to use. Is there
an idiots guide in simple english to get Apache to work with Tomcat? Or
is there another way to run Java that is simpler? I have even attached
my Apache http.conf file for viewing and 

RE: So lost and confused

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2 should
work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under
Tomcat\conf.


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 10:36 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


your http.conf has these lines commented out and thus inactive but from
what I see in a previous post this is most likley due to apache not
starting and I assume you purposefully commented them out.

#LoadModule jk2_module modules/mod_jk2-2.0.43.dll
#Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto

Have your tried downloading mod_jk.dll from
http://www.johnturner.com/howto/apache-tomcat-howto.html and using that?

also the space you have in the directory path may be an issue.  I do not
do much apache/tomcat on windows but I have seen spaces in the path
beeing listed as a concern.  There was even a post earlier today that
mentioned it with regard to mod_jk.  try renaming Tomcat 4.1 to
Tomcat4.1.

also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file?  that
looks like something generated for use by mod_jk and not mod_jk2.

Jeff

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:18 AM
To: 'Tomcat Users List'
Subject: So lost and confused


I have tried to add the module mod_jk.so I have even tried
mod_jk-2.0.43.dll in my apache http.conf and nothing works. I have been
to the following web sites.

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

RE: Apache Tomcat configuration Issue

2002-12-26 Thread Moutoux, Myles
I know that I stepped out of this for awhile, however, I have been keeping up with the 
threads. I sent a message like the following a little bit ago. Did you get a chance to 
look at it?
-
Actually, I've been following that thread and believe I have applied all the changes 
that you suggested. After doing so, when I try to start Apache I get the following 
error:
 
-- apache: module 
C:\jakarta-tomcat-connectors-4.1.10-src\jk\native\apache-2.0\mod_jk.c is not 
-- compatible with this version of Apache (found 20020628, need 20020903).
-- Please contact the vendor for the correct version.
 
Please note that there is no reference to 
C:\jakarta-tomcat-connectors-4.1.10-src\jk\native\apache-2.0\mod_jk.c  in any of my 
setup files.

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Thu 12/26/2002 12:27 PM
To: 'Tomcat Users List'
Cc:
Subject: RE: Apache Tomcat configuration Issue



List o' links

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html 
http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html
 http://www.johnturner.com/howto/apache-tomcat-howto.html
http://www.johnturner.com/howto/apache-tomcat-howto.html   (this is
mainly
jk
not jk2 if I recall)

the dll should go into APACHE_ROOT/libexec

the ApacheConfig directive if I recall is for jk in Tomcat 3 and there is
a different tag for tomcat 4, see links above.  I prefer to hard code the
directives.

I would suggest trying mod_jk instead of mod_jk2 as there is more
documentation available and a larger experience base.
John Turner has a collection of downloads.

While the online documentation does lag behind the actual code development
the information is out there and I have found the info on the jakarta site
to be quite helpful for mod_jk in the latest 4.1 release

Jeff



-Original Message-
From: Moutoux, Myles [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  ]
Sent: Thursday, December 26, 2002 10:14 AM
To: [EMAIL PROTECTED]
Subject: Apache Tomcat configuration Issue


This seems to be a very common issue, however, I have to submit is again
because I am unable to get things to work properly. I have read all the
documentation that I can find, but, end up more confused than when I
started. So, here goes.

Everything is running on a Win2K machine with plenty of memory and disk and
most of the latest patches. I have successfully installed Apache 2.0.43 and
it is running OK. I services my static web pages successfully and also
services PHP requests. I have installed Tomcat 4.1.17 with JDK 1.4.0.03.
This works fine for serving my JSP pages and JavaBeans. Now, I need to
integrate the two so that whenever Apache, listening on port 80, receives a
request for a JSP it forwards the request to Tomcat, currently listening in
port 8081. I have downloaded the MOD_JK2-2.0.43.dll, but, have no idea where
to put it other than in the \winnt\system32 directory.

Some of the documentation suggest turning on the Apache auto-config option
in Tomcat. It suggest putting the ApacheConfig / directive in the
server.xml file directly below the AutoWebApp ... / directive. In my file
there is no such place, so, that's a dead end. I tried putting the directive
in anyway, to no avail. I tried creating a WORKER2.PROPERTIES file from
scratch and also modified the JK2.PROPERTIES file as directed by some of the
Jakarta documentation. None of this has accomplished anything.

Perhaps the people that put Tomcat and Apache together should consider
putting some simple straight forward documentation together that describes
exactly how to accomplish this task. At the moment it's way to
complicated.

If anyone has any come up with a way of 

RE: So lost and confused

2002-12-26 Thread Gman
Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under
Tomcat\conf.


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 10:36 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


your http.conf has these lines commented out and thus inactive but from
what I see in a previous post this is most likley due to apache not
starting and I assume you purposefully commented them out.

#LoadModule jk2_module modules/mod_jk2-2.0.43.dll
#Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto

Have your tried downloading mod_jk.dll from
http://www.johnturner.com/howto/apache-tomcat-howto.html and using that?

also the space you have in the directory path may be an issue.  I do not
do much apache/tomcat on windows but I have seen spaces in the path
beeing listed as a concern.  There was even a post earlier today that
mentioned it with regard to mod_jk.  try renaming Tomcat 4.1 to
Tomcat4.1.

also what is inside the /Tomcat 4.1/conf/jk/mod_jk.conf-auto file?  that
looks like something generated for use by mod_jk and not mod_jk2.

Jeff

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:18 AM
To: 'Tomcat Users List'
Subject: So lost and confused


I have tried to add the 

RE: So lost and confused

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under
Tomcat\conf.


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 10:36 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


your http.conf has these lines commented out and thus inactive but from
what I see in a previous post this is most likley due to apache not
starting and I assume you purposefully commented them out.

#LoadModule jk2_module modules/mod_jk2-2.0.43.dll
#Include /Tomcat 4.1/conf/jk/mod_jk.conf-auto

Have your tried downloading mod_jk.dll from

RE: So lost and confused

2002-12-26 Thread Gman
Ok I have the loadmodule line loaded and Apache is currently up and
running where should I put the those other lines you said needed to add?

George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory under
Tomcat\conf.


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 10:36 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


your http.conf has these lines commented 

RE: So lost and confused

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
the other lines can for the moment go at the end of your http.conf

they should eventualy go into the any virtual host you will be using

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:12 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I have the loadmodule line loaded and Apache is currently up and
running where should I put the those other lines you said needed to add?

George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the

RE: So lost and confused

2002-12-26 Thread Gman
Virtual Host? I do not have that setup that I know of.

George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:22 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


the other lines can for the moment go at the end of your http.conf

they should eventualy go into the any virtual host you will be using

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:12 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I have the loadmodule line loaded and Apache is currently up and
running where should I put the those other lines you said needed to add?

George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that

RE: So lost and confused

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
If you do not have any set up you can just place the lines at the end of the
http.conf

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:17 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Virtual Host? I do not have that setup that I know of.

George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:22 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


the other lines can for the moment go at the end of your http.conf

they should eventualy go into the any virtual host you will be using

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:12 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I have the loadmodule line loaded and Apache is currently up and
running where should I put the those other lines you said needed to add?

George Flatman

-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I 

RE: So lost and confused

2002-12-26 Thread Gman
Ok Jeffrey, I placed the lines below and now Apache won't start.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--actual path to where
I placed the workers.properties file.
#JkLogFile C:/Apache/apache/logs/mod_jk.log--actual path to where the
log files will and should be created.
#JkLogLevel info--?

#JkMount /examples/* ajp13--?

I commented them out and Apache runs fine.

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 entries 2 with
question marks so I grabbed the one the did not have question marks. And
when I downloaded the mod_jk.dll but the file It downloaded from that
website was called mod_jk2_4_1_12.dll. Should I rename that file to
mo_jk.dll and then update the paths to point to that one? I uninstalled
and then reinstalled Tomcat in a folder called C:\Tomcat4.1 like you
said. There is no mod_jk.conf-auto file in the
Tomcat\conf\jk\mod_jk.conf-auto. There is no \jk directory 

RE: So lost and confused

2002-12-26 Thread PELOQUIN,JEFFREY (HP-Boise,ex1)
what errors appeared in your error.log file for apache?


with them uncommented you might also might want to try running from the
command prompt
in the directory C:\Apache\bin\apachectl configtest
or wherever the bin directory is for your server
this will tell also give you the errors in to http.conf




-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:35 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, I placed the lines below and now Apache won't start.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--actual path to where
I placed the workers.properties file.
#JkLogFile C:/Apache/apache/logs/mod_jk.log--actual path to where the
log files will and should be created.
#JkLogLevel info--?

#JkMount /examples/* ajp13--?

I commented them out and Apache runs fine.

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:51 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Hey Thanks, yes Jeffrey I commented those lines out so Apache would run.
I am so confused I went to link you provide and found 3 

Re: mod_jk---still trying, getting closer

2002-12-26 Thread Jerry Ford
Have tried it both ways; added quotes because it wasn't working without 
them and I wanted to see what would happen.

Same results.

Jerry

PELOQUIN,JEFFREY (HP-Boise,ex1) wrote:

Just for chuckles try it without putting quote around the file names
this is how I have it my http.conf

JkWorkersFile /opt_apps/hpapache2/conf/workers.properties
JkLogFile /opt_apps/hpapache2/logs/mod_jk.log
JkLogLevel info

if that does not work try moving the files local to the apache conf and log
directories

Jeff

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 11:54 AM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


Yes.  Same results.

PELOQUIN,JEFFREY (HP-Boise,ex1) wrote:

 

Your http.conf shows that apache is running as nobody
have you tried changing that so it runs as  the owner of the apache and
tomcat directory structure?



-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 12:32 AM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's 
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.

As noted in earlier e-mails, I can get the Tomcat example servlets to 
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page
http://localhost:8080 opens Tomcat's index page, and servlets work
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121  
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.propert
   

i
 

es
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/277  
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.propert
   

i
 

es

But the Apache error log says Apache cannot open the workers file, even 
though the path specified is correct and permissions to the file are 
-rw-rw-r-- and to all directories drwxrwxr-x:

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error 
while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error 
while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0 
configured -- resuming normal operations
[Wed Dec 25 15:14:36 2002] [notice] Accept mutex: sysvsem (Default:
   

sysvsem)
 

Jerry


Turner, John wrote:



   

Whoa, I have NEVER seen a worker called ajp.13 before.  I can't imagine
that that would work at all, as . is a separator in workers.properties.
Is there a reason you are using that instead of ajp13 or something else?

Also, what exact URL are you trying to access?  What URL is not working?


From your httpd.conf, the only possible URL that would work, aside from

  

 

the


   

examples, the manager app, and the admin app, is:

http://localhost/j_tools/servlet/HelloWorld 

and

http://localhost/j_tools/some.jsp

Are those what you are trying?

John


-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 25, 2002 6:22 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer

Denise:

Other than path names, the major differences between your set up and 
mine is that you use SSL, and I don't, and you have a lot more modules 
loaded than I do (in addition to mod_jk).  But I don't see those 
differences as having anything to do with why yours works and mine 
doesn't.  For one thing, this installation of Apache is on my 
development workstation, and I just installed it to test the tomcat 
connection.  So, it doesn't need to be a fully functional web server. 
At least, not yet.  

Also, I removed the comments from my conf file so I can find things :)

I have tried it both ways---with 

Re: mod_jk---still trying, getting closer

2002-12-26 Thread Jerry Ford
mod_jk.so

Justin L. Spies wrote:


Jerry,
Just to clarify, are you using the mod_jk.so or mod_jk2.so?

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 

-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and the

httpd.conf and server.xml statements are the same as the statements in 
the configurations several other people here have provided as examples, 
I think.  I have also tried to follow John Turner's suggested 
confuguration statements.  

I've tried just about every combination of configurations that have been

suggested. It's possible that by now I have mixed up different people's 
advice, but I don't know what needs to be changed.  

I don't know why JK2 is in there, other than the coyote packages that 
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking like my only hope of 
getting Tomcat and Apache to work together.

Jerry

Jerry

Milt Epstein wrote:

 

On Wed, 25 Dec 2002, Jerry Ford wrote:



   

John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's 
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.
  

 

One things I don't understand, it seems like you have JK2 running on 
the Tomcat side, but you refer to workers.properties, which is a JK 
file, JK2 doesn't use it, I don't believe.  Could that be related to 
the problem?




   

As noted in earlier e-mails, I can get the Tomcat example servlets to 
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page http://localhost:8080 opens
 


 

Tomcat's index page, and servlets work 
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121 
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr
operties
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 11:26:18 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 11:26:18 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 11:26:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/277
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr
 

operties
 

But the Apache error log says Apache cannot open the workers file, 
even though the path specified is correct and permissions to the file 
are
-rw-rw-r-- and to all directories drwxrwxr-x:

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error
 


 

while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [error] (2)No such file or directory: Error
 


 

while opening the workers, jk will not work

[Wed Dec 25 15:14:36 2002] [notice] Apache/1.3.27 (Unix) mod_jk/1.2.0 
configured -- resuming normal operations [Wed Dec 25 15:14:36 2002] 
[notice] Accept mutex: sysvsem (Default: sysvsem)
  

 

[ ... ]

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES) 
University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED]


--
To unsubscribe, e-mail:
   

mailto:[EMAIL PROTECTED]
 

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


   



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

 



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




Yes!!! It works!!! (was: Re: mod_jk---still trying, getting closer)

2002-12-26 Thread Jerry Ford
Justin, I owe you a beer...

I removed the two listener statements that you commented out in my  
server.xml file and now servlets work from Apache without a port setting.  

Thank you thank you thank you.  

(And thanks to everyone else who put up with my whining over the past 
few days and offered help---especially Denise, John, and Jeff :)

(BTW, it's academic now, but, yes, on my box tomcat is a symbolic link 
to jakarta-tomcat-4.1.12-LE-jdk14.)

Jerry

Justin L. Spies wrote:

Jerry,
I've updated and simplified the configuration files that you supplied
previously.  Any changes I made are denoted by the following:
 NOTE NOTE NOTE NOTE

These changes cause your system to have the same config that I first
used to get my system working.  I'm not sure about your directory
structure and whether or not you have symlinks setup, however I did
notice that in some of the configuration files you were using two
different directories that should point to the same directories.  Here
is an example from httpd.conf:

You had the following for the JkWorkersFile:
JkWorkersFile
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk/workers.pro
perties

But just below that you had the following apache directive:
   Directory /usr/local/webserver/tomcat/webapps/examples

These should be the same directory above the /conf directory and above
the /webapps directory.  On my system, I have tomcat installed in
/var/tomcat4, so I have the following directives:

JkWorkersFile /var/tomcat4/conf/jk/workers.properties
 --  and  --
   Directory /var/tomcat4/webapps/examples


See how they are the same first two?  /conf and /webapps should be a
subdirectory of /tomcat4 (in my case) or /tomcat (in your case), unless
you have a symlink (in your case) from
/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14 to
/usr/local/webserver/tomcat.  Does that make sense, or did I just
completely confuse everyone?

Jerry, when you restart Apache and Tomcat, could you send us copies of
the apache error log and the tomcat catalina.out files?  Also, if you
could confirm the directory structure, that would be a big help.

Sincerely,
Pantek Incorporated
Justin L. Spies

URI: http://www.pantek.com
Ph   440.519.1802
Fax  440.248.5274
Cell 440.336.3317 




-Original Message-
From: Jerry Ford [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 2:00 PM
To: Tomcat Users List
Subject: Re: mod_jk---still trying, getting closer


I use the mod_jk binary obtained from John Turner's how-to page, and the

httpd.conf and server.xml statements are the same as the statements in 
the configurations several other people here have provided as examples, 
I think.  I have also tried to follow John Turner's suggested 
confuguration statements.  

I've tried just about every combination of configurations that have been

suggested. It's possible that by now I have mixed up different people's 
advice, but I don't know what needs to be changed.  

I don't know why JK2 is in there, other than the coyote packages that 
are referenced in sever.xml.  But if I don't use those, what do I use?

I'm beginning to think mod_webapp.so is looking like my only hope of 
getting Tomcat and Apache to work together.

Jerry

Jerry

Milt Epstein wrote:

 

On Wed, 25 Dec 2002, Jerry Ford wrote:



   

John:

Sorry, I had changed ajp13 to worker1 in trying to emulate Denise's 
working setup, but that didn't do any good so I changed it back and 
inadvertently put the dot in. But it doesn't matter, it doesn't work 
either way.
  

 

One things I don't understand, it seems like you have JK2 running on 
the Tomcat side, but you refer to workers.properties, which is a JK 
file, JK2 doesn't use it, I don't believe.  Could that be related to 
the problem?




   

As noted in earlier e-mails, I can get the Tomcat example servlets to 
work, as well as my own j_tools HelloWorld, when I specify port 8080, 
but not through Apache:

http://localhost opens Apache's index page http://localhost:8080 opens
 


 

Tomcat's index page, and servlets work 
http://localhost/examples/servlets opens the servlets index page, but 
servlets don't work

Catalina.out in Tomcat's logs directory says mod_jk is running:

Dec 25, 2002 8:50:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12-LE-jdk14
Dec 25, 2002 8:50:57 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Dec 25, 2002 8:50:57 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Dec 25, 2002 8:50:57 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/121 
config=/usr/local/webserver/jakarta-tomcat-4.1.12-LE-jdk14/conf/jk2.pr
operties
Stopping service Tomcat-Standalone
Dec 25, 2002 11:26:13 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache 

RE: So lost and confused

2002-12-26 Thread Paresh Varatkar


-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:47 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


what errors appeared in your error.log file for apache?


with them uncommented you might also might want to try running from the
command prompt
in the directory C:\Apache\bin\apachectl configtest
or wherever the bin directory is for your server
this will tell also give you the errors in to http.conf




-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:35 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, I placed the lines below and now Apache won't start.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--actual path to where
I placed the workers.properties file.
#JkLogFile C:/Apache/apache/logs/mod_jk.log--actual path to where the
log files will and should be created.
#JkLogLevel info--?

#JkMount /examples/* ajp13--?

I commented them out and Apache runs fine.

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 maxProcessors=75
   acceptCount=10 debug=0/


-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 

RE:

2002-12-26 Thread Paresh Varatkar





 Hi,
 I was able to use iis 5 and Tomcat 324 together for some time.
 Suddenly it stopped working. I am sure this is not problem with port.
 Below is IIS log I get and redirection looks correct.
 But Tomcat seems to transfer it correctly to gf folder.
 Thanks
 Paresh
 
 #Software: Microsoft Internet Information Services 5.0
 #Version: 1.0
 #Date: 2002-12-26 19:33:51
 #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query 
sc-status cs(User-Agent) 
 2002-12-26 19:33:51 10.32.32.57 - 10.32.32.57 80 GET /jakarta/isapi_redirect.dll - 
200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
 #Software: Microsoft Internet Information Services 5.0
 #Version: 1.0
 #Date: 2002-12-26 19:54:47
 #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query 
sc-status cs(User-Agent) 
 2002-12-26 19:54:47 10.32.32.57 - 10.32.32.57 80 GET /jakarta/isapi_redirect.dll - 
200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
 2002-12-26 20:07:43 10.32.32.57 - 10.32.32.57 80 GET /jakarta/isapi_redirect.dll - 
200 Mozilla/4.0+(compatible;+MSIE+5.01;+Windows+NT+5.0)
 
  Tomcat Window
  Starting tomcat. Check logs/tomcat.log for error messages
2002-12-26 12:32:08 - ContextManager: Adding context Ctx( /examples )
2002-12-26 12:32:08 - ContextManager: Adding context Ctx( /admin )
2002-12-26 12:32:08 - ContextManager: Adding context Ctx( /gf )
2002-12-26 12:32:08 - ContextManager: Adding context Ctx(  )
2002-12-26 12:32:08 - ContextManager: Adding context Ctx( /test )
Instantiating singleton Archway object
[main 12:32:14] Archway home path: c:\Tomcat\webapps\gf/
Archway home path: c:\Tomcat\webapps\gf/
[main 12:32:14] Using application preferences in 
c:\Tomcat\webapps\gf/bin/archwa
y.ini
Executing Archway with detailed DEBUG logs
Initializing Archway servlet build number Get.It! 1.3.1, Build 200011170740
Registering adapters
Starting background processes
Warning: Script polling routines have been disabled
Starting file change monitor
Starting Currency script generator
Calling notify
Archway initialization complete
2002-12-26 12:32:15 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2002-12-26 12:32:15 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
2002-12-26 12:32:31 - Ctx(  ): 404 R(  + /jakarta/isapi_redirect.dll + null) 
nul
l

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




Building jakarta-tomcat-connectors-jk-1.2.2-src

2002-12-26 Thread Hans Deragon
Greetings.


 I get the following error when I try to build 
jakarta-tomcat-connectors-jk-1.2.2-src

--
Buildfile: build.xml

BUILD FAILED

/perm/web/jakarta-tomcat-connectors-jk-1.2.2-src/jk/build.xml:383: Class 
org.apache.tools.ant.taskdefs.condition.Not doesn't support the nested 
isset element.

Total time: 3 seconds
--

BTW, the configuration file asks where apache is installed... What 
should I provide, when it is the official RPM from RedHat I use? The bin 
directory?

Anybody has mod_jk binary for RedHat' s Apache 2.0.40?  When I try the 
binary for 2.0.42 I downloaded (could not find the binary for 2.0.40), I 
get the message:

--
Starting httpd: httpd: module mod_jk.c is not compatible with this 
version of Apache.
Please contact the vendor for the correct version.
--



Sigh... it would be so much simpler if RedHat would package Tomcat with 
their distribution...


Sincerely,
Hans Deragon

P.S.  Thanks to Jeffrey Peloquin for some pointers.
||


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



RE: So lost and confused

2002-12-26 Thread Gman
I tried it again with the lines uncommented and it showed no errors in
the logs. And I don't have the commands in the bin folder.

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:47 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


what errors appeared in your error.log file for apache?


with them uncommented you might also might want to try running from the
command prompt in the directory C:\Apache\bin\apachectl configtest or
wherever the bin directory is for your server this will tell also give
you the errors in to http.conf




-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:35 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, I placed the lines below and now Apache won't start.

# Configure mod_jk
#
#JkWorkersFile C:/Apache/conf/workers.properties--actual path to where
I placed the workers.properties file. #JkLogFile
C:/Apache/apache/logs/mod_jk.log--actual path to where the log files
will and should be created. #JkLogLevel info--?

#JkMount /examples/* ajp13--?

I commented them out and Apache runs fine.

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 1:13 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


place the attached workers.properties in your conf directory of apache

add these lines to your http.conf if they are not there already

# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13


make sure you can restart apache after you do that

once apache is able to start we will configure tomcat

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 2:00 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok Jeffrey, No that worked I have Apache up and running now. Whets next
sir?

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 12:45 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


try one of the files from
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1
.2.1
/bin/win32/
like mod_jk-2.0.43.dll

This should ensure that you get a jk and not a jk2 file.  While jk2
should work I have never configured the tomcat side for jk2 use.

-Original Message-
From: Gman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 26, 2002 1:33 PM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


Ok I am doing this in steps so if it does not work I won't be more
confused. I have added the following line only to my http.conf

LoadModule jk2_module modules/mod_jk2-2.0.43.dll---this is the file I
download from http://www.johnturner.com/howto/apache-tomcat-howto.html
should I try another one? Or what should I do next? Sorry to be a
pain;o

George Flatman
-Original Message-
From: PELOQUIN,JEFFREY (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 26, 2002 11:12 AM
To: 'Tomcat Users List'
Subject: RE: So lost and confused


I would grab the one for 4.1.10.  The question marks most likely refer
to a question as to the version of apache it was compiled against.

You will only get Tomcat\conf\jk\mod_jk.conf-auto, if you configure
tomcat to generate it for you.  Let us not worry about that for the
moment

so for mod_jk.dll

for your http.conf you should have something like this
# Load mod_jk
#
LoadModule jk_module modules/name of downloaded file

# Configure mod_jk
#
JkWorkersFile path/to/apache/conf/workers.properties
JkLogFile path/to/apache/logs/mod_jk.log
JkLogLevel info

JkMount /examples/* ajp13

I like the files local to apache rather than tomcat but they can go
anywhere

place the attached workers.properties in path/to/apache/conf/ change 

I set worker.ajp13.port=8009, which is the default and it matches what i
have in the server.xml below

I commented out my lines for these two but you may need them, they are
sometimes optional.  If you need them change the path to point to your
java and tomcat installations

worker.tomcat_home=/opt_apps/jakarta-tomcat-4.1.18 to point to the root
of your tomcat install worker.java_home=/opt/java1.3 to where your java
is


in your server.xml
you need

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8009 minProcessors=5 maxProcessors=75
   enableLookups=false redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false
 
protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

or

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8009 minProcessors=5 

Re: Security Configuration in WEB.XML

2002-12-26 Thread Gary Gwin
Lior,

It looks like you have short-circuited Tomcat's security model and 
created your own. We have a Tomcat Security Overview and Analysis that 
might be of help at:

   http://www.cafesoft.com/products/cams/tomcat-security.html

You might also reference the security section of the the servlet JSR:

   http://www.jcp.org/aboutJava/communityprocess/first/jsr053/

Gary

Lior Shliechkorn wrote:

Hello,

I'm a bit confused about the whole security implementation in Tomcat. I'm using a webapp that has a Login.html page that posts information to a servlet that queries a database to authenticate the user. The values are then set into a bean, and each page checks the existance of the bean in order to enter that page.

If I want to add additional security, what would I do in the WEB.XML page in order to have it secured by tomcat? 

Thanks,

Lior



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
 


--

Gary Gwin
http://www.cafesoft.com

*
*   *
*   The Cafesoft Access Management System, Cams, is security*
*   software that provides single sign-on authentication and*
*   centralized access control for Apache, Tomcat, and custom   *
*   resources.  *
*   *
*



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




localhost-solved

2002-12-26 Thread Tomislav Miladinovic
Hi All,

I posted yesterday my problem with http://localhost:8080 browsing/address resolution. 
Simply if I used address name 
it didn't work (HTTP 500 error) if I used dot notation address it worked.
Problem was improper proxy server settings. After I updated IE
(VER. 6) I still used port 80 for the HTTP and FTP proxy connection but ver 6 works 
with port 2008.
Thanks to everybody for  encouragement  and good suggestions to solve this.

Tomislav


Tomcat 4.1.18 jspc problem.

2002-12-26 Thread Alexey Kozadaev
Hello everyone,

I'm experiencing a problem with jspc. It always returns
NullPointerException, no matter what .jsp file I compile. Although it works
thru ?jsp_precompile, unfortunately we have a very big web site where plenty
of jsp files and they are have certain, complex structured layout in
filesystem, so I think writing a script, that would connect to tomcat with
?jsp_precompile would not be a good idea.

I am using FreeBSD 4.6, Tomcat 4.1.18, j2sdk_1.4.1_01 on linux base.

Does anyone know is there still a way to work with jspc or jasper jspc on my
system???


==
UNIX is like a wighwam - No Gates, No Windows and Apache inside




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