On 8/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
But still when I open my browser and type http://localhost:8080/ I get HTTP
Status 404 - / The requested resource (/) is not available.
What happens if you place an index.jsp file (with some contents ) in
C:\TomCat\webapps\ROOT\ ?
If
Are you closing the ResultSet, Statement and Connection in a finally
block immediately after they're used?
-Rashmi
On 8/12/07, fusion35 [EMAIL PROTECTED] wrote:
context.xml :
?xml version=1.0 encoding=UTF-8?
!-- The contents of this file will be loaded for each web application --
Context
On 6/22/07, Lorenzo Cerini [EMAIL PROTECTED] wrote:
but my tomcat mismatch the classes, i mean if i recompile the
Connessione_dyn
belonging to app2 and restart tomcat, even my app1 try to use the app2's
Connessione_dyn
instead of its own one, thus leading to an error since the pooled
connection
On 6/22/07, Nikola Milutinovic [EMAIL PROTECTED] wrote:
Hi all.
This is not really TC related, but more JSP and EL question, but I thought I'd
ask.
I ask JSP, EL and JSTL questions here
http://jakarta.apache.org/taglibs/
or
http://forum.java.sun.com/forum.jspa?forumID=45
On 6/7/07, rhodebump [EMAIL PROTECTED] wrote:
I have 5 war files, each containing the springframework, hibernate jars,
tapestry jars, lots of jars so that each war file is 30 megs.
I wonder, from a performance/memory perspective would it be better to move
these common library jars into the
On 6/6/07, Jacob Rhoden [EMAIL PROTECTED] wrote:
Hi,
Under tomcat 5.5, I would prevent the database connections from timing
out by having a Cron job that accesses the website every 10 minute.
(Because I couldn't work out a better way).
How are you connecting to the database? If you are not
Shankar, Chris,
With reference to your previous posts
(From section 3.7.1 of the HTTP/1.1 spec).
I tried a small example by not forcing the request's content type,
and was able to see the Big5 characters without any problems even
when the Request's characterEncoding was null. The code
On 6/5/07, Shankar Unni [EMAIL PROTECTED] wrote:
(the page was already set to character
encoding Big5), the encoded value sent in the URL was rather screwy:
The original character is (Big5) 0xAE 0x78.
The URL sent by IE said %AEx. (!!)
Did you also configure the web.xml properly ?
It should
On 6/5/07, Roger Roger [EMAIL PROTECTED] wrote:
Hi there,
Recently we upgraded to Tomcat 6.0. Suddenly the custom errorpages don't
work anymore.
It works, when I try the example you've shown in your first post.
A few things you may want to check:
1) errorPage=error.jsp , is error.jsp
On 6/1/07, Bachler, Elisabeth (Elisabeth) [EMAIL PROTECTED] wrote:
Hi,
I have an application that works under tomcat.
Each time I run my application I have the same sessionID. Is there a way
I guess you mean each time you (re)start Tomcat when you say Each
time I run my application...
You
On 6/2/07, Jacob Rhoden [EMAIL PROTECTED] wrote:
I finally upgraded everything to java 6/tomcat 6. Its all nice! There
does seem to be a bug in the manager app. The application list comes out
formatted strangely.
I use Java 6 and Tomcat 6 , the application list looks fine to me in
the manager
On 6/2/07, ibozo [EMAIL PROTECTED] wrote:
Thanks again..
Here is my first code that takes two varibles from client to log in, as
email adress and password. And puts the email adress into a session variable
as:
With reference to the code in the previous post, it could be made a
lot simpler and
On 6/1/07, ibozo [EMAIL PROTECTED] wrote:
Hello all,
I have created a file of servlet pages that publish those pages in Tomcat
6. I have a log in page, programmed by servlet and also another page that
activates the application acording to the given parameters by serching
webserver. I should
On 6/1/07, Trond Kristiansen [EMAIL PROTECTED] wrote:
Hello!
This is my first post so I hope it ended up at the right place.
I have only used tomcat on my laptop Integrated in my Netbeans IDE, but now
I've got my fist web host and they use a shared tomcat 4.1 I think.
They have given my i
On 6/1/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Andrea Sacco [mailto:[EMAIL PROTECTED]
Subject: How to load a static class on Tomcat startup
I want to know how I can configure Tomcat to load my
Singleton class on his startup routine?
Make the Singleton class implement
I had problems with Windows Service Installer too, I'm not sure if it
was my mistake.
I don't remember if I forgot to stop and start Tomcat properly, or if
the JAVA_HOME was set correctly.
So, to solve the problem I uninstalled Tomcat , and got the ZIP
archive. With the ZIP archive there
On 5/29/07, Berglas, Anthony [EMAIL PROTECTED] wrote:
Thanks for that, but I don't see how it will help. If you look below
it is the jasper2 that is causing me grief, which is essentially the
same as yours.
How long does it take to precompile the JSPs. Is it several JSPs per
second or
On 5/28/07, Dejan Krsmanovic [EMAIL PROTECTED] wrote:
We have two applications running on the same Tomcat instance. These two
applications are used by completely different people and one of them has
much higher traffic than another one.
Recently we have upgraded to Tomcat 6.10 and start
On 5/28/07, lightbulb432 [EMAIL PROTECTED] wrote:
Thanks for your response. For the first of the two options you presented,
what exactly happens during the web.xml autogeneration? Will it simply
change only the servlet elements but leave everything else as is in my
current web.xml, including
On 5/26/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
Subject: Re: subdomain name redirect to different context path
I think he wants to redirect or forward all requests from
'forums.mysite.com' to 'www.mysite.com:8080/forums'
in that case
On 5/25/07, Joe [EMAIL PROTECTED] wrote:
Hello, I just upgraded to Tomcat 6.0.13 from 5.5.9 (no particular reason for
the upgrade,
just keeping up to date). I am running Java 1.6. However, instantly I'm having
trouble that I cannot resolve regardless of endless hours of searching for and
On 5/26/07, Ran [EMAIL PROTECTED] wrote:
Hi all,
I would like to point 'forums.mysite.com' to 'www.mysite.com:8080/forums'
How could I do that with tomcat conf ? or I need to match the requested url
in a redirect servlet ? or is it even a DNS zone file question ?
You could write a redirect
On 5/26/07, Pid [EMAIL PROTECTED] wrote:
Rashmi Rubdi wrote:
On 5/26/07, Ran [EMAIL PROTECTED] wrote:
Hi all,
I would like to point 'forums.mysite.com' to 'www.mysite.com:8080/forums'
How could I do that with tomcat conf ? or I need to match the
requested url
in a redirect servlet
On 5/25/07, Mark H. Wood [EMAIL PROTECTED] wrote:
Say your apps are named app1, app2, app3 etc and if you access them as
http://localhost:8080/app1 http://localhost:8080/app2
http://localhost:8080/app3 , then
you would define the Context for each app under
Tomcat's
On 5/25/07, lightbulb432 [EMAIL PROTECTED] wrote:
The JSP spec says that if you precompile JSPs you can reduce the JSP
container footprint by excluding the JSP compiler. How can this be done in
Tomcat?
I know of 2 ways to pre-compile JSPs
1)
On 5/23/07, Roger Tismeer [EMAIL PROTECTED] wrote:
It takes about 4 minutes or so to (re)start Tomcat granted I have
30 webapps loaded, but isn't there a switch somewhere that I can toggle
to not auto-start any non-Tomcat webapps?
I was in a similar situation as you've mentioned above.
I
Thanks Chuck and Venkat,
I wasn't aware it wasn't compatible, and there wasn't a way to know
unless I tried it.
But next time, this question arises, I'll remember.
It would be helpful to see something about the Admin app on this page:
http://tomcat.apache.org/download-60.cgi
for example:
On 5/22/07, Raja [EMAIL PROTECTED] wrote:
Hi ,
We are trying to setup multiple instanace of tomcat running on the same
server. we can able to do it successfully.
We need to run the Manager,Admin applications also on each instance.
Version Details : Tomcat 6.0.10
JDK Version : 1.5.09
1
On 5/21/07, Thomas Hoffmann (Speed4Trade)
[EMAIL PROTECTED] wrote:
Hello,
i am using Tomcat 5.5.23. When i request a simple jsp-file
my file-monitor shows me, that tomcat is searching from root.
This is a problem for website with a lot of traffic.
A screenshot is attached to this mail.
All
On 5/21/07, Pierluigi Fabbris [EMAIL PROTECTED] wrote:
Hi
I use saxon b, java and php how can I configure the last one? In Tomcat 5
and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too?
As far as I know, Tomcat does not directly support PHP.
Try
http://httpd.apache.org/
Sorry p I didn't see your reply before hitting the Send button.
-Rashmi
On 5/21/07, Pid [EMAIL PROTECTED] wrote:
Pierluigi Fabbris wrote:
Hi
I use saxon b, java and php how can I configure the last one? In Tomcat 5
and php 5.0 is possible. Is possible in Tomcat 6 and php 5.2.2, too?
Hoping
On 5/21/07, tmo256 [EMAIL PROTECTED] wrote:
Thanks so much for trying to help, though. Any further suggestions would be
welcome.
Sorry I couldn't be of help here, the only other thing I can think of
is that the CLASSPATH may be partially correct or incorrect.
It is better to not set the
On 5/20/07, Lluis Gifre [EMAIL PROTECTED] wrote:
Hi,
I'm trying to install Tomcat 6.x in a Windows XP x64 system.
I need to know if there is any problem with the 64-bit systems and tomcat...
The only problem I've faced is with the Windows Installer (I don't
remember exactly what the
I agree, there's no need to place .java files, the .class files under
/WEB-INF/ are sufficient.
Unless you're writing an Applet, which has to exist outside /WEB-INF/
, all other classes are protected from browser/ client access when
they're under /WEB-INF/
-Rashmi
On 5/19/07, Pid [EMAIL
On 5/18/07, Aurélien Allienne [EMAIL PROTECTED] wrote:
Hi,
I have this error : javax.servlet.ServletException: Java heap space
But I can find how I can change this in catalina.sh.
Can you have the solution?
Here are some memory configuration information:
On 5/19/07, Aurélien Allienne [EMAIL PROTECTED] wrote:
Thank, but tomcat use 64Mb by default. I can do change this parameter?
Example:
JAVA_OPTS=-server -Xms128m -Xmx384m
catalina.sh (Unix/Linux)
or
catalina.bat (MS Windows)
Additional documents:
On 5/16/07, Joe Mun [EMAIL PROTECTED] wrote:
Hi guys... so according to the HTTP 1.1 spec (
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html), 304 Not Modified
responses must include the ETag in the header.
Well, according to RFC 2616's section 10.3.5 on 304 Not Modified
- ETag and/or
I might be wrong but I have a few doubts
On 5/19/07, Len Popp [EMAIL PROTECTED] wrote:
I think you've got that wrong.
1. Spec says:
The response MUST include the following header fields: ... - ETag
and/or Content-Location, if the header would have been sent in a 200
response to the same
On 5/19/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
1. Spec says:
The response MUST include the following header fields: ... - ETag
and/or Content-Location, if the header would have been sent in a 200
response to the same request
Just to test this, I created a JSP and put a jsp:froward tag
On 5/19/07, Christopher Schultz [EMAIL PROTECTED] wrote:
Rashmi,
Rashmi Rubdi wrote:
1. Spec says:
The response MUST include the following header fields: ... - ETag
and/or Content-Location, if the header would have been sent in a 200
response to the same request
By *same request* , I
On 5/19/07, Christopher Schultz [EMAIL PROTECTED] wrote:
Rashmi,
Rashmi Rubdi wrote:
Thank you both for clarifying, I understand what you're saying.
[snip]
And the definition of ETag :
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.19
mentions entity-tag , which is also
On 5/17/07, Molina, Teresa [EMAIL PROTECTED] wrote:
I've been trying to use Tomcat 6 (with Java 6) on FC6, but I cannot seem
to get the third-party transaction manager integrated as in previous
versions. I have configured everything just as in Tomcat 5.5, but there
seems to be a change in the
On 5/19/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
This is what's configured as a global resource in server.xml:
Resource name=AdminCop
min=1
max=1
auth=Container
type=javax.sql.DataSource
On 5/16/07, Joe Mun [EMAIL PROTECTED] wrote:
Hi guys... so according to the HTTP 1.1 spec (
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html), 304 Not Modified
responses must include the ETag in the header. However, Tomcat doesn't seem
to be adding it...
I am serving a static text file,
When you send an email to [EMAIL PROTECTED] add the word
Unsubscribe to the email's subject and body, that worked for me when I
was trying to switch my e-mails.
I think it sends you an additional e-mail to confirm unsubscription,
reply to that one as well.
Then you should receive a final email
You're welcome.
It may be a good idea to file a bug, because Tomcat 6.0.10 supports
JSP 2.1 and trimDirectiveWhitespaces is a new feature in JSP 2.1 , it
is supposed to work.
I've personally tried Ant's RegEx to compress the white spaces in
HTML, JS and other files, I've also heard that it is
On 5/14/07, Christopher Schultz [EMAIL PROTECTED] wrote:
Rashmi Rubdi wrote:
One way to use Xalan is with JSTL XML tags inside a JSP.
A much better way is to use Cocoon (http://cocoon.apache.org).
I've not tried Cocoon yet, so I really cant compare JSTL XML tags with
Cocoon but I know
On 5/12/07, Zdeněk Vráblík [EMAIL PROTECTED] wrote:
Hi Rashmi,
thans for reply.
Configuration that is described in link you sent me works fine.
Problem is when I change
the datasource factory to Oracle datasource factory. Than is not
possible to find this datasource through JNDI lookup and
On 5/13/07, domenico di leo [EMAIL PROTECTED] wrote:
Hi
How can I run Xalan on Tomcat?
Configure it as you would configure other plug-ins. That is, place
xalan.jar (and dependent JAR files such as serializer.jar) either in
1) your projects /WEB-INF/lib folder or in Tomcat's shared folder
On 5/11/07, Zdeněk Vráblík [EMAIL PROTECTED] wrote:
Hi all,
I am configuring jdbc datasources on Tomcat 5.5.23.
I followed this document to configure orcle database with Tomcat
http://www.microdeveloper.com/html/JNDI_Orcl_Tomcat1p.html
Sorry I didn't go through the instructions in the above
On 5/11/07, Milanez, Marcus [EMAIL PROTECTED] wrote:
Hi,
Do I need something else besides declaring %@ page
trimDirectiveWhitespaces=false % to have my page's white spaces
trimmed? This directive doesn't seem to work at all...
You are right it doesn't seem to work on Tomcat 6.0.10, well I
On 5/10/07, Daniel Gresh [EMAIL PROTECTED] wrote:
Here is the JSP page code, if it helps:
The problem may be because you're using applet tag within XHTML strict.
The applet tag is not supported in XHTML 1.1 (and was depricated in
HTML 4.01), you are encouraged to upgrade to the object tag or
On 5/10/07, Tim Alberts [EMAIL PROTECTED] wrote:
I'm running FC6 with Tomcat 5.5.17 (standard rpm packages from the FC6
distribution).
The default rpm packages seem to have some problem, they seem to
depend on each other and often stall Linux.
It's best to install Linux Fedora minus the RPMs
On 5/9/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
I agree, from my experience IE times out when the connection is taking
too long to send a response back, I haven't experienced a timeout with
FF.
You may want to consider a paging algorithm, if your data set is too
large, it is not good practice
On 5/9/07, mélanie langlois [EMAIL PROTECTED] wrote:
Hi,
Thank you for your explanation.
Actually, we don't need this feature in our application, so i want to
disable the persistence of session.
To disable the persistence of session add this
Manager
On 5/7/07, Scott Dunbar [EMAIL PROTECTED] wrote:
I've been using the same code for years since the Tomcat 3.x days and an
upgrade to 5.5.23 has now broken my site.
I would safely assume there have been significant changes between 3.x
and 5.5.23, if I were you I would start fresh, also the
On 5/5/07, Kevin O'Mara [EMAIL PROTECTED] wrote:
I am using tomcat5 5.5.20, Revision 3, java/tomcat5 from MacPorts.
I am following the instructions for the Addison Wesley book: Servlets
and JavaServer Pages: The J2EE Web Tier from the first chapter.
The first chapter may be found here:
On 5/6/07, Jerome Benezech [EMAIL PROTECTED] wrote:
Hi All,
I have an application (cocoon) running under Tomcat
5.5 on the server of my hosting provider.
Hi Jerome,
Did you also check with the hosting provider?
I can't see any error in catalina logs. So am kind of
stuck at that point.
Hi Lakshmi,
I just wanted to let you know that in the most recent post on this
thread, your problem was solved (even though I didn't give a complete
answer) but after my post Chuck made some very good points which I
didn't mention in my post. I hope you took a note of them.
Especially this one:
On 5/4/07, Paul Singleton [EMAIL PROTECTED] wrote:
I (sometimes) want to start Tomcat (5.5 onwards) from
Java, but I am not embedding: I just need to get the
same effect as running bin/startup.bat but getting
Tomcat to run in an existing JVM (so I can debug some
other stuff).
I am considering
Hi Ashok,
On 5/3/07, Ashok Sahu [EMAIL PROTECTED] wrote:
Hi All,
I am migrating my J2EE application from JRun to Tomcat 5.0.28. I
deployed successfully the 'myAppname.war' file in Tomcat. Now here is my
problem:
In the JRun, we were calling the jsp or servlet without giving the
application
On 5/3/07, Garner, Shawn [EMAIL PROTECTED] wrote:
We don't use a deployment script.
Not sure if we could, it's all secured and isolated.
Without the timestamp and the environment in the war name somebody could
deploy a war to the wrong environment or an old war.
Sounds to me like if it is
Also, if the OS is Unix/Linux based, you most likely should grant
execute permissions for startup.sh and shutdown.sh - before trying to
execute them the first time.
-Regards
Rashmi
-
To start a new topic, e-mail:
You probably might have locate the files, but just in case not the
startup.sh and shutdown.sh shell script files are under Tomcat's bin
folder.
-Regards
Rashmi
On 5/2/07, William Biggs [EMAIL PROTECTED] wrote:
I runing linux where is the file at ?
I'm able to open Tomcat log files with Notepad, while Tomcat is running.
I guess the lock happens when Tomcat is writing to the log file, and
the file is being opened simultaneously. I think you're using the
Windows Installer and I've installed mine from the zip file. I don't
know if it makes a
Hi Martin,
On 5/1/07, Martin Jones [EMAIL PROTECTED] wrote:
Thanks for the reply.
After mulling this over, I've thought of another way to do it
(apologies if I'm not using the correct terminology here). Have the
static content in a single directory on my development machine, then
use my Ant
Hi Robert,
On 4/30/07, Robert Segal [EMAIL PROTECTED] wrote:
I have Cruise Control setup to run my machine and am able to access it
through Tomcat using...
http://localhost:8080/cruisecontrol/
I would like to be able to access this same URL using the format...
However, from the subject of your e-mail it appears that you want to
do a Redirect from http://localhost:8080/standard/ to
http://localhost:8080/cruisecontrol/
which is easy to accomplish.
within a JSP Scriptlet:
%response.sendRedirect(/cruisecontrol/); %
with JSP/JSTL
c:redirect tag
within a
Hi Mike,
On 5/1/07, Mike Peremsky [EMAIL PROTECTED] wrote:
What do I need to do to get the class in the jar file to find the properties
files external to it?
To access a properties file that is external to the JAR file , add the
full path of the Properties file's folder to the CLASSPATH.
Hi Fabio,
On 5/1/07, Fabio Daitx [EMAIL PROTECTED] wrote:
I am trying to install apache-tomcat-5.5.23.exe or
apache-tomcat-6.0.10.exe and it just blocks in the installation step:
In case you already know there's also a ZIP installation available.
With the ZIP installer, there's no
Hi David,
On 5/1/07, David Smith [EMAIL PROTECTED] wrote:
Mike, I see your issue is solved. For the sake of the archives I feel
the need to respond to the suggestion of modifying the classpath.
Please DO NOT modify the classpath. Best practice is to work with the
existing classloader
On 5/1/07, gb1071nx [EMAIL PROTECTED] wrote:
I've found in the $CATALINA_HOME/server/webapps directory these two
apps:
manager (know what this is)
host-manager (don't know what this is)
After some searching in Tomcat's docs, I couldn't find documentation
on Host Manager, but here are a few
On 5/1/07, David Smith [EMAIL PROTECTED] wrote:
I agree there may be an exceptionally rare occasion where modifying
classpath might be necessary. But such advice should be reserved for
expert use only and only if they fully understand the consequences.
Yup, had I known earlier when Mike made
Depends on your Operating System and how you installed it on that OS.
Windows ZIP --- startup.bat and shutdown.bat
Unix/Linux--- startup.sh and shutdown.sh
Windows Service Installer I don't know , I guess from
Administrative Console --- Services
or simply right click on the
On 4/30/07, sc [EMAIL PROTECTED] wrote:
As you suggested, I started from scratch. I downloaded tomcat 6 from
apache.org. changed $catalina_home to point to the new directory. Under
$catalina_home/webapps, I created a new folder, which only has one servlet
TestServlet
Do a global search on
/30/07, Rashmi Rubdi [EMAIL PROTECTED] wrote:
On 4/30/07, sc [EMAIL PROTECTED] wrote:
As you suggested, I started from scratch. I downloaded tomcat 6 from
apache.org. changed $catalina_home to point to the new directory. Under
$catalina_home/webapps, I created a new folder, which only has one
Hi Martin,
On 4/30/07, Martin Jones [EMAIL PROTECTED] wrote:
Hi,
This seems like an obvious question but I'd appreciate any answers. I
have several webapps running under tomcat that need to be able to
include the same sidebar in their .jps. if the sidebar is within the
context, this works
On 4/30/07, Tomcat [EMAIL PROTECTED] wrote:
Hello
Does application WEB-INF/web.xml override default conf/web.xml setting?
specifically session time out , but want to know if other setting is
overriden.
Specifically the session time out in /WEB-INF/web.xml overrides /conf/web.xml
Don't know
Hi John,
On 4/30/07, John Pedersen [EMAIL PROTECTED] wrote:
Hi,
I can't understand why Tomcat gives me this error message when I try
to reload my app:
Server redirected too many times (20)
Is my app getting too big ( 400 files) ?
The conversation on this
On 4/30/07, orn amental [EMAIL PROTECTED] wrote:
How do I limit the amount of messages I receive?
Please create a new thread instead of hijacking this one
I'd like to be able to turn on and off the reception of messages of the
mailing list without having to unsubscribe. Unfortunately the
Hi Monica,
We are unable to see your message, instead we see a set of pipes |
It could be that your e-mail client is using Rich Text , please change
it to Plain Text and try again.
-Regards
Rashmi
On 4/27/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi William,
On 4/30/07, William Biggs [EMAIL PROTECTED] wrote:
I just installed tomat 5.5 on my Fedora http://www.fedoraproject.org/ 5
box it is up and running . I would like to know how to add a user for the
admin page ?
Under Tomcat's folder /conf/tomcat-users.xml is where the users are
On 4/30/07, sc [EMAIL PROTECTED] wrote:
All my mistake. I apologize for my stupidity. It turns out it wasn't invoked
twice. It just prints twice. I had the following in log4j.properties.
log4j.rootLogger=ERROR, TRIP
log4j.logger.org.hibernate=WARN, TRIP
log4j.logger.net.sf.hibernate=INFO, TRIP
Hi Chuck,
On 5/1/07, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: Rashmi Rubdi [mailto:[EMAIL PROTECTED]
Subject: Re: setup
and aloso I would like to know where the webapps/ROOT/index.jsp
is ?
By default, it is under Tomcat's webapps/ROOT/ folder , in my instance
of Tomcat
On 4/29/07, sc [EMAIL PROTECTED] wrote:
There was a thread on this
http://www.nabble.com/Context-starts-twice-t1351694.html;. But my
configuration is a bit different.
this is my configuration:
server.xml doesn't have context definition.
Seems to me that the Context is defined in 2 places
Please ignore my previous post.
Sorry, when you mentioned context.xml I was thinking of the one
located under the project's META-INF folder.
Chuck is right, there's no need to move the contents of the
conf/context.xml file anywhere.
Whenever configuration gets messed up (happens very rarely),
On 4/28/07, lightbulb432 [EMAIL PROTECTED] wrote:
Is it possible for a Tomcat session keep the session alive for a certain
period of time (say, 2 hours),
The session timeout interval is adjustable, see session-config under
conf/web.xml
Max inactive interval can also be specified in
On 4/28/07, lightbulb432 [EMAIL PROTECTED] wrote:
What would the cookie store?
A Cookie stores name, value pairs just like the Session. So you can
store anything in a Cookie.
But I think it may be a security concern to store the password in a Cookie.
Username and password, just username,
On 4/28/07, David [EMAIL PROTECTED] wrote:
I'm hoping someone can shed light on some session anomalies I'm seeing with
Tomcat 5.0.2.8 and Tomcat 5.5.23.
I have a web application containing FacesServlet (
javax.faces.webapp.FacesServlet) as well as some additional servlets that
also make use of
On 4/28/07, David [EMAIL PROTECTED] wrote:
Rashmi,
Thanks for your initial response. I guess I wasn't clear on a few things.
The behavior I'm seeing is the same in both Tomcat 5.0 and 5.5, and they are
both configured the same -- using default behavior for cookies.
Sorry for repeating this,
On 4/28/07, Josh Joy [EMAIL PROTECTED] wrote:
Thanks for the info.
For my application, I am using Tapestry which uses
html templates which
I was having trouble to be reloaded by tomcat.
I don't know Tapestry, but when I write a normal JSP or HTML file, all
I have to do is press the browsers
On 4/28/07, David [EMAIL PROTECTED] wrote:
I've tried forcing the url rewriting behavior by deploying the following
snippet in a context.xml file in my webapp's META-INF directory.
Context path=/mywebapp debug=10 cookies=false
!-- Default set of monitored resources --
The above test was conducted on the Tomcat version I have which is not 5.0.
If you check your code throughly and the problem still occurs in 5.0,
you may want to file a bug --- only if you're sure it's a bug ---
otherwise it will not be resolved , if it's not a bug :-)
-Regards
Rashmi
On 4/27/07, Rajiv M [EMAIL PROTECTED] wrote:
Is there a testcase/sample app where I can see the difference of
enabling/disabling HTTP compression.
DIY :-)
-Rashmi
-
To start a new topic, e-mail: users@tomcat.apache.org
To
On 4/27/07, albrecht andrzejewski [EMAIL PROTECTED] wrote:
3) In my servlet init(), I lookup the data-source. Each lookup essentially
instantiates an instance of the data-source. So a connection pool gets
instantiated in each servlet's init.
Now it doesn't make sense to create a new
On 4/27/07, Josh Joy [EMAIL PROTECTED] wrote:
Hi,
There is a reloadable attribute that I can set to true
Yes there is, see
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html
to reload if it
detects a change in |/WEB-INF/classes/| and
|/WEB-INF/lib.
My question is, how can I reload
On 4/27/07, Srinivas V. [EMAIL PROTECTED] wrote:
Hello all
I have a question about defining data-sources in tomcat. I have a webapp in
which my servlets need to talk to a DB. This is my current setup:
1) I define data-sources (c3p0 connection pools) using the Resource tag in
my
On 4/27/07, Josh Joy [EMAIL PROTECTED] wrote:
Hi Rashmi,
I'm confused...so in tomcat 6.0 it reloads if it
detects a change at the
root /WEB-INF rather than solely /WEB-INF/classes or
/WEB-INF/lib ?
Hi Josh,
reloadable is an attributed on the Context node of your web application.
The basic
On 4/27/07, Srinivas V. [EMAIL PROTECTED] wrote:
Thanks for all the responses on this. The basic doubt I had was whether the
JNDI lookup would create a new data-source on each lookup or just return the
previously created one. A number of you had said that the latter was true.
The reason I wasn't
On 4/27/07, David Smith [EMAIL PROTECTED] wrote:
But the code you posted does not create a new DataSource object. It
just gets a reference to an existing one stored in JNDI. Nothing new
about the DataSource object. Note the lack of a new operator.
Good post, thank you for pointing this.
1 - 100 of 334 matches
Mail list logo