You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bala Paranj <bp...@softwareearnings.com> on 2006/08/15 22:55:30 UTC

Tomcat Context

I changed the context to :
 
<Context path="/myContextPath" appBase="" docBase="C:\Program
Files\jboss-4.0.4.GA\server\default\deploy" debug="99"
reloadable="false">
            </Context>
 
When I run the client, I get:
 
Marking servlet MySeiServlet as unavailable? in the JBoss console. The
client gets the error message:
 
Server returned HTTP response code: 500 for URL:
https://localhost:8443/myContextPath/somePath/MyServlet
 
Does anyone know how to get this working? TIA.
 

RE: Tomcat Context

Posted by Bala Paranj <bp...@softwareearnings.com>.
Thank you. The problem was that JBoss installation cannot have spaces in
the installed path. 

I did have the context defined below the host tag in server.xml. Hope
this helps someone.

-----Original Message-----
From: Dhiraj Ramakrishnan [mailto:stupendousman78@gmail.com] 
Sent: Tuesday, August 15, 2006 10:33 PM
To: Tomcat Users List
Subject: Re: Tomcat Context

Hi ,

      How is the url mapping for the servlet in the web.xml? it should
not
include /myContext in the url mapping.

      The servlet url mapping in the web.xml should only be for
/somePath/MyServlet

      What do you get when you just type in
https://localhost:8443/myContextPath ?

Hope that helps ..

bye

Dhiraj

On 8/16/06, Bala Paranj <bp...@softwareearnings.com> wrote:
>
> I changed the context to :
>
> <Context path="/myContextPath" appBase="" docBase="C:\Program
> Files\jboss-4.0.4.GA\server\default\deploy" debug="99"
> reloadable="false">
>             </Context>
>
> When I run the client, I get:
>
> Marking servlet MySeiServlet as unavailable? in the JBoss console. The
> client gets the error message:
>
> Server returned HTTP response code: 500 for URL:
> https://localhost:8443/myContextPath/somePath/MyServlet
>
> Does anyone know how to get this working? TIA.
>
>
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat Context

Posted by Dhiraj Ramakrishnan <st...@gmail.com>.
Hi ,

      How is the url mapping for the servlet in the web.xml? it should not
include /myContext in the url mapping.

      The servlet url mapping in the web.xml should only be for
/somePath/MyServlet

      What do you get when you just type in
https://localhost:8443/myContextPath ?

Hope that helps ..

bye

Dhiraj

On 8/16/06, Bala Paranj <bp...@softwareearnings.com> wrote:
>
> I changed the context to :
>
> <Context path="/myContextPath" appBase="" docBase="C:\Program
> Files\jboss-4.0.4.GA\server\default\deploy" debug="99"
> reloadable="false">
>             </Context>
>
> When I run the client, I get:
>
> Marking servlet MySeiServlet as unavailable? in the JBoss console. The
> client gets the error message:
>
> Server returned HTTP response code: 500 for URL:
> https://localhost:8443/myContextPath/somePath/MyServlet
>
> Does anyone know how to get this working? TIA.
>
>
>