Hi All, I was at least able to get the Servlet that was "unavailable" to finally show up. This has been one of the most frustrating things I've come across.. :-\
I figured that something was happening in the Servlet before the Servlet that was being flagged as "unavailable", so I commented out most of the code in that Servlet, and stripped it down to a bare minimum. The Servlet that was formally "unavailable" finally showed up. :-) So at least I can keep on developing, and later I'll have to go back and slowly add back piece by piece until it hits whatever it "didn't like" to flag it as "unavailable". It would be nice if there was some better information available as to what it "didn't like" for it to flag it as "unavailable". Nothing of any value was in any of the log files. Thanks, Joe Siebenmann --- On Sun 03/04, Joe Siebenmann < [EMAIL PROTECTED] > wrote: From: Joe Siebenmann [mailto: [EMAIL PROTECTED] To: users@tomcat.apache.org Date: Sun, 4 Mar 2007 09:58:49 -0500 (EST) Subject: Marking servlet ... as unavailable Hi All,I've hit this problem and my development has come to ascreeching halt. :-\I'm using Tomcat 5.5.17 with a JDK/JRE of 1.5.0_11on a Windows XP Pro SP2 system.In my Servlets I use:RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/servlet/BlahServlet");if ( dispatcher != null ) dispatcher.forward(req, res);to "transfer control" from one Servlet to the next, and afterseveral of these it finally gets this Exception when it getsto the doGet() of the next Servlet:Mar 4, 2007 9:19:04 AM org.apache.catalina.core.ApplicationContext logINFO: Marking servlet ClientWMIClassesServlet as unavailableMar 4, 2007 9:19:04 AM org.apache.catalina.core.ApplicationDispatcher invokeSEVERE: Allocate exception for servlet ClientWMIClassesServletjava.lang.VerifyError: (class: com/jps/NetMgt/ClientWMIClassesServlet, method: doGet signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Incompatible argument to function at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1055) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:641) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.jps.NetMgt.ClientWMIServlet.doGet(Unknown Source) at com.jps.NetMgt.ClientWMIServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) There aren't any typos, and I've already deleted every JDK and JREon my system and only reinstalled JDK 1.5.0_11, so that therewould be no possible problems of the "compile JVM" being differentthan the JVM Tomcat was running, or any CLASSPATH issues, butI keep getting the Exception. I've also carefully gone oversetclasspath.bat, catalina.bat and service.bat files making surethe paths to Java and JRE, and the CLASSPATHs are correct.I also made sure that the final "RequestDispatcher dispatcher"Object, was valid before I did the forward(). Why is the Servlet being "Marked as unavailable"???If anyone has ideas on what I can try to fix thisI'd really appreciate hearing it.Thanks,Joe Siebenmann _______________________________________________Join Excite! - http://www.excite.comThe most personalized portal on the Web!---------------------------------------------------------------------To start a new topic, e-mail: [EMAIL PROTECTED] unsubscribe, e-mail: [EMAIL PROTECTED] additional commands, e-mail: [EMAIL PROTECTED] _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]