You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joseph Shraibman <jk...@selectacast.net> on 2004/02/27 06:09:15 UTC

can't get tomcat 5 to work

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: can't get tomcat 5 to work

Posted by Joseph Shraibman <jk...@selectacast.net>.
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" <jk...@selectacast.net> wrote in message
> news:403ED0FB.8090408@selectacast.net...
> 
>>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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: can't get tomcat 5 to work

Posted by Bill Barker <wb...@wilshire.com>.
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" <jk...@selectacast.net> wrote in message
news:403ED0FB.8090408@selectacast.net...
> 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: can't get tomcat 5 to work

Posted by Joseph Shraibman <jk...@selectacast.net>.
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: can't get tomcat 5 to work

Posted by Oswald Campesato <oc...@yahoo.com>.
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 <jk...@selectacast.net> 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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