Where is the best place of RHFC5 to add the code to start tomcat5 with
CATALINA_OPTS="-Djava.awt.headless=true"
Would it be in the dtomcat5 script in /usr/bin
Thanks
KP
I would think $CATALINA_HOME/bin/setenv.sh - it is an optional file,
and gets called by $CATALINA_HOME/bin/catalina.sh (in the standard
tomcat distribution).
Larry
On 2/19/06, kevin <[EMAIL PROTECTED]> wrote:
> Where is the best place of RHFC5 to add the code to start tomcat5 with
> CATALINA_OP
Just like it says at the bottom of every message.
> -Original Message-
> From: François Hétu [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February 19, 2006 2:08 AM
> To: 'Tomcat Users List'
> Subject: RE: Unsubscribing to this list
>
>
> Hi,
>
> Just send an email through your account: [
Put that in catalina.sh file , $CATALINA_HOME/bin
kevin wrote:
Where is the best place of RHFC5 to add the code to start tomcat5 with
CATALINA_OPTS="-Djava.awt.headless=true"
Would it be in the dtomcat5 script in /usr/bin
Thanks
KP
--
Vinu Varg
Hi,
How can I retrieve the host name (defined in the tomcat server.xml) or some
unique host id in a JSP/Servlet code?
Regards,
Amir S
[EMAIL PROTECTED] wrote:
> Hi,
Hi,
> i upgrade recently my tomcat from 4.1 to 5.5.
> I have some problem on deploy.
> My application is made of about 200 servlet.
>
> In the old tomcat version i specify a element in server.xml and
> all works in the right way.
>
> In the new version this configu
Hey guys,
Thanks for the help with the previous problem I had, I've managed to solve them
now thanks to your help. But now I'm having a problem with setting up a
DataSource connection. I've followed the example word for word and got the
following error:
javax.servlet.ServletException: Unable
Hi All:
I am not very familiar with Unix OS, Let us say, after i logged in to my
unix account,
what is the command i should use to find out whether or not TomCat is
installed??
please let me know..
Many thanks..
Look up resource link. It goes in the context.xml
Also only put the jar file in the common/lib and no where else.
- Original Message -
From: "Mark Whitby" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, February 19, 2006 12:53 PM
Subject: JNDI Datasource Problem
Hey guys,
I've done that and I now get the following error:
org.apache.jasper.JasperException: Unable to get connection, DataSource
invalid: "java.sql.SQLException: No suitable driver"
This is what I have in my context.xml file:
WEB-INF/web.xml
Any further suggestions?
Mark
I think you should clarify what you are trying to determine.
Are you asking for a command that will prove that Tomcat is (correctly)
installed? Or are you asking whether a given application is installed within
Tomcat? Or, do you really want to know if Tomcat is simply running at a
given moment
Just to add to my bermusement at this problem, I've used the following jsp
page and this works fine!
I've tried every link I can think of and people have the problem but no-one
seems to have a solution!
Mark
<%@ page import="java.sql.*" %>
<%
Class.forName("com.mysql.jdbc.Driver").newInst
Since you have , this suggests you are using some
version of 5.5. In this case, the is ignored (you set
them as attributes on the tag).
"Mark Whitby" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've done that and I now get the following error:
>
> org.apache.jasper.JasperEx
For the sake of others who might have the
same question, now or in the future, I'm replying on the list.
Our copy of Tomcat 4 is not installed in
/usr/lib; it is in /var/tomcat4. It's been a few years since it was installed
and I honestly don't remember if that was the default install locat
Yes I'm using version 5.5.15. What I have in the server.xml file is what is
advised in the Tomcat set up pages. So would it make any difference
removing one of these or as it's ignored does it not matter?
Mark
- Original Message -
From: "Bill Barker" <[EMAIL PROTECTED]>
To:
Sent:
There is no ResourceParams in 5.5. Check the documentation again, and
make sure you're looking at the docs for 5.5 not 5.0.
--
Len
On 2/19/06, Mark Whitby <[EMAIL PROTECTED]> wrote:
> Yes I'm using version 5.5.15. What I have in the server.xml file is what is
> advised in the Tomcat set up pages
I've checked the documentation and yes I was reading the 5.0 version not the
5.5 one! However I've followed the new instructions and still get the
following error:
javax.servlet.ServletException: Unable to get connection, DataSource
invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Ca
EDIT: I've just realised that my server.xml file may not be correctly set up
so I've attached it to this email incase that is the case. I did change it
using the Tomcat Admin and it seems to have messed up my formatting so I
can't tell if the context and host tags are correct.
Mark
- Ori
Maybe you need to ask a different question: "If I'm pretty sure
that Tomcat is installed on a given Linux machine but I'm not sure
where it is, how do I find it?"
If you don't know who installed what and by what means, then, like
you said, tomcat can be anywhere .. and rpm might put it some
Hello all,
I am doing a presentation soon, and I was wondering if anyone is aware
of where I can get good quality images for Apache, Tomcat, Struts, etc. It
would be nice to have good quality images as I need to print them on a
poster. Thanks in advance.
Regards,
Khawaja Shams
David,
I have taken some time to look through the information you have
provided and have come to the conclusion that there are 2 issues here.
The first is the connection errors of the form:
[Mon Feb 13 07:56:51 2006] [info] jk_ajp_common.c (1749): Sending
request to tomcat failed, recoverable o
>
> My 2 cents.
> -steve
>
I agree with Steve, and moreover, what
about environment variables such
catalina home, java home and classpath
and so on? Look for them in the script...
G.
--
Giuseppe Briotti
[EMAIL PROTECTED]
"Alme Sol, curru nitido diem qui
promis et celas aliusque et idem
n
How can I retrieve the host name (defined in the tomcat server.xml) or some
unique host id in a JSP/Servlet code?
request.getRequestURL() returns the complete URL the client
used. If you have multiple s in your tomcat
installation, then here you see the host name used.
See javax.servlet.http.Ht
your connection string doesn't quite look right the following is what I use.
jdbc:mysql://box.domain.com:3306/dbname?user=whoever&password=whatever
The problem that is usually associated with the error message you get
invalid: "java.sql.SQLException: No suitable driver" usually implies
that t
Kind of. If I can set the principal on each request, then all down
stream processing can go with that. Problem is that concreate class does
not implement that. atleast as a public method.
anil
Anyone know how to get around this?? I am looking at Acegi filter code,
how they do that.
Ken Joh
I am not very familiar with Unix OS, Let us say, after i logged in to my
unix account,
what is the command i should use to find out whether or not TomCat is
installed??
If on redhat/fedora core,
rpm -qa|grep tomcat
will tell you if there's anything that has tomcat in the name. (Since
the
26 matches
Mail list logo