----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hi,
I think I found why my new Servlet was crashing. The new servlet contains
much more elaborate code and therefore much more methods and variables.
If I remove part of that code, it will run. However, I cannot instanciate
big objects in the init of the servlet, this will only work in service.
I still don't understand why?????????
Is there some kind of limit on the size of the objects a servlet can use or
on the size of the servlet itself ????????????/
Is anyone running big servlets without any problem ??
Any explanation or idea is welcome. This is driving me mad!!
Jerome
Jerome Benezech wrote:
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Hi all,
>
> I am running Stronhold 3 with jserv 1.1.2 on Linux.
> I compiled jserv with stronghold, everything seemed to work fine, the
> Hello and IsItWorking examples are working great.
> I then setup the configuration for another servlet and got a Internal
> Server Error each time I tried to connect to it with the following lines
> in the mod_jserv.log:
>
> (EMERGENCY) ajp12[1]: cannot scan servlet headers (500)
> (ERROR) an error returned handling request via protocol "ajpv12"
>
> I went through the FAQ, and tried every suggestion. Finally, I got my
> servlet running by changing the AppJservMount from /myContext to
> ajpv12://localhost:8007/myContext.
>
> The code of the servlet has changed since then, but not the
> configuration files, and I am getting the same error again.
>
> I can't find any detailed explanation of this problem in the FAQs and
> can't think of any workaround either.
>
> Has anyone had this problem before ? Where does it come from ? How did
> you fix it ?
>
> Thanks for your help,
>
> Jerome Benezech
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]