Dan Keeley wrote:
Hi all,
Just a quick one; It's not clear from the docs.
is %t in the accessLogValve the request datetime or the response
datetime?
It makes a difference to us!
thanks,
Dan
End of response (logging time).
Caution: for Apache httpd 2.x it's start of request.
Thats great, t
On Tue, 2008-03-18 at 16:42 -0700, Hassan Schroeder wrote:
> On Tue, Mar 18, 2008 at 4:28 PM, Martin Grotzke
> <[EMAIL PROTECTED]> wrote:
>
> > Only for the REST api (mapped to a specific path/url-pattern) we do not
> > want to return these error pages but only codes.
>
> So write dynamic error
Hi,
just to check if this would be an option: is it possible to tell tomcat
not to render its error pages?
Of course one configure an empty file as error page, but this would have
to be done for *all* error codes AFAICS.
Thanx && cheers,
Martin
On Tue, 2008-03-18 at 17:15 -0400, Christopher Sc
Hi,
I am running several instances of Tomcat 5.5 under Apache on a Linux
machine (Debian). On an application on one of the Tomcat instances I
have a memory leak, which I have not been able to fix.
To overcome the problem, in the short, I want to daily stop/start
(restart) Tomcat using a cron
Hi again,
After some weeks, Mr. Hanik help us solving the problem.
And he found it!
The problem was the sticky sessions, and our balancer: pen.
Pen, (http://siag.nu/pen/) it's a simple load balancer, and it doesn't care
about sessions between nodes.
That provokes dead locks at tomcat.
The proble
Hi List,
i try to install tomcat5 under suse 10.1
After installing and configuring i have the problem that i cannot request
the /manager , apache 2.2.8 sends error 404.
I dont know what to do now.
Here are my steps i used for installing:
tomcat-connectors-1.2.26-src is configured with:
./conf
Caldarale, Charles R wrote:
From: paul womack [mailto:[EMAIL PROTECTED]
Subject: Tomcat - JMX to get connections per minutes?
How do I get figures on (what I consider) simple stuff
like connections per minute/hour/whatever, Kilobytes
per second, etc?
Probably the easiest thing to do is look a
Hi all,
How do I display a friendly error page (503 site under maintenance) if
my application is taken off-line? I understand how to override error
pages with my application running, but can I, and where do I configure a
503 when its down, but Tomcat is still running.
Thanks
Peter
-
The easiest way i found out here was to use the 404 of the ROOT web
application ^^ to display a 'site under maintenance'.
You could also create a ROOT//index.html to get same result
En l'instant précis du 19/03/08 11:55, Peter Stavrinides s'exprimait en
ces termes:
Hi all,
How do I display
Oh thanks! that sounds quite simple... so I just add my error page
descriptor in the ROOT applications web.xml and it will override.
David Delbecq wrote:
The easiest way i found out here was to use the 404 of the ROOT web
application ^^ to display a 'site under maintenance'.
You could also cre
Hi List,
Tomcat is now working. The Only Difference is that i startet with
/usr/share/tomcat5/bin/startup.sh
Former startups used orig. Suse Startscript /etc/init.d/tomcat5
hmm...
Andre
-
To start a new topic, e-mail: users@
Found the problem. The docBase path was wrong. The "server" node in the
file tree was a hangover from Tomcat 5.
Mark Leone wrote:
Is RemoteAddrValve broken in 6.0.16? I have the following in
"manager.xml", located at %catalina_home%\Conf\Catalina\Localhost.
privileged="true"
antiReso
> From: paul womack [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat - JMX to get connections per minutes?
>
> I was hoping that there already existed some (web?) or Swing
> tool that would graph/chart "obvious" performance/load parameters,
> analagous to sun PerfMeter, or "KDE System Guard".
Bot
Caldarale, Charles R wrote:
From: Enrique Arizón [mailto:[EMAIL PROTECTED]
Subject: Tomcat tool similar to "top"
Time to time one of those apps gets out of control,
but standard OS tools like top just show the java
process running up to 200% of CPU usage.
I'd be suspicious of that tool :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ram,
[EMAIL PROTECTED] wrote:
| with authentication turned
| on, i receive a HTTP 401 error from the server when i try to undeploy.
This is how it's supposed to work.
| I am using standard code to access the tomcat manager, and am using basic
| aut
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MK,
MK wrote:
| Plus, one could place a link to it from the ticket on the Java issue
tracker, so
| that people coming from there have a solution at hand. I simply don't
see this
| getting fixed anytime soon.
Another good idea.
I would be glad to su
Unfortunately this solution doesn't solve it, I can only override 404
pages?, for 503 pages it simply ignores the override in web.xml, anybody
got any other suggestions?
Peter Stavrinides wrote:
Oh thanks! that sounds quite simple... so I just add my error page
descriptor in the ROOT applicati
Hello Hassan
thanks for the reply
i start the tomcat with this command
./catalina.sh run
or directly with eclipse with tomcatplugin
>>min/max JVM memory values are set in your startup script
how?
i see the script and not line to change this configuration suggested by you
regards
Hassan Schr
Hi,
Can anyone suggest how I can forward a post using servlets?
I have a page with 3 forms on it. The forms are paypal, google checkout, and
one other payment methods.
eg:
https://sandbox.google.com/checkout/api/checkout/v2/checkout/Merchant/***";
name="gc" >
http://s
On Wed, Mar 19, 2008 at 8:14 AM, dr_pompeii <[EMAIL PROTECTED]> wrote:
> i start the tomcat with this command
> ./catalina.sh run
Set min/max values using JAVA_OPTS, e.g.
export JAVA_OPTS=" -Xms512M -Xmx512M "
This can be in your dev environment, or in a production startup
script, usually som
> From: John Pedersen [mailto:[EMAIL PROTECTED]
> Can anyone suggest how I can forward a post using servlets?
[Shopping cart use case elided]
You have to issue a page back to the client browser, and get the browser to
auto-submit it to the payment provider. My approach with carts is to issue
th
Peter Stavrinides wrote:
Unfortunately this solution doesn't solve it, I can only override 404
pages?, for 503 pages it simply ignores the override in web.xml, anybody
got any other suggestions?
I thought used to be possible to customise the built in error pages with
XSL, but I can't seem to
You can't override the 503 error page using an
declaration. :-( The only way I know of to change it is to replace
org.apache.catalina.valves.ErrorReportValve with your own version,
which you specify in the "errorReportValveClass" attribute of the
element in server.xml. I haven't tried this, but
Hi Chris,
I figured out why the code I wrote did not work(had to look into the
Authentication class inside Tomcat source code to figure it out!).
The reason was when I was setting Request Property for Authentication, I
was missing a space
setRequestProperty("Authorization","Basic"+Base64.encode(in
Hi,
I have a very small and simple Spring + Hibernate application running in
Tomcat 6.0.16. During testing I'm running into many of the following errors
with Tomcat:
javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
I have to shutdown and startup tomcat every 3rd redeploy
Can some one help me on this its very urgent...?
On 3/18/08, ratul banerjee <[EMAIL PROTECTED]> wrote:
>
> >Is the download static content, or is it generated? If it's generated,
> what's the code that generates it?
>
> The download content is generated.
> It is generated through the ARS Mid-
> From: Scott Mueller [mailto:[EMAIL PROTECTED]
> Subject: Running out of memory too easily in Tomcat 6.0.16
>
> I have a very small and simple Spring + Hibernate application
Once you throw Spring and Hibernate into the mix, nothing is simple.
> javax.servlet.ServletException: java.lang.OutOfM
I'm not sure anyone here can. Tomcat is good at recovering from a
client abort -- they happen a lot for all sorts of reasons. Sounds like
the ARS Mid-Tier (what ever that is) is at fault and doesn't deal with
rejection very well. Have you contacted the company regarding this?
ratul banerjee
Thank you for the response Chuck. Like I said, this is a very simple webapp
(aside from the Spring/Hibernate libraries). Stores nothing ever in any
sessions and I can't imagine memory leaks with the simple code. Thank you
for those links, I guess I should run a profiler to see exactly what's goi
PermGen Space is where classes live.
One of the links on the FAQ should get you on track:
http://opensource.atlassian.com/confluence/spring/pages/
viewpage.action?pageId=2669
You are likely doing something seemingly innocent, but there is
actually a problem.
I got similar errors to yours
> From: Scott Mueller [mailto:[EMAIL PROTECTED]
> Subject: Re: Running out of memory too easily in Tomcat 6.0.16
>
> Stores nothing ever in any sessions and I can't imagine
> memory leaks with the simple code.
You can't ignore the Spring and Hibernate libraries, which could easily
be the cause
Thanks again guys for these responses, this is helping me understand what's
going on. Charles, where's the proper place to put the heap/permgen
allocation settings in tomcat's scripts? I very briefly ran through the
various scripts tomcat uses to startup, but I didn't see an obvious place to
ente
One thing that can help is to increase the PermGen space memory
allocation in the JVM startup. To do this, add the following flag to
the Tomcat JAVA_OPTS:
-XX:MaxPermSize=256m
(or another suitable value for you.)
Note however, that this is a workaround and does not solve the core
issue of a le
Thanks Chris! So JAVA_OPTS is where these kinds of parameters go.
On Wed, Mar 19, 2008 at 12:00 PM, Chris Hut <[EMAIL PROTECTED]> wrote:
>
> One thing that can help is to increase the PermGen space memory
> allocation in the JVM startup. To do this, add the following flag to
> the Tomcat JAVA_O
> From: Scott Mueller [mailto:[EMAIL PROTECTED]
> Subject: Re: Running out of memory too easily in Tomcat 6.0.16
>
> Charles, where's the proper place to put the heap/permgen
> allocation settings in tomcat's scripts?
You don't modify the scripts themselves. Set whatever options you need
in the
Hello,
I am having problems trying to deploy a web app to Tomcat 6. I initially
developed the app with the name LessonDownloader using Eclipse. I can
export the app as a war file (LessonDownloader.war) and deploy it using the
Tomcat Manager App. This works fine, and going to
www.mysite.com/Les
> From: Kelly.Graus [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 6 Deploy to subdirectory
>
> Now I want to deploy the app so that I can run it by going to
> www.mysite.com/lessons/download. I changed the path in my
> META-INF/context.xml file to be /lessons/download
The path attribute is not al
I misspoke - this is happening on Tomcat 6.0.16 only .
6.0.10 is working fine on all browsers.
Any pointers highly appreciated.
thanks,
-rajeev
On Mar 18, 2008, at 8:20 PM, Rajeev Angal wrote:
6.0.10 and 6.0.16.
On Mar 18, 2008, at 7:35 PM, Filip Hanik - Dev Lists wrote:
tomcat version?
R
Rajeev Angal wrote:
I misspoke - this is happening on Tomcat 6.0.16 only .
6.0.10 is working fine on all browsers.
Any pointers highly appreciated.
It is a known issue in 6.0.16. A patch is currently under consideration.
Mark
--
Hi Scott--
tough to say without understanding how you structured your app
pls send all configuration files
Thanks
Martin
- Original Message -
From: "Scott Mueller" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, March 19, 2008 12:53 PM
Subject: Running out of memory too easily in Tomcat 6.0.16
I can't get the manager app working with authentication using JDBCRealm,
even though I've configured it identically to an app I developed that
uses the same JDBCRealm instance successfully. In both cases, the app
requires a user with role "manager", and the same authentication setup
works for m
> From: Mark Leone [mailto:[EMAIL PROTECTED]
> Subject: Manager app authentication not working with JDBCRealm
>
> I can't get the manager app working with authentication using
> JDBCRealm, even though I've configured it identically to an app
> I developed that uses the same JDBCRealm instance su
Hi All,
We have a web app running on Tomcat that accesses Oracle via JDBC on a
Linux server (Centos 4.5) . The web app runs fine on one server but but
locks up or hangs for 20-30 second periods on a Dell sever running with
SATA storage.
I only mention SATA because that is the only significa
> From: Rick Fincher [mailto:[EMAIL PROTECTED]
> Subject: Tomcat hangs on SATA Linux server
>
> Anyone have a clue what is causing this?
Must be the day for people to leave out most relevant information.
1) What Tomcat level?
2) What JVM version?
3) What Java heap size have you specified?
4)
On Wed, Mar 12, 2008 at 11:10 AM, David Kramer <[EMAIL PROTECTED]> wrote:
> Caldarale, Charles R wrote:
> >> From: David Kramer [mailto:[EMAIL PROTECTED]
> >> Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon
> >>
> >> Are you saying we should try removing all the registry keys
>
Hi Martin,
I did absolutely zero configuration of tomcat. I use the commons dbcp/pool
for hibernate, not tomcat's connection pool. And I use acegi for security,
not tomcat or j2ee's mechanism (though this memory problem was happening
before I added acegi). The only thing I touch with tomcat is
I wonder how many times we have to remind people to provide the Tomcat
level they're using.
Besides that rather critical piece of information, also tell us where
you put your driver classes or jar for accessing the authentication
database.
- Chuck
Sorry about that. I'm using Tomcat 6.0.16.
yes providing configuration files would assist in debugging this scenario
Thanks
Martin-
- Original Message -
From: "Scott Mueller" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, March 19, 2008 6:19 PM
Subject: Re: Running out of memory too easily in Tomcat 6.0.16
> Hi Mart
See Thread at: http://www.techienuggets.com/Detail?tx=8748 Posted on behalf of
a User
For the sake of anyone else running into this cryptic exception, the FIRST
thing to do is verify everything about how SSL is configured in your VM -- make
sure the javax.net.ssl.keyStore and javax.net.ssl.trus
> From: Srinivasan Rangaswamy [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat on Window XP Pro 64-bit on Intel quad Xenon
>
> Oh, can someone please explain what does the "w" mean exactly? I've
> downloaded both the tomcat6.exe & tomcat6w.exe, but never known what
> their difference.
I don't kn
> From: Mark Leone [mailto:[EMAIL PROTECTED]
> Subject: Re: Manager app authentication not working with JDBCRealm
>
> I'm using Tomcat 6.0.16. I have my JDBC Connector jar
> file in %catalina_home%\lib
O.k., that looks good.
Why do your posted XML fragments have asterisks and odd annotations l
Why do your posted XML fragments have asterisks and odd annotations like
<#>? Since what you posted doesn't appear to be just a copy & paste, it
would be good to see the actual elements, attributes, and values.
My mistake. I copied from the rendered XML doc instead of from the
source. Here'
> From: Mark Leone [mailto:[EMAIL PROTECTED]
> Subject: Re: Manager app authentication not working with JDBCRealm
>
> Mar 19, 2008 10:21:23 PM org.apache.catalina.startup.HostConfig
> checkResources
> INFO: Undeploying context [/admin]
There is no admin webapp for Tomcat 6; is that your own, or
There is no admin webapp for Tomcat 6; is that your own, or did you copy
over stuff from a previous level of Tomcat? If you did, that's likely
the cause of your problem, since the configs and built-in webapps are
not compatible across levels.
I copied the admin app from Tomcat 5 after seeing
> From: Mark Leone [mailto:[EMAIL PROTECTED]
> Subject: Re: Manager app authentication not working with JDBCRealm
>
> 2. I added to server.xml the JDBCRealm descriptor that I
> showed earlier in the thread. I made no other changes.
O.k., I think that will break the world. As far as I know, you
Hi
We have been Developing a Web WIFI application that acts as a AAA
processor for ROUTER [ CISCO ] for
provision of Internet Access.
The application is HOSTED as ROOT in Tomcat 5523 web server
Reason : CISCO ROUTER uses IP /Port Only to identify and route the HTTP
requests for AAA proces
56 matches
Mail list logo