File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Tomcat error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat error" Watch "Tomcat error" New topic

Tomcat error

Bobby Boehm

Joined: Apr 26, 2008
Posts: 1
heres what i get from browser:
HTTP Status 500 -

type Exception report


description The server encountered an internal error () that prevented it from fulfilling this request.


javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/coreservlets.ProductsPage

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.14 logs.

heres my ProductsPage code:

[ April 26, 2008: Message edited by: Bobby Boehm ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Welcome to the Ranch. Here are a few tips:

Please be sure to use UBB code tags when posting code to the forums. Unformatted code is extermely hard to read and many people that might be able to help you will just move along. Please read this for more information.

You can go back and change your post to add code tags by clicking the .

Also, be sure to provide important details. For example, in your post you don't include how the servlet is being mapped. Are you using the Invoker (bad idea)?

Also, what's CatalogPage, the class that your class extends? We can only guess.

Please read this for more information.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Tomcat error
It's not a secret anymore!