Don't know. For me, the solution on Win XP was not to add the value for JAVA_HOME to my path, but JAVA_HOME/bin.


John

On Wed, 16 Jul 2003 13:28:58 -0700 (PDT), Lior Shliechkorn <[EMAIL PROTECTED]> wrote:

Thanks for the source John.
<p>
I added the entry for JAVA_HOME in the PATH, but I still couldn't get it to work. The next posting I saw was adding the following variables. Where would I add these?
<p>
_RUNJAVA="%JAVA_HOME%\bin\java"
_RUNJAVAW="%JAVA_HOME%\bin\javaw"
_RUNJDB="%JAVA_HOME%\bin\jdb"
_RUNJAVAC="%JAVA_HOME%\bin\javac"
<p>
Is this being added in the script? If so, where would I add these?


John Turner <[EMAIL PROTECTED]> wrote:

Have you checked the FAQ?

http://jakarta.apache.org/tomcat/faq/misc.html#compile

John

On Wed, 16 Jul 2003 12:58:01 -0700 (PDT), Lior Shliechkorn

wrote:

Now I'm getting this error all of a sudden:


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.



at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)





at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)





at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)






at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)





at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)






at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)





at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)





at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)





at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)





at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)






at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)





at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)





at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)






at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)





at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)





at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)





at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)





at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)





at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)





at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)





at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)






at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)





at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)





at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)






at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)





at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)





at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)





at java.lang.Thread.run(Unknown Source)



This is just trying to access the http://localhost:8080 url.

Lior Shliechkorn
wrote:
Yep, I created all of those, but I still get nothing. Also, this is my worker2.properties file that I currently have:


[shm]
file=c:\\Tomcat\\conf\\shm.txt
size=1048576


# Define the communication channel [channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009


# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
worker=ajp13:localhost:8009


Which is a basic one. I created a website that has the jakarta virtual directory with execute rights, and I created a virtual directory for examples as well. I wanted to use the manager or admin application, but I can't get those to work either.


After I created everything, I thought maybe it needed a reboot to clean up a bit, but then I saw that Tomcat doesn't start up when rebooting (The service), and nothing was working yet.


"Motykowski, Peter P."
wrote:
Do you have System Variable JAVA_HOME set to C:\path_to_jdk ? This is
required for the Tomcat service running as user SYSTEM to find javac.

-----Original Message-----
From: Lior Shliechkorn [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 2:20 PM
To: Tomcat
Subject: Win2k/4.1.24 - Not working



Hi guys,



I'm running into a weird issue. I just installed Tomcat on my machine (from
exe file, and checked the run as service) and created all the environment
variables. I also downloaded the isapi_redirector2.dll file and the registry
entries which yielded a green arrow. However, when I go to
localhost:8080 I don't get any pages. By mistake earlier I just ran Tomcat
and did not use any environment entries at all, and I got this error: An
error occured 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 and it
would then print out the rest of the error from the
javacError(DefaultErrorHandler.java). But now that I retried everything and
set the variables I get nothing. Any ideas? Thank you very much,
Lior



--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!


--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!






-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to