You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Kenny G. Dubuisson, Jr." <kd...@kcmria.com> on 2003/05/14 20:55:42 UTC

Servlets not working in my context

Hello all.  I just recently lost my hard drive in my development server and
had to rebuild it.  After reloading all software and creating my context I
can't get any of my servlets to work (I get an error saying that the servlet
is unavailable).  My JSP's work fine in my context but servlets don't.

I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was created
with the following in my server.xml file:

<Context path="/kcmria" docBase="kcmria" debug="0" reloadable="true"
crossContext="true">
   <Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
</Context>

I also added the following lines to my mod_jk.conf file:

JkMount /kcmria ajp13
JkMount /kcmria/* ajp13

I'm stumped.  I even tried the HelloWorldExample servlet in my context but
still no go.  I've also tried different file permissions to no avail.  I've
lost a full day of development on this so any help would be very much
appreciated.  I'll give you my dog, cat, wife, etc. if you can figure this
out.

Thanks,
Kenny


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Servlets not working in my context

Posted by "Kenny G. Dubuisson, Jr." <kd...@kcmria.com>.
I got it.  It was the invoker servlet mapping.  The invoker servlet was
uncommented by default but the mapping was not.  So for future reference I
uncommented the following lines in my $CATALINE_HOME/conf/web.xml file:

<servlet-mapping>
    <servlet-name>invoker</servlet-name>
   <url-pattern>/servlet/*</url-pattern>
</servlet-mapping>

Thanks for everyone's quick advice.  And Jacob, send me you address....damn
I'm gonna miss my dog (not the wife)!
Kenny

----- Original Message -----
From: "Kenny G. Dubuisson, Jr." <kd...@kcmria.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, May 14, 2003 2:48 PM
Subject: Re: Servlets not working in my context


> Hmm...it is uncommented by default?  I went to the file and it's not
> commented out. HTH,
> Kenny
>
> ----- Original Message -----
> From: "Jacob Kjome" <ho...@visi.com>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Wednesday, May 14, 2003 2:48 PM
> Subject: Re: Servlets not working in my context
>
>
> >
> > You need to enable the invoker servlet.  Uncomment the servlet mapping
for
> > the invoker servlet in CATALINA_HOME/conf/web.xml
> >
> > Jake
> >
> > At 03:26 PM 5/14/2003 -0400, you wrote:
> >
> > >Nice dog, but since I'm just a sys-admin, I shall defer to Yoav and the
> > >other gurus.
> > >
> > >John
> > >
> > >On Wed, 14 May 2003 15:09:06 -0400, John Turner <tomcat-
> > >user@johnturner.com> wrote:
> > >
> > >>
> > >>What kind of dog? ;)
> > >>
> > >>John
> > >>
> > >>On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr.
> > >><kd...@kcmria.com> wrote:
> > >>
> > >>>Hello all.  I just recently lost my hard drive in my development
server
> and
> > >>>had to rebuild it.  After reloading all software and creating my
> context I
> > >>>can't get any of my servlets to work (I get an error saying that the
> servlet
> > >>>is unavailable).  My JSP's work fine in my context but servlets
don't.
> > >>>
> > >>>I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was
> created
> > >>>with the following in my server.xml file:
> > >>>
> > >>><Context path="/kcmria" docBase="kcmria" debug="0" reloadable="true"
> > >>>crossContext="true">
> > >>><Logger className="org.apache.catalina.logger.FileLogger"
> > >>>prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
> > >>></Context>
> > >>>
> > >>>I also added the following lines to my mod_jk.conf file:
> > >>>
> > >>>JkMount /kcmria ajp13
> > >>>JkMount /kcmria/* ajp13
> > >>>
> > >>>I'm stumped.  I even tried the HelloWorldExample servlet in my
context
> but
> > >>>still no go.  I've also tried different file permissions to no avail.
> > >>>I've
> > >>>lost a full day of development on this so any help would be very much
> > >>>appreciated.  I'll give you my dog, cat, wife, etc. if you can figure
> this
> > >>>out.
> > >>>
> > >>>Thanks,
> > >>>Kenny
> > >>>
> > >>>
> > >>>---------------------------------------------------------------------
> > >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > >>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >>>
> > >>
> > >>
> > >
> > >
> > >
> > >--
> > >Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Servlets not working in my context

Posted by "Kenny G. Dubuisson, Jr." <kd...@kcmria.com>.
Yeah it works great now.  Thanks,
Kenny

----- Original Message -----
From: "Jacob Kjome" <ho...@visi.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, May 14, 2003 3:17 PM
Subject: Re: Servlets not working in my context


>
> Yes, exactly.  By default:
>
> 1.  The <servlet> definition for the invoker servlet is *not* commented
> out.  This is fine.  Leave it alone.
>
> 2.  The <servlet-mapping> for the invoker servlet *is* commented out.
This
> is good for security sake, but not if you want to use the invoker servlet
> instead of explicitly adding servlet mappings for all servlets you want to
> run.  You need to uncomment this.
>
> Or did you just make a typo when you said "Yeah I'm positive that the
> invoker servlet mapping was commented out"?
>
> I can't help you any further if things still don't work after following #1
> and #2.
>
> Jake
>
> At 03:07 PM 5/14/2003 -0500, you wrote:
> >Yeah I'm positive that the invoker servlet mapping was commented out (and
I
> >had never edited the web.xml file).  The actual invoker servlet
declaration
> >was uncommented.  Hope this helps,
> >Kenny
> >
> >----- Original Message -----
> >From: "Jacob Kjome" <ho...@visi.com>
> >To: "Tomcat Users List" <to...@jakarta.apache.org>
> >Sent: Wednesday, May 14, 2003 3:07 PM
> >Subject: Re: Servlets not working in my context
> >
> >
> > >
> > > What version are you using?  As of recent tomcat versions (including
> > > Tomcat-4.1.24), the only way the servlet-mapping for the invoker
servlet
> >is
> > > commented out is if you did it.  Are you sure you aren't confusing
> > > <servlet> with <servlet-mapping>?  The former is not commented out by
> > > default, the latter is.  Both need to be uncommented for
> > > http://localhost:8080/mycontext/servlet/MyServlet to work.
> > >
> > > Jake
> > >
> > > At 02:48 PM 5/14/2003 -0500, you wrote:
> > > >Hmm...it is uncommented by default?  I went to the file and it's not
> > > >commented out. HTH,
> > > >Kenny
> > > >
> > > >----- Original Message -----
> > > >From: "Jacob Kjome" <ho...@visi.com>
> > > >To: "Tomcat Users List" <to...@jakarta.apache.org>
> > > >Sent: Wednesday, May 14, 2003 2:48 PM
> > > >Subject: Re: Servlets not working in my context
> > > >
> > > >
> > > > >
> > > > > You need to enable the invoker servlet.  Uncomment the servlet
mapping
> >for
> > > > > the invoker servlet in CATALINA_HOME/conf/web.xml
> > > > >
> > > > > Jake
> > > > >
> > > > > At 03:26 PM 5/14/2003 -0400, you wrote:
> > > > >
> > > > > >Nice dog, but since I'm just a sys-admin, I shall defer to Yoav
and
> >the
> > > > > >other gurus.
> > > > > >
> > > > > >John
> > > > > >
> > > > > >On Wed, 14 May 2003 15:09:06 -0400, John Turner <tomcat-
> > > > > >user@johnturner.com> wrote:
> > > > > >
> > > > > >>
> > > > > >>What kind of dog? ;)
> > > > > >>
> > > > > >>John
> > > > > >>
> > > > > >>On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr.
> > > > > >><kd...@kcmria.com> wrote:
> > > > > >>
> > > > > >>>Hello all.  I just recently lost my hard drive in my
development
> >server
> > > >and
> > > > > >>>had to rebuild it.  After reloading all software and creating
my
> > > >context I
> > > > > >>>can't get any of my servlets to work (I get an error saying
that
> >the
> > > >servlet
> > > > > >>>is unavailable).  My JSP's work fine in my context but servlets
> >don't.
> > > > > >>>
> > > > > >>>I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context
was
> > > >created
> > > > > >>>with the following in my server.xml file:
> > > > > >>>
> > > > > >>><Context path="/kcmria" docBase="kcmria" debug="0"
> >reloadable="true"
> > > > > >>>crossContext="true">
> > > > > >>><Logger className="org.apache.catalina.logger.FileLogger"
> > > > > >>>prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
> > > > > >>></Context>
> > > > > >>>
> > > > > >>>I also added the following lines to my mod_jk.conf file:
> > > > > >>>
> > > > > >>>JkMount /kcmria ajp13
> > > > > >>>JkMount /kcmria/* ajp13
> > > > > >>>
> > > > > >>>I'm stumped.  I even tried the HelloWorldExample servlet in my
> >context
> > > >but
> > > > > >>>still no go.  I've also tried different file permissions to no
> >avail.
> > > > > >>>I've
> > > > > >>>lost a full day of development on this so any help would be
very
> >much
> > > > > >>>appreciated.  I'll give you my dog, cat, wife, etc. if you can
> >figure
> > > >this
> > > > > >>>out.
> > > > > >>>
> > > > > >>>Thanks,
> > > > > >>>Kenny
> > > > > >>>
> > > > > >>>
> > > > >
> > >>>---------------------------------------------------------------------
> > > > > >>>To unsubscribe, e-mail:
tomcat-user-unsubscribe@jakarta.apache.org
> > > > > >>>For additional commands, e-mail:
> >tomcat-user-help@jakarta.apache.org
> > > > > >>>
> > > > > >>
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > >--
> > > > > >Using M2, Opera's revolutionary e-mail client:
> >http://www.opera.com/m2/
> > > > > >
> > > > >
>---------------------------------------------------------------------
> > > > > >To unsubscribe, e-mail:
tomcat-user-unsubscribe@jakarta.apache.org
> > > > > >For additional commands, e-mail:
tomcat-user-help@jakarta.apache.org
> > > > >
> > > >
> > > >
> > > >---------------------------------------------------------------------
> > > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Servlets not working in my context

Posted by Jacob Kjome <ho...@visi.com>.
Yes, exactly.  By default:

1.  The <servlet> definition for the invoker servlet is *not* commented 
out.  This is fine.  Leave it alone.

2.  The <servlet-mapping> for the invoker servlet *is* commented out.  This 
is good for security sake, but not if you want to use the invoker servlet 
instead of explicitly adding servlet mappings for all servlets you want to 
run.  You need to uncomment this.

Or did you just make a typo when you said "Yeah I'm positive that the 
invoker servlet mapping was commented out"?

I can't help you any further if things still don't work after following #1 
and #2.

Jake

At 03:07 PM 5/14/2003 -0500, you wrote:
>Yeah I'm positive that the invoker servlet mapping was commented out (and I
>had never edited the web.xml file).  The actual invoker servlet declaration
>was uncommented.  Hope this helps,
>Kenny
>
>----- Original Message -----
>From: "Jacob Kjome" <ho...@visi.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Wednesday, May 14, 2003 3:07 PM
>Subject: Re: Servlets not working in my context
>
>
> >
> > What version are you using?  As of recent tomcat versions (including
> > Tomcat-4.1.24), the only way the servlet-mapping for the invoker servlet
>is
> > commented out is if you did it.  Are you sure you aren't confusing
> > <servlet> with <servlet-mapping>?  The former is not commented out by
> > default, the latter is.  Both need to be uncommented for
> > http://localhost:8080/mycontext/servlet/MyServlet to work.
> >
> > Jake
> >
> > At 02:48 PM 5/14/2003 -0500, you wrote:
> > >Hmm...it is uncommented by default?  I went to the file and it's not
> > >commented out. HTH,
> > >Kenny
> > >
> > >----- Original Message -----
> > >From: "Jacob Kjome" <ho...@visi.com>
> > >To: "Tomcat Users List" <to...@jakarta.apache.org>
> > >Sent: Wednesday, May 14, 2003 2:48 PM
> > >Subject: Re: Servlets not working in my context
> > >
> > >
> > > >
> > > > You need to enable the invoker servlet.  Uncomment the servlet mapping
>for
> > > > the invoker servlet in CATALINA_HOME/conf/web.xml
> > > >
> > > > Jake
> > > >
> > > > At 03:26 PM 5/14/2003 -0400, you wrote:
> > > >
> > > > >Nice dog, but since I'm just a sys-admin, I shall defer to Yoav and
>the
> > > > >other gurus.
> > > > >
> > > > >John
> > > > >
> > > > >On Wed, 14 May 2003 15:09:06 -0400, John Turner <tomcat-
> > > > >user@johnturner.com> wrote:
> > > > >
> > > > >>
> > > > >>What kind of dog? ;)
> > > > >>
> > > > >>John
> > > > >>
> > > > >>On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr.
> > > > >><kd...@kcmria.com> wrote:
> > > > >>
> > > > >>>Hello all.  I just recently lost my hard drive in my development
>server
> > >and
> > > > >>>had to rebuild it.  After reloading all software and creating my
> > >context I
> > > > >>>can't get any of my servlets to work (I get an error saying that
>the
> > >servlet
> > > > >>>is unavailable).  My JSP's work fine in my context but servlets
>don't.
> > > > >>>
> > > > >>>I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was
> > >created
> > > > >>>with the following in my server.xml file:
> > > > >>>
> > > > >>><Context path="/kcmria" docBase="kcmria" debug="0"
>reloadable="true"
> > > > >>>crossContext="true">
> > > > >>><Logger className="org.apache.catalina.logger.FileLogger"
> > > > >>>prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
> > > > >>></Context>
> > > > >>>
> > > > >>>I also added the following lines to my mod_jk.conf file:
> > > > >>>
> > > > >>>JkMount /kcmria ajp13
> > > > >>>JkMount /kcmria/* ajp13
> > > > >>>
> > > > >>>I'm stumped.  I even tried the HelloWorldExample servlet in my
>context
> > >but
> > > > >>>still no go.  I've also tried different file permissions to no
>avail.
> > > > >>>I've
> > > > >>>lost a full day of development on this so any help would be very
>much
> > > > >>>appreciated.  I'll give you my dog, cat, wife, etc. if you can
>figure
> > >this
> > > > >>>out.
> > > > >>>
> > > > >>>Thanks,
> > > > >>>Kenny
> > > > >>>
> > > > >>>
> > > >
> >>>---------------------------------------------------------------------
> > > > >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > > >>>For additional commands, e-mail:
>tomcat-user-help@jakarta.apache.org
> > > > >>>
> > > > >>
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > >--
> > > > >Using M2, Opera's revolutionary e-mail client:
>http://www.opera.com/m2/
> > > > >
> > > > >---------------------------------------------------------------------
> > > > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > > >
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

Re: Servlets not working in my context

Posted by "Kenny G. Dubuisson, Jr." <kd...@kcmria.com>.
Yeah I'm positive that the invoker servlet mapping was commented out (and I
had never edited the web.xml file).  The actual invoker servlet declaration
was uncommented.  Hope this helps,
Kenny

----- Original Message -----
From: "Jacob Kjome" <ho...@visi.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, May 14, 2003 3:07 PM
Subject: Re: Servlets not working in my context


>
> What version are you using?  As of recent tomcat versions (including
> Tomcat-4.1.24), the only way the servlet-mapping for the invoker servlet
is
> commented out is if you did it.  Are you sure you aren't confusing
> <servlet> with <servlet-mapping>?  The former is not commented out by
> default, the latter is.  Both need to be uncommented for
> http://localhost:8080/mycontext/servlet/MyServlet to work.
>
> Jake
>
> At 02:48 PM 5/14/2003 -0500, you wrote:
> >Hmm...it is uncommented by default?  I went to the file and it's not
> >commented out. HTH,
> >Kenny
> >
> >----- Original Message -----
> >From: "Jacob Kjome" <ho...@visi.com>
> >To: "Tomcat Users List" <to...@jakarta.apache.org>
> >Sent: Wednesday, May 14, 2003 2:48 PM
> >Subject: Re: Servlets not working in my context
> >
> >
> > >
> > > You need to enable the invoker servlet.  Uncomment the servlet mapping
for
> > > the invoker servlet in CATALINA_HOME/conf/web.xml
> > >
> > > Jake
> > >
> > > At 03:26 PM 5/14/2003 -0400, you wrote:
> > >
> > > >Nice dog, but since I'm just a sys-admin, I shall defer to Yoav and
the
> > > >other gurus.
> > > >
> > > >John
> > > >
> > > >On Wed, 14 May 2003 15:09:06 -0400, John Turner <tomcat-
> > > >user@johnturner.com> wrote:
> > > >
> > > >>
> > > >>What kind of dog? ;)
> > > >>
> > > >>John
> > > >>
> > > >>On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr.
> > > >><kd...@kcmria.com> wrote:
> > > >>
> > > >>>Hello all.  I just recently lost my hard drive in my development
server
> >and
> > > >>>had to rebuild it.  After reloading all software and creating my
> >context I
> > > >>>can't get any of my servlets to work (I get an error saying that
the
> >servlet
> > > >>>is unavailable).  My JSP's work fine in my context but servlets
don't.
> > > >>>
> > > >>>I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was
> >created
> > > >>>with the following in my server.xml file:
> > > >>>
> > > >>><Context path="/kcmria" docBase="kcmria" debug="0"
reloadable="true"
> > > >>>crossContext="true">
> > > >>><Logger className="org.apache.catalina.logger.FileLogger"
> > > >>>prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
> > > >>></Context>
> > > >>>
> > > >>>I also added the following lines to my mod_jk.conf file:
> > > >>>
> > > >>>JkMount /kcmria ajp13
> > > >>>JkMount /kcmria/* ajp13
> > > >>>
> > > >>>I'm stumped.  I even tried the HelloWorldExample servlet in my
context
> >but
> > > >>>still no go.  I've also tried different file permissions to no
avail.
> > > >>>I've
> > > >>>lost a full day of development on this so any help would be very
much
> > > >>>appreciated.  I'll give you my dog, cat, wife, etc. if you can
figure
> >this
> > > >>>out.
> > > >>>
> > > >>>Thanks,
> > > >>>Kenny
> > > >>>
> > > >>>
> > >
>>>---------------------------------------------------------------------
> > > >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > >>>For additional commands, e-mail:
tomcat-user-help@jakarta.apache.org
> > > >>>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >--
> > > >Using M2, Opera's revolutionary e-mail client:
http://www.opera.com/m2/
> > > >
> > > >---------------------------------------------------------------------
> > > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Servlets not working in my context

Posted by Jacob Kjome <ho...@visi.com>.
What version are you using?  As of recent tomcat versions (including 
Tomcat-4.1.24), the only way the servlet-mapping for the invoker servlet is 
commented out is if you did it.  Are you sure you aren't confusing 
<servlet> with <servlet-mapping>?  The former is not commented out by 
default, the latter is.  Both need to be uncommented for 
http://localhost:8080/mycontext/servlet/MyServlet to work.

Jake

At 02:48 PM 5/14/2003 -0500, you wrote:
>Hmm...it is uncommented by default?  I went to the file and it's not
>commented out. HTH,
>Kenny
>
>----- Original Message -----
>From: "Jacob Kjome" <ho...@visi.com>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Wednesday, May 14, 2003 2:48 PM
>Subject: Re: Servlets not working in my context
>
>
> >
> > You need to enable the invoker servlet.  Uncomment the servlet mapping for
> > the invoker servlet in CATALINA_HOME/conf/web.xml
> >
> > Jake
> >
> > At 03:26 PM 5/14/2003 -0400, you wrote:
> >
> > >Nice dog, but since I'm just a sys-admin, I shall defer to Yoav and the
> > >other gurus.
> > >
> > >John
> > >
> > >On Wed, 14 May 2003 15:09:06 -0400, John Turner <tomcat-
> > >user@johnturner.com> wrote:
> > >
> > >>
> > >>What kind of dog? ;)
> > >>
> > >>John
> > >>
> > >>On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr.
> > >><kd...@kcmria.com> wrote:
> > >>
> > >>>Hello all.  I just recently lost my hard drive in my development server
>and
> > >>>had to rebuild it.  After reloading all software and creating my
>context I
> > >>>can't get any of my servlets to work (I get an error saying that the
>servlet
> > >>>is unavailable).  My JSP's work fine in my context but servlets don't.
> > >>>
> > >>>I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was
>created
> > >>>with the following in my server.xml file:
> > >>>
> > >>><Context path="/kcmria" docBase="kcmria" debug="0" reloadable="true"
> > >>>crossContext="true">
> > >>><Logger className="org.apache.catalina.logger.FileLogger"
> > >>>prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
> > >>></Context>
> > >>>
> > >>>I also added the following lines to my mod_jk.conf file:
> > >>>
> > >>>JkMount /kcmria ajp13
> > >>>JkMount /kcmria/* ajp13
> > >>>
> > >>>I'm stumped.  I even tried the HelloWorldExample servlet in my context
>but
> > >>>still no go.  I've also tried different file permissions to no avail.
> > >>>I've
> > >>>lost a full day of development on this so any help would be very much
> > >>>appreciated.  I'll give you my dog, cat, wife, etc. if you can figure
>this
> > >>>out.
> > >>>
> > >>>Thanks,
> > >>>Kenny
> > >>>
> > >>>
> > >>>---------------------------------------------------------------------
> > >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > >>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >>>
> > >>
> > >>
> > >
> > >
> > >
> > >--
> > >Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

Re: Servlets not working in my context

Posted by "Kenny G. Dubuisson, Jr." <kd...@kcmria.com>.
Hmm...it is uncommented by default?  I went to the file and it's not
commented out. HTH,
Kenny

----- Original Message -----
From: "Jacob Kjome" <ho...@visi.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, May 14, 2003 2:48 PM
Subject: Re: Servlets not working in my context


>
> You need to enable the invoker servlet.  Uncomment the servlet mapping for
> the invoker servlet in CATALINA_HOME/conf/web.xml
>
> Jake
>
> At 03:26 PM 5/14/2003 -0400, you wrote:
>
> >Nice dog, but since I'm just a sys-admin, I shall defer to Yoav and the
> >other gurus.
> >
> >John
> >
> >On Wed, 14 May 2003 15:09:06 -0400, John Turner <tomcat-
> >user@johnturner.com> wrote:
> >
> >>
> >>What kind of dog? ;)
> >>
> >>John
> >>
> >>On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr.
> >><kd...@kcmria.com> wrote:
> >>
> >>>Hello all.  I just recently lost my hard drive in my development server
and
> >>>had to rebuild it.  After reloading all software and creating my
context I
> >>>can't get any of my servlets to work (I get an error saying that the
servlet
> >>>is unavailable).  My JSP's work fine in my context but servlets don't.
> >>>
> >>>I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was
created
> >>>with the following in my server.xml file:
> >>>
> >>><Context path="/kcmria" docBase="kcmria" debug="0" reloadable="true"
> >>>crossContext="true">
> >>><Logger className="org.apache.catalina.logger.FileLogger"
> >>>prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
> >>></Context>
> >>>
> >>>I also added the following lines to my mod_jk.conf file:
> >>>
> >>>JkMount /kcmria ajp13
> >>>JkMount /kcmria/* ajp13
> >>>
> >>>I'm stumped.  I even tried the HelloWorldExample servlet in my context
but
> >>>still no go.  I've also tried different file permissions to no avail.
> >>>I've
> >>>lost a full day of development on this so any help would be very much
> >>>appreciated.  I'll give you my dog, cat, wife, etc. if you can figure
this
> >>>out.
> >>>
> >>>Thanks,
> >>>Kenny
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>>
> >>
> >>
> >
> >
> >
> >--
> >Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Servlets not working in my context

Posted by Jacob Kjome <ho...@visi.com>.
You need to enable the invoker servlet.  Uncomment the servlet mapping for 
the invoker servlet in CATALINA_HOME/conf/web.xml

Jake

At 03:26 PM 5/14/2003 -0400, you wrote:

>Nice dog, but since I'm just a sys-admin, I shall defer to Yoav and the 
>other gurus.
>
>John
>
>On Wed, 14 May 2003 15:09:06 -0400, John Turner <tomcat- 
>user@johnturner.com> wrote:
>
>>
>>What kind of dog? ;)
>>
>>John
>>
>>On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr. 
>><kd...@kcmria.com> wrote:
>>
>>>Hello all.  I just recently lost my hard drive in my development server and
>>>had to rebuild it.  After reloading all software and creating my context I
>>>can't get any of my servlets to work (I get an error saying that the servlet
>>>is unavailable).  My JSP's work fine in my context but servlets don't.
>>>
>>>I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was created
>>>with the following in my server.xml file:
>>>
>>><Context path="/kcmria" docBase="kcmria" debug="0" reloadable="true"
>>>crossContext="true">
>>><Logger className="org.apache.catalina.logger.FileLogger"
>>>prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
>>></Context>
>>>
>>>I also added the following lines to my mod_jk.conf file:
>>>
>>>JkMount /kcmria ajp13
>>>JkMount /kcmria/* ajp13
>>>
>>>I'm stumped.  I even tried the HelloWorldExample servlet in my context but
>>>still no go.  I've also tried different file permissions to no avail.
>>>I've
>>>lost a full day of development on this so any help would be very much
>>>appreciated.  I'll give you my dog, cat, wife, etc. if you can figure this
>>>out.
>>>
>>>Thanks,
>>>Kenny
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>
>>
>
>
>
>--
>Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

Re: Servlets not working in my context

Posted by John Turner <to...@johnturner.com>.
Nice dog, but since I'm just a sys-admin, I shall defer to Yoav and the 
other gurus.

John

On Wed, 14 May 2003 15:09:06 -0400, John Turner <tomcat- 
user@johnturner.com> wrote:

>
> What kind of dog? ;)
>
> John
>
> On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr. 
> <kd...@kcmria.com> wrote:
>
>> Hello all.  I just recently lost my hard drive in my development server 
>> and
>> had to rebuild it.  After reloading all software and creating my context 
>> I
>> can't get any of my servlets to work (I get an error saying that the 
>> servlet
>> is unavailable).  My JSP's work fine in my context but servlets don't.
>>
>> I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was 
>> created
>> with the following in my server.xml file:
>>
>> <Context path="/kcmria" docBase="kcmria" debug="0" reloadable="true"
>> crossContext="true">
>> <Logger className="org.apache.catalina.logger.FileLogger"
>> prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
>> </Context>
>>
>> I also added the following lines to my mod_jk.conf file:
>>
>> JkMount /kcmria ajp13
>> JkMount /kcmria/* ajp13
>>
>> I'm stumped.  I even tried the HelloWorldExample servlet in my context 
>> but
>> still no go.  I've also tried different file permissions to no avail.  
>> I've
>> lost a full day of development on this so any help would be very much
>> appreciated.  I'll give you my dog, cat, wife, etc. if you can figure 
>> this
>> out.
>>
>> Thanks,
>> Kenny
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>
>
>



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

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Servlets not working in my context

Posted by "Kenny G. Dubuisson, Jr." <kd...@kcmria.com>.
Half dalmation, half pit bull (I adopted her from the pound around
Christmas). HTH,
Kenny

----- Original Message -----
From: "John Turner" <to...@johnturner.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, May 14, 2003 2:09 PM
Subject: Re: Servlets not working in my context


>
> What kind of dog? ;)
>
> John
>
> On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr.
> <kd...@kcmria.com> wrote:
>
> > Hello all.  I just recently lost my hard drive in my development server
> > and
> > had to rebuild it.  After reloading all software and creating my context
> > I
> > can't get any of my servlets to work (I get an error saying that the
> > servlet
> > is unavailable).  My JSP's work fine in my context but servlets don't.
> >
> > I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was
> > created
> > with the following in my server.xml file:
> >
> > <Context path="/kcmria" docBase="kcmria" debug="0" reloadable="true"
> > crossContext="true">
> > <Logger className="org.apache.catalina.logger.FileLogger"
> > prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
> > </Context>
> >
> > I also added the following lines to my mod_jk.conf file:
> >
> > JkMount /kcmria ajp13
> > JkMount /kcmria/* ajp13
> >
> > I'm stumped.  I even tried the HelloWorldExample servlet in my context
> > but
> > still no go.  I've also tried different file permissions to no avail.
> > I've
> > lost a full day of development on this so any help would be very much
> > appreciated.  I'll give you my dog, cat, wife, etc. if you can figure
> > this
> > out.
> >
> > Thanks,
> > Kenny
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
>
> --
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Servlets not working in my context

Posted by John Turner <to...@johnturner.com>.
What kind of dog? ;)

John

On Wed, 14 May 2003 13:55:42 -0500, Kenny G. Dubuisson, Jr. 
<kd...@kcmria.com> wrote:

> Hello all.  I just recently lost my hard drive in my development server 
> and
> had to rebuild it.  After reloading all software and creating my context 
> I
> can't get any of my servlets to work (I get an error saying that the 
> servlet
> is unavailable).  My JSP's work fine in my context but servlets don't.
>
> I'm running Tomcat 4.1.24 with Apache 2 and mod_jk.  My context was 
> created
> with the following in my server.xml file:
>
> <Context path="/kcmria" docBase="kcmria" debug="0" reloadable="true"
> crossContext="true">
> <Logger className="org.apache.catalina.logger.FileLogger"
> prefix="localhost_kcmria_log." suffix=".txt" timestamp="true"/>
> </Context>
>
> I also added the following lines to my mod_jk.conf file:
>
> JkMount /kcmria ajp13
> JkMount /kcmria/* ajp13
>
> I'm stumped.  I even tried the HelloWorldExample servlet in my context 
> but
> still no go.  I've also tried different file permissions to no avail.  
> I've
> lost a full day of development on this so any help would be very much
> appreciated.  I'll give you my dog, cat, wife, etc. if you can figure 
> this
> out.
>
> Thanks,
> Kenny
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



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

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org