Re: What to put into JAVA_HOME on Windows xp
It's necessary to stop and restart the service when Java home path is changed. Reboot the PC doesn't help either. I had talked about this in a previous mail but seems like it got passed without catching any attention: http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/200509.mbox/[EMAIL PROTECTED] Giuseppe Briotti wrote: >>== >>Date: Wed, 28 Sep 2005 12:47:07 +0200 (MEST) >>From: "Markus Hapke" <[EMAIL PROTECTED]> >>To: "Tomcat Users List" >>Subject: Re: What to put into JAVA_HOME on Windows xp >>== >> >> >>Hello All, >> >> now it works ! when runing >> \bin\startup.bat >> instead of >> \\bin\tomcat5w.exe //ES//Tomcat5 >> and then pressing START. >> >> For what the tomcat5w.exe should be used ? >> >> Markus >> >> > >In tomcat bin directory there are several batchs that perform all the >environment settings, THEN >execute tomcat.exe... The startup is the first one of the chain... > >G. > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
> == > Date: Wed, 28 Sep 2005 12:47:07 +0200 (MEST) > From: "Markus Hapke" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Subject: Re: What to put into JAVA_HOME on Windows xp > == > > > Hello All, > > now it works ! when runing > \bin\startup.bat > instead of > \\bin\tomcat5w.exe //ES//Tomcat5 > and then pressing START. > > For what the tomcat5w.exe should be used ? > > Markus In tomcat bin directory there are several batchs that perform all the environment settings, THEN execute tomcat.exe... The startup is the first one of the chain... G. -- Giuseppe Briotti [EMAIL PROTECTED] "Alme Sol, curru nitido diem qui promis et celas aliusque et idem nasceris, possis nihil urbe Roma visere maius." (Orazio) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
Hello All, now it works ! when runing \bin\startup.bat instead of \\bin\tomcat5w.exe //ES//Tomcat5 and then pressing START. For what the tomcat5w.exe should be used ? Markus > --- Ursprüngliche Nachricht --- > Von: Jilles van Gurp <[EMAIL PROTECTED]> > An: Tomcat Users List > Betreff: Re: What to put into JAVA_HOME on Windows xp > Datum: Wed, 28 Sep 2005 12:41:05 +0200 > > Could you check if relative to your jdk directory there is a > lib\tools.jar? This is where the class files for the javac compiler are > located and this file is not found by tomcat at the expected location. > > Anyway, I recommend reinstalling the java development kit and using the > default settings. > > Jilles > > Markus Hapke wrote: > > HI Ramnish, > > > >> Remove bin from the JAVA_HOME. > >> > >> JAVA_HOME=C:\JDK1.4\AppServer\jdk > > > > I dit it, but that doesn't make it work too! > > > > I can reach the javac command from a MS-Command line, so the > > compiler is available. > > Why Tomcat can't see it? > > > > Thanx , Markus > > > >> --- Ursprüngliche Nachricht --- > >> Von: Ramnish Kalsi <[EMAIL PROTECTED]> > >> An: Markus Hapke <[EMAIL PROTECTED]>, tomcat-user@jakarta.apache.org > >> Betreff: RE: What to put into JAVA_HOME on Windows xp > >> Datum: Mon, 26 Sep 2005 18:19:24 +0100 > >> > >> Remove bin from the JAVA_HOME. > >> > >> JAVA_HOME=C:\JDK1.4\AppServer\jdk > >> > >> -ramnish. > >> -Original Message- > >> From: Markus Hapke [mailto:[EMAIL PROTECTED] > >> Sent: 25 September 2005 21:27 > >> To: tomcat-user@jakarta.apache.org > >> Subject: What to put into JAVA_HOME on Windows xp > >> > >> Hello, > >> > >> I just installed tomcat 5.0.28 successfully. > >> > >> Then tested the samples in > >> C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. > >> > >> Thed tried to test a .jsp of my own- getting the error msg in the MS > >> Internet-Explorer: > >> === BEGIN of error Msg > HTTP > >> Status 500 - > >> > >> type Exception report > >> > >> message > >> > >> description The server encountered an internal error () that prevented > it > >> >from fulfilling this request. > >> > >> exception > >> > >> org.apache.jasper.JasperException: Unable to compile class for JSP > >> > >> > > > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle > >> r.java:97) > >> > >> > > > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 > >> 46) > >>org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) > >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > >> > >> > > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 > >> 11) > >> > >> > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 > >> 95) > >> > >> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > >>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > >>javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >> > >> > >> root cause > >> > >> 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 > >> > >> > > > org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C > >> ompilerAdapterFactory.java:106) > >>org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) > >>org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) > >>org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) > >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > >> > >> > > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
Re: What to put into JAVA_HOME on Windows xp
Could you check if relative to your jdk directory there is a lib\tools.jar? This is where the class files for the javac compiler are located and this file is not found by tomcat at the expected location. Anyway, I recommend reinstalling the java development kit and using the default settings. Jilles Markus Hapke wrote: HI Ramnish, Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk I dit it, but that doesn't make it work too! I can reach the javac command from a MS-Command line, so the compiler is available. Why Tomcat can't see it? Thanx , Markus --- Ursprüngliche Nachricht --- Von: Ramnish Kalsi <[EMAIL PROTECTED]> An: Markus Hapke <[EMAIL PROTECTED]>, tomcat-user@jakarta.apache.org Betreff: RE: What to put into JAVA_HOME on Windows xp Datum: Mon, 26 Sep 2005 18:19:24 +0100 Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk -ramnish. -Original Message- From: Markus Hapke [mailto:[EMAIL PROTECTED] Sent: 25 September 2005 21:27 To: tomcat-user@jakarta.apache.org Subject: What to put into JAVA_HOME on Windows xp Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it >from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 46) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause 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 org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C ompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
Re: Re: What to put into JAVA_HOME on Windows xp
We're sorry, you have reached an email address at YahooGropus, not YahooGroups. Your message has not been delivered to the Yahoo Group intended. Please re-send your email to the correct address. We apologize for the inconvenience. YahooGropus Staff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
On 9/28/05, Markus Hapke <[EMAIL PROTECTED]> wrote: > Hi Jan and all Others, > > i changed the JAVA_HOME, but still facing the same problem: > "Perhaps JAVA_HOME does not point to the JDK" > > How can I test what Tomcat tries to read when it calls the > javac command? Edit startup.bat and put the following lines at the top @echo on echo %JAVA_HOME% It should point to C:\JDK1.4\AppServer\jdk > > thanx in advance , Markus > > > --- Ursprüngliche Nachricht --- > > Von: Jan Fredrik Fallsen <[EMAIL PROTECTED]> > > An: 'Tomcat Users List' , 'Arthur > > D'Alessandro' <[EMAIL PROTECTED]> > > Betreff: RE: What to put into JAVA_HOME on Windows xp > > Datum: Mon, 26 Sep 2005 10:50:49 +0200 > > > > your java home is C:\jsdk1\Àppserver\jdk > > > > -Original Message----- > > From: Arthur D'Alessandro [mailto:[EMAIL PROTECTED] > > Sent: 26. september 2005 00:16 > > To: Tomcat Users List > > Subject: Re: What to put into JAVA_HOME on Windows xp > > > > Move it up one level, in your case: > > C:\JDK1.4\AppServer\jdk > > > > On 9/25/05, Markus Hapke <[EMAIL PROTECTED]> wrote: > > > > > > Hello, > > > > > > I just installed tomcat 5.0.28 successfully. > > > > > > Then tested the samples in > > > C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. > > > > > > Thed tried to test a .jsp of my own- getting the error msg in the > > > MS Internet-Explorer: > > > === BEGIN of error Msg > > > HTTP Status 500 - > > > > > > type Exception report > > > > > > message > > > > > > description The server encountered an internal error () that prevented > > it > > > from fulfilling this request. > > > > > > exception > > > > > > org.apache.jasper.JasperException: Unable to compile class for > > > JSP > > > org.apache.jasper.compiler.DefaultErrorHandler.javacError( > > > DefaultErrorHandler.java:97) > > > > > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java > > > :346) > > > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > > > > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java > > > :511) > > > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java > > > :295) > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > > > > > > > root cause > > > > > > 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 > > > > > org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler > > > (CompilerAdapterFactory.java:106) > > > org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) > > > org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) > > > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > > > > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java > > > :511) > > > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java > > > :295) > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > > > > > > > note The full stack trace of the root cause is available in the Apache > > > Tomcat/5.0.28 logs. > > > === END of error Msg= == > > > > > > I set the environment entry of JAVA_HOME to > > > C:\JDK1.4\AppServer\jdk\bin > > > > > > Is that correct? > > &g
RE: What to put into JAVA_HOME on Windows xp
Hi Jan and all Others, i changed the JAVA_HOME, but still facing the same problem: "Perhaps JAVA_HOME does not point to the JDK" How can I test what Tomcat tries to read when it calls the javac command? thanx in advance , Markus > --- Ursprüngliche Nachricht --- > Von: Jan Fredrik Fallsen <[EMAIL PROTECTED]> > An: 'Tomcat Users List' , 'Arthur > D'Alessandro' <[EMAIL PROTECTED]> > Betreff: RE: What to put into JAVA_HOME on Windows xp > Datum: Mon, 26 Sep 2005 10:50:49 +0200 > > your java home is C:\jsdk1\Àppserver\jdk > > -Original Message- > From: Arthur D'Alessandro [mailto:[EMAIL PROTECTED] > Sent: 26. september 2005 00:16 > To: Tomcat Users List > Subject: Re: What to put into JAVA_HOME on Windows xp > > Move it up one level, in your case: > C:\JDK1.4\AppServer\jdk > > On 9/25/05, Markus Hapke <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I just installed tomcat 5.0.28 successfully. > > > > Then tested the samples in > > C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. > > > > Thed tried to test a .jsp of my own- getting the error msg in the > > MS Internet-Explorer: > > === BEGIN of error Msg > > HTTP Status 500 - > > > > type Exception report > > > > message > > > > description The server encountered an internal error () that prevented > it > > from fulfilling this request. > > > > exception > > > > org.apache.jasper.JasperException: Unable to compile class for > > JSP > > org.apache.jasper.compiler.DefaultErrorHandler.javacError( > > DefaultErrorHandler.java:97) > > > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java > > :346) > > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java > > :511) > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java > > :295) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > > > > root cause > > > > 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 > > > org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler > > (CompilerAdapterFactory.java:106) > > org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) > > org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) > > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java > > :511) > > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java > > :295) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > > > > note The full stack trace of the root cause is available in the Apache > > Tomcat/5.0.28 logs. > > === END of error Msg= == > > > > I set the environment entry of JAVA_HOME to > > C:\JDK1.4\AppServer\jdk\bin > > > > Is that correct? > > > > OK, nobody of you could know where I have my J2EE (1.4) : > > it is 'mounted' under: > > C:\JDK1.4\AppServer > > and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin > > > > Is my entry of the JAVA_HOME correct? > > > > Is there another error? > > > > Thanx in advance, Markus > > > > -- > > ,, > > > > 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail > > +++ GMX - die erste Adresse für Mail, Message, More +++ > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > -Art D'Alessandro > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko! Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What to put into JAVA_HOME on Windows xp
HI Ramnish, > Remove bin from the JAVA_HOME. > > JAVA_HOME=C:\JDK1.4\AppServer\jdk I dit it, but that doesn't make it work too! I can reach the javac command from a MS-Command line, so the compiler is available. Why Tomcat can't see it? Thanx , Markus > --- Ursprüngliche Nachricht --- > Von: Ramnish Kalsi <[EMAIL PROTECTED]> > An: Markus Hapke <[EMAIL PROTECTED]>, tomcat-user@jakarta.apache.org > Betreff: RE: What to put into JAVA_HOME on Windows xp > Datum: Mon, 26 Sep 2005 18:19:24 +0100 > > Remove bin from the JAVA_HOME. > > JAVA_HOME=C:\JDK1.4\AppServer\jdk > > -ramnish. > -Original Message- > From: Markus Hapke [mailto:[EMAIL PROTECTED] > Sent: 25 September 2005 21:27 > To: tomcat-user@jakarta.apache.org > Subject: What to put into JAVA_HOME on Windows xp > > Hello, > > I just installed tomcat 5.0.28 successfully. > > Then tested the samples in > C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. > > Thed tried to test a .jsp of my own- getting the error msg in the MS > Internet-Explorer: > === BEGIN of error Msg HTTP > Status 500 - > > type Exception report > > message > > description The server encountered an internal error () that prevented it > >from fulfilling this request. > > exception > > org.apache.jasper.JasperException: Unable to compile class for JSP > > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle > r.java:97) > > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 > 46) > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 > 11) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 > 95) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > root cause > > 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 > > org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C > ompilerAdapterFactory.java:106) > org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) > org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 > 11) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 > 95) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > note The full stack trace of the root cause is available in the Apache > Tomcat/5.0.28 logs. > === END of error Msg= == > > I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin > > Is that correct? > > OK, nobody of you could know where I have my J2EE (1.4) : > it is 'mounted' under: > C:\JDK1.4\AppServer > and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin > > Is my entry of the JAVA_HOME correct? > > Is there another error? > > Thanx in advance, Markus > > -- > ,, > > 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail > +++ GMX - die erste Adresse für Mail, Message, More +++ > > > ** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > &
RE: What to put into JAVA_HOME on Windows xp
Remove bin from the JAVA_HOME. JAVA_HOME=C:\JDK1.4\AppServer\jdk -ramnish. -Original Message- From: Markus Hapke [mailto:[EMAIL PROTECTED] Sent: 25 September 2005 21:27 To: tomcat-user@jakarta.apache.org Subject: What to put into JAVA_HOME on Windows xp Hello, I just installed tomcat 5.0.28 successfully. Then tested the samples in C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. Thed tried to test a .jsp of my own- getting the error msg in the MS Internet-Explorer: === BEGIN of error Msg HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle r.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:3 46) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause 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 org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(C ompilerAdapterFactory.java:106) org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:5 11) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2 95) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. === END of error Msg= == I set the environment entry of JAVA_HOME to C:\JDK1.4\AppServer\jdk\bin Is that correct? OK, nobody of you could know where I have my J2EE (1.4) : it is 'mounted' under: C:\JDK1.4\AppServer and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin Is my entry of the JAVA_HOME correct? Is there another error? Thanx in advance, Markus -- ,, 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail +++ GMX - die erste Adresse für Mail, Message, More +++ ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
I remember when I was using Tomcat 5.0.x. It was giving me headaches! After changing JAVA_HOME, it was still necessary to do a "service remove" and then "service install", or else Tomcat won't take that into account. Try Tomcat 5.5. You don't need to declare JAVA_HOME anymore, and you could use the configure console to point Tomcat to the correct JRE. Jan Fredrik Fallsen wrote: >your java home is C:\jsdk1\Àppserver\jdk > >-Original Message- >From: Arthur D'Alessandro [mailto:[EMAIL PROTECTED] >Sent: 26. september 2005 00:16 >To: Tomcat Users List >Subject: Re: What to put into JAVA_HOME on Windows xp > >Move it up one level, in your case: >C:\JDK1.4\AppServer\jdk > > On 9/25/05, Markus Hapke <[EMAIL PROTECTED]> wrote: > > >>Hello, >> >>I just installed tomcat 5.0.28 successfully. >> >>Then tested the samples in >>C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. >> >>Thed tried to test a .jsp of my own- getting the error msg in the >>MS Internet-Explorer: >>=== BEGIN of error Msg >>HTTP Status 500 - >> >>type Exception report >> >>message >> >>description The server encountered an internal error () that prevented it >>from fulfilling this request. >> >>exception >> >>org.apache.jasper.JasperException: Unable to compile class for >>JSP >>org.apache.jasper.compiler.DefaultErrorHandler.javacError( >>DefaultErrorHandler.java:97) >>org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java >>:346) >>org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) >>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java >>:511) >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java >>:295) >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) >>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) >>javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> >> >>root cause >> >>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 >>org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler >>(CompilerAdapterFactory.java:106) >>org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) >>org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) >>org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) >>org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) >>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java >>:511) >>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java >>:295) >>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) >>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) >>javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> >> >>note The full stack trace of the root cause is available in the Apache >>Tomcat/5.0.28 logs. >>=== END of error Msg= == >> >>I set the environment entry of JAVA_HOME to >>C:\JDK1.4\AppServer\jdk\bin >> >>Is that correct? >> >>OK, nobody of you could know where I have my J2EE (1.4) : >>it is 'mounted' under: >>C:\JDK1.4\AppServer >>and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin >> >>Is my entry of the JAVA_HOME correct? >> >>Is there another error? >> >>Thanx in advance, Markus >> >>-- >>,, >> >> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: What to put into JAVA_HOME on Windows xp
your java home is C:\jsdk1\Àppserver\jdk -Original Message- From: Arthur D'Alessandro [mailto:[EMAIL PROTECTED] Sent: 26. september 2005 00:16 To: Tomcat Users List Subject: Re: What to put into JAVA_HOME on Windows xp Move it up one level, in your case: C:\JDK1.4\AppServer\jdk On 9/25/05, Markus Hapke <[EMAIL PROTECTED]> wrote: > > Hello, > > I just installed tomcat 5.0.28 successfully. > > Then tested the samples in > C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. > > Thed tried to test a .jsp of my own- getting the error msg in the > MS Internet-Explorer: > === BEGIN of error Msg > HTTP Status 500 - > > type Exception report > > message > > description The server encountered an internal error () that prevented it > from fulfilling this request. > > exception > > org.apache.jasper.JasperException: Unable to compile class for > JSP > org.apache.jasper.compiler.DefaultErrorHandler.javacError( > DefaultErrorHandler.java:97) > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java > :346) > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java > :511) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java > :295) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > root cause > > 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 > org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler > (CompilerAdapterFactory.java:106) > org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) > org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java > :511) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java > :295) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > note The full stack trace of the root cause is available in the Apache > Tomcat/5.0.28 logs. > === END of error Msg= == > > I set the environment entry of JAVA_HOME to > C:\JDK1.4\AppServer\jdk\bin > > Is that correct? > > OK, nobody of you could know where I have my J2EE (1.4) : > it is 'mounted' under: > C:\JDK1.4\AppServer > and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin > > Is my entry of the JAVA_HOME correct? > > Is there another error? > > Thanx in advance, Markus > > -- > ,, > > 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail > +++ GMX - die erste Adresse für Mail, Message, More +++ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -Art D'Alessandro - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What to put into JAVA_HOME on Windows xp
Move it up one level, in your case: C:\JDK1.4\AppServer\jdk On 9/25/05, Markus Hapke <[EMAIL PROTECTED]> wrote: > > Hello, > > I just installed tomcat 5.0.28 successfully. > > Then tested the samples in > C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. > > Thed tried to test a .jsp of my own- getting the error msg in the > MS Internet-Explorer: > === BEGIN of error Msg > HTTP Status 500 - > > type Exception report > > message > > description The server encountered an internal error () that prevented it > from fulfilling this request. > > exception > > org.apache.jasper.JasperException: Unable to compile class for > JSP > org.apache.jasper.compiler.DefaultErrorHandler.javacError( > DefaultErrorHandler.java:97) > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java > :346) > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java > :511) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java > :295) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > root cause > > 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 > org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler > (CompilerAdapterFactory.java:106) > org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) > org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java > :511) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java > :295) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > note The full stack trace of the root cause is available in the Apache > Tomcat/5.0.28 logs. > === END of error Msg= == > > I set the environment entry of JAVA_HOME to > C:\JDK1.4\AppServer\jdk\bin > > Is that correct? > > OK, nobody of you could know where I have my J2EE (1.4) : > it is 'mounted' under: > C:\JDK1.4\AppServer > and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin > > Is my entry of the JAVA_HOME correct? > > Is there another error? > > Thanx in advance, Markus > > -- > ,, > > 5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail > +++ GMX - die erste Adresse für Mail, Message, More +++ > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -Art D'Alessandro
Re: What to put into JAVA_HOME on Windows XP
can you compile classes? I mean just normal java classes out of the command prompt. Do you start tomcat as service or with bin\catalina.bat run / bin\startup.bat? On 9/25/05, Markus Hapke <[EMAIL PROTECTED]> wrote: > Hello, > > I just installed tomcat 5.0.28 successfully. > > Then tested the samples in > C:\TOMCAT\webapps\jsp-examples\jsp2 - they worked. > > Thed tried to test a .jsp of my own- getting the error msg in the > MS Internet-Explorer: > === BEGIN of error Msg > HTTP Status 500 - > > type Exception report > > message > > description The server encountered an internal error () that prevented it > >from fulfilling this request. > > exception > > org.apache.jasper.JasperException: Unable to compile class > for > JSP > > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) > > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > root cause > > 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 > > org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106) > org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935) > org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764) > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > > note The full stack trace of the root cause is available in the Apache > Tomcat/5.0.28 logs. > === END of error Msg= == > > I set the environment entry of JAVA_HOME to > C:\JDK1.4\AppServer\jdk\bin > > Is that correct? > > OK, nobody of you could know where I have my J2EE (1.4) : > it is 'mounted' under: > C:\JDK1.4\AppServer > and i can find the javac.exe under: C:\JDK1.4\AppServer\jdk\bin > > Is my entry of the JAVA_HOME correct? > > Is there another error? > > Thanx in advance, Markus > > > -- > GMX DSL = Maximale Leistung zum minimalen Preis! > 2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]