Error While Opening the workers - ???

2001-03-09 Thread Simmons, Donald

to all,

I am receiving an error during Apache startup "No such file or directory: Error while 
opening the workers" and Apache fails to start. It is definitely a tomcat error of
some kind. If i remove the tomcat includes and mod_jk.so reference from the 
httpd.conf, the server starts just fine. I have placed debugging code in the mod_jk.c 
source where the error message is generated and it appears that a structure variable 
conf->log is null. Can anyone tell me where this value is set? I can't seem to trace 
it back to any particular entry. The configuration was running just fine and then the 
error appeared. Any ideas? Thanks.

dj



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




RE: Mod_jk error

2001-03-07 Thread Simmons, Donald

Greyson,

I went in and modified the mod_jk.c code to spit out some values when this error is 
generated. It appears that it is looking for some log file. I thought it might be 
mod_jk.log, but that exists and in the correct location. There are 3 possible errors 
that generate this error condition, conf->log file not existing (is there another log 
file somewhere), conf->workersproperties file which exists, and an error allocating 
memory for the initialization map. When I print out the error messages the conf->log 
file is null which generates the error. Is there a configuration log file that I might 
be missing?

dj



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 11:42 AM
To: [EMAIL PROTECTED]
Subject: RE: Mod_jk error



When I had this problem it was caused by how my localhost was defined, so
this line:

worker.ajp12.host=localhost

was apparently causing me problems.  I fixed my localhost, and the error
has gone away.



   
  
    "Simmons,  
  
    Donald"  To: [EMAIL PROTECTED]
  
  Subject: RE: Mod_jk error 
  
   
  
07-03-01   
  
07:33 AM   
  
Please 
  
respond to 
  
tomcat-user
  
   
  
   
  





The workers.properties files appears to be correct. I may have to modify
the source of the mod_jk file and recompile to find out what file it is
looking for. A more descriptive message would help. Any other suggestions.
thanks!!

dj




--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.



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

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




RE: Mod_jk error

2001-03-07 Thread Simmons, Donald

The workers.properties files appears to be correct. I may have to modify the source of 
the mod_jk file and recompile to find out what file it is looking for. A more 
descriptive message would help. Any other suggestions. thanks!!

dj



-Original Message-
From: BENARD Christophe, DDE 34/SG
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 8:19 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Mod_jk error


Have a look at this line in your workers.properties file

# workers.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
workers.tomcat_home=/usr/local/tomcat-3.2.1

# example for win* :
#workers.tomcat_home=D:\Tomcat-3.2.1

-Message d'origine-----
De: Simmons, Donald [mailto:[EMAIL PROTECTED]]
Date: mercredi 7 mars 2001 15:14
À: [EMAIL PROTECTED]
Objet: Mod_jk error


I am getting an error message when starting apache - No such file or
directory: Error while opening the workers
The message is being issued from mod_jk.so. Has anyone seen this problem and
if so what is the resolution. I am running Apache and Tomcat on Red Hat 6.2
LINUX. Thanks much.

dj

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

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

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




Mod_jk error

2001-03-07 Thread Simmons, Donald

I am getting an error message when starting apache - No such file or directory: Error 
while opening the workers
The message is being issued from mod_jk.so. Has anyone seen this problem and if so 
what is the resolution. I am running Apache and Tomcat on Red Hat 6.2 LINUX. Thanks 
much.

dj

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




Worker Error

2001-03-06 Thread Simmons, Donald

I am getting an error during startup of Apache - No such file or directory: Error 
while opening the workers. Has anyone else had this problem. Any thoughts or help? 
Thanks.

Joe


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




RE: ACTION= invoking servlets

2001-01-31 Thread Simmons, Donald

Mike,

that's what I ended up doing and I found some problems in the code. Thanks for you help

-Original Message-
From: Michael Wentzel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 7:48 AM
To: '[EMAIL PROTECTED]'
Subject: RE: ACTION= invoking servlets


> I am trying to invoke a servlet from a form via POST and 
> action= however the servlet never runs and I don't see any 
> error messages. The URL appears correct in the browser when I 
> invoke it, however nothing happens. Any thoughts? Any help 
> would be appreciated. Thanks.

Put in some debugging output, or breakpoints if you have
debugging capabilities, and step through the servlet to make
sure:
  A. Your servlet is getting called
  B. Your servlet doPost() method is getting called
  C. Your servlet doPost() method is exiting normally
  D. If something is happening in doPost() what is the code
   that is raising a exception.

If you can't figure out the problem from this.  Post more information
on what exactly is happening and your configuration(settings in
web.xml, tomcat ver, OS, webserver config[stand alone or w/ IIS/Apache,
etc...).


---
Michael Wentzel
Software Developer
http://www.aswethink.com">Software As We Think
mailto:[EMAIL PROTECTED]">Michael Wentzel

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

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




ACTION= invoking servlets

2001-01-31 Thread Simmons, Donald

to all,

I am trying to invoke a servlet from a form via POST and action= however the servlet 
never runs and I don't see any error messages. The URL appears correct in the browser 
when I invoke it, however nothing happens. Any thoughts? Any help would be 
appreciated. Thanks.

dj

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




RE: Configuring web.xml for HttpServlet

2001-01-26 Thread Simmons, Donald

Steve,

Are you calling other user defined classes from within your JSP pages. I seem to be 
having a consistency problem with Tomcat finding the classes. One minute the load and 
the next the server takes and internal error with a java.lang.UnsatisfiedLineError 
looking for the called class. Any thoughts? thanks

dj

-Original Message-
From: Stephen Bacon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 5:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Configuring web.xml for HttpServlet


At 02:46 PM 1/25/01 -0800, you wrote:
>You don't really need to mess with web.xml unless you are creating
>a "web application".
>
>If you are just trying to test your JSPs and servlets,
>you are probably running your JSP from webapps\Root.
>If that is the case, put your servlet class file in
>
>webapps\Root\Web-inf\classes

Hi again,
   actually, I am building a web-app. Lots of jsp and javabeans built so 
far and everything's good. It's just that now I want to add a servlet.
So I would like to access it via the context that my app is in.
But of course just to get it working I tried as you suggested, and I also 
tried to put it in the top level of my context's classes dir.
Either way no dice.
All I get is Error: 404 File not found (I would be overjoyed at anything 
indicating it found it)
I assume that I access it via "http://:8080/" (no extension), correct?
-Steve


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

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




Class locations

2001-01-26 Thread Simmons, Donald

can anyone tell me where tomcat searches for user classes. I am using both servlets 
and JSP pages but Tomcat cannot consistantly find the class files. This is bizarre!!! 
Any thoughts!

thanks

dj

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




RE: UTF8 Question

2000-12-14 Thread Simmons, Donald

Craig,

Yea, I downloaded jdk1.2.2 however I neglected to put the jdk in front of
the Kaffe bin directory in the PATH. Once I corrected that everything came
up fine. Thanks for the response.

Joe

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 14, 2000 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: UTF8 Question


"Simmons, Donald" wrote:

> I am running Red Hat 6.1 and just installed Tomcat 3.2.1. When I start
> tomcat I get an error message, UnsupporteEncodingException UTF8. Can
anyone
> offer any suggestions? Thanks.
>

Which JDK are you using?  If I remember right, the Kaffe virtual machine
that
comes with Red Hat 6.1 had problems like this.

You can get a nice JDK 1.2 or 1.3 for Linux from <http://java.sun.com/j2se>.

>
> Joe

Craig McClanahan




UTF8 Question

2000-12-14 Thread Simmons, Donald

I am running Red Hat 6.1 and just installed Tomcat 3.2.1. When I start
tomcat I get an error message, UnsupporteEncodingException UTF8. Can anyone
offer any suggestions? Thanks.

Joe