File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes servelt examples run but not jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "servelt examples run but not jsp?" Watch "servelt examples run but not jsp?" New topic
Author

servelt examples run but not jsp?

Sam Anjos
Greenhorn

Joined: Jun 06, 2003
Posts: 14
If you have any ideas they would be appreciated.
Here's the problem.
I have apache 2.0.45 + tomcat 4.1.24 + mod_jk2 on a XP machine.
I'm able to access all the examples through localhost (http://localhost:8080/index.jsp) except for the jsp specific examples(http://localhost:8080/examples/jsp/dates/date.jsp) . I get the following error,
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.
I used the set up instruction from http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html
If you have any ideas what i'm doing wrong it would be appreciated... Thank you in advance.
Sam Anjos
Greenhorn

Joined: Jun 06, 2003
Posts: 14
I have been able to pin point the problem being the mod_jk2.... when i try to view the jsp examples without the mod_jk2 installed they work fine, but with it installed i can't.

 
IntelliJ Java IDE
 
subject: servelt examples run but not jsp?
 
Threads others viewed
Tomcat 4.1.24 compile problems
Tomcat Error
Tomcat and JSP (Interesting problem)
Tomcat 4.1.24 problems
getRemotePort() and getLocalPort() error
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture