I could be wrong, but it appeared that when the Servlet was flagged
as unavailable, that THAT would cause a series of other problems
which the stackTrace() showed, not what actually caused it to
be flagged as unavailable.

If you're right, that it was flagged outside of Tomcat, than there
isn't anything more to show about the problem, but this:

Mar 4, 2007 12:11:22 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet ClientWMIClassesServlet as unavailable

seemed to say that catalina flagged it, at least that's what I
thought..

I tried switching from compiling with jikes to going back to
javac, deleting and reinstalling Java and several other things.
It wasn't an easy thing to
"fix".  Whatever it didn't like is commented out, and I still
have to resolve that.


Thanks,

Joe Siebenmann

------------------------------------------------------------------

Your logs stated:

SEVERE: Allocate exception for servlet ClientWMIClassesServlet
java.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)


I am not sure what additionnal informations you would like tomcat to
provide. This error occured while creating an instance of servlet. This
exception comes from the inside of java.lang over which tomcat has no
control. Apart from the exception message it showed you in stdout,
tomcat has no more informations to provide you with.

Side note,
Subclasses of |LinkageError| indicate that a class has some dependency
on another class; however, the latter class has incompatibly changed
after the compilation of the former class.

It could be in your case your compiler got crazy, your .class got
truncated or altered during transfert. Probably just a clean and rebuild
is enough to solve it.

--------------------------------------------------------------------

Mar 4, 2007 12:11:22 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet ClientWMIClassesServlet as unavailable
Mar 4, 2007 12:11:22 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Allocate exception for servlet ClientWMIClassesServlet
java.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)






_______________________________________________
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]

Reply via email to