What do the struts docs say? I don't see a checked field. Follow up with the
struts list:
http://struts.apache.org/userGuide/struts-html.html#radio
-Tim
Shilpa Nalgonda wrote:
How to resolve that?
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 29, 2004
You'll need implement toString() for your Promotion object.
I was able to get the Webtrends 4 to read the output from the access log
valve. (Fortunetly for me I haven't used webtrends since.)
-Tim
Mitchell Teixeira wrote:
Hello, I have a question related to capturing data in the Tomcat access
At http://funkman.home.comcast.net/ I have a project called ServletUtils.
You can use either RedirectFilter or ForwardFilter. They both can use regex's.
-Tim
Jacob Weber wrote:
Is it possible to have Tomcat interpret one URL, e.g.
http://www.mysite.com/dir/dir/file
to really load another one, e.g.
The stuff in is probably one of
icon?, display-name?, description?, distributable?,
context-param*, filter*, filter-mapping*, listener*, servlet*,
servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?
All of the above elements need to be *before* error-page.
-Tim
Gary Zhu
http://jakarta.apache.org/tomcat/faq/tomcatuser.html#why
-Tim
Olivier wrote:
Don't you like me
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
An alternative could be an extra servlet mapping in web.xml
-Tim
R A wrote:
All of you missed a very important trick. Specifing an index.do in the welcome-file/
tag is ok, but remember index.do is NOT a FILE, rather it is a struts action mapping!.
Therefore just including index.do in this tag
Your dtd is for the 2.3 spec, try using 2.4.
-Tim
R A wrote:
Here is a copy of my web.xml. I am using struts 1.1 and using an action(index.do) in the welcome-file/. This should be ok, since every request goes through the ActionServlet. When I point to the web app via a browser, it displays a
http://jakarta.apache.org/tomcat/faq/classnotfound.html
-Tim
Vamsee Kanakala wrote:
Dear list users,
I have a beginner's problem: I'm trying to get a small app which
retrieves a bunch of records from database (postgres) and prints them. I
set up the datasources, etc, correctly. I have the
://java.sun.com
R A [EMAIL PROTECTED] wrote:
DTD http://java.sun.com/dtd/web-app_2_3.dtd does not exist at java.sun.com. Any ideas??
Tim Funk wrote:Your dtd is for the 2.3 spec, try using 2.4.
-Tim
R A wrote:
Here is a copy of my web.xml. I am using struts 1.1 and using an action(index.do
In the case, I think you would need to say:
Thread.currentThread().getContextClassLoader().getResourceAsStream()
-Tim
Mike Curwen wrote:
If MyServiceImpl.class was loaded by a common/lib classloader, would it be
able to find resources in the WEB-INF/ classloader ? (Do classloaders work
that way?)
Tomcat 5 does because the 2.4 spec says so.
Tomcat 4.X does not.
-Tim
R A wrote:
When entering a servlet(action) in the /welcome-list tag, Tomcat returns a directory
listing. Does it support servlets in the /welcome-list tags?
-
Yes. post your web.xml and maybe someone can help.
R A wrote:
Have you tried it? I can not get it to work. If I type the action via the URL it
appears. However, when I add it to the welcome-list and point a browser to the
web-app, Tomcat returns a directory listing. Any ideas?
Tim Funk [EMAIL
This message contains a ant build.xml snippet to precompile all jsps's into a
jar. If you implement this - then all your need to do is replace the jar file
of precompiled JSP's (1 file) and reload the server.
http://marc.theaimsgroup.com/?l=tomcat-userm=108999588415291w=2
-Tim
Flisch, Alan
Tell your web browser to stop blocking cookies.
-Tim
Patrick Dalla Bernadina wrote:
The tomcat 4.1 that comes with JBoss is not creating session variables when I access the web server remotely. When I use the localhost hostname to connect to the web server it functions well.
A better thing to do is to implement a ServletContextListener to deallocate
any resources.
-Tim
Vladimer Shioshvili wrote:
I know this question is more of a servlet spec question, but I hope someone
has an answer..
if i have an object in the servlet context scope, if tomcat is shutdown
If you don't mind 2 instances of the same webapp running, you just deploy the
webapp under 2 names using an extra Context declaration.
-Tim
Keshav Sarin wrote:
Sure. But that means I need to have a webapp which does it
programmatically.
Isn't there a way to define a URL mapping on the web
The client IP is already known by apache (%a)
Or via HttpServletRequest.getRemoteAddr()
-Tim
[EMAIL PROTECTED] wrote:
No hints?
-Ursprüngliche Nachricht-
Betreff: *** Mail von extern mit internem Absender ***Logging with
mod_jk
Hello all,
is it possible to log the Client-IP with mod_jk on
HttpServletRequest.getRemoteAddr()
-Tim
Jarl Skogsholm wrote:
How do I get the user IP address? I only get the IP of the server.
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I think your using Orion, not tomcat.
http://www.orionserver.com/
-Tim
Selva Kumar B. wrote:
Hi ,
We are having the following architecture being used in our web based
application
HTML/JSP --- Main Servlet processor class Session Bean
DAO layer Oracle 8i Database.
Application
AFAIK, JSP classes stick around as long as the parent classloader holds onto
it. So once the parent classloader is defererenced, all the classes in that
classloader can be garbage collected.
-Tim
Dale, Matt wrote:
Hi,
I have a question which may be a general java question but it relates to a
: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 16:10
To: Tomcat Users List
Subject: Re: JSPs - Permanent Generation
AFAIK, JSP classes stick around as long as the parent classloader holds onto
it. So once the parent classloader is defererenced, all the classes in that
classloader can
http://marc.theaimsgroup.com/?l=tomcat-userm=108481556529975w=2
-Tim
Ryan McCain wrote:
I have PHP 3.x and Tomcat 4.x installed on a SLES box. What do I need
to configure in Tomcat so that it knows what to do w/ .php files?
Tomcat is acting as the webserver and not apache.
Use this in your build.xml ...
target name=jsp-compile depends=compile description=prcompile the jsps
!-- declare JspC task --
taskdef classname=org.apache.jasper.JspC name=jasper2
classpath refid=classpath/
/taskdef
!-- declare and make scratch dirs for the java files and
--- Tim Funk [EMAIL PROTECTED] wrote:
Use this in your build.xml ...
target name=jsp-compile depends=compile
description=prcompile the jsps
!-- declare JspC task --
taskdef classname=org.apache.jasper.JspC
name=jasper2
classpath refid=classpath/
/taskdef
!-- declare and make scratch
regards
Andre
Tim Funk wrote:
You need common/lib/jasper-compiler.jar in your classpath. [And
probably a couple of other files in common/lib]
-Tim
Evgeny Gesin wrote:
Hi,
when I run that code I get this error No public
no-arg constructor in class org.apache.jasper.JspC,
probably in taskdef
What could
I don't think so.
-Tim
Jitesh Sinha wrote:
If the log files become full does it create problem with the application?
Like session parameters coming as null or request attributes coming as null
even though they exist there in the session and request respectively?
You need \\
-Tim
Chris wrote:
Howdy,
Could someone please tell me why could this happen?
There is a property file props including a key-value pair logfiledir=
c:\hwebgod , execute :
String logdir = props.getProperty(c:\logfiledir);
Then string logdir will be c:logfiledir ( the char \ is missing
http://jakarta.apache.org/tomcat/faq/misc.html#error
-Tim
Hugh Field-Richards wrote:
Hi
How do I restrict the amount of information that is given
on the Internal Server Error Page? For example I get the
standard page
Internal Server Error
Message: Unable to get transformer handler for
of any other
person or official body.
On 14 Jul 2004, at 17:43, Tim Funk wrote:
http://jakarta.apache.org/tomcat/faq/misc.html#error
-Tim
Hugh Field-Richards wrote:
Hi
How do I restrict the amount of information that is given
on the Internal Server Error Page? For example I get the
standard page
If you need to replace http with https - see if using a Filter with
HttpServletRequestWrapper would work. (where you override isSecure() and a
few other choice methods)
-Tim
Graham Leggett wrote:
Hi all,
I have a tomcat server running behind an SSL accelerator. I have used
the proxyName and
The manager app will tell you.
-Tim
Stephen Charles Huey wrote:
Is there any way to find out how many sessions are currently in use?
I'm ultimately trying to get at how much memory is being used per
session...if there's no way to really get at this without a profiler
tool, do any of you use a
The Server header is hardcoded into the Connectors. You can't remove/change
it without a PATCH/recompile to org.apache.coyote.http11.Constants
-Tim
Ian Stevens wrote:
Is it possible to programmatically change the Server header?
[...]
Surely there is a way to alter the Server header of an HTTP
Unless there is a PATCH in bugzilla, then no.
-Tim
Ian Stevens wrote:
The Server header is hardcoded into the Connectors. You can't
remove/change it without a PATCH/recompile to
org.apache.coyote.http11.Constants
That's certainly what I saw when looking at the source. There's no way
alter it
Been talked about a few times and voted down.
If there are certain topics which one doesn't like - emial filters can easily
kill them. For example - I once killed all emails that contained IIS in it
because I don't care about IIS.
Mozilla provides decent filtering for placing emails in their
How do you mean disable? The default servlet has an option to allow/disallow
DELETE, etc.
Oterwise - you can define a security constraint in web.xml on these methods
and have them no be accessible by any role.
-Tim
Patrick Glennon wrote:
Anyone have any thoughts on this? Maybe I'll try
This is all wrong. You need to get a RequestDispatcher via:
jsp:include or jsp:forward
-- or --
RequestDispatcher rd = request.getRequestDispathcer(myPath);
rd.include(request, response);
-Tim
M.Hockings wrote:
What I want to do is to include a servlet in a .JSP. For reasons that I
won't go into
The servlet class should be mapped to a path in web.xml
-Tim
M.Hockings wrote:
Ok, I would tend to agree. But, how can I get a request dispatcher
without loading the servlet by classname?
i.e., RequestDispatcher rd =
request.getRequestDispathcer(/servlets/my-servlet-classname);
Mike
Tim Funk
in some
utility content generation servlets without having named servlets.
The solution that I gave below seems to work OK for the servlets
themselves but if they include another servlet or jsp then the output of
that next level included thing appears to be discarded.
Mike
Tim Funk wrote
The invoker is just another servlet.
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
-Tim
M.Hockings wrote:
How does one do that? Would it be spec compliant ?
Mike
Tim Funk wrote:
But it is not spec compliant. YOu can always use the invoker servlet.
-Tim
M.Hockings wrote:
That would
Nice troll.
1) Yes %=% was 10 times as fast. But Anything of simple complexity like
using a model object request %=% to get ugly real fast with many getters
and explict casts. There is a massive tradeoff in simplicity when you have
the following:
${myObect.myGetter.aValue}
2) I get massive
An alternative is to look at the DBCP java-docs. Cast your Connection to a
DBCP's ppoled connection class (or approrpiate). That class has a method
called getDelegate() which returns the real connection from Oracle. Then cast
that to the appropriate Oracle class.
-Tim
Claudio Carvalho wrote:
Carvalho.
- Original Message -
From: Tim Funk [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, July 02, 2004 10:52 AM
Subject: Re: How to use oracle pool instead of using DBCP pool?
An alternative is to look at the DBCP java-docs. Cast your Connection to a
DBCP's
I *think* you should be able to use XML entities to include other files into
web.xml.
Tomcat does not attempt to make sure that web.xml is valid document with
respect to the dtd. There are occasions where you can put elements in web.xml
out of order, and things will work ok. But that doesn't
Since the root cause is:
*root cause*
java.lang.UnsatisfiedLinkError: checkUser
at FuseBoxServlet.checkUser(Native Method)
at FuseBoxServlet.doGet(FuseBoxServlet.java:40)
at FuseBoxServlet.doPost(FuseBoxServlet.java:9)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
Yes (Or at least the following which is used by DefaultServlet):
// No, extract the desired path directly from the request
String result = request.getPathInfo();
if (result == null) {
result = request.getServletPath();
}
if ((result == null) ||
You need to rely on URL rewriting and you need to turn off cookies. I can't
remember how - i never tried it. Its in the docs somewhere.
-Tim
Ben Bookey wrote:
Dear List,
Does the REALM security feature in Tomcat, always have to store a cookie
JSESSION in the client ?
Is there an easy-work-around
None of the Realms will be usefull when tomcatAuthentication=false. You'd
need to roll your own.
-Tim
Ron Gomes wrote:
We use Tomcat with a fronting Web server (Apache) which provides Basic
authentication, so we need to run with 'tomcatAuthentication=false'
in the Ajp13Connector. But we also
I threw together a few filter utilities. Everything (including source) can be
found here:
http://funkman.home.comcast.net/
Utilities of interest:
*TimerFilter* - A Filter that lets you spew out how long it took to serve a page.
*ErrorFilter* - Spit or an error code and a file or message.
inbound.xml and outbound.xml are probably being written in JRUN and weblogic
too, just not the same spot.
inbound.xml and outbound.xml have nothing to do with tomcat. It must be some
custom code.
-Tim
Malai wrote:
Hi.,
In my web-application i'm communicating the other external server using
Use your stack trace. Its being caused by:
Root cause:
servlets._0002fservlets_0002fshowClientSubmissions_0002ejspshowClientSub
missions_jsp_0._jspService(_0002fservlets_0002fshowClientSubmissions_000
2ejspshowClientSubmissions_jsp_0.java:440)
In your work directory, look for
FAQ
http://jakarta.apache.org/tomcat/faq/misc.html#getResourceAsStream
-Tim
STOCKHOLM, Raymond wrote:
Hi,
I need to access a file located in the directory WEB-INF of my web application.
In fact, in WEB-INF/conf.
How can I open this file in one of my servlet ?
It depends on what you mean by state. State can be maintained in many places,
each for their own purpose:
1) ServletContext - So all servlets may access the same data
2) Session - User specific state
3) Servlet - resources that are of value only to that servlet.
4) static variables - Available
Yes. ALl your classes should be ina package:
http://jakarta.apache.org/tomcat/faq/classnotfound.html
-Tim
[EMAIL PROTECTED] wrote:
Question, please.
I have a web application... named matrici/web
so i have a tree like this
matrici/web/
-many jsp files
-WEB-INF/
--web.xml
In your Host or Context declaration, you'll need to create to add a element
to declare your session manager. Then add the property: sessionIdLength=42
or whatever length you'd like. It might be as simple as:
Manager sessionIdLength=42/
-Tim
James Maidment wrote:
Hi,
Fairly recently,
Tomcat has the same file size limits.
As for file length, that is probably operating system dependent.
-Tim
Woodchuck wrote:
just curious,
is there any issues relating to how big in size a JSP
can be in Tomcat?
i remember working with Websphere, JSPs have a
limitation of 64k. that is, if the
Use a backgorund thread to do the processing.
Then spit a page back to the user which uses a meta refresh to check the
status of the background thread. Place an animated gif on the meta refresh
page and the user will be none the wiser.
-Tim
Xiao F Chen wrote:
you have a code example of this solution? I would be very interested in
setting something like this up.
Thanks.
Michael
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 10:22 AM
To: Tomcat Users List
Subject: Re: What's the right way to handle a long
And I answered it here:
http://marc.theaimsgroup.com/?l=tomcat-userm=108723827315299w=2
-Tim
Worley Brent - bworle wrote:
I posted this earlier and received a few leads on what to do, but nothing
worked. I'm hoping a second look and explanation will help.
The page that is causing the error
Then your out of luck. The java from a JSP page is always placed into a
package. Becuase of this, you can't have packageless classes.
You alternative is to hack jasper to not use the package statement but doing
so will be harder than fixing your code.
-Tim
Worley Brent - bworle wrote:
Someone
It a 1.4 JVM thing (not 1.3)
Consider class Cowbell in package more.
file: Cowbell.java
--
package more;
import Fever
public class Cowbell {
}
Then consider a class called Fever without a package.
file: Fever.java
--
public class Fever {
}
Now try to compile them. The
Type 3 drivers are better than type 1. (But that depends on the
implementation) The JDBC-ODBC driver was *never* meant for production usage.
I know little about IIS - but I would hope there is a button that can be
clicked, or a tab in some property screen that would let you do the
equivalent
Wrong. It is expected that many threads may be executing the service() method
of a servlet at the same time.
One way to get around this is by making your serlvet implement
SingleThreadModel. (ick!)
-Tim
Keith Hankin wrote:
I am having a problem where one Servlet instance seems to being used by
JspXslt is a packageless class. Very very bad.
Put JspXslt in a class and all is OK.
-Tim
Worley Brent - bworle wrote:
Ok, doing this reveals that JspXslt.class is contained within the xslt.jar
file.
However, I cannot get this to import. I've tried a variety of opitons
(import xslt.JspXslt,
We put apache in front of tomcat. When we have an outage like this, we use
mod_rewrite to redirect everything to our custom error page.
Don't use ODBC. Its not meant to be used with java. Use a type 4 driver.
-Tim
Stephen Huey wrote:
Though I'm capable of adding to the JSPs and servlets on an
Would request.getServerName() work?
-Tim
Kevin McAllister wrote:
Kevin McAllister wrote:
I am using tomcat 4.1.29, and would like to obtain the host name
attribute from within my servlet code for the associated context in
which I am running. I think I would be able to retrieve this
information
http://jakarta.apache.org/tomcat/faq/security.html#restrict
-Tim
Gunnar Pörschke wrote:
Does anyone know how to configure tomcat to block only one specific Ip
adress.
I have one PC with two NICs. Tomcat blocks all available ip adress. How can
I set a limitation?
to anable additionally
connections no matter if they come
from network interface card 1 or network interface card 2 :
Any other suggestion?
grunar
-Ursprüngliche Nachricht-
Von: Tim Funk [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 9. Juni 2004 15:07
An: Tomcat Users List
Betreff: Re: IP Adresses
http
If the thread is associated with a servlet. It would be best to use the
destroy method of the servlet to stop the thread.
-Tim
Corey Baswell wrote:
Hello,
I'm trying to figure out what the proper way for spawning a new thread
in Tomcat is. I can create a new thread when my servlet is first
http://jakarta.apache.org/tomcat/faq/connectors.html#bind
-Tim
Barnet Wagman wrote:
I'm going to be running Tomcat with two IP addresses (each has its own
domain name). How do I associate some web apps with one and some with
the other?
From my reading of the /Server Configuration Reference/
See the servlet spec. I know for version 2.3 of the spec (which is tomcat4
stuff) - security is applied only to the incoming URL. (The same went for
filters too)
For 2.4 - I know that filters can be applied on RequestDispatcher.include and
RequestDispatcher.forward. So security constraints
You need to use ${catalina.home} (if your properties file gets expanded.)
-Tim
Euan Guttridge wrote:
I tested using $CATALINA_HOME instead of an absolute path in a property file
in a webapp. This did not work - the log the app was supposed to create to
was never created. An absolute path works.
the Tomcat documentation nor the sample server.xml that comes
with Tomcat has an example as far as I can tell)
Thanks
Tim Funk wrote:
http://jakarta.apache.org/tomcat/faq/misc.html#persist
-Tim
Barnet Wagman wrote:
Is it possible to disable session serialization? If so how is it done
Typically a JVM doesn't release memory to the OS.
Removeing references to the objects should be enough. (Via explicit setting
to null, or letter a variable fall out of scope from its block)
-Tim
Emre wrote:
Where and when does garbage collection happen in the JSP pages.
In my jsp pages I use
Anything is javax.servlet is container agnostic.
Anything in web.xml should be container agnostic.
Anything in server.xml or the context declaration (mywebapp.xml) is tomcat
specific.
-Tim
SH Solutions wrote:
Hi
I am using a DataSource inside a a servlet. Until now I am configuring it
with my
There are links to the archives here: Most are searchable
http://jakarta.apache.org/tomcat/bugreport.html
stella luna wrote:
is there a way to search archives from this malling list?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
http://jakarta.apache.org/tomcat/faq/misc.html#persist
-Tim
Barnet Wagman wrote:
Is it possible to disable session serialization? If so how is it done,
and is it bad idea? Is this documented anywhere?
Thanks,
bw
PS the archives has several posting asking this question but no answer.
No
-Tim
Jerry Miernik wrote:
Is it possible to use RequestDispatcher's include method
inside a jspInit(), to execute another JSP script while
this JSP script is in its jspInit() method?
Thanks,
Jerry.
-
To unsubscribe,
Off chance, are you using tag-pooling? Try turning that off and see what happens.
-Tim
Keith Hankin wrote:
Does anyone know any conditions under which writing to the JspWriter will
not result in any output? I have a custom taglib class that extends
BodyTagSupport. The doStartTag() method returns
The dtd (http://java.sun.com/dtd/web-app_2_3.dtd) says that
welcome-file-list must appear before error-page
-Tim
[EMAIL PROTECTED] wrote:
Hi,
This is my web.xml file. I dont know whats wrong here but my first session
gets expired. When I remove the error-page and welcome file list, then
,
jsp:setProperty Is there a syntax, I am missing, that
enables usage of a JavaBean inside jspInit()?
Thanks,
Jerry.
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 7:08 AM
To: Tomcat Users List
Subject: Re: RequestDispatcher in jspInit
http://jakarta.apache.org/tomcat/faq/misc.html#catalina.out
-Tim
Matt Tucker wrote:
Is there a way to have tomcat log all System.out printing to a daily log
rather than have them constantly piling up in catalina.out? Can this be
done using SystemOutLogger? The documentation on it seems pretty
AFAIK, its up to the amount of memory you have.
-Tim
Rob Wichterman wrote:
I was wondering if there is any type of limit to how many web applications
you can run with tomcat. I am only looking at about 5 concurrent users per
application. I have 5 deployed right now and was wondering if I should
See ServletContextListener
-Tim
Dev Team wrote:
Hello,
I'm using OpenJMS embedded in Tomcat 5.0.24 and when ever I do a shutdown
Tomcat can't shutdown completely because OpenJMS server is still running in
its own thread ( I presume ). If I use the OpenJMS management classes and
tell the server
Nope. The spec doesn't spell this out. If your feeling daring, you could
write a filter that tries to set and reset the Thread.priorities on the fly.
Then if your JVM pays attention to the thread priorities - you might get the
tweaking you need. (You can also do this in a Valve if you want to
.
But, Is it sensible we may alter Tomcat to make it QoS-enabled? If
so, where shall we look at to start?
Best regards,
Rui
On Fri, 28 May 2004, Tim Funk wrote:
Nope. The spec doesn't spell this out. If your feeling daring, you could
write a filter that tries to set and reset the Thread.priorities on the fly
If your client implements keepalives then you can maintain the same socket
connection for many requests.
-Tim
[EMAIL PROTECTED] wrote:
Thanks to all,
I forget to tell you that the HTTP Servlet and its request to URL of another
SW are located on the same host. Maybe I didn't understand quite
Look at JSTL's c:import tag. If you don't do posts (or images) - it might
be enough of a quick kludge.
For example, call this page cowbell.jsp:
--
%@ taglib uri=http://java.sun.com/jstl/core/c.tld; prefix=c %
c:import url=http://otherserver${pageContext.request.requestURI}/
--
Then in web.xml:
Never use java.io.File to do file reading in a webapp. Since the file you
wish to read is in your webapp (good!) - you can use
ServletContext.getResource(..) or ServletContext.getResourceAsStream(..).
Of course if you need to upload files - then you'll need to rely on the
tmpdir as defined in
The second has a better chance at being faster.
Way number 1 can create one huge memory wasting buffer. Evern worse - an
extra String (and StringBuffer) is created on every loop iteration resulting
lots of potential/wasted gc work.
-Tim
Rostislav Svoboda wrote:
Hi all
I'd like to ask you if
If I ever get my servers upgraded to 5 - thats on my todo list.
-Tim
Nanda wrote:
Access log entries seem to be logged without being buffered, in the
default setting on Tomcat. Can this be configured to log every 50 or
100 lines in a batch or every N minutes?
I think the struts list can probably answer this better than this list.
-Tim
Morten wrote:
Hi!
We are using Struts 1.1 and Tomcat 4.1.x at our company.
We are considering to separate our urls from our struts configuration.
Instead of /news.do?articleid=43 we would like the url to look like this:
Apache Commons Logger and accesslogs are 2 totally different topics.
-Tim
Hut Carspecken wrote:
Hi,
I was watching this thread and noticed that is was very close to my thread. I am trying to use
Apache Commons Logger, but I will settle for this default logger.
Two questions: how do I write to
Content Editor
CSA Travel Protection
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 20, 2004 5:00 AM
To: Tomcat Users List
Subject: Re: FW: Server.xml/AccessLog question
You should be able to use a custom pattern in 4.0 (or better).
But pattern=combined %v
why not
Context path= reloadable=true docBase=C:\iplanet\server\docs /
-Tim
Rajesh_Narayanan wrote:
I have to configure my tomcat to look into two different directories for
file availability.
Scenario: I have a different webserver iplanet with docroot say
C:\iplanet\server\docs...
I hv my tomcat
Ya. Use a custom pattern.
-Tim
Nanda wrote:
Is there a way to configure access log to have TAB as delimiter?
I am using Tomcat 4.1.29.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
tomcat2worker
-Tim
Simon Zeng wrote:
Could you please explain what do you mean special (hidden) and how to do it?
Currently I only define on JkMount for loadbalancer. Thanks, -Simon
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 18, 2004 7:54 PM
To: Tomcat Users List
tomcat2worker. For example, if I have tomcat2 down
and tomcat1 up. The mod_jk.log always give me error for tomcat2 without
going to tomcat1.
Is there any way to solve this? Many thanks.
-Simon
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 19, 2004 10:43 AM
You can use a Valve.
Or you can use a Filter configured in $CATALINA_HOME/conf/server.xml and the
class would live in the common/ classloader
-Tim
Chippada, Sreeni wrote:
Hi,
I am using Tomcat 5. I need all the requests be serviced by a
particular servlet irrespective of the web apps
1) There is no common hardware config.
2) Every Servlet is different in memory, cpu, and other resource usage - no
test has been developed to test this.
(A brief) List of items influence any servlet benchmark -
- How much logging do you do
- Do you need access logs
- Do you use a database - are
Faq faq faq
http://jakarta.apache.org/tomcat/faq/unix.html#ps
-Tim
Shapira, Yoav wrote:
Hi,
It depends on your kernel: most show the behavior Senor Schroeder
describes (so what you're seeing is expected, not a problem). Some more
recent kernels/thread libs correctly show one process per JVM.
501 - 600 of 1909 matches
Mail list logo