Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.jsp not finding org.gjt.jsp.JspServlet

Status
Not open for further replies.

ndog4ever

MIS
Feb 6, 2002
92
US
i am currently trying to get jsp files to be served properly by gnujsp, however i have been very lucky for the past couple of weeks. Whenever i try to pullup any .jsp file, it gives me error 404, and under my logs the error is error ajp12 Classnotfoundexception org.gjt.jsp.JspServlet. Any ideas, i have checked all my configs a dozen times and even reinstalled apache a half a dozen. Also, what exactly is org.gjt.jsp.JspServlet? Thanks for any help, because im lost and clueless at this point

Nate
 
org.gjt.jsp.JspServlet is the servlet that JServ uses to translate and compile JSP Pages into Servlets. Make sure you check the CLASSPATH for JServ and ensure it is consistent with what is in their documentation. I would really encourage you to move to a newer Web Container. JServ is years old, was never really good in the first place, and is no longer a supported project. You should look into both Tomcat @ and Resin @ Both Tomcat and Resin integrate nicely with Apache.
 
hey thanks for the help, now that i have it working on port 8080, im having problems getting it configured to use port 80 and work. also do u know if citrix nfuse will run with resin? thanks for the help so far.

nate

 
Resin or Tomcat should be listening on port 8080 (or whatever) and Apache should be listening on port 80. Any dynamic requests (read Servlets/JSP) should be proxied to the Resin or Tomcat instance. Read the documentation for the Web Container about how to integrate with Apache. Citrix Nfuse should work fine as long as it is on a port other than 80 or 8080.
 
Try using WebLogic.WebLogic is very effective and easy to use. Salih Sipahi
Software Engineer.
City of Istanbul Turkey
openyourmind77@yahoo.com
 
WebLogic is also overkill and entirely too expensive for just Servlets/JSP, even the Express Edition. I develop WebLogic on a daily basis but I would never recommend someone to go with such an expensive solution when there are so many free or cheap solutions out there to do the same. Resin or Tomcat is more than adequate for simple Servlets and JSP.

...unless you prefer to pay the 10K per CPU license for WebLogic.
 
Well looks like the cuacho isnt going to work out for me. I finally found some good documentation on implenting citrix Nfuse on an apache web server and it says you have to use JServ version 1.1. So i am assuming that if you have to do that, then you must use GNUJSP in order for that to work properly. You have to make a file, like citrix.properties, and edit the repository field, paths, etc. The problem is, when i go to load that directory up, i get the same problem, .jsp cannot locate that org.gjt.jsp.JspServlet.?? Is there anything I can do or try. I know my classpaths are right? Thanks for all the help so far.

Nate

 
The systems are not coupled. There is no reason why one Web Container could not be swapped out for another. Unless NFuse is using an extension in JServ, anything written for one will work with another. Documentation isn't always correct and I for one would never put a JServ installation into a production environment. The choice is ultimately yours though.
 
ok, well i am all new to apache and jserv, i have always used IIS 4.0 and 5.0, because thats that i first learned on. I am not real sure what you mean about an extension in Jserv, is that something to do with a zone setting, repository, etc? Like i said, i am new to this web server. I would like to use resin, but i guess im going to have to find a way to get a hold of citrix. thanks for the help

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top