I have been using MyEclipse successfully to learn enough about J2EE stuff to feel comfortable starting my project. I have always launched Tomcat via MyEclipse so I decided to actually try starting the service and testing my web app that way.
My test app does a little of a lot of different stuff. One of the things it does is utilize the realms which are setup in an Access dBase. When I try to run my web app by starting the Tomcat service directly and logging into a protected area I get:
(localhost_log.2004-11-03.txt)
ApplicationDispatcher[/HelloWorldJSP] Servlet.service() for servlet jsp threw exception
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
-and-
(Stdout.log)
Nov 3, 2004 3:37:05 PM org.apache.catalina.authenticator.FormAuthenticator authenticate
WARNING: Unexpected error forwarding to error page
org.apache.jasper.JasperException: Unable to compile class for JSP
I have JAVA_HOME pointing to my C:\j2sdk1.4.2_05 which is the default location.
Does anyone have a clue what I might me doing wrong?
Why is it different when I start Tomcat via MyEclipse?
Thanks in advance…