----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Check if the http request has a "%" sign in one of the parameters. I have
had to use an applet on the client to encode http requests IF they are
generated within JavaScript

e.g.

        var s = "a % sign";
        self.location="/servlets/........field=s";

This causes a servlet exception every time!

Rob


----- Original Message -----
From: "Duane M. Gran" <[EMAIL PROTECTED]>
To: "Java Apache Users" <[EMAIL PROTECTED]>
Sent: Sunday, May 07, 2000 4:39 PM
Subject: Re: ArrayIndexOutOfBoundsException in apache log


> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> > I am getting the following error in my Apache log (only a apache
> > webserver restart seems to work):
> > Exception while handling uncaught exception
> > Exception in thread "Thread-1" java.lang.ArrayIndexOutOfBoundsException
> > Stack trace failed with exception:
> > java.lang.ArrayIndexOutOfBoundsException
> >
> > My questions are:
> >
> > 1) Is this a bug with one of our servlets that's causing this problem?
>
> yes.
>
> > or
> >
> > 2) If so, what are we doing wrong?
> >
>
> Some servlet is misbehaving.  I have had thi problem before.  On my system
> I have my wrapper.bin set to the following:
>
> wrapper.bin.parameters=-Xms128m -Xmx256m -Xss500k -Xoss1m
>
> This is on a system with 256mb, Solaris 2.7.  After making this change I
> haven't gotten the error for 5 days.  I also wrote a script to detect teh
> error and restart.  I documented in the new FAQ under a question about
> monitoring scripts.
>
>   http://locus.apache.org/jyve-faq/Turbine
>
> Duane Gran
> ---
> Senior Webmaster    - Unix Administrator
> SpinWeb Net Designs - Advanced Web Development & Hosting
> (202) 427-8044      - http://www.spinweb.net
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]
>
>
>




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to