You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by graghavan <ra...@sympatico.ca> on 2002/01/16 17:41:09 UTC

Status 503 - Servlet invoker is currently unavailable

does any one know:
if in tomcat 4.0, the InvokerServlet works or it is there as a
decoration or a future planned feature.
with an unregistered servlet class snuck into the working
webapps/examples/web-inf/classes directory, i got the error:   HTTP
Status 503 - Servlet invoker is currently unavailable
the archives are out of commission at this time for me to do a search.
pls comment if you have seen the error message before.
tnx.
graghavan




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: tomcat 4.01 and win2000 server-cant get it to work

Posted by Marcelo Demestri <ka...@hotmail.com>.
Generally (by default in the installation), Tomcat qualifies port 8080 for
HTTP requests, unless you changes explicitly this port in the server.xml
configuration file.
Test with http://localhost:8080/examples/jsp/index.html

Marcelo

----- Original Message -----
From: "Martin Sujkowski" <ms...@TLCdelivers.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, January 16, 2002 9:55 AM
Subject: tomcat 4.01 and win2000 server-cant get it to work


> Hello,
>
> I just installed tomcat 4.01 on a windows 2000 server. I followed all the
> steps very diligently and still failed to get it to work. I went through
all
> the troubleshooting steps and none of them fixed my problem. The problem
is
> that I get a 401 error when try to open
> http://localhost/examples/jsp/index.html  .The troubleshooting section
> doesn't list this kind of error. Does anyone have any ideas?
> Thanks for any help.
>
> Sincerely
>
> Martin
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


tomcat 4.01 and win2000 server-cant get it to work

Posted by Martin Sujkowski <ms...@tlcdelivers.com>.
well i got passed my first problem by myself. Somehow figured it out. But
here is a backup one just in case someone wanted to help me:
None of the examples on the index.html page (jsp) work. All I get is
is this:

Apache Tomcat/4.0.1 - HTTP Status 500 - Internal Server Error

----------------------------------------------------------------------------
----

type Exception report

message Internal Server Error

description The server encountered an internal error (Internal Server Error)
that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSPNote:
sun.tools.javac.Main has been deprecated.

C:\jakarta-tomcat\work\localhost\examples\jsp\mail\sendmail$jsp.java:61:
Incompatible type for method. Explicit cast needed to convert
java.lang.Throwable to java.lang.Exception.
            if (pageContext != null) pageContext.handlePageException(t);
                                                                     ^
1 error, 1 warning

	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:546)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:177)
	at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:189)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
	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:243)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:201)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:472)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
46)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
64)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:163)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
66)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
1011)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106
)
	at java.lang.Thread.run(Thread.java:539)



----------------------------------------------------------------------------
----


any suggestions?????????????




--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: tomcat 4.01 and win2000 server-cant get it to work

Posted by Martin Sujkowski <ms...@tlcdelivers.com>.
thanks for the help!
I got servelts to work. Jsps still not working.
Martin
----- Original Message -----
From: "Chetna Bhatt" <c_...@vsnl.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, January 16, 2002 1:54 PM
Subject: Re: tomcat 4.01 and win2000 server-cant get it to work


> Hi,
> Try this link mabe some configuration problem:
> http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html
>
> regards
> chetna
>
> Martin Sujkowski wrote:
>
> > Hello,
> >
> > I just installed tomcat 4.01 on a windows 2000 server. I followed all
the
> > steps very diligently and still failed to get it to work. I went through
all
> > the troubleshooting steps and none of them fixed my problem. The problem
is
> > that I get a 401 error when try to open
> > http://localhost/examples/jsp/index.html  .The troubleshooting section
> > doesn't list this kind of error. Does anyone have any ideas?
> > Thanks for any help.
> >
> > Sincerely
> >
> > Martin
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: tomcat 4.01 and win2000 server-cant get it to work

Posted by Chetna Bhatt <c_...@vsnl.com>.
Hi,
Try this link mabe some configuration problem:
http://www.onjava.com/pub/a/onjava/2001/03/29/tomcat.html

regards
chetna

Martin Sujkowski wrote:

> Hello,
>
> I just installed tomcat 4.01 on a windows 2000 server. I followed all the
> steps very diligently and still failed to get it to work. I went through all
> the troubleshooting steps and none of them fixed my problem. The problem is
> that I get a 401 error when try to open
> http://localhost/examples/jsp/index.html  .The troubleshooting section
> doesn't list this kind of error. Does anyone have any ideas?
> Thanks for any help.
>
> Sincerely
>
> Martin
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: tomcat 4.01 and win2000 server-cant get it to work

Posted by Terry McBride <tt...@yahoo.com>.
Unless you hooked up mod_jk you have to specify the
port try http://localhost:8080/examples/jsp/index.html
 


--- Martin Sujkowski <ms...@TLCdelivers.com>
wrote:
> Hello,
> 
> I just installed tomcat 4.01 on a windows 2000
> server. I followed all the
> steps very diligently and still failed to get it to
> work. I went through all
> the troubleshooting steps and none of them fixed my
> problem. The problem is
> that I get a 401 error when try to open
> http://localhost/examples/jsp/index.html  .The
> troubleshooting section
> doesn't list this kind of error. Does anyone have
> any ideas?
> Thanks for any help.
> 
> Sincerely
> 
> Martin
> 
> 
> --
> To unsubscribe:  
> <ma...@jakarta.apache.org>
> For additional commands:
> <ma...@jakarta.apache.org>
> Troubles with the list:
> <ma...@jakarta.apache.org>
> 


=====
"I'm concerned about a better world. I'm concerned about justice; I'm concerned about brotherhood; I'm concerned about truth. And when one is concerned about that, he can never advocate violence. For through violence you may murder a murderer, but you can't murder murder. Through violence you may murder a liar, but you can't establish truth. Through violence you may murder a hater, but you can't murder hate through violence. Darkness cannot put out darkness; only light can do that."

-M. L. King, Jr., 16 August 1967

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


RE: tomcat 4.01 and win2000 server-cant get it to work

Posted by Mike Curwen <mi...@qunara.com>.
If you're on Windows 2000 Server, then you probably have IIS running on port
80?  So localhost:8080 should be used to specify Tomcat.

401 is "Unauthorized", which indicates your request lacked authorization to
access the resource.



-----Original Message-----
From: Martin Sujkowski [mailto:msujkowski@TLCdelivers.com]
Sent: Wednesday, January 16, 2002 11:55 AM
To: Tomcat Users List
Subject: tomcat 4.01 and win2000 server-cant get it to work


Hello,

I just installed tomcat 4.01 on a windows 2000 server. I followed all the
steps very diligently and still failed to get it to work. I went through all
the troubleshooting steps and none of them fixed my problem. The problem is
that I get a 401 error when try to open
http://localhost/examples/jsp/index.html  .The troubleshooting section
doesn't list this kind of error. Does anyone have any ideas?
Thanks for any help.

Sincerely

Martin


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


tomcat 4.01 and win2000 server-cant get it to work

Posted by Martin Sujkowski <ms...@TLCdelivers.com>.
Hello,

I just installed tomcat 4.01 on a windows 2000 server. I followed all the
steps very diligently and still failed to get it to work. I went through all
the troubleshooting steps and none of them fixed my problem. The problem is
that I get a 401 error when try to open
http://localhost/examples/jsp/index.html  .The troubleshooting section
doesn't list this kind of error. Does anyone have any ideas?
Thanks for any help.

Sincerely

Martin


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Status 503 - Servlet invoker is currently unavailable

Posted by graghavan <ra...@sympatico.ca>.
thanks, Craig, for those words of reassurance. you were right. turned out to
be a deploy process misstep.  no more of those 503 errors for me, i hope.
have a nice day.
graghavan


"Craig R. McClanahan" wrote:

> On Wed, 16 Jan 2002, graghavan wrote:
>
> > Date: Wed, 16 Jan 2002 11:41:09 -0500
> > From: graghavan <ra...@sympatico.ca>
> > Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> > To: 'Tomcat Users List' <to...@jakarta.apache.org>
> > Subject: Status 503 - Servlet invoker is currently unavailable
> >
> > does any one know:
> > if in tomcat 4.0, the InvokerServlet works or it is there as a
> > decoration or a future planned feature.
> > with an unregistered servlet class snuck into the working
> > webapps/examples/web-inf/classes directory, i got the error:   HTTP
> > Status 503 - Servlet invoker is currently unavailable
> > the archives are out of commission at this time for me to do a search.
> > pls comment if you have seen the error message before.
> > tnx.
> > graghavan
> >
>
> The invoker servlet works fine for me, and for lots of other people.
> There is most likely some problem in finding the servlet class you are
> trying to invoke.  The details of what is wrong are in the stack trace
> that shows on the error page, and/or in the log files in the "logs"
> directory.
>
> One guaranteed way to get an error is to use "web-inf" as the directory
> name.  It must be "WEB-INF" (all capitals), even on a Windows system.
>
> Craig
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Status 503 - Servlet invoker is currently unavailable

Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Wed, 16 Jan 2002, graghavan wrote:

> Date: Wed, 16 Jan 2002 11:41:09 -0500
> From: graghavan <ra...@sympatico.ca>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: 'Tomcat Users List' <to...@jakarta.apache.org>
> Subject: Status 503 - Servlet invoker is currently unavailable
>
> does any one know:
> if in tomcat 4.0, the InvokerServlet works or it is there as a
> decoration or a future planned feature.
> with an unregistered servlet class snuck into the working
> webapps/examples/web-inf/classes directory, i got the error:   HTTP
> Status 503 - Servlet invoker is currently unavailable
> the archives are out of commission at this time for me to do a search.
> pls comment if you have seen the error message before.
> tnx.
> graghavan
>

The invoker servlet works fine for me, and for lots of other people.
There is most likely some problem in finding the servlet class you are
trying to invoke.  The details of what is wrong are in the stack trace
that shows on the error page, and/or in the log files in the "logs"
directory.

One guaranteed way to get an error is to use "web-inf" as the directory
name.  It must be "WEB-INF" (all capitals), even on a Windows system.

Craig


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>