-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: 05 October 2004 15:10
To: Tomcat Users List
Subject: Re: Upload File
Do you just not use ActionForm, David?
Sorry Michael. I don't know what ActionForm is.
regards DaveP
** snip here
hi!
is there a simple way to turn off the session persistence OFF by default
for all contexts?
many thanks in advance,
joe
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Shapira.
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 05 October 2004 18:04
To: Tomcat Users List
Subject: RE: Problems with Tomcat 4.0.5
Hi,
Tomcat 4.0.5 is not a good choice for a production system, because it's
not a stable release. 4.0.6 was a
Hi,
is there a possibility to define different JDBCRealm (or realm in general)
for each application within one servlet container? The realm is defined in
server.xml, so I can't see a possibility how to make it application
dependent.
Could you please advise me on some best practices concerning
hi!
my bad solution :
put the following in your contexts
manager |pathname=| /
I think the defaultcontext doesn't support the manager ...
Someone know a way to turn off the persistence in the web.xml ?
Joe wrote:
hi!
is there a simple way to turn off the session persistence OFF by
default for
Pawson, David wrote:
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: 05 October 2004 15:10
To: Tomcat Users List
Subject: Re: Upload File
Do you just not use ActionForm, David?
Sorry Michael. I don't know what ActionForm is.
regards DaveP
Hi,
I have 4 *really* sluggish Tomcats. All 4 are load balanced:
Tomcat Version:4.1.30
Java: Sun 1.4.2_02
SMP: 4 CPU Xeon 2GHz
Memory: 4GB
OS: Redhat AS 3.0
Users can reach 500 at peak time (about 150 per server).
It takes about 2-4 minutes to load.
And we're also having session time-outs.
Read this page http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/manager.html
I think your best bet would be to switch from the default manager to the persistent
manager and set the saveOnRestart parameter to be false.
Ta
Matt
-Original Message-
From: Joe [mailto:[EMAIL
This isn't a bad solution and will achieve the desired affect.
As far as I know you can't control this from web.xml but you can from
META-INF/context.xml. Place a manager element in there.
Ta
Matt
-Original Message-
From: François Richard [mailto:[EMAIL PROTECTED]
Sent: 06 October 2004
Actually you can also set the pathname= with the standard manager, will do the same.
Ta
Matt
-Original Message-
From: Dale, Matt
Sent: 06 October 2004 10:29
To: Tomcat Users List
Subject: RE: Turn off session persistence
Read this page
I find the manager app useful in this respect. As long as your application invalidates
sessions correctly the number of sessions here will be more or less the number of
users, allowing for users just closing their window etc and therefore not giving the
application a chance to invalidate its
Define the Realm in the Context declaration.
-Tim
Vclavk Radek wrote:
Hi,
is there a possibility to define different JDBCRealm (or realm in general)
for each application within one servlet container? The realm is defined in
server.xml, so I can't see a possibility how to make it application
Thanks a lot.
I tried setting the my_port variable and also setting on JAVA_OPTS on tomcat 4.1.30 it
did not work.
But it worked in 5.0 version.
Can it be done in 4.1 also ?
Could anybody tell me the reason as to why it cannot be done in 4.1?
Thanks and Regards,
Satya
-Original
That functionality is not in 4. Only 5.
-Tim
Narayan, Satya wrote:
Thanks a lot.
I tried setting the my_port variable and also setting on JAVA_OPTS on tomcat 4.1.30 it did not work.
But it worked in 5.0 version.
Can it be done in 4.1 also ?
Could anybody tell me the reason as to why it cannot be
Thank you very much. I'll try your hints. The most promising is:
in META-INF/context.xml use the persistent manager and set the saveOnRestart parameter
to be false.
gretings,
joe
Dale, Matt wrote:
Actually you can also set the pathname= with the standard manager, will do the same.
Ta
Matt
Will this help?
http://www.mail-archive.com/[EMAIL PROTECTED]/msg136432.html
On Sun, 3 Oct 2004, Glen Ezkovich wrote:
Date: Sun, 3 Oct 2004 16:55:10 -0500
From: Glen Ezkovich [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject:
How big is your average session?
On Wed, 6 Oct 2004, Faisal Abdullah wrote:
Date: Wed, 6 Oct 2004 17:20:05 +0800
From: Faisal Abdullah [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED],
Faisal Abdullah [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject:
Dangerous Attachment has been Removed. The file price.cpl has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
sounds like an App problem, cause your hardware is sure powerful, assuming
you configured your connector threads to handle enough concurrency
Filip
-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 6:20 AM
To: Tomcat Users List
Subject: Re:
Dangerous Attachment has been Removed. The file Price.com has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
Hi List
I'm trying to connect Tomcat/5.0.28 to AD on Windows 2003. My problem is that
JNDIRealm fails to get role information, after successfully binding with the
users DN.
My temporary conclusion is that JNDIRealm fails to use the bound connection with
AD when performing the search for the role
Dangerous Attachment has been Removed. The file Joke.scr has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
Dangerous Attachment has been Removed. The file Joke.cpl has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
Dangerous Attachment has been Removed. The file price.scr has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
Dangerous Attachment has been Removed. The file Price.scr has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
Dangerous Attachment has been Removed. The file Joke.com has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
Hi,
AFAIK, Digested passwords work just fine in both the Memory and JDBC
Realms. I haven't tried it with a JNDI, LDAP, or JAAS Realm. The doc
page for Realms is at
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html#Digeste
d%20Passwords. This is for Tomcat 5, I haven't done
It could be that you catch a maximum open handles error.
If you are using the standard linux distribution it is set to 1200
connections.
And if you have 500 users and every user opens an connection you are up
to 1000 and the remaining 200 are very quickly used up.
The result is that all java app's
Hi,
Thanks for your answers and suggestions. I have never got so much help at any mailing
list at any project before! You guys rock! I haven't had the time to test this until
today. I'm trying to deploy the application with the deploy ant task. The application
is deployed and unpacked into the
Hi,
Someone know a way to turn off the persistence in the web.xml ?
Being a container-specific feature, and not a Servlet Spec feature,
means this can never go in web.xml. The others provided ways to make it
work in Tomcat-specific configuration files.
Yoav
This e-mail, including any
Hi,
Can you turn off unpackWARs for your Host and run from a packed WAR?
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: Wick, Daniel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 05, 2004 9:12 PM
To: '[EMAIL PROTECTED]'
Subject: problem redeploying war files
Thanks Yoav. Well, inside the application, users upload things into the
application directories. That's why I have to expand the war...and also
don't want to delete every time we deploy. Is this possible to do? We
currently use 9iAS/Orion...which does this - but now we're switching to
Tomcat
Jargon call :-)
-Original Message-
From: Shapira, Yoav
Someone know a way to turn off the persistence in the web.xml ?
Being a container-specific feature, and not a Servlet Spec
feature, means this can never go in web.xml.
containers
servlet
...
As someone
On Wed, Oct 06, 2004 at 08:12:32AM -0500, Wick, Daniel wrote:
: Thanks Yoav. Well, inside the application, users upload things into the
: application directories. That's why I have to expand the war...and also
: don't want to delete every time we deploy.
It sounds like the uploaded files and
On Wed, Oct 06, 2004 at 02:11:23PM +0100, Pawson, David wrote:
: As someone who is often made aware of the jargon he uses,
: I wonder if anyone has the time to put together a basic jargon
: buster for Tomcat, perhaps extending it to server speak more generally?
The servlet spec does a wicked-good
Hi,
If you tell the server to unpack your WAR, it does, but then it won't
remove the unpacked directory because you (or your web designers) may
have updated stuff in it. So you have to manually remove this
unpacked directory. If you keep the WAR packed then you don't need to
worry about this
Hi,
Is there a way to do something like this :
Enumeration list = servletContext.getActiveSession();
To solve this problem i have put a list attribute in the context. And
use a session listener to refresh this list ... but the problem is that
the session are persistent during a stop but not the
Dangerous Attachment has been Removed. The file price.scr has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
Hi,
Enumeration list = servletContext.getActiveSession();
To solve this problem i have put a list attribute in the context. And
use a session listener to refresh this list ... but the problem is that
the session are persistent during a stop but not the context attributes
which became outdated
I have some servlet utilities here which handle that:
http://funkman.home.comcast.net/servletutils-0.2/
In particular see SessionViewerListener.
-Tim
François Richard wrote:
Hi,
Is there a way to do something like this :
Enumeration list = servletContext.getActiveSession();
To solve this problem i
I think Deploy task is using Tomcat Manager to deploy your application.
Please check your deploy parameters
deploy url=http://yourhost/manager; username=yourname
password=yourpass path=/ war=yourwar.url/
yourwar.url is
*nix - file:/dir/yourwar.war
Win* - file:/c:/dir/yourwar.war
In your
Thanks Yoav and Tim, I will studied your solutions ...
Shapira, Yoav wrote:
Hi,
Enumeration list = servletContext.getActiveSession();
To solve this problem i have put a list attribute in the context. And
use a session listener to refresh this list ... but the problem is that
the session are
Hi all,
My question is, does any know if there are any issues running Tomcat and
Apache together on Windows Server 2003?
The problem I'm having is with a migration project that I'm working on. I'm
trying to reintegrate a software suite that originally ran on a combination
of RedHat and
Hi
This has a combination of Jakarta-Tomcat (4.1.2) and Apache (1.3.27).
Upgrade to the latest tomcat of the 4.1.x release. 4.1.2 is fairly old and
there are newer versions of the same core. 5.0 is a newer spec, so that
might not be what you want, but I would definitly upgrade to 4.0.30.
yah, that's all. ;)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have a Linux SUSE SLES 8, it has apache 1.3.
Does I need apache sources to compile jk2 connector to obtain mod_jk2.so
to put in module?
Can I use JK2 with apache1.3 or I have to use the JK connector?
Thanks in advance, Matteo.
Everything should be made as simple as possible, but not simpler.
If we ban Craig, that would be really loss to open source community.;)
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: October 6, 2004 11:01 AM
To: 'Tomcat Users List'
Subject: [OT] That craigmcc guy is getting **REALLY** annoying!
yah, that's all. ;)
I've thought of upgrading to a newer version of both but have a concern that
since the software was written for the older 4.1.2. Are there any good
sources which could help me through the upgrade?
Thanks,
Patrick
-Original Message-
From: Steffen Heil [mailto:[EMAIL PROTECTED]
Hello there,
I posted a question yesterday seeking help on automating Tomcat (4.1.30)
startup and shutdown on HP-UX B.11.11 platform. Now, Tomcat can be shut
down successfully when the machine shuts down. But, when the machine
starts, the Tomcat does not get started. There is no error shown
Hi
I've thought of upgrading to a newer version of both but have a concern
that since the software was written for the older 4.1.2. Are there any good
sources which could help me through the upgrade?
The tomcat docs.
Upgrading should only be a problem for major version changes, since they
tend
On Tuesday 05 October 2004 6:53 pm, you wrote:
Looks like you're using an old version of the JDBC driver that uses
BufferedInputStreams by default. There is a 'feature' (many call a bug)
in BufferedInputStreams that causes them in some cases to want to read a
full buffer's worth of data when
IIRC, HP startup is sort of goofy. Odds are tomcat is being started before
the network is being started.
I think placing and entry in /etc/inittab will do the trick.
-Tim
Weifeng Wang wrote:
Hello there,
I posted a question yesterday seeking help on automating Tomcat (4.1.30)
startup and
Thanks everyone for the info.
If there are any developers on the list...almost every other app server will
expand a war over the top of an existing deployment (9iAS, Orion, WebSphere,
etc I know of for sure). It would be a very useful feature to have.
The files the users upload in my app, get
What suggestions do people have for a profiler or a profiler howto? I would
prefer something that allows me to simply turn on the Java profiling (-Xprof)
that I can then analyze later, but will do whatever I need to resolve the
problem.
Thanks for the help and suggestions.
--Kaleb
On
Hello all,
I'm a newbie in mailing user list. My post is relationship with threads in
Tomcat Server 5.0. Over Debian Linux v3.0 rc 2, threads are shown like
processes; many processes are shown in process list command (ps -aux). We
think that most of them, except one or two are threads, are
Thanks, now I got the docBase right but I still have to restart Tomcat to get
everything up and running after the ant deploy task, but after the restart everything
works fine. What can be the problem with the deployment? As I said before, I can see
the deployment in the admin console but I get
Greetings.
Not sure if this is the right place to ask, but I reckon someone here will
have some ideas! So here goes...
I don't suppose anyone on the list knows of a way to dynamically (from code)
reload a previously loaded keystore (e.g. one used with the system property:
What mechanisms do you developers typically use for preventing unauthorized
access to a web application? I'm trying to determine the best approach for
my web app. Here are the basic guidelines I need to follow:
1. We must limit access to the site to registered users.
2. We currently use BASIC
Hi
Are there any solution about limit the process or threads count?. Remember
that Tomcat server.xml parameters don`t work.
For me, these settings work.
However, remember what they describe. They set the numbers of workers, not
total threads. You applicaton might spawn threads, tomcat might
On Wed, 2004-10-06 at 11:59, Anderson, M. Paul wrote:
snip
3. We currently store passwords in a database in plain text but we now wish
to encrypt them.
If you look at the underlying code for the web mail client for yahoo.com
for example, you will find a small amount of JavaScript that encrypts
Hi,
I have a urgent problem response.sendRedirect() in Tomcat 5.0.27.
It doesn't work in my appl.
Can anyone help me.
Thanks a lot
--
__
Pablo Carretero Sánchez
Cygnux
Arquitecto de Software
Pintor Velazquez nº 3 Esc Izq 7º B
28932 #8211; Móstoles
Deploy task is hot deployment, you don't need to restart Tomcat. Try to
increase manager debug level to, i.e. 9. Before deploy, always undeploy your
app.
-Original Message-
From: kax [mailto:[EMAIL PROTECTED]
Sent: October 6, 2004 11:46 AM
To: Tomcat Users List
Subject: RE: RE: Root
Thanks Alex,
Its a good resource but, we were hoping to be able to define the
context some where besides the server.xml, such as in the appBase. I've
run across mentions of using xml fragments for this, but as yet haven't
been able to find out much.
If anyone knows about how this can be
On Wed, Oct 06, 2004 at 04:38:54PM +0200, Pablo Carretero S?nchez wrote:
: I have a urgent problem response.sendRedirect() in Tomcat 5.0.27.
:
: It doesn't work in my appl.
What, specifically, doesn't work?
Did this same code work in a previous version of Tomcat 5.0.x?
etc, etc. We're all
Hi,
I don't test in other Tomcat version. I'm trying a sendRedirect() in one JSP.
And it doesn't work. The code is:
response.sendRediredt(/jknopkn/prueba.jsp);
QM ([EMAIL PROTECTED]) escribió:
On Wed, Oct 06, 2004 at 04:38:54PM +0200, Pablo Carretero S?nchez wrote:
: I have a urgent problem
You haven't answered the main question, which is, exactly what doesn't work? Is there
an error? Is the redirect ignored? Anything else?
If it is in a JSP, have you enclosed the redirect in % %?
I also assume you have spelt it correctly in the code as there is a spelling mistake
in your
For a single webapp with a database, I have used md5 hashes. I believe MySQL
does the same for its users table.
If you have a whole suite of applications that you know you would like to
tie into I like authentication to be taken care of by a separate web-app.
Hope this helps.
R
-Original
After having read the Tomcat User archives, I learned that Tomcat 5.5 server.xml
no longer uses ResourceParams/. Instead, it uses only Resource/. However,
after having read the JNDI Datasource HOW-TO
(http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html),
I am
works for me
-Original Message-
From: Pablo Carretero Sánchez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 9:39 AM
To: [EMAIL PROTECTED]
Subject: response.sendRedirect()
Hi,
I have a urgent problem response.sendRedirect() in Tomcat 5.0.27.
It doesn't work in my appl.
Without seeing the rest of your code, I'll guess that the problem is
that you've started the relative link with a /.
Try without it. If you have to back up a directory use
../jknopkn/prueba.jsp.
On Wed, 2004-10-06 at 11:11, Pablo Carretero Snchez wrote:
Hi,
I don't test in other Tomcat
Hi,
All attributes, as the examples in the URL your quoted show.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 1:19 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 5.5, Resource, and
Dangerous Attachment has been Removed. The file price.com has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
Dangerous Attachment has been Removed. The file Joke.cpl has been removed because
of a virus. It was infected with the W32/Bagle.AZ-net virus. File quarantined as:
.
http://www.fortinet.com/VirusEncyclopedia/search/encyclopediaSearch.do?method=quickSearchDirectlyvirusName=W32%2FBagle.AZ-net
There have been a few issues (see the change log at
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-4.0/catalina/src/share/org/apac
he/catalina/authenticator/DigestAuthenticator.java for details) but these have
been fixed in both TC4 and TC5. The latest TC4 release (4.1.30) does not contain
these
Hi Tim,
It works now. Thank you very much!
Eric
Tim Funk [EMAIL PROTECTED]
10/06/2004 11:27 AM
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:Re: Still Need Help On Starting Tomcat When Machine Starts
Caterpillar: Confidential
I'm stumped. Perhaps someone here can point me in the right direction?
I have Apache 2 configured with domain based virtual hosting for
several domains. However, I need to forward secure and unsecured
requests to separate webapps for one of these domains.
Example:
HTTP://www.domain.com
What suggestions do people have for a profiler or a profiler howto? I would
prefer something that allows me to simply turn on the Java profiling (-Xprof)
that I can then analyze later, but will do whatever I need to resolve the
problem.
Thanks for the help and suggestions.
--Kaleb
PS: Sorry
Hi,
The message came through ;) For suggestions on profilers and such, you
can always search the archives, as this question is raised fairly
regularly, and the answers are fairly uniform. There really isn't a
dominant profiler out there, but rather a small group that's pretty
close in ability,
We're using Tomcat 4.1.27 and we have a main database that the web app
uses most of the time, and then a small MySQL database that Tomcat is
configured to use for basic authentication. We used to have trouble
with the main db hanging up on us, so we had a little watch program
running to restart
Hi,
we have the impression that either sessionDestroyed or attributeRemoved
methods are not always called under RH-7.2. We are not sure but we think we
didn't have the problem until this server got a new kernel with 4
processors. Tomcat (except this issue) is absolute stable even after days.
Any
Hi all, I have gone over some of the tomcat docs and googled errors
but there is SO much information covering JNDI and Datasources... and
I'm hoping I don't have to be a JNDI/Datasource and XML guru just to
set up db connections via connection pool.
My situation is this...
System:
Tomcat 5 on
I have gone over some of the tomcat docs and googled errors
but there is SO much information covering JNDI, connection pooling,
and Datasources. Can someone review the info below and consult or
point me in the right direction? Although I feel I'm missing
something obvious, I can't find out
java code:
Context ctx = (Context) init.lookup(xx);
server.xml:
ResourceParams name=xx
web.xml:
resource-ref
res-ref-namexx/res-ref-name
res-typejavax.sql.DataSource/res-type
res-authContainer/res-auth
/resource-ref
The entries I've labelled 'xx' should all be the same.
Please ignore my last post - it's wrong.
(Answered before verifying).
John Thompson
|-+
| | Eric Wulff |
| | [EMAIL PROTECTED]|
| | |
| ||
|
parameter
nameurl/name
valuejdbc:informix-sqli://url:port/dbName:INFORMIXSERVER=serverName/value
/parameter
Is that litterally what you have in your server.xml?
-
To unsubscribe, e-mail: [EMAIL
I've been looking through archives and such for examples of how to capture
the HTML output from a given JSP programmatically so I can archive or do
other things with that HTML. For example, we might do this to record the
text of an agreement that was displayed to a user, in which a JSP generated
No, literally I have the actual values. The same connection string I
use to successfully
connect via JDBC using DriverMangager.getConnection() minus the user
and passoword.
Eric
On Thu, 7 Oct 2004 11:04:22 +1300, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
parameter
nameurl/name
The tomcat5.exe and tomcat5w.exe seem to be missing from 5.5.3. They exist in
5.5.2. Might need to release 5.5.4.
Jake
Quoting Shapira, Yoav [EMAIL PROTECTED]:
The Apache Jakarta Tomcat team is proud to announce the immediate
availability of Tomcat 5.5.3-alpha. This build addresses
One way is to write a servlet that builds the html and before you finish with
the response, save the text into a table and then send the response.
Robert S. Harper
801.265.8800 ex. 255
-Original Message-
From: David Wall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 4:10
Is there a x.xml file in (TOMCAT_HOME)/conf/Catalina/localhost, where
xx is the context name? (this is an independent context configuration
that may have been created independently when you first deployed your
application on Tomcat).
If so, either delete it, or move your data source
That's not as nice only because most of the pages to be captured are JSPs,
and converting the JSP to a servlet for this purpose would defeat much of
the beauty of JSPs. I saw a listing for using a capture JSP tag at
http://www.jguru.com/faq/view.jsp?EID=304022 that seems kind of interesting.
Of
Hi
If you have apache2 in front of it, you can create two different
virtualhosts with
VirtualHost 1.2.3.4:80
mount unsecure here
/VirtualHost
VirtualHost 1.2.3.4:443
mount secure here
/VirtualHost
Regards,
Steffen
-Ursprüngliche Nachricht-
Von: Scott Ahten [mailto:[EMAIL
Could a filter do the job?
response wrapping always seems scarey to me, but it should be possible to
wrap all the requests for a given URL space (so for example, anything that
might conveniently fall under the /agreement/* URL space), and after your
call to doChain, you can extract and persist a
We have a Tomcat 4.1.x application using a JDBCRealm to do
authentication. Is there a way to prevent the same login from being
logged in multiple times simultaneously?
oops. I meant .. it should be possible to **filter** all the requests...
:o
-Original Message-
From: Mike Curwen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 6:24 PM
To: 'Tomcat Users List'; 'David Wall'
Subject: RE: Capturing HTML using Tomcat 4
Could a
On Wed, Oct 06, 2004 at 05:24:45PM -0600, Scott Smith wrote:
: We have a Tomcat 4.1.x application using a JDBCRealm to do
: authentication. Is there a way to prevent the same login from being
: logged in multiple times simultaneously?
Just off the top of my head:
You could mix a Filter with a
Could a filter do the job?
Yes, it most certainly could.
If your interested, I wrote one and packaged into a war file.
http://ben.souther.us/capture.war
It should be enough to get you started.
On Wed, 2004-10-06 at 19:23, Mike Curwen wrote:
Could a filter do the job?
response wrapping
Could a filter do the job?
Yes, it most certainly could.
If your interested, I wrote one and packaged into a war file.
It prints all the servlet output of the index.jsp page from the ROOT
application that ships with tomcat to standard out.
http://ben.souther.us/capture.war
It should be enough
Context name? I assume your referring to the ResourceParams name
attribute, jdbc/test_connect in this case, from the Context
declaration in my server.xml. So, I'd be looking for a
test_connect.xml. There are NO .xml files in the
TOMCAT_HOME/conf/Catalina/localhost with this name or any name
Hi,
I'm not sure if this is what you mean.
You could simply run the following code to capture the output of the
jsp.
~~
String htmlText;
URL u = new
URL(http://www.server.com:8080/application/some.jsp;);
BufferedReader htmlPage =
new
1 - 100 of 109 matches
Mail list logo