RE: can't get tomcat 5 to work

2004-02-27 Thread Shapira, Yoav

Howdy,

What I really want is more error messages, so I can figure out what is
going wrong with my webapps.

- Take out all the elements from your Context tag e.g. the
FileDirContext, and add the attribute debug=99.
- Set debug=99 for the Host, Engine.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: can't get tomcat 5 to work

2004-02-26 Thread Oswald Campesato
Hello, Joseph:
 
Perhaps you can try starting with startup.bat debug and/or copying
some JSPs into webapps\ROOT or webapps\jsp-examples to see if
the problem occurs.
 
Oswald


Joseph Shraibman [EMAIL PROTECTED] wrote:
I set up tomcat 5 but when I try to view a jsp or servlet all I get is a 
blank page and these unhelpful messages in catalina.out:

Feb 27, 2004 12:01:26 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Feb 27, 2004 12:01:27 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Feb 27, 2004 12:01:28 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Feb 27, 2004 12:01:29 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request


The tomcat examples work, but my own webapps do not. Any ideas?

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


-
Do you Yahoo!?
Get better spam protection with Yahoo! Mail

Re: can't get tomcat 5 to work

2004-02-26 Thread Bill Barker
You can get rid of the messages by setting:
  request.registerRequests=false
in your jk2.properties file.  However the error itself is harmless.

Joseph Shraibman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I set up tomcat 5 but when I try to view a jsp or servlet all I get is a
 blank page and these unhelpful messages in catalina.out:

 Feb 27, 2004 12:01:26 AM org.apache.jk.common.HandlerRequest decodeRequest
 WARNING: Error registering request
 Feb 27, 2004 12:01:27 AM org.apache.jk.common.HandlerRequest decodeRequest
 WARNING: Error registering request
 Feb 27, 2004 12:01:28 AM org.apache.jk.common.HandlerRequest decodeRequest
 WARNING: Error registering request
 Feb 27, 2004 12:01:29 AM org.apache.jk.common.HandlerRequest decodeRequest
 WARNING: Error registering request


 The tomcat examples work, but my own webapps do not.  Any ideas?




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



Re: can't get tomcat 5 to work

2004-02-26 Thread Joseph Shraibman
What I really want is more error messages, so I can figure out what is 
going wrong with my webapps.

Bill Barker wrote:
You can get rid of the messages by setting:
  request.registerRequests=false
in your jk2.properties file.  However the error itself is harmless.
Joseph Shraibman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I set up tomcat 5 but when I try to view a jsp or servlet all I get is a
blank page and these unhelpful messages in catalina.out:
Feb 27, 2004 12:01:26 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Feb 27, 2004 12:01:27 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Feb 27, 2004 12:01:28 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Feb 27, 2004 12:01:29 AM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
The tomcat examples work, but my own webapps do not.  Any ideas?




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


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


Re: can't get tomcat 5 to work

2004-02-26 Thread Joseph Shraibman
Oswald Campesato wrote:
Hello, Joseph:
 
Perhaps you can try starting with startup.bat debug and/or copying
some JSPs into webapps\ROOT or webapps\jsp-examples to see if
the problem occurs.
 
starting with startup.sh -debug doesn't produce any good error messages.

Copying my webapp to the tomcat/webapp-name/ROOT does work (for the jsps 
anyway) but that isn't what I want.

In tomcat 4.1.18 I had this in my tomcat/webapp-name/default.xml:

Context path= docBase=/local/webapps/name
debug=9
  Resources className=org.apache.naming.resources.FileDirContext
 allowLinking=true docBase= /
/Context

... why isn't this working with tomcat 5?

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