-XX:MaxPermSize=... [128m, for example]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 1:02 PM
To: Tomcat Users List
Subject: Re: Latest stable version of Tomcat
Thank you for the reply.
Do anyone know how to set PermGen space
kill -QUIT will cause a stack dump... including any Java deadlocks.
-Original Message-
From: Dave Pullin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 1:33 PM
To: users@tomcat.apache.org
Subject: How to diagnose a TomCat hang?
Briefly: Is there anyway to figure out what
manger's Java tab like this :
-Dcatalina.opts=-XX:MaxPermSize=256m
I ran a jsp which shows the Memery usage.
Its showing correct values for Xmx, Xms but for PermGen it still showing
the default 64mb.
Do you have any idea ? Is PermGen setting working for you
Thank you,
Aparna.
Tim Lucia [EMAIL
Hope that helps...
w: www.anorakgirl.co.uk
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent: 18 January 2006 16:38
To: users@tomcat.apache.org
Subject: How do I hide a web application's actual context from the
client?
What is the recommended, or best-practice, method
I'm using Tomcat 5.5, JDK 1.5, JDBC 8.1.7.0.0 on 8i on W2K SP4 + RHEL V.4
with zero problems (using classes12.jar)
Tim
-Original Message-
From: gupta vidhi [mailto:[EMAIL PROTECTED]
Sent: Friday, January 20, 2006 6:52 AM
To: Tomcat Users List
Subject: Re: Oracle 8i JDBC Driver for
In a previous life, I worked on a portal-type enterprise application in
which a single deployment supported multiple customers. For each
deployment, there was a master database, and n customer databases, one per
customer. The general mechanism we used there was to put the connection
pool
POST / GET from applet ?action=load (servlet side)
try {
out= new ObjectOutputStream(response.getOutputStream());
logger.debug(Sending object to applet.);
out.writeObject((Object)object);
out.flush();
return;
}
catch (IOException e){
The point of connection pooling is to eliminate the overhead of setting up
and tearing down a (TCP, database, AAA) connection for every database
transaction (typically, the web request in a web app.) This can add 100s or
1000s of milliseconds to every request, and is quite expensive.
If you can
and creates the pools.
Any help much appreciated.
Rob
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent: 22 January 2006 14:21
To: 'Tomcat Users List'
Subject: RE: Setting up connection pools on the fly...
The point of connection pooling is to eliminate the overhead
restarts.
Tim
-Original Message-
From: Warrick Wilson [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 22, 2006 9:24 PM
To: 'Tomcat Users List'
Subject: RE: Setting up connection pools on the fly...
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent: Sunday
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent: 22 January 2006 23:42
To: 'Tomcat Users List'
Subject: RE: Setting up connection pools on the fly...
How often do you change servers? What you describe below can be handled by
editing the appropriate context / resource
I seem to recall that on RH, all files are mmap'd and that can occupy
seemingly huge amounts of memory, when in fact it is all buffer cache and
will be collected by the OS if actually needed for something else. Could it
be logging in your app (or Tomcat) is writing a lot of data to files?
Tim
http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/SyslogAppender
.html
-Original Message-
From: Bachler, Elisabeth (Elisabeth) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 10:04 AM
To: 'Tomcat Users List'
Subject: Log4J output to SYSLOG
Hello,
I am using Apache
Here's how I've done it from a .jsp:
% response.reset();response.setContentType(text/comma-separated-values;
charset=UTF-8);response.setHeader(Content-disposition,attachment;filenam
e=csvoutput.csv);%
Skip the response.reset() if running from inside a servlet...
Tim
-Original
All available class libraries were bolted on after the core language was
established. You could say anything not in java.lang.* was bolted on.
The beauty of all those bolt ons is that you have so much stuff already
there, you can concentrate on your business logic. Even early in the C++
world,
Are you using the request dumper valve? This will cause decoding problems,
as describe here: http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
The Request Dumper Valve is a useful tool in debugging interactions with
a client application (or browser) that is sending HTTP requests to
Hibernate is not J2EE based. It just so happens it provides a EJB-free
solution to a servlet container environment. Hibernate does not require
J2EE.
Tim
-Original Message-
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 8:04 AM
To: Tomcat Users List
:[EMAIL PROTECTED]
Sent: Monday, January 30, 2006 12:18 PM
To: Tomcat Users List
Subject: Re: From Java to C#, ASP.NET [Off Topic]
On 1/30/06, Tim Lucia [EMAIL PROTECTED] wrote:
Hibernate is not J2EE based. It just so happens it provides a
EJB-free solution to a servlet container environment
I have successfully used Jmeter, and MRTG with some Perl scripts and the
manager web application to do most of this. Not everything that is
available in html mode is available in ?XML=true mode, unfortunately, but it
will get you going.
Tim
-Original Message-
From: Legolas Woodland
I use log4j as the logging implementation, and then chose the
RollingFileAppender (Daily or Size--your choice)
Tim
-Original Message-
From: Patrick Ward [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 31, 2006 7:39 PM
To: users@tomcat.apache.org
Subject: rotating tomcat logs
Does
Without knowing what book you refer to, and what class or interface
ConnectionPoolDataSource represents, it is difficult to know for sure.
DataSource (javax.sql.DataSource) is an Interface, not a class. Objects
returned from tomcat are sure to implement this interface, and are pooled
behind
()*;
}
conn.close() I am actually just releasing the connection and not really
closing it?
Thanks,
Matt
Tim Lucia wrote:
Without knowing what book you refer to, and what class or interface
ConnectionPoolDataSource represents, it is difficult to know for sure.
DataSource (javax.sql.DataSource
Which are you using? Log4j already has a RollingFileAppender (size or date
based, your choice) which rolls logs automatically. Or, you can use
logrotate on linux.
http://logging.apache.org/log4j/docs/api/org/apache/log4j/DailyRollingFileAp
pender.html
Yes. A FileAppender (log4j) which points to the same file. I even log all
clustered application messages to the same file, but I do include a constant
string in the layout which mentions which cluster member logged it.
See
I think Chuck is right. One thing that most J2EE / web applications do not
do is to catch the IOError the container is supposed to throw when the
browser / client disconnects and closes the socket. That way the answering
thread can immediately stop its work, clean up, and go home.
Tim
A few weeks ago, I asked a similar question which went unanswered.
Basically, I want to have the user request www.somewhere.com but have Apache
forward that to tomcatserver:8009/someNonRootContext/ so I can have
different versions, w/o exposing the context to the user. Rewriting works,
except
Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat
4.1\webapps\ directory. It should contain at least the following:
context docBase=E:\Tutorial...
Please read here:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html
-Original Message-
From: sumesh
Yes. Use their IP address in the replication listener, i.e.,
Receiver
className=org.apache.catalina.cluster.tcp.ReplicationListener
compress=false
sendAck=true
tcpListenAddress=10.0.1.58 === Make this IP be the
interface you wish.
Add: failOnError=false
-Original Message-
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 8:25 AM
To: users@tomcat.apache.org
Subject: wrapping manager undeploy Ant task
Hello,
I'm using the manager tasks for Ant to undeploy and deploy my WAR file
in
PM
To: Tomcat Users List
Subject: Re: turning off sessions
Tim Lucia wrote:
Tomcat doesn't create sessions. Web applications create sessions.
I.e., code says:
HttpSession session =
((HttpServletRequest)request).getSession({true|false}); // true for
create if not exist, false for don't
, it creates one as expected:
Session: [EMAIL PROTECTED]
So, the JSP must be the source of the session. I learned something new
today. I don't know why (yet).
Tim
-Original Message-
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 07, 2006 4:49 PM
To: 'Tomcat
Thanks! Now I do remember seeing this. Been a long time since I have
created a stateless application, I guess ;-)
-Original Message-
From: Ed [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 07, 2006 6:15 PM
To: users@tomcat.apache.org
Subject: RE: turning off sessions
Yep, JSPs
tomcat virtual host via apache
Tim Lucia [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
A few weeks ago, I asked a similar question which went unanswered.
Basically, I want to have the user request www.somewhere.com but have
Apache forward that to tomcatserver:8009/someNonRootContext
: Wednesday, February 08, 2006 10:40 AM
To: Tomcat Users List
Subject: Re: Virtual Directory
Tim Lucia wrote:
Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat
4.1\webapps\ directory. It should contain at least the following:
context docBase=E:\Tutorial...
Please read here:
http
Below is a filter which keeps track of how many sessions are attached to a
web app. The key part is the HttpSessionBindingListener interface.
Tim
/**
* J2EE Filter to count page hits. What it counts depends on the
url-mapping
* in web.xml.
*
* @author tim.lucia
*/
public class
for that? I
looked through the web.xml files (both the server one, and the one for the
app), but couldn't find anything about url-mapping or filters that seemed to
apply to this. It may be there, but I don't know enough about it to
recognize it.
Thanks!
Dave
Tim Lucia wrote:
Below is a filter which
:
Is there any way of telling if the session was actively invalidated, or if
it timed out? Looking at the docs for HttpSessionBindingEvent, I don't see
any differentiation between them. That's not a big deal, but would be nice
to have.
Dave
Tim Lucia wrote:
Add the following fragment to your web.xml
The filter, implementing HttpSessionListener, and binding itself to the
session, will be called by Tomcat when the session is invalidated (all bound
values which implement HttpSessionListener will have their valueUnbound
method called.)
So, the filter is effective in that it won't miss any
ID and session?
Dave
Tim Lucia wrote:
The filter, implementing HttpSessionListener, and binding itself to the
session, will be called by Tomcat when the session is invalidated (all
bound values which implement HttpSessionListener will have their
valueUnbound method called.)
So, the filter
Chuck would ask you to tell us what version of Tomcat 5 (5.0, 5.5) and the
release number (.28, .12), and he would ask for the O/S, and probably ask if
there were any exceptions in the log...
Remember, the more information you give us, the easier it is for us to help
you and the likelier you are
It's not html or JSP nature of things. You are returning text/html for the
mime type, and a real HTML document. The problem is the content you return
does not provide the robots any place to go.
Perhaps responding with a redirect (302) will provide them somewhere to go.
You can use
You might consider the necessity of using port 8080 as well - client-side
firewalls might block it, it is non-standard, and probably hard-coded
everywhere along side the IP address. You can run Tomcat on port 80 (see
the archives of this list--it has been discussed recently), or front with
httpd
While you're at it, you could add and must not contain the . character
(and any other illegal ones... I had a bear of a time figuring that out a
few years ago when I chose the FQDN of the machine for the jvmRoute!)
Tim
-Original Message-
From: Fred K [mailto:[EMAIL PROTECTED]
Sent:
http://www.google.com/search?hl=enq=j2ee+versus+php
http://www.google.com/search?hl=enlr=q=%22j2ee+or+php
.
.
.
-Original Message-
From: Iosev Perez Rivero [mailto:[EMAIL PROTECTED]
Sent: Monday, February 13, 2006 10:43 PM
To: Tomcat Users List
Subject: ask a comparison between J2EE and
1. Moving the JkMount directive inside a VirtualHost... will make it
accesible from only that virtual host. So, you must repeat common ones,
such as /jkmanager. I put the mappings (JkMount(s)) right in the virtual
host definition(s) with no trouble at all.
2. The virtual host is determined by
I believe you need to have a virtual host in Tomcat for each one on Apache.
I also believe that the name of the workers is irrelevant, as is the IP
address over which they communicate -- as long as the servers are bound to
the right address(es). All differentiation takes place on the host header
-Original Message-
From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 30, 2007 7:57 AM
To: Tomcat Users List
Subject: Re: order of web app initialization.
These TC designers seem to have though of everything
See
load-on-startup1/load-on-startup
The
You could as a simple test write a trivial web app, where the
contextInitialized() creates a trivial Timer, where the run() method simply
logs the event, perhaps with an integer count. Run that alongside your
failing webapp and see if there is any correlation.
Tim
-Original Message-
-Original Message-
From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 27, 2007 12:56 PM
To: Tomcat Users List
Subject: Tomcat Monitoring
What is recommended for monitoring Tomcat? Or is there anything built in
that can help monitoring the performance and the
I have a question about references held to my webapp from Tomcat.
I have observed the behavior below on both Red Had EL V.4, and on WinXP,
using Tomcat 5.5, and JDK 1.5. I used JProfiler to trace the allocations.
Some background: The environment here is such that we have a shared sandbox
for
You should have the *customer* add these to the global data sources, using
the admin tool, or by adding the xml fragments (you can ship) to server.xml
themselves.
Tim
-Original Message-
From: Darren [mailto:[EMAIL PROTECTED]
Sent: Friday, February 17, 2006 11:00 AM
To:
there is a way around this, but I'd
quite like customers to be able to deploy/undeploy without
trouble so
I can send them updated war files as necessary.
On 17 Feb 2006, at 17:18, Tim Lucia wrote:
You should have the *customer* add these to the global data
sources, using
the admin tool
Just like it says at the bottom of every message.
-Original Message-
From: François Hétu [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 19, 2006 2:08 AM
To: 'Tomcat Users List'
Subject: RE: Unsubscribing to this list
Hi,
Just send an email through your account: [EMAIL
If you use the manager application to undeploy and redeploy (for rolling
back, or for upgrading) then the old files will be removed undeploy, and the
dates and times will not matter.
Tim
-Original Message-
From: Hall, Scott [mailto:[EMAIL PROTECTED]
Sent: Monday, February 20, 2006
figured
it has to work like that since all it is expected to do is connect to the
remote VM.
Any help is appreciated
Asaf Lahav
VP RD, Prima Grid LTD.
Cellular: 972-54-4717955
Phone: 972-3-6540255
Fax: 972-3-6540254
_
From: Tim Lucia [mailto:[EMAIL PROTECTED]
Sent
You cannot ship servlet-api.jar as part of your war. If you do, you will
have two different instances of the HttpSession.class object -- one loaded
via Tomcat (from common/lib/servlet-api.jar) and the other loaded from the
one in your .war.
So, put it on your compile-time classpath, but do not
This works fine. Two companies I've worked at recently used W2K3 + IIS6 +
JK 1.2.15 + Tomcat 5.5.12.
Basically, you need to install the JK isapi_redirector in IIS, so that it
will redirect the appropriate URLs to Tomcat for service, and then install
the servlet(s)/JSP(s) on that Tomcat to
Yes. I posted a similar question not long ago. I wanted to know how to
preserve the session under exactly this case (my specific need was to have a
version in the Tomcat path, but hide that context / version from the user.)
I can tell you why it's NOT preserving it. Tomcat sets the cookie
Tomcat has an access log mechanism, aka access valve. This will log what
URLs are requested, which may or may not be what the user clicked, of
course.
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
-Original Message-
From: S, Ashwath [mailto:[EMAIL PROTECTED]
Sent:
It is the Connector element which you need to adjust, i.e., up the
maxThreads value.
Connector
port=8080
redirectPort=8443
minSpareThreads=25
connectionTimeout=2
maxSpareThreads=75
maxThreads=150
maxHttpHeaderSize=8192
/Connector
By encrypting the entire conversation, including the cookies. Remember that
SSL is wrapped around http, otherwise we could support multiple named
virtual hosts using SSL.
-Original Message-
From: Paul Roberts [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 9:23 AM
To:
mechanism in httpd.conf that we could use to
control how the cookie gets set...
I find it hard to believe that alot of people have not run into this issue
yet. Maybe everyone's still using mod_jk and have not migrated to
mod_proxy_ajp yet...
pete
Tim Lucia wrote:
Yes. I posted a similar
Users List
Subject: Re: mod_rewrite losing session
Tim Lucia wrote:
And how would one do that? The cookie JSESSIONID is automagically
maintained for you.
-Original Message-
From: Pete Lamborne [mailto:[EMAIL PROTECTED]
Sent: Friday, February 24, 2006 4:50 PM
To: Tomcat
improvements!
Tim
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tomasz Nowak
Sent: Tuesday, February 28, 2006 4:36 PM
To: users@tomcat.apache.org
Subject: Re: Sad: Tomcat 5.5.x crashes almost every single day.
Tim Lucia [EMAIL PROTECTED] wrote:
Send Tomcat a QUIT
I have found that running Jconsole against the VM (JMX) and watching the
various memory pools can be quite informative. I have not evaluated the
performance impact in a production environment (don't run Jconsole on the
same production box, as per the instructions.) I have had good luck with
similary to tomcat 4.1, I mean
logs from different vhost go to different files
- configure Tomcat not to log anything that belongs to vhost
to catalina.out
- turn of these useless jk infos
PS.
Tim Lucia: I don't care about access logs, HTTPd logis it for me.
Right, you want an integrated
Backwards. See http://www.mysql.com/products/connector/j/
Tim
-Original Message-
From: Mike Sabroff [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 01, 2006 10:43 PM
To: Tomcat Users List
Subject: Re: Cannot create JDBC driver of class '' for connect URL 'null'
Isn't that the old
You want ENGINE_NAME in there too, i.e.:
${CATALINA_HOME}/conf/${ENGINE_NAME}/${HOSTNAME}/${CONTEXT_NAME}.xml
or, for example (spaces delineate variables above, don't really use them),
/usr/local/tomcat /conf /Catalina /localhost /ROOT.xml ==
http://localhost:8080/
/usr/local/tomcat /conf
It can be either. The recommended way, 5.0 and later, is in the war's
context.xml. If you have a global resource, that is defined in server.xml,
and referenced from each context wishing to make use of it.
Tim
-Original Message-
From: Alex Jalali [mailto:[EMAIL PROTECTED]
Sent:
A forward simply passes the same request from f0.jsp along to f1.jsp.
Nobody actually requests f1.jsp, so you will not see such a request in the
access log. Had f0 redirected to f1 (response.sendRedirect(...f1.jsp))
then you would see a second request.
You should see both printlns in
Since they are in application scope, you can make them part of a Singleton
pattern, i.e., make them static values of a class, loaded by the
contextInitialized() method. They could be properties of the listener
itself, or to be more properly factored, you can place them in their own
class.
Tim
though.)
I have:
//properties file in classes
myProps.load(new FileInputStream(test.properties));
or
//properties file in classes/com/example/test
myProps.load(new
FileInputStream(com/example/test/test.properties));
Is this not the correct way to specify the path?
Thanks,
Rahul.
--- Tim
Don't set it (defaults to 1 for all.) That will treat all workers equally,
regardless of the resources available on each worker's machine.
See http://tomcat.apache.org/connectors-doc/config/workers.html for complete
details.
lbfactor (1)
Integer number used when the worker will be used
I am sure I have seen this before on this list, and the answer I remember is
that the case sensitivity part is only for file names. Servlet mappings are
case-sensitive regardless because the spec says so.
Read this as well, although it says all case sensitivity checks will be
disabled it doesn't
this is a security risk other than reducing
the number of guesses you have to make to find static resources in a
brute-force hacking attempt...
Tim Lucia wrote:
I am sure I have seen this before on this list, and the answer I
remember is that the case sensitivity part is only for file names.
Servlet
The error below is because the class aaa.pm.server.beans.MemberData does not
implement java.io.Serializable.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 07, 2006 1:09 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.0.28 memory leak
Yes I
Also, I should mention that the commons-logging / log4j leak is because
the shutdown process is not correctly followed. You should have an
application context listener which 'shuts down' the logger when the
application's context is destroyed, i.e.,
public class ApplicationLifecycleListener
???
|-+
| | Tim Lucia |
| | [EMAIL PROTECTED]|
| | om |
| ||
| | 03/07/2006 12:26 |
| | PM |
| | Please respond to|
| | Tomcat Users
The number of connections is affected by three parameters:
initialSize=10
maxIdle=20
maxActive=50
also:
maxWait=5000
initialSize=10 says make 10 connections at startup. SHOW PROCESSLIST will
reveal 10 processes in this case.
maxIdle=20 says close any idle connections in excess
.
In tomcat 5.0.28 I cannot find initialSize parameter. Is it something that
was added later?
And by idle connection, do we mean the connection that was closed in a
finally block (returned to the pool)?
John
Tim Lucia wrote:
The number of connections is affected by three parameters:
initialSize
The last one (4) results from not deregistering the object mentioned from
the JMX server. Typically this is a register during contextInitialized
(ApplicationLifecycleListener) and a de-register during contextDestroyed.
The effect would be that a reloaded application would not be JMX-enabled and
Can't this exception be the result of the user hitting the STOP button, or
simply closing the browser? I.e., this can happen all the time. Are you
certain this is the exact cause of death?
From the stack trace (unless you've filtered it) it appears your code is
complete, and the response is
In my experience, using 8i and the thin driver, bouncing tomcat always
clears all connections to the DB. Reloading the app will not necessarily
clear connections, as the old app is still in PermGen, waiting for garbage
collection. Once collected, however, the connections will get cleaned up.
No, I am not saying that. I am saying that the connections, being returned
to the pool on connection.close(), remain open as long as they are not
garbage. When a context is reloaded, the previous context hangs around for
a while. That context holds reference(s) to the pool, which in turn holds
FWIW, I switched from JBuilder to Eclipse several years ago, and could not
be happier. I recall a few hours of frustration at the start, but I don't
recall exactly what. Eclipse has a decent Emacs keystroke mode which is a
requirement for me...
Tim
-Original Message-
From: Dola Woolfe
-remove/undeploy without losing sessions
Your filter show only that the class implements java.io.Serializable and not
that the object is really serializable ;-(
A good live session analyze shows the probe tomcat manager.
http://tomcatprobe.org
regards
Peter
Am 15.03.2006 um 14:59 schrieb Tim Lucia
So, wouldn't the answer really be
Yes it will work (technically it is feasible), with several caveats, namely,
multicast is typically not enabled on WANs, and the transmission protocol
for replication is not secure. It boils down to a network problem - and if
you had a secure VPN over WAN which
You will probably want to set emptySessionPath to true
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
http://marc.theaimsgroup.com/?l=tomcat-userm=114082698006999w=2
Otherwise, the browser will send the cookie for /mywebapp as that is the
context which Tomcat will set JSESSIONID under.
You can specify parameters on the various tabs under the servicew app (the
tray monitor). You probably want Startup in this case, so it would go
alongside the start option.
Tim
-Original Message-
From: Ryan Daly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2006 4:26 PM
To:
Try here:
http://www.robotstxt.org/wc/robots.html
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 22, 2006 8:00 PM
To: Tomcat Users List
Subject: Would like to track googlebots, or spiders from site
Not necessarily a tomcat problem, but I have
This is not a tomcat question. It is an HTML question. The answer is that
the form will post a variable with the name of the input control = value of
the input control, or, anyname=x where x is the selected value of anyname.
i.e.
form action=#
select name=anyname
option1/option
option2/option
How did you invoke it with the invoker servlet disabled? According to your
web.xml, it would be available at:
http://localhost:8080/myapp/Hello
Tim
-Original Message-
From: Bassel Mannaa [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 26, 2006 6:59 PM
To: users@tomcat.apache.org
Use Log4J, or another logger implementation of your choosing, with a
RollingDailyFileAppender (Log4J) or equivalent (your choosing) as the
target.
-Original Message-
From: Sheets, Jerald [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 29, 2006 5:04 PM
To: Tomcat Users List
Subject: Re:
seems like it would be a reasonable function
to have built into tomcat's native logging...
Tim Lucia wrote:
Use Log4J, or another logger implementation of your choosing, with a
RollingDailyFileAppender (Log4J) or equivalent (your choosing) as
the target.
-Original Message-
From
my applications?
I want to rotate the stdout_, jakarta_service_, etc logs. I've already got
the logging working fine for my application's own logs.
Dave
Tim Lucia wrote:
Is there some reason you cannot plug in log4j?
1. It's already written
2. It already works
3. It has log rotation (either
You installed the .exe version. The .zip version (I believe) contains all
the batch files. Not that you need them. You can manipulate the VM startup
options via the service control (tomcat5w aka system tray monitor.) On the
Java tab, simply add (each on it's own line)
-Xdebug
What is listening to port 80 on 192.9.200.62? What error(s) do you get when
you make such a request? Are you using Apache + Tomcat? What connector?
More information is required to answer your question.
Tim
-Original Message-
From: Indraveni [mailto:[EMAIL PROTECTED]
Sent: Friday,
We are planning to deploy (in 2 weeks actually) on RHEL 4 with Apache + 3
tomcat servers (4 x Dell 2850s w/ dual-core CPUs). Load testing (JMeter,
HttpUnit playback of actual recorded requests) on this environment has
revealed a marked improvement in throughput (65K request/hour with 100
clients)
Switch places with them for a minute -- They are providing free support and
pretty good support at that. Note that there are many, many basic questions
that could easily be answered by reading the documentation (RTFM) or by
Googling (STFW), but instead posters demand immediate help as their
Hi All,
(This one is probably a Filip question...)
I have a 3-node cluster on Red Hat (2.6.9+ kernel) and I wish to use the
FarmWarDeployer. I have (of course!) RTFM and STFW and both have been
extremely helpful. I did note an old (2004-ish) post to this list from
Filip saying that the
1 - 100 of 271 matches
Mail list logo