You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andrew Leeb <le...@mekons.com> on 2003/04/06 23:18:09 UTC

Marking servlet org.apache.catalina.INVOKER.ImageRender as unavailable

Hi all

I'm having some difficulty understanding why I'm getting this error in
the logs:

StandardWrapper[:org.apache.catalina.INVOKER.ImageRender]: Marking
servlet org.apache.catalina.INVOKER.ImageRender as unavailable
2003-04-06 16:45:00 invoker: Cannot allocate servlet instance for path
/servlet/ImageRender
javax.servlet.ServletException: Wrapper cannot find servlet class
ImageRender or a class it depends on

Problem in brief: Servlet works when called directly i.e. in a URL, but
not when called from a JSP page.

Overview of the system: a very simple photo album. Images are stored as
binary data in a database. A serlvet, ImageRender, gets the binary data
from the database. A JSP page calls the servlet, ImageRender, from
within an img src tag. If I call the servlet directly, the image
displays. However, when I call it from the JSP page, it will not
display. 

Calling ImageRender from the JSP page worked yesterday, then stopped
working today.

I have searched archives concerning this and not found anything helpful.
Any suggestions would be greatly appreciated.

Thanks,

-andy



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


Re: Marking servlet org.apache.catalina.INVOKER.ImageRender as unavailable

Posted by JS <sm...@dcs.kcl.ac.uk>.
Hi Andrew,
Sorry to email u directlt on this, but I was wondering if you managed to
find a solution to your problem. I have just encountered the same thing
and think it has something to do with errors in my web.xml file.
Ive just posted a message to tomcat-user and "fingers crossed".
Would appreciate it if you had any advice.

Regards & Thanks
JS

> Hi all
>
> I'm having some difficulty understanding why I'm getting this error in
> the logs:
>
> StandardWrapper[:org.apache.catalina.INVOKER.ImageRender]: Marking
> servlet org.apache.catalina.INVOKER.ImageRender as unavailable
> 2003-04-06 16:45:00 invoker: Cannot allocate servlet instance for path
> /servlet/ImageRender
> javax.servlet.ServletException: Wrapper cannot find servlet class
> ImageRender or a class it depends on
>
> Problem in brief: Servlet works when called directly i.e. in a URL, but
> not when called from a JSP page.
>
> Overview of the system: a very simple photo album. Images are stored as
> binary data in a database. A serlvet, ImageRender, gets the binary data
> from the database. A JSP page calls the servlet, ImageRender, from
> within an img src tag. If I call the servlet directly, the image
> displays. However, when I call it from the JSP page, it will not
> display.
>
> Calling ImageRender from the JSP page worked yesterday, then stopped
> working today.
>
> I have searched archives concerning this and not found anything
> helpful. Any suggestions would be greatly appreciated.
>
> Thanks,
>
> -andy
>
>
>
> ---------------------------------------------------------------------
> 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