Please be as SPECIFIC as possible.
You get 503 EXACTLY when? What servlet is unavailable? What URL? The Tomcat examples? Or your own code?
John
On Fri, 13 Jun 2003 09:37:27 -0400, Srinivasu Gandu <[EMAIL PROTECTED]> wrote:
I did the fresh installation of tomcat and java and I set the following as
enviroment variables..
CATALINA_HOME=c:\Tomcat4.1
JAVA_HOME = c:\j2sdk-1_4_1_01
I have set the c:\j2sdk-1_4_1_01\bin in path. The above all I had before but I did it again in the new and fresh
installation..
I am getting 503 error.
HTTP Status 503 - Servlet jsp is currently unavailable
--------------------------------------------------------------------------
--
----
type Status report
message Servlet jsp is currently unavailable
description The requested service (Servlet jsp is currently unavailable) is
not currently available.
Thanks - srini.
-----Original Message----- From: Tam, Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 2:11 PM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24
I would recommend you to uninstall the existing tomcat and re-install it
again WITHOUT using the default path (i.e. try install it in C:\tomcat4.1.24
for example).
For the variables(JAVA_HOME and CATALINA_HOME), you should set them as
environment variables in your win2k not in your autoexec.bat (I'm not sure
if it matters but I believe it is specified in the installation document or
something).
-----Original Message----- From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 10:27 AM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24
Yes I did install in "Program Files\Apache Group\Tomcat4.1"
But when I install in other directory I am getting HTTP Status 503 - Servlet
jsp is currently unavailable.
I hav't set the java home and catalina home for win98.
1) installed j2sdk-1_4_1_01-windows-i586.exe in win98 2) I just intall the jakarta-tomcat-4.1.24.exe in win98 and able to acces the http://localhost:8080
Same thing I did for the win2000 machine but it is giving this problem.. So then I added SET JAVA_HOME = C:\j2sdk-1_4_1_01 to autoexec.bat same problem.. I will try to add SET CATALINA_HOME = c:\Program Files\Apache Group\Tomcat4.1 but I can not delete the spaces between the program files right???
Thanks - srini.
-----Original Message----- From: Tam, Michael [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 12:32 PM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24
Sorry I didn't follow this topic from the beginning but maybe you should
post where EXACTLY you have tomcat and j2sdk installed and the EXACT values
you have set for JAVA_HOME and CATALINA_HOME so we can see if anything went
wrong of those settings.
In addition, if you install tomcat under "Program Files\Apache Group\Tomcat
4.1" path, you probably get into trouble with the spacing between those
directory names.
Cheers, Michael
-----Original Message----- From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 6:43 AM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24
Yoav Shapira,
Could you put me in right direction what is going wrong on this..
1) I have a j2sdk-1_4_1_01\bin in my path
2) I have a JAVA_HOME as j2sdk-1_4_1_01 in my autoexcec.bat file.
3) I have done this
"
The JVM specified in the registry doesn't seem to work for compiling JSPs.
You can edit the registry and change the value of
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Apache Tomcat
4.1/Parameters/JVM Library and make it point to the jvm.dll in
javainstallation\jre\bin\server\jvm.dll and that should take care of it.
"
But still no luck same compiler error??? what needs to be done?? let us know
if some body have success in this..
appreciate it.
Thanks - Srini.
-----Original Message----- From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2003 10:27 AM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24
Hi all,
I am using win2000 and trying to install and run the tomcat4.1.24, I am
getting an parser exception as follows when I try to access the home page
http://localhost:8080. I also tried not to install as service, in that case
it
is unable to see the JSP parser servlet. Could some one help on this..
2003-06-10 23:01:47 StandardWrapperValve[jsp]: Servlet.service() for servlet
jsp threw exception
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.
[javac] C:\Program Files\Apache Group\Tomcat
4.1\work\Standalone\localhost\_\index_jsp.java:266:
handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext
cannot be applied to (java.lang.Throwable)
[javac] if (pageContext != null)
pageContext.handlePageException(t);
[javac] ^
[javac] 1 error
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandle
r.java:130)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:2
93)
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:4
73)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1
90)
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(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(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.invok
eNext(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.processConne
ction(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:619) at java.lang.Thread.run(Thread.java:536)
============================================================================
=
I also tried with editing the regedit suggested by John.
"
The JVM specified in the registry doesn't seem to work for compiling JSPs.
You can edit the registry and change the value of
HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Apache Tomcat
4.1/Parameters/JVM Library and make it point to the jvm.dll in
javainstallation\jre\bin\server\jvm.dll and that should take care of it.
"
This did not work either..I am getting the following error.
HTTP Status 503 - Servlet jsp is currently unavailable
--------------------------------------------------------------------------
--
----
type Status report
message Servlet jsp is currently unavailable
description The requested service (Servlet jsp is currently unavailable) is
not currently available.
--------------------------------------------------------------------------
-- ----
-----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 12:41 PM To: Tomcat Users List Subject: RE: win2000 issue with tomcat4.1.24
Howdy, Can you please restate the original exception? If you have logs showing the stack trace, post those as well...
Yoav Shapira Millennium ChemInformatics
some-----Original Message----- From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 12:29 PM To: 'Tomcat Users List' Subject: RE: win2000 issue with tomcat4.1.24
I did not do anything new just installed both of them.
1) Installed j2sdk-1_4_1_01-windows-i586.exe (I can not get J2EE JDK) right??
2) Installed jakarta-tomcat-4.1.24.exe
When I try to access the home page I am getting this exception..Pleaseone put us in right direction..all
-----Original Message----- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 10:26 AM To: Tomcat Users List Subject: Re: win2000 issue with tomcat4.1.24
On Tue, 10 Jun 2003 22:08, Srinivasu Gandu wrote:Thanks J, I use to have 4.1.18 I cleaned up and physically removedthewhatdirectories.. and installed this one newly... If that is the caseJDKneeds to be done? appreciate it
4.1.18 shouldn't conflict at all, you haven't got a version of the J2EEinstalled somewhere as opposed to the J2SE JDK?
-- Jason Bainbridge http://jblinux.org
--------------------------------------------------------------------- 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]
This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged. This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else. If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender. Thank you.
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- 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]
