> From: Nathan Potter [mailto:n...@opendap.org]
> Subject: Re: Tomcat returns HTTP status of 200 when
> HttpServletResponse.sendError() called.
>
> docs
> /docs
>
The above mapping is not useful; since it contains no wildcards, it can only be
used as an exact match for
Chuck et. al,
I tried the thing below, but Tomcat can't find the class:
org.apache.catalina.servlets.DefaultServlet
On this page of the Tomcat docs:
http://tomcat.apache.org/tomcat-6.0-doc/default-servlet.html
There is good infrormation but when I put this:
docs
org.ap
Regarding MySQL's autoincrement type, it looks like PostgreSQL has something
similar:
http://www.postgresql.org/docs/8.3/interactive/datatype-numeric.html#DATATYPE-SERIAL
I'm in the process of migrating a MySQL database to PostgrSQL.
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE--
Christopher Schultz-2 wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Br1,
>
> br1 wrote:
>> Do you think this limit will be increased in the next versions?
>>
>> In theory, no limit is imposed by the protocol itself. I would tend to
>> think
>> JK should at least support what
Hi,
I need to set up a proxy-server-with-transformation that frontends the
clients and transforms the incoming request (HTTP post) and forwards it to
the actual application server, and then get a response back and transforms
it back into data format that the client understands and send it to the
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: How to turn off JNDI datasource connection pooling
>
> I'm getting a little confused trying to follow this thread.
There was a distinct lack of specifics in the beginning. However, I think I
understand why he's doing this. As Keith mentioned,
Caldarale, Charles R wrote:
>> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
>> Subject: RE: How to turn off JNDI datasource connection pooling
>>
>> Look at the construct in the servlet spec.
>
> O.k., that was too simplistic. You'll also need the following.
>
> Does your DB d
On Fri, Jan 16, 2009 at 16:45, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Keith,
>
> Keith Thomas wrote:
>> As part of the
>> deployment I just need a way of defining the datasource in a manner that is
>> external to my code and configurable by administrators.
> From: g f [mailto:gfo...@gmail.com]
> Subject: Re: Tomcat Beginner - Step 2!
>
> Change your port forwarding(virtual server) to forward port 80 (on the
> outside) to port 8080 on the inside.
If your router/modem doesn't support port forwarding, change the
port in conf/server.xml to use 80 rath
Your public address will be your wan ip address(ienot 192.168.0.101).
Look in your dlink router config webpage under WAN and that will be your
public ip address.
Change your port forwarding(virtual server) to forward port 80 (on the
outside) to port 8080 on the inside.
If you kept tomcat conf
Hi,
I have written my first web service which works fine and is visible at
//localhost:8080/mywebservice. I still can't make it publicly visible.
I have a beginner few questions.
1. What is the default public address of my tomcat server, and the
applications on it. Is it just my external IP ad
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Keith,
Keith Thomas wrote:
> As part of the
> deployment I just need a way of defining the datasource in a manner that is
> external to my code and configurable by administrators.
Use of a DataSource implies the use of a connection pool, which seems
As far as schemas in Postgres go, a normal way to handle them is to create
schema-specific users with an appropriately-set default schema, e.g.
something like:
CREATE SCHEMA company_a ;
CREATE USER company_a_user PASSWORD 'foo' ;
ALTER USER company_a_user SET search_path TO company_a, public
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
> Subject: RE: How to turn off JNDI datasource connection pooling
>
> Look at the construct in the servlet spec.
O.k., that was too simplistic. You'll also need the following.
Does your DB driver include some factory class that cr
> From: Caldarale, Charles R
> Subject: RE: How to turn off JNDI datasource connection pooling
>
> Make sure you set auth=Servlet in the .
That should be auth="Application".
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by t
> From: Keith Thomas [mailto:keith.tho...@gmail.com]
> Subject: Re: How to turn off JNDI datasource connection pooling
>
> I just want to be able to define the datasource using JNDI so
> it is external to my application.
That's another piece of information you haven't supplied before. Look at the
Thanks Jan. I don't want to use Tomcat's database pool, I just want to be
able to define the datasource using JNDI so it is external to my
application. I am doing this for various web servers and I'm beginning to
think I will have to tell my customers Tomcat does not support JNDI
datasource defini
That may be true about the public schema being used when one isn't specified.
But when I use their pgAdmin gui tool and open the query window and try to run
the tiger sample from the Jailer tutorial it blows up on the table creates,
saying:
ERROR: no schema has been selected to create in
I am managing the database connection credentials because this is the only
way to access this legacy database. Otherwise I have very little code
because Hibernate takes care of all the heavy lifting. As part of the
deployment I just need a way of defining the datasource in a manner that is
externa
> From: jclark42796 [mailto:jclark42...@gmail.com]
> Subject: Multi-level context broken in Tomcat 6.0.18?
>
> Everything works ok and the app is deployed in
> C:\tomcat-5.5.20\webapps\abc.gov\wiki
I think "working" in this case was accidental.
> However, when I tried doing the same thing w/ 6.0.
Dear Keith,
It's not clear what you want to do (as opposed to what you don't
want to
do). Is your goal to use a >> new DB connection for every DB access
your
webapp makes, or do you want to do DB connection >>
pooling inside your webapp, or ???
Not using connection pooling at all is a r
> From: Keith Thomas [mailto:keith.tho...@gmail.com]
> Subject: RE: How to turn off JNDI datasource connection pooling
>
> The security for the data within the database is entirely
> baked into the restriction that every user has their own
> database connection.
>From the DB server perspective, th
I've been deploying under Tomcat 5.5.20 where my context is located here:
C:\tomcat-5.5.20\conf\Catalina\localhost\abc.gov#wiki.xml
Everything works ok and the app is deployed in
C:\tomcat-5.5.20\webapps\abc.gov\wiki
However, when I tried doing the same thing w/ 6.0.18, the deployed file
struct
>> It's not clear what you want to do (as opposed to what you don't want to
do). Is your goal to use a >> new DB connection for every DB access your
webapp makes, or do you want to do DB connection >>
>> pooling inside your webapp, or ???
>> Not using connection pooling at all is a real perform
> From: Keith Thomas [mailto:keith.tho...@gmail.com]
> Subject: Re: How to turn off JNDI datasource connection pooling
>
> provided enough explanation but what I want is for Tomcat
> to keep out of connection creation
It's not clear what you want to do (as opposed to what you don't want to do).
Apologies if I don't understand how a jndi datasource should work or if I've
not provided enough explanation but what I want is for Tomcat to keep out of
connection creation. Even if I have maxactive set to 1 I still get a
stacktrace like this,
at
org.apache.tomcat.dbcp.dbcp.DriverConnectionFacto
> From: johnrock [mailto:johnpi...@yahoo.com]
> Subject: RE: setup default webapp in tomcat 6 and apache
>
> What is the best way to configure/deploy an app so that it
> will be accessed from the url:
> http://localhost/index.jsp
There's nothing wrong with the way you're doing it, and there are ce
johnrock wrote:
>
> Caldarale, Charles R wrote:
>>> Isn't this a very standard thing to do?
>> No; one normally deploys webapps under the appBase.
>> - Chuck
>>
>
> Ok, I would like to follow the normal, best practices way. If you will
> indulge me one more try:
>
> What is the best way to con
Caldarale, Charles R wrote:
>
>> Isn't this a very standard thing to do?
>
> No; one normally deploys webapps under the appBase.
> - Chuck
>
Ok, I would like to follow the normal, best practices way. If you will
indulge me one more try:
What is the best way to configure/deploy an app so th
Christopher Schultz wrote:
> Pid,
>
> Pid wrote:
>> I have an app with a page which contains a flash object (displays a nice
>> graph) that calls a groovy script periodically to get data.
>
>> If the user session times out in between requests for the script then
>> when it's requested it's the fi
André Warnier wrote:
> #12 : make sure that the Tomcat users list gets your absentee email
> notifications.
#12a : Especially if all you're doing is announcing that you're not
working at the weekend.
p
> dara.p.magin...@aib.ie wrote:
>> I will be out of the office starting 16/01/2009 and will
> From: uddav [mailto:adi.upr...@gmail.com]
> Subject: RE: How to know when tomcat was started/stopped?
>
> I looked into both the files and wasn't able to tell what
> wordings were pointing to shutdown and what to startup.
You didn't bother to tell us what version of Tomcat you're using (or the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
uddav,
uddav wrote:
> The logs directory as i see it has two types of file.
> One of the types is "localhost_log.-MM-DD.txt" which looks like being
> generated one for each day and updated regularly through out the day where
> as another one is "c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Br1,
br1 wrote:
> Do you think this limit will be increased in the next versions?
>
> In theory, no limit is imposed by the protocol itself. I would tend to think
> JK should at least support what the JK supported platforms support.
The source code
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
Pid wrote:
> I have an app with a page which contains a flash object (displays a nice
> graph) that calls a groovy script periodically to get data.
>
> If the user session times out in between requests for the script then
> when it's requested i
Thank you for pointing it out.
The logs directory as i see it has two types of file.
One of the types is "localhost_log.-MM-DD.txt" which looks like being
generated one for each day and updated regularly through out the day where
as another one is "catalina.out".
I looked into both the file
great, I just needed to remove CATALINA_HOME
works now ok, many thanks!
Caldarale, Charles R wrote:
>
>> From: kareda [mailto:k...@digiplace.ch]
>> Subject: RE: Address already in use: JVM_Bind /87.230.103.25:80
>>
>> there is a system variable set to the first tomcat binary
>> instance th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Keith,
Keith Thomas wrote:
> I have an application that runs against a legacy database. For reasons I
> won't go into here I need to turn off jndi datasource connection pooling. I
> have been unsuccessful finding documentation or mailing list entries
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John,
johnrock wrote:
> # send all requests ending in .jsp to worker1
> JkMount /*.jsp worker1
> # send all requests ending /servlet to worker1
> JkMount /*/servlet/ worker1
[snip]
> What I am trying to do is very simpl
> From: uddav [mailto:adi.upr...@gmail.com]
> Subject: How to know when tomcat was started/stopped?
>
> Is there a way to know when tomcat was started/stopped
> manually by using the startup and shutdown scripts?
It's in the Tomcat logs.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/
> From: kareda [mailto:k...@digiplace.ch]
> Subject: RE: Address already in use: JVM_Bind /87.230.103.25:80
>
> there is a system variable set to the first tomcat binary
> instance that runs as service (tomcat #1):
> CATALINA_HOME=C:\apache-tomcat-6.0.18
You can safely remove that - the service do
Hello everyone,
Is there a way to know when tomcat was started/stopped manually by using the
startup and shutdown scripts?
I suggestions/ideas/recomendations in this direction would be greatly
appreciated.
Thanks in advance
uddav
--
View this message in context:
http://www.nabble.com/How-to-
there is a system variable set to the first tomcat binary instance that runs
as service (tomcat #1):
CATALINA_HOME=C:\apache-tomcat-6.0.18
The issue I have with the second tomcat binary instance (tomcat #2):
C:\digiplace\test2\apache-tomcat-6.0.18
yes, in 'catalina.bat run' output for tomcat #
#12 : make sure that the Tomcat users list gets your absentee email
notifications.
dara.p.magin...@aib.ie wrote:
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
A
> From: kareda [mailto:k...@digiplace.ch]
> Subject: Re: Address already in use: JVM_Bind /87.230.103.25:80
>
> it's probably using the server.xml from the other tomcat installation,
> right? strange.. what may cause this?
What is your current directory when you run catalina.bat?
What environment
kareda:
> thanks for the tip. indeed, the server.xml is not used at all. I removed it
> completely from the conf dir and when I ran catalina.bat run, the log output
> didn't change at all - still the same error.
> I have another tomcat instance on the same server, running as a service. so
> it's
On Fri, Jan 16, 2009 at 3:41 PM, kareda wrote:
>
>
> right? strange.. what may cause this?
>
Eclipse's Tomcat-plugin.
Check out ${your_workspace}\Servers\... and appropriate sub-directories.
Cheers
Gregor
--
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA5268
Hi Mark
actually I sent my answer directly to your account at apache.org since
I don't want my email-adress to show up in the mailing-list.
To be on the safe side:
The email I used was "myem...@googlemail.com" where "myemail" has to
be replaced with my real Googlemail-account.
Is it possible th
thanks for the tip. indeed, the server.xml is not used at all. I removed it
completely from the conf dir and when I ran catalina.bat run, the log output
didn't change at all - still the same error.
I have another tomcat instance on the same server, running as a service. so
it's probably using th
paul.ocklef...@nhs.net wrote:
> Yes, I have had about 15 now!
>
> -Original Message-
> From: Pid [mailto:p...@pidster.com]
> Sent: 16 January 2009 14:26
> To: Tomcat Users List
> Subject: Re: Dara P Maginnis/IR/AIB is out of the office.
>
> that was annoying after 3 copies...
> someone
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
Yes, I have had about 15 now!
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: 16 January 2009 14:26
To: Tomcat Users List
Subject: Re: Dara P Maginnis/IR/AIB is out of the office.
that was annoying after 3 copies...
someone unsubscribe him please?
p
dara.p.magin...@aib.i
that was annoying after 3 copies...
someone unsubscribe him please?
p
dara.p.magin...@aib.ie wrote:
> I will be out of the office starting 16/01/2009 and will not return until
> 18/01/2009.
>
> I will out of the office and will action my mails on my return
>
>
> Dara.P.Maginnis
> AIB IFS
> I
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
> From: johnrock [mailto:johnpi...@yahoo.com]
> Subject: RE: setup default webapp in tomcat 6 and apache
> Is that the typical way this should be done?
If you're keeping your webapp outside of the appBase directory, it's the
only way it can be done.
> I can't understand why I could not find th
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
Ken Bowen wrote:
Hi all (especially Chris -- very informative long post today on
Tomcat/MySQL):
For a several reasons (including the apparent infinite default for
connection timeout), I'm contemplating switching one or two projects
from MySQL to PostgreSQL. I'd like to gather opinions on the
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
I will be out of the office starting 16/01/2009 and will not return until
18/01/2009.
I will out of the office and will action my mails on my return
Dara.P.Maginnis
AIB IFS
IT
AIB International Centre, IFSC
6417986
This e-mail (and any files transmitted with it) is intended solely for the
use
The Apache Tomcat team is proud to announce the immediate
availability of Tomcat Native 1.1.16 stable. This build
contains a small number of bug fixes over the previous
release.
Please refer to the changelog:
http://tomcat.apache.org/native-doc/miscellaneous/changelog.html
for a complete list of
James Hoare wrote:
> Thanks for the response on this. I don't think I explained myself very
> clearly though, as we're not actually using a cluster so we never pass
> session deltas between the nodes. Our JBOSS instances are round robin load
> balanced via mod_jk, therefore if a user has a sessi
Gregor Schneider wrote:
> Hi guys,
>
> I've tried to register as a new user with the Tomcat bug-database
> (https://issues.apache.org/bugzilla/createaccount.cgi?login=myEmail%40somemailaccount.com,
> however, I don't receive any mail containing the activation-link.
>
> Tried it 2 times already, w
Christopher Schultz wrote:
> Pid,
>
> Pid wrote:
>> There's a couple of things that may be confusing the config below, which
>> have some simple corrections.
>
>> I usually place "login.jsp" and "error.jsp" in "WEB-INF/login/", where
>> they are protected from unwanted attention by default - this
Hi,
Thank you.. if this was this easy.. :-)
Unfortunately, one of their requirements is to send the URLs by email.
I already told them to use a different method, but I still hope to see an
higher limit in the next JK version.
Thanks again,
Br1.
awarnier wrote:
>
> br1 wrote:
>>
>> Rainer J
Hi guys,
I've tried to register as a new user with the Tomcat bug-database
(https://issues.apache.org/bugzilla/createaccount.cgi?login=myEmail%40somemailaccount.com,
however, I don't receive any mail containing the activation-link.
Tried it 2 times already, with a gap of 2 days in between the 2
r
Thanks for the response on this. I don't think I explained myself very clearly
though, as we're not actually using a cluster so we never pass session deltas
between the nodes. Our JBOSS instances are round robin load balanced via
mod_jk, therefore if a user has a session created on one server an
Some comments (and answers to Christopher and Rusty) on PostgreSQL:
In 2004 our team decided to use PostgreSQL instead of the well-known
MySQL (current version 4). The main reasons where
- real referential integrity
- real transactions
- support for UTF-8 enoding
- better compliance with the SQL
80 matches
Mail list logo