tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adriano Monteiro <>
Subject Problems with servlets
Date Thu, 21 Apr 2005 13:30:58 GMT
Hi guys...

I was trying to run an application, and I've got the following message:

21/04/2005 10:06:33 org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet Auth as unavailable
21/04/2005 10:06:33 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet Auth
java.lang.IllegalAccessException: Class
org.apache.catalina.core.StandardWrapper can not access a member of
class Auth with modifiers ""
        at sun.reflect.Reflection.ensureMemberAccess(
        at java.lang.Class.newInstance0(
        at java.lang.Class.newInstance(
        at org.apache.catalina.core.StandardWrapper.loadServlet(
        at org.apache.catalina.core.StandardWrapper.allocate(
        at org.apache.catalina.core.StandardWrapperValve.invoke(
        at org.apache.catalina.core.StandardContextValve.invoke(
        at org.apache.catalina.core.StandardHostValve.invoke(
        at org.apache.catalina.valves.ErrorReportValve.invoke(
        at org.apache.catalina.core.StandardEngineValve.invoke(
        at org.apache.catalina.connector.CoyoteAdapter.service(
        at org.apache.coyote.http11.Http11Processor.process(
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(
        at org.apache.tomcat.util.threads.ThreadPool$
21/04/2005 10:08:45 org.apache.catalina.core.StandardWrapperValve invoke
INFO: Servlet Auth is currently unavailable

What could be the problem?
The Auth servlet is just a simple test that I'm making, here is its source code:

import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;

class Auth extends HttpServlet
	public void doGet (HttpServletRequest req, HttpServletResponse res) 
		throws ServletException, IOException
		String username = req.getParameter ("username");
		String password = req.getParameter ("password");

		PrintStream browser = new PrintStream (res.getOutputStream());

		browser.println ("<html>");
		browser.println ("<head><title>Ok...</title></head>");
		browser.println ("<body>USerName: " + username + "<br>Password: " +
password + "<br></body></html>");





Adriano Monteiro Marques

I'm FREE... Are you?
(PYTHON powered)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message