wood burning stoves 2.0*
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat error" Watch "Tomcat error" New topic
Author

Tomcat error

Bobby Boehm
Greenhorn

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

type Exception report

message

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

exception

javax.servlet.ServletException: Cannot allocate servlet instance for path /servlet/coreservlets.ProductsPage
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:380)
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:134)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

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
Marshal

Joined: Jan 10, 2002
Posts: 61449
    
  67

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Tomcat error