You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Augustina Blair <we...@phreshness.com> on 2003/10/10 22:09:20 UTC
tomcat and mac os 10.2.8 update
i have a quick question... i had jakarta-tomcat-4.1.27 installed and
working fine on my system. after i installed the update i keep getting
this weird error message (i have a little scripty thing as per apple's
instructions, that's the first 4 lines of output):
Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.1.27
Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.1.27
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.1.27/temp
Using JAVA_HOME: /usr
touch: /usr/local/jakarta-tomcat-4.1.27/logs/catalina.out: Bad file
descriptor
/usr/local/jakarta-tomcat-4.1.27/bin/catalina.sh: 1: Bad file descriptor
I'm thinking i should just reinstall tomcat and call it a day, but if
anybody has any ideas. it seeeeeems like it might be a problem with
the JAVA_HOME value... (no values have changed in the file and this is
EXACTLY how apple says to do it on the dev page:
http://developer.apple.com/internet/java/tomcat1.html ). and like i
said this was all working fine up until i installed the update...
grrr...
-->augustina
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Unable to locate JSP page from Servlet.
Posted by Twan Munster <t....@emaxx.nl>.
go to http:\\localhost:8080
--> manager
en klik on the folder where servlet is and click reload
----- Original Message -----
From: "anunay ashish" <an...@tis.co.in>
To: "Tomcat Users List" <to...@jakarta.apache.org>; "Twan Munster"
<t....@emaxx.nl>
Sent: Monday, October 13, 2003 10:43 AM
Subject: Re: Unable to locate JSP page from Servlet.
> How do we reload servlet in Tomcat manager?
> ----- Original Message -----
> From: "Twan Munster" <t....@emaxx.nl>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Monday, October 13, 2003 2:06 PM
> Subject: Re: Unable to locate JSP page from Servlet.
>
>
> > Hello,
> >
> > You've correctly configured your sitemap? En maybe you have to restart
> > tomcat,
> > or reload the servlet in the tomcat manager.
> >
> > good luck
> >
> > Twan
> > ----- Original Message -----
> > From: "anunay ashish" <an...@tis.co.in>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Monday, October 13, 2003 10:32 AM
> > Subject: Unable to locate JSP page from Servlet.
> >
> >
> > > Hi,
> > > I am calling a JSP page from a servlet as follows:
> > > try
> > > {
> > > //set the attribute and forward to pageFormat.jsp
> > > request.setAttribute("servletName", "addDataServlet");
> > >
> > >
> >
>
getServletConfig().getServletContext().getRequestDispatcher("/Tracking_syste
> > > m/pageFormat.jsp").forward(request, response);
> > > }
> > > catch (Exception ex)
> > > {
> > > ex.printStackTrace ();
> > > }
> > >
> > > But the error I am getting is HTTP Status 404.
> > > Physically the JSP file is present in that folder.
> > > Why is the my application not able to locate my JSP page?
> > > Where am I going wrong?
> > > Thanks in advance?
> > >
> > > ----- Original Message -----
> > > From: "Martin Jacobson" <ma...@libero.it>
> > > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > > Sent: Monday, October 13, 2003 1:38 PM
> > > Subject: Re: tomcat and mac os 10.2.8 update
> > >
> > >
> > > > Giuliano Gavazzi wrote:
> > > >
> > > > > was /usr/local a symbilic link? If so the installation might have
> > > > > replaced it with a directory. so you should copy the new content
to
> > the
> > > > > target and reinstate the symbilic link.
> > > > >
> > > > > BTW Using JAVA_HOME: /usr sounds wrong to me.
> > > > >
> > > > No, that's right for Mac OS X
> > > >
> > > > Martin
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Unable to locate JSP page from Servlet.
Posted by anunay ashish <an...@tis.co.in>.
How do we reload servlet in Tomcat manager?
----- Original Message -----
From: "Twan Munster" <t....@emaxx.nl>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, October 13, 2003 2:06 PM
Subject: Re: Unable to locate JSP page from Servlet.
> Hello,
>
> You've correctly configured your sitemap? En maybe you have to restart
> tomcat,
> or reload the servlet in the tomcat manager.
>
> good luck
>
> Twan
> ----- Original Message -----
> From: "anunay ashish" <an...@tis.co.in>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Monday, October 13, 2003 10:32 AM
> Subject: Unable to locate JSP page from Servlet.
>
>
> > Hi,
> > I am calling a JSP page from a servlet as follows:
> > try
> > {
> > //set the attribute and forward to pageFormat.jsp
> > request.setAttribute("servletName", "addDataServlet");
> >
> >
>
getServletConfig().getServletContext().getRequestDispatcher("/Tracking_syste
> > m/pageFormat.jsp").forward(request, response);
> > }
> > catch (Exception ex)
> > {
> > ex.printStackTrace ();
> > }
> >
> > But the error I am getting is HTTP Status 404.
> > Physically the JSP file is present in that folder.
> > Why is the my application not able to locate my JSP page?
> > Where am I going wrong?
> > Thanks in advance?
> >
> > ----- Original Message -----
> > From: "Martin Jacobson" <ma...@libero.it>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Monday, October 13, 2003 1:38 PM
> > Subject: Re: tomcat and mac os 10.2.8 update
> >
> >
> > > Giuliano Gavazzi wrote:
> > >
> > > > was /usr/local a symbilic link? If so the installation might have
> > > > replaced it with a directory. so you should copy the new content to
> the
> > > > target and reinstate the symbilic link.
> > > >
> > > > BTW Using JAVA_HOME: /usr sounds wrong to me.
> > > >
> > > No, that's right for Mac OS X
> > >
> > > Martin
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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: Unable to locate JSP page from Servlet.
Posted by Twan Munster <t....@emaxx.nl>.
Hello,
You've correctly configured your sitemap? En maybe you have to restart
tomcat,
or reload the servlet in the tomcat manager.
good luck
Twan
----- Original Message -----
From: "anunay ashish" <an...@tis.co.in>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, October 13, 2003 10:32 AM
Subject: Unable to locate JSP page from Servlet.
> Hi,
> I am calling a JSP page from a servlet as follows:
> try
> {
> //set the attribute and forward to pageFormat.jsp
> request.setAttribute("servletName", "addDataServlet");
>
>
getServletConfig().getServletContext().getRequestDispatcher("/Tracking_syste
> m/pageFormat.jsp").forward(request, response);
> }
> catch (Exception ex)
> {
> ex.printStackTrace ();
> }
>
> But the error I am getting is HTTP Status 404.
> Physically the JSP file is present in that folder.
> Why is the my application not able to locate my JSP page?
> Where am I going wrong?
> Thanks in advance?
>
> ----- Original Message -----
> From: "Martin Jacobson" <ma...@libero.it>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Monday, October 13, 2003 1:38 PM
> Subject: Re: tomcat and mac os 10.2.8 update
>
>
> > Giuliano Gavazzi wrote:
> >
> > > was /usr/local a symbilic link? If so the installation might have
> > > replaced it with a directory. so you should copy the new content to
the
> > > target and reinstate the symbilic link.
> > >
> > > BTW Using JAVA_HOME: /usr sounds wrong to me.
> > >
> > No, that's right for Mac OS X
> >
> > Martin
> >
> >
> > ---------------------------------------------------------------------
> > 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
Unable to locate JSP page from Servlet.
Posted by anunay ashish <an...@tis.co.in>.
Hi,
I am calling a JSP page from a servlet as follows:
try
{
//set the attribute and forward to pageFormat.jsp
request.setAttribute("servletName", "addDataServlet");
getServletConfig().getServletContext().getRequestDispatcher("/Tracking_syste
m/pageFormat.jsp").forward(request, response);
}
catch (Exception ex)
{
ex.printStackTrace ();
}
But the error I am getting is HTTP Status 404.
Physically the JSP file is present in that folder.
Why is the my application not able to locate my JSP page?
Where am I going wrong?
Thanks in advance?
----- Original Message -----
From: "Martin Jacobson" <ma...@libero.it>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, October 13, 2003 1:38 PM
Subject: Re: tomcat and mac os 10.2.8 update
> Giuliano Gavazzi wrote:
>
> > was /usr/local a symbilic link? If so the installation might have
> > replaced it with a directory. so you should copy the new content to the
> > target and reinstate the symbilic link.
> >
> > BTW Using JAVA_HOME: /usr sounds wrong to me.
> >
> No, that's right for Mac OS X
>
> Martin
>
>
> ---------------------------------------------------------------------
> 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: tomcat and mac os 10.2.8 update
Posted by Martin Jacobson <ma...@libero.it>.
Giuliano Gavazzi wrote:
> was /usr/local a symbilic link? If so the installation might have
> replaced it with a directory. so you should copy the new content to the
> target and reinstate the symbilic link.
>
> BTW Using JAVA_HOME: /usr sounds wrong to me.
>
No, that's right for Mac OS X
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: tomcat and mac os 10.2.8 update
Posted by Giuliano Gavazzi <de...@humph.com>.
was /usr/local a symbilic link? If so the installation might have
replaced it with a directory. so you should copy the new content to
the target and reinstate the symbilic link.
BTW Using JAVA_HOME: /usr sounds wrong to me.
Giuliano
At 13:09 -0700 2003/10/10, Augustina Blair wrote:
>i have a quick question... i had jakarta-tomcat-4.1.27 installed and
>working fine on my system. after i installed the update i keep
>getting this weird error message (i have a little scripty thing as
>per apple's instructions, that's the first 4 lines of output):
>
>Using CATALINA_BASE: /usr/local/jakarta-tomcat-4.1.27
>Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.1.27
>Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.1.27/temp
>Using JAVA_HOME: /usr
>touch: /usr/local/jakarta-tomcat-4.1.27/logs/catalina.out: Bad file descriptor
>/usr/local/jakarta-tomcat-4.1.27/bin/catalina.sh: 1: Bad file descriptor
>
[...]
--
H U M P H
|| |||
software
Java & C++ Server/Client/Human Interface applications on MacOS - MacOS X
http://www.humph.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org