GeeCON Prague 2014*
The moose likes Servlets and the fly likes JSSI problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "JSSI problems" Watch "JSSI problems" New topic
Author

JSSI problems

Joe Wolf
Ranch Hand

Joined: Jul 05, 2001
Posts: 42
I have "successfully" installed JSSI support of my web server. If the <SERVLET> is the very first tag of the file, the servlet will be called. However, if <SERVLET> is after <HTML> then I will get an error in the .jhtml file that says:
<!-- ERROR: ------------
java.lang.ClassNotFoundException: can't find servlet named "Hello"
at org.apache.servlet.ssi.ServletInfoRequest.runServlet(ServletTagHandler.java, Compiled Code)
at org.apache.servlet.ssi.ServletTagHandler.executeTag(ServletTagHandler.java, Compiled Code)
at org.apache.servlet.ssi.PageParser.interpretPage(PageParser.java, Compiled Code)
at org.apache.servlet.ssi.PageParser.process(PageParser.java, Compiled Code)
at org.apache.servlet.ssi.PageParserServlet.doGet(PageParserServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
-->
The thing that bothers me, though, is that it worked before, and I'm not sure what I could have done to cause it to stop working. I didn't move any class files, I didn't change any configurations. The only thing I can think of is that I was doing a lot of servlet testing which, in turn, caused ERROR's and EMERGENCIES in mod_jserv.log. Does anyone have ideas on how I can get everything working properly?
Joe Wolf
Ranch Hand

Joined: Jul 05, 2001
Posts: 42
Actually, now even the <SERVLET> line at the beginning of the file is not even working.
 
GeeCON Prague 2014
 
subject: JSSI problems