Chuck is right in that it can't be done with the standard pool that Tomcat
has. Due simply to the fact that the pool is established before anyone has
made a call to the server.
But what you could do is to create a connection for that user when they
authenticate and hold on to the connection fo
Rename your war to ROOT.war and deploy it.
Or you can manually deploy the app and point the default Host element to the
new appBase location.
Doug
- Original Message -
From: "Partheeban Boopathy" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Friday, September 30, 2005 5:06 PM
S
I don't think that Tomcat can do that without some hacking.
I think that you may be able to accomplish what you need by doing a little
redirecting.
You might be able to use a filter to parse and redirect the request to the
base domain.
Or use the default host as a catch all and the redirect
Remove thyself. Look at the bottom of the email. Spamming the list will not
help. The list admins are not on 24/7.
Doug
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, September 21, 2005 7:36 AM
Subject: RE: Create Valve and Deploy How to Help Please
Pleas
What OS are you on and what services are running?
It sounds like something else has the port tied up. If you can post a list
of the services maybe someone might spot it. If you are on windows there are
some apps out that can map the app/service to the ports being used.
If on Linux, which flav
That's why I don't gamble.:)
Doug
- Original Message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, September 15, 2005 9:29 PM
Subject: RE: Wher do I get binary of Tomcat
From: Parsons Technica
-alpha Potential for bugs and possibly lots of them and/or major ones.
-beta They think that most of the bugs are squashed.
No suffix stable and should run without major issues.
As for the other extensions try the readme file at the top of each section.
http://apache.towardex.com/jakarta/tomca
If I do http://localhost:8080/cart.faces returns an error 404.
Yep. It will. Since you are using the path attribute I assume this is in the
server.xml and to set it as the root you would use "".
" If you specify a context path of an empty string (""), you are defining
the default web applica
somewhere there
is someone who doesn't like it.
Doug
- Original Message -
From: "Thomas Corte" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, August 30, 2005 4:28 PM
Subject: Re: "No Host matches server name localhost" error
Hi,
P
MySQL shuts down the connections after 8 hours. Ran into this myself.
Yes, Tomcat has pooling built in.
Yes, it handles all aspects of the pool.
Try this link to start with:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html
It is directed more to the database p
Per the 5.5 doc you can't do it that way. You can only specify the path as a
blank string when the context element is in the server.xml.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Look at the path attribute.
Doug
- Original Message -
From: "Brian Moseley" <[
en
possible...
--- Ursprüngliche Nachricht ---
Von: "Parsons Technical Services" <[EMAIL PROTECTED]>
An: "Tomcat Users List"
Betreff: Re: Got trouble with virtual hosts
Datum: Mon, 29 Aug 2005 07:41:50 -0400
Unless there is another reason, why not drop Apache and run only
Unless there is another reason, why not drop Apache and run only Tomcat? It
can handle the virtual hosts just fine.
This would simplify the setup considerably.
Doug
- Original Message -
From: ""rueh hänä"" <[EMAIL PROTECTED]>
To:
Sent: Monday, August 29, 2005 6:58 AM
Subject: Got t
Yes there is one or more but they are not always online.
Doug
PS: As to the subject line, if I had his/her home address it would be very
tempting.
- Original Message -
From: "Larry Meadors" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, August 24, 2005 10:44 AM
Subje
Start here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/engine.html
Then read the link for host. Simply put, for each website put a host element
in for that site. But make sure you understand the default host.
Doug
- Original Message -
From: "Hassan Schroeder" <[EMAIL PR
To my knowledge (sometimes limited but open to expansion) the answer is no.
I base this on the understanding that each host loaded by Tomcat takes up
memory space. Then add the application to that.
Doug
- Original Message -
From: "Oleg" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
S
What version are you running?
Doug
- Original Message -
From: "Martyn George" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 27, 2005 10:59 PM
Subject: Viewing Web Resource Updates without Restarting Tomcat
Currently, I wish to make minor changes to web pages, and the like,
associa
It depends:
5.5.x only needs JRE
5.0.x and earlier versions needs full JDK
As for version I recommend Java 1.5 and it is required for the 5.5.x version
unless you use the compatibility patch for 1.4
Doug
- Original Message -
From: "ganesan malairaja" <[EMAIL PROTECTED]>
To:
Sent: T
You can't do it that way. At least the testing. You either have to set up
DNS to resolve both names back to the IP or put entries in your host file.
When you do a request to the server the header holds the URL and when you
use the localhost that is what is sent in the header. Tomcat then will us
http://apache.intissite.com/jakarta/tomcat-5/v5.5.9/bin/jakarta-tomcat-5.5.9-admin.tar.gz
Look on this page under 5.5.9 the ninth bullet down has 5.5.9 Admin tar.gz
The 10th one is the zip version.
http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi
Doug
- Original Message -
Try this:
driverClassName
com.pointbase.jdbc.jdbcUniversalDriver
in place of:
driverClassName
com.pointbase.jdbc.jdbcDataSource
Doug
- Original Message -
From: "Suraj Sashidharan" <[EMAIL PROTECTED]>
To:
Sent: Saturday, June 11, 2005
This will do what you need. Set it to only accept the IP of the machine or
machines you wish to connect.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/valve.html#Remote%20Address%20Filter
Another way that might work is to set the address element in the HTTP
connector. You could try se
Unless you made a typo in your email, you have a typo in index.jsp.
The error says RidDB. The "a" is missing.
Search the file for RidDB.
Doug
- Original Message -
From: "Thomas Polliard" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Saturday, June 04, 2005 11:07 PM
Subject: Issue
"The value of this field(Path) must not be set except when statically
defining a Context in server.xml, "
This is found on this page under the Path attribute,
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Doug
- Original Message -
From: "teknokrat" <[EMAIL PROT
Are you running out of db connections?
Add elements to your resource for the database connection to recover
abandoned connections and to log them. Then see if any show in the logs.
Poor way of profiling. If they do and your app continues to run you were
running out of db connections. Note: Thi
Apparently you are seeing what users of some flavors of *nix see. That is
you are seeing each thread as a separate process rather than one. When
running a chroot environment things act a little differently. I would not be
too concerned as long as top reports back proper memory usage. Note that y
What is in the logs?
Did it start this at some point or has it been happening all along?
Consider updating you JDK. You may even try 1.5 as it is faster.
Check you debug settings and turn them up.
Look in the logs for the last connection/request to see what was being asked
for. If needed set
As I do not use Mod_jk or jk2 and so I will not be able to help in that
sense, but often I see the time spent on this when Apache is not needed. So
I ask, why do you want Apache?
If you have valid reasons, no problem, just trying to save you some time.
A couple of points to consider:
Mod_jk2
Look at your server.xml You will find the references to the used ports
there.
I think the one you are looking for is the shutdown port at either 8005 or
8009.
Have your firewall allow connections to this port from the IP defined as
localhost as well as the IP of the machine if not the same.
Just a few suggestions.
Check the logs.
Turn up debugging if nothing shows.
It sounds like something has a "lock" on a file and Tomcat can't remove it.
If this is the case your next move is to look at your app. Are you creating
any threads or objects that are not getting cleaned up by the dest
Since there is no way to maintain the session without hacking Tomcat, as Tim
said no.
But what you could try is a single use password.
User hits the SSL encrypted login page.
User authenticates with normal username and password.
Random string password is created and stored in database and put in
EMAIL PROTECTED]>
Sent: Monday, May 23, 2005 3:42 PM
Subject: RE: Can mulitple domains share one web app?
So would this be an alias within apache or tomcat?
Thanks
Randy
====
====
From: "Parsons Tech
I am in VA and the local Community College does a seminar on it. I am not
aware of any formal training. I would suggest Google.
Doug
- Original Message -
From: "Tim Sodergren" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'"
Sent: Monday, May 23, 2005 2:47 PM
Subject: Tomcat Training
Not having done this myself, try with no path attribute and a war file named
a#b.war I think that was the recommendation from prior posts that worked.
Doug
- Original Message -
From: "Pfingstl Gernot" <[EMAIL PROTECTED]>
To:
Sent: Monday, May 23, 2005 5:22 AM
Subject: 5.5.9 - ant
Jack,
To use the batch files you need to set it as an Environment Variable. The
catalina.bat file will the pick it up and add it to command line.
If you are wanting to do some quick testing, I think you MAY be able to
include it on the command line with startup.bat. I don't run on Windows so
checking.
Doug
- Original Message -
From: "Remy Maucherat" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Sunday, May 22, 2005 12:03 PM
Subject: Re: Reload on Tomcat 5.5
On 5/22/05, Parsons Technical Services <[EMAIL PROTECTED]>
wrote:
Robert,
Now
Robert,
Now that Remy has tested it in his perfect world, this gives some direction
to work in. It would appear that with a basic setup, which we can only
assume since Remy assured you that it works, that there must be a OS issue.
I wonder what Remy runs?
If you decide to dig deeper, I would
I don't run 5.5, but it sounds like you may be running into an issue that
has plagued several others on the list. 5.5 has a hard time letting go of
the cache/workfiles.
I notice that you said the program "updates fine", what are you doing that a
reload should update?
An undeploy will normall
Alias might do what you want with one reservation, you cannot have
www.mydomain.com/bob
www.yourdomain.com/bob
as different folders. These will be the same folder. So each /folder will
have to be unique even though the domain names are different.
Doug
- Original Message -
From: "Randy Pa
Post the parts of your config files that pertain to the database and a code
snippet where you are calling out the connection. Looks like a
misconfiguration but only a guess until we see the configs.
Don't forget to change passwords and user names before posting.
Also what OS JVM and Tomcat versi
Look at the admin app. It uses a form login. Also compare the web.xml of the
admin app. Hopefully you can spot any differences.
Doug
- Original Message -
From: "John Lindley" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 19, 2005 5:51 PM
Subject: Cannot Login After Upgrade From 4.0.4 to 5
http://jakarta.apache.org/commons/daemon/jsvc.html
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/setup.html
Don't use the args from the website. I never got them to work. Use the
script files included for jsvc, tomcat.sh . There is a note on the second
link about changing the filename to Boots
You did specify a different IP for each connector? Else the 2nd one will
fail because the port is in use. Unless the ports on all connectors are
different.
Doug
- Original Message -
From: "Iannis Hanen" <[EMAIL PROTECTED]>
To:
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, May 19, 2005 8:11 P
Look here:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/default-servlet.html
If you override the mapping by putting your own reference to the default in
your web.xml for the app, you should be able to map it the way you want and
then have a mapping to your servlet with the / path.
Or have you
And even higher on the list of to-do's is to prevent it in the first place.
Would it be possible to force user intervention on the subscription
confirmation? Rather than have a reply confirm it have a subject in the body
that must be copied to the subject line to complete the confirm process.
Th
Just to clarify something: Where are you specifying the global data sources?
In server.xml or ROOT.xml?
It should be in root. Just checking.
Second, what do you need to change? There is very little in the link to
begin with. Since the change would affect all apps then I couldn't see
needing to ch
I may be off base on this one but I think that once Tomcat fires off the
init method it doesn't care or monitor the progress of the servlet. Just
think, some servlets may take several minutes to finish. If other apps had
to wait then it could take a long time to get the server started.
Now as f
mand.
--- Jeffrey <[EMAIL PROTECTED]> wrote:
Please see the answer embedded below.
--- Parsons Technical Services
<[EMAIL PROTECTED]> wrote:
> 127421 over what period of time?
It's about 6 hours. But most of them are at the
first
hour or so.
>
> Without a profile it is impos
127421 over what period of time?
Without a profile it is impossible to say if Tomcat can handle the load. But
if the memory consumption and the CPU usage is low (as noted) it is fairly
safe to say that Tomcat itself is not the bottle neck.
Quick question, why are you using Apache?
Also what is t
Look in the server.xml That is where you will find where the username and
password is being looked up at. If the comments are there then they will
explain the configuration. If there are no comments then download the
matching version of Tomcat and look at the virgin server.xml for the
comments
What browser are you using?
Doug
- Original Message -
From: "Maarten Janssen" <[EMAIL PROTECTED]>
To: "Tomcat User List"
Sent: Wednesday, May 04, 2005 6:04 AM
Subject: pdf not working
Hi all,
Iam trying to call a link to a new window and that's calling a pdf
document
thats somewhere in
Dear Sir,
I am a user of the Tomcat List and noticed a large number of emails from
you. It appears that someone subscribed you to the list and you
inadvertently confirmed the subscription or someone has access to your
email. As an IT person who deals with security I recommend you have someone
c
el comfortable doing
something other then what the instructions say.
I also purchased a book on Tomcat 5.5 and it also instructed to put the
in server.xml. Is there something I'm missing here? Thanks.
- Original Message -
From: Parsons Technical Services <[EMAIL PROTECTED]>
Date
Both are latest and greatest. If 5.0.28 works fine for you then I don't see
any reason not to stick with it for now.
The main difference in the two (as I have read) is that 5.5 does not need
the JDK and as such resolves some license issues for a lot of users who
wanted to package and distribute
There are seperate pages for 5.0 and 5.5 In the 5.5 the syntax for the
elements changed. If you open both pages and look at the examples you will
see the changes.
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configu
A few questions:
How many servers have this problem?
You say you have a different server set up the same way and it has no
problem, am I correct?
Did you apply any updates to the server?
Did you apply the same update to the server that is running OK?
Have you rebooted the server?
Has the load cha
der" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, April 27, 2005 3:17 PM
Subject: Re: Change ROOT in Tomcat 5.5.9
Parsons Technical Services wrote:
You can't do that with 5.5.X . You must declare the default context in
the server.xml
No, I don'
Do an ipconfig /all on Windoze or ifconfig on Linux and see what your IP is.
Is there a reason you are having Tomcat only listen on a specific IP?
Is your IP static?
What OS are you running?
Doug
- Original Message -
From: "J S" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, April 27, 2005 11:3
RTFM or should I say rtm so as to be nice.
You can't do that with 5.5.X . You must declare the default context in the
server.xml
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Doug
- Original Message -
From: "Yuval Zantkeren" <[EMAIL PROTECTED]>
To:
Sent: Wednesday,
Check to see if Tomcat is already running. Also the config you posted has
the port at 8086. And something is listening on 8086.
Do a reboot and look at your processes and netstat before doing anything
else. Then take it from there.
Doug
- Original Message -
From: "Craig" <[EMAIL PROTEC
Taking a wild stab at it, in the early days Tomcat was not as good of a http
server as it is now and was thus put behind a "real" web server to do it's
thing when needed and not mess with static stuff. Thus to avoid conflicts on
install the ports were set to a different value from default. Then
Which version of Tomcat are you running. There is a difference from the
5.0.x and 5.5.x tree. The setup you have listed is for the 5.0.x branch.
Doug
PS Didn't mean to not respond but I actually took a small vacation to Busch
Gardens. Apollo's Chariot rocks, especially front row! And just now ba
This is not allowed in Tomcat 5.5.x
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Do not declare the path if the path is null "" or "/" in the context unless
you are doing a static in the server.xml
With that in mind think about the fact that there is already a context
elem
For each app you have running you will need a context element in a xml
file. This should reside in the war. In this file you can setup the
resource which will be available only to that app. This will still give
you pooling. If you follow the instructions on the Tomcat site for the
JDBC How-To that
Is iptables running?
ps ax
If yes your firewall may be blocking the port. You will need to add port
8080 to the firewall.
Doug
- Original Message -
From: "Gurumoorthy" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Tuesday, April 19, 2005 2:28 PM
Subject: Re: can't see a tomcat insta
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html
Set enableLookups to false.
Doug
- Original Message -
From: "Marcos Ferreira" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, April 19, 2005 8:39 AM
Subject: Tomcat and SSL
Hi,
I'm having problems using Tomcat with SSL Protocol.
I
Why not make the user that Tomcat runs at a member of the group you need it
in?
Why do you need to change the group if it is set ahead of time?
Doug
- Original Message -
From: "QM" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Monday, April 18, 2005 9:25 PM
Subject: Re: Set group id
There are several options:
1. Keep running as root. (Bad as noted)
2. Listen on port above 1024.
3. Apache front end.
4. Use jsvc to start Tomcat as root. Bind to ports and change user.
I think 4 is what you are looking for.
http://jakarta.apache.org/commons/daemon/jsvc.html
Doug
- Original Mes
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment
Read section carefully. The warning at the end of the section describes your
symptoms.
Doug
<--snip-->
When i deploy the war file to tomcat the application works fine. the
context.xml file list
Do you have your resource link in the context element? And if you don't have
a context for the app you need to create one.
Doug
- Original Message -
From: "Sevillano sevi llano" <[EMAIL PROTECTED]>
To:
Sent: Friday, April 15, 2005 5:34 AM
Subject: can´t Configurate Database Connection P
I am getting the same thing. When I download it, I cannot extract the files.
The example on the 5.0 page is also semi broke. It doesn't have a war but
drops you to a folder directory when you follow the link. If you browse
around you can find the app.
So it's not on your end. It is the file.
Do
Dejavu
In a properly configured system, if the attacker can read the server.xml or
context element then he has OWNED your system and has free reign.
If secured on windows then only two groups should have access, admins and
the webadmins. If either of those have been compromised you got big i
I don't think that has changed, but I could be wrong. One thought is that
unless you have a lot of apps using the DB you could move the resource to
the context for the app. Then only the app would have to be restarted.
But that begs the question, if you are changing the global db resource what
It appears you have two versions on your machine. And since you have not
changed the defaults you cannot run both at the same time. Shut down the
5.0.28 version and try starting the 5.5.9 version. OR change the server xml
to have the 5.5.9 listen on different ports. If the 5.0.28 is also install
t via dialup?
Yes
----- Original Message -
From: Parsons Technical Services<mailto:[EMAIL PROTECTED]>
To: Tomcat Users List<mailto:tomcat-user@jakarta.apache.org>
Sent: Friday, April 08, 2005 7:40 AM
Subject: Re: Can you use Tomcat when you are not on line?
Question, if you al
There is a space between the words program and file. When you have a path
the contains the space character it causes problems.
SO:
OK
programfiles
ProgramFiles
program_files
mydocuments
anything
somedirectory
Bad
program files
my documents
some directory
any thing
Doug
- Original Message
Just ran across something. Remove the role elements from the xml file.
So it would be this:
Doug
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Friday, April 08, 2005 7:05 AM
Subject: http://localhost:8081/manager/list
Hi there,
i am trying to use the web application manage
Just as I was afraid of. Looks fine. Check the permissions on the file. It
must be whoever Tomcat is running as. Also check your logs for any errors.
It should be in Catalina.out
Doug
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Friday, April 08, 2005 9:46 AM
Subject: Re: h
Try changing the order of your elements. Put the servlet elements at
together and then below that put your servlet-mappings together. The DTD has
a set order for the elements in the xml. It needs to see all of one element
the all of the next type and so forth and so on.
That is if my wife didn't
What OS are you running on?
Did you make any changes to the server.xml other than changing ports?
Post your server.xml
Doug
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Friday, April 08, 2005 8:20 AM
Subject: Re: http://localhost:8081/manager/list
Hi there,
i ammended my tom
I don't run Tomcat on windows, but the batch files are in the
$tomcat_home/bin folder. You can create shortcuts to them if needed. I think
they will not work if Tomcat is running as a service.
Doug
- Original Message -
From: "Malvey, Ramesh (GE Consumer & Industrial)" <[EMAIL PROTECTED]
Question, if you allow IE to connect to the Internet, can you get to the
page on localhost?
Can you ping localhost? (I think you said yes.)
Can you ping 127.0.0.1 ?
What does netstat -ta show in a Dos window? Can you see the port listening?
Does the computer have a network card in it, and is it e
As a test, remove admin from the user and have only manager. I think I had
that problem once. If it works, try to add a space after the comma or just
add a second entry for the admin. You can list the same user/password as
many times as you like.
And remember to restart Tomcat each time(been th
Since the Conn method is static you do not need to initialize it. The DBUtil
class actually handles all that for you. Just send your query string to the
method there and get back the instance of the data results class.
No init needed.
Doug
- Original Message -
From: "Krishnakant Mane" <
You need to setup the user in the database. If you log into the database and
switch to the mysql database. The do a select * from users you will see the
users are defined with either localhost, %, or an IP. You will need to have
the javauser setup to use the % (anywhere) or better the IP of the
If the browser is set to always dial a connection, it doesn't matter what
the address is. Even if it is a local file. About the only way it doesn't
prompt is if you open a html file directly. And sometimes even then it will,
especially if the sync files setting is turned up. Every time IE opens
Assuming you are running this under IE:
Tools
Internet Options
Connections (Tab)
Change the setting to the second box.
My guess is that you use a dialup connection. It wants to connect to lookup
the DNS.
Set it to the second one so it only dials when there is no network
connection or the firs
No problem.
With a one to one, set up the dataresource in the context element of the
app.
Place this after your context element. You will need to either declare one
in the server.xml, in your app war file or create a file yourapp.xml and
place it in the Tomcat dir:
tomcat_home/conf/Catalina/loc
To use pooling provided by Tomcat, one way to do it is to set up four
Globalresources in the server.xml
Then from your apps call the one you want. You will need the resource link
in the context for each app for the matching Globalresource.
So set up four globals: dataDev, dataSit, dataUat and d
http://jakarta.apache.org/site/downloads/downloads_tomcat.html
Go to the section for your version and the link for the source download is
towards the bottom.
Doug
- Original Message -
From: ":CI75-Support Technologies collaboratives"
<[EMAIL PROTECTED]>
To:
Sent: Tuesday, April 05, 200
I hate to keep asking questions, but I want to make sure to give you the
correct setup. Other wise you will have to change it later on.
Let's say you have three databases:
data1
data2
data3
And three apps:
app1
app2
app3
If app1 hits data1
and app2 hits data2
and .
You are on a one to one app
I, for one, appreciate the follow up post as I have found several people
with the same issue as I had, only to have no resolution in the post.
As for the issue not showing up in the log, I "think" it is more a function
of the driver sending back the information. Along with, what are you doing
w
Will more than one of the apps be using the same database? That is the same
tables and data? Even if they are using the same database engine IE MySQL on
the server, will it be the same database instance?
Doug
- Original Message -
From: "Krishnakant Mane" <[EMAIL PROTECTED]>
To: "Tomcat
Because there are different versions, and the setup is different, I need
exact version of Tomcat. What was the file name you downloaded? Was it a
5.0.xx or 5.5.x for they are different?
Doug
- Original Message -
From: "Krishnakant Mane" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent:
In the beginning a programmer created ...
Seriously it goes like this:
To use pooling in Tomcat you can forget a lot of what is in the java api as
Tomcat uses this to provide pooling for you.
Steps to take:
1.Determine the database you are going to use.
2.Get the JDBC drivers for that databas
Try adding the abandoned connection recovery settings and have it log them.
If they show in your log as abandoned, then they are not getting closed.
Even if you wrote the code as recommended, I have found that it does not
always work. I am still chasing the exact details of this and when I get a
Tomcat cannot serve up files outside the root of the app. To do what you
want requires a work around that has been discussed and debated on this list
several times. If this is what you have to have, then write a servlet that
responds to a pattern setup for the images
(http://www.yoursite.com/yo
Luke,
I should have read closer. What you have done is to create a connection
without pooling. The language in the servlet does not call the resource that
you created in the server.xml . If you don't need pooling you can remove the
Global resource. If you want pooling, you need to change the ser
Check to see if you have a resource link in your context.xml .
Without it your app can't see the resource.
Doug
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Saturday, March 26, 2005 2:15 AM
Subject: tomcat 5.5.7 / windowsXP / access database
Hi,
I've recently started to expe
Jason,
To get the port redirect to work requires a constraint on your transport for
the requested material.
See:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html
Doug
- Original Message -
From: "Parsons Technical Services" <[EMAIL PROTECTED]>
To: &q
1 - 100 of 553 matches
Mail list logo