Hello all,
We have hosted a small vehicle retail website using tomcat as app server. The
site has been live from around 6-7 months, just that the number of vehicles on
our site is increasing. The site was working fine till last week, but in the
last week we are seeing that our site is unstable,
Sharma, Siddharth wrote:
> Hi
> Does anyone know if Tomcat is affected by this?
> I have Tomcat 5.5.16 with Sun JRE 1.5 patched with TZupdater on RHEL.
> Thanks
> Sid
Only if your application uses those timezones. Tomcat internals are
not affected by any of the daylight savings issues.
Mark
---
> From: Horine Travis Contr AEDC/ATA
> [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5.5 failure to deploy javac 1.6 servlet
>
> Basically I have no idea how to cross-reference Signature
> index 63 from the class file to whatever in the java source
> code is causing it. Has anybody seen this kind
You are right, the set-up I've mentioned only works for one application.
Perhaps you want to configure multiple virtual hosts.
There's an example on that here:
http://confluence.atlassian.com/display/DOC/Guide+to+using+Apache+Tomcat's+Virtual+Hosts
You won't need Apache HTTP connector, just To
On 3/13/07, John Moore <[EMAIL PROTECTED]> wrote:
> Front-ending Tomcat with Apache is messy :-)
Really.. Why.. ??
By which I meant, httpd is an extraneous complication, unless you
really need to have something like PHP or other service outside of
Tomcat. Do you?
If that's the case, mo
Thank you for replying..
This is one webapp among many on this server..
So if I understand you correctly this will not be possible..
If I have miss understood.. could you clarify..??
John..
Rashmi Rubdi wrote:
If you place your application as ROOT.war , directly under Tomcat's webapps fold
Hassan Schroeder wrote:
On 3/13/07, John Moore <[EMAIL PROTECTED]> wrote:
Problem with this an your solution is that is it messy..
Front-ending Tomcat with Apache is messy :-)
Really.. Why.. ??
-
To start a new topi
On 3/13/07, David Delbecq <[EMAIL PROTECTED]> wrote:
You could do an internal redirect (request -> requestDispatcher ->
forward), but it would short circuit the filter chain, some important
filter might not be executed..
which presumably one knows when one's developing the app :-)
Just to rei
Hello all -
Before anyone jumps the gun - we've had an application running in production
for the last several months so this isn't the usual issue with
"setAccessToUnderlyingConnectionAllowed".
The issue is transient - occurring sometimes after 24+ hours operation and
seem to have started aft
Custom 404 error pages can be specified in Tomcat's web.xml file located under
TomcatFolder\conf\
Add the following to the web.xml:
404
/web/not_found_404.jsp
I've also seen this in some project's web.xml , instead of Tomcat's web.xml -
but haven't tested it.
Some common mi
No you can't really do a redirect from the filter. All the filter can do
is alter the request/response/session
However, what you an do i a filter for servlet /xyz that, under certain
conditions, don't call the rest of filter chain but immediatly tells the
browser (HTTP moved temporarily status code
How does one prevent Tomcat from displaying the Tomcat version in the 404 not
found page?
Hello Travis,
Horine Travis Contr AEDC/ATA wrote:
Just recently upgraded our server to use tomcat 5.5 with JRE 1.6 (was tomcat
4.0 with JRE 1.3). We had several poorly written servlets that still manage
to compile under both javac 1.3 and javac 1.6. When I compile them under
javac 1.6 they no l
On 3/13/07, John Moore <[EMAIL PROTECTED]> wrote:
Problem with this an your solution is that is it messy..
Front-ending Tomcat with Apache is messy :-)
If you *must* use Apache for whatever reason, you'd be better off
using mod_proxy_ajp in conjunction with mod_rewrite to handle this
configur
If you place your application as ROOT.war , directly under Tomcat's webapps
folder then Tomcat should load it on the root context /
But if it's named anything else then it will be at the // context.
I have mine set-up like this on a clean install of Tomcat 5.5 (with no
additional configuration
Caldarale, Charles R wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: How does one configure Plain host domain url to
run web app?
Dont use a redirect... it goes back to the browser and its not cool.
Nothing wrong with redirects. They're quite appropriate to allow
[EMAIL PROTECTED] wrote:
Hi John,
Ok, I'm going to try show you how I think about this stuff... and I'm
often wrong ;)
Dont use a redirect... it goes back to the browser and its not cool.
Firstly make a servlet and have a look at the CONTEXT.XML file under
META-INF
Thank you for taking th
Rashmi Rubdi wrote:
I think an application runs on the root context / by default, if it's
configured this way in server.xml :
Thanks for replying..
I have that already and it does not help..
Other suggestions..??
John..
-
Just recently upgraded our server to use tomcat 5.5 with JRE 1.6 (was tomcat
4.0 with JRE 1.3). We had several poorly written servlets that still manage
to compile under both javac 1.3 and javac 1.6. When I compile them under
javac 1.6 they no longer deploy correctly under tomcat 5.5. I have used
[EMAIL PROTECTED] wrote:
Is there an option to configure modjk so that it only protects the WEB-INF
and META-INF directories when they are part of a url defined in
uriworkermap.properties?
No, but good point.
Is there an option to turn this protection off completely?
No.
Regards,
Mladen
I guess you're talking about JSSOSessionID-Cookie, right?
I believe the whole design is not too smart:
Since all webapps are sharing the same session, I'd store the needed
values as session-attributes (too lazy to look it up right now, but
should work like
HttpSession session = .;
session.s
Windows 2003 server with Tomcat 5.5.20 and modjk 1.2.21
This server is running ViewVC along with having Tomcat serving Hudson and
Jira.
We have been unable to browse the WEB-INF and META-INF directories of our
projects under ViewVC since adding the isapi_redirect.dll.
Is there an option to conf
The presence of "/usr/share/tomcat5" in the servlet-api.jar
path suggests you are using a packaged install of Tomcat. While
doing some Eclipse Web Tools testing on SUSE 10.x (I think 10.1),
the "servlet-api.jar" it was installed as a dependency of the
Tomcat install and was symlinked as "[servleta
Our server is scheduled to restart tomcat5.exe to relieve memory leaks
on a
daily basis. Our HTTP site is fine but our HTTPS is not. HTTP status 404
- /
is the error message.type Status report - message / description The
requested
resource (/) is not available.
HTTPS services will not start (a
Looks like the error says it all. Tomcat can't find servlet-api.jar in
common/lib. Check that it really exists there and isn't a symlink.
Tomcat isn't known for tolerating symlinks all that well.
--David
dianelane wrote:
> On a Suse linu 10 server, with Apache2 I am trying to setup Tomcat5
> (
Hi,
Thanks a lot for Thomas and Tim. I know an overview about filter for
requests and responses. Now, I am not very clear if a filter could
redirect the requests from one servlet, which is originally to handle
the request, to another servlet, which is really to handle the request
after the r
daniel martin wrote:
> I'm trying to get my tomcat instance to connect over https to an external
> server.
> I have written a test servlet to do this
>
> String httpsURL = "*https*://*example*.microsoft.com";
The '*'s aren't really in your code, are they?
> But always get the following exception
On a Suse linu 10 server, with Apache2 I am trying to setup Tomcat5
(coonector with Apache2) to run web applicatons.
I do foolow the Apache Tomcat Coonector - webserver how-to, but have errors.
Java and Tomcat installed from Suse repository via YAst.
mod_jk.so downloaded and stored in /usr/lib/ap
Try ServletRequest.getLocalPort() rather than getServerPort().
Yes exactly, thanks - that is an addition to the api after the book I read :)
eclipse auto-complete and the sun website is your friend :)
*
Part of all these questions is I am looking to implement a servlet
subclass which wi
> From: Jayson Enriquez [mailto:[EMAIL PROTECTED]
> I am not a developer. I support an application called EDMS (Electronic
> Documentum Management System).
[...]
> Is there a permanent fix to keep tomcat5.exe memory usage stable?
Yes. Tell Documentum to find and fix the memory leak in their
appl
we are using Tomcat 5.0.28 and currently we have about 100 different contexts
.ie domain/a.. domain/b.. and so on all of which run off of the same code
but each domain runs against a different database. Currently everything
runs off its own docbase /a looks at /a, /b at /b and so on. I dont like
Hi -
I am not a developer. I support an application called EDMS (Electronic
Documentum Management System). To run this we too must utilize Tomcat to
launch JVM. I restart Tomcat to release memory usage on a daily basis.
(Task Manager) We start at 260mb and by the end of the day we are at
900+m
Hi,
I'm trying to get my tomcat instance to connect over https to an external
server.
I have written a test servlet to do this
String httpsURL = "*https*://*example*.microsoft.com";
URL myurl = new URL(httpsURL);
HttpsURLConnection con = (HttpsURLConnection)myurl.openConnection();
InputS
This could be the ticket!
At 11:53 3/13/2007, you wrote:
You could configure proxyPort in your to some value that you
could use as a flag for your particular environment. This will override
the header value returned by getServerPort(). Don't know if there would
be any undesirable side effects
Hi,
We are running 5.5.17 as a service using JRockit. A couple things to check:
1) if you are using the service.bat to install as a service confirm that
the PR_JVM is considering the correct path to the jrockit dll. this
should be std in the 5.5.20 service.bat:
rem Set the server jvm from JA
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: Can one map a servlet to a specific connctor?
Try ServletRequest.getLocalPort() rather than getServerPort().
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only
> From: Peter Kennard [mailto:[EMAIL PROTECTED]
> Subject: RE: Can one map a servlet to a specific connctor?
>
> I Verified this returns the port indicated by the client in
> the header.
You could configure proxyPort in your to some value that you
could use as a flag for your particular enviro
I Verified this returns the port indicated by the client in the header.
Not the port the request was recieved by at the tomcat instance.
Appropriate for a client to send and passed through by proxys,
remappers, front ends etc. but not to determine where it ends up.
PK
At 07:23 3/13/2007, you w
Hi List!
We are developing a couple of webapps that need to talk to each other,
and to do that, we have been using HTTP to just fetch certain URLs from
the other webapps to the requesting webapp. To ensure that the
programmatic request is carried out in the context of the user doing the
client req
I put commons-el.jar back in common/lib and removed the corresponding jar
from my WAR file. I still got the same result.
FYI, here is the latest WAR file:
META-INF/
META-INF/MANIFEST.MF
index.html
index.xhtml
result.xhtml
WEB-INF/
WEB-INF/classes/
WEB-INF/classes/test/
WEB-INF/classes/test/Pers
Hi
Does anyone know if Tomcat is affected by this?
I have Tomcat 5.5.16 with Sun JRE 1.5 patched with TZupdater on RHEL.
Thanks
Sid
Explanation of scope of the 3-character time zone problems with Java
Applications (DST2007 - Java Patch)
Abstract
Two types of 3-character time zone inc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Roman,
To be honest I don't really understand your concerns with 2.6,
but if you really want to be running anything that uses threads,
use a 2.6 kernel.
If the Java Tomcat App that you are running is just a frontend
to something else, and not rea
Hi Chuck,
"Not too much relevant" != "isn't relevant". Performance is always
relevant, so it's good to enhance it *if possible*. I mean, if switching to
2.6 could make security worse (I know, this assert could be subjective /
questionable but it's one opinion) AND performance is not too much
relev
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: How does one configure Plain host domain url to
> run web app?
>
> Dont use a redirect... it goes back to the browser and its not cool.
Nothing wrong with redirects. They're quite appropriate to allow the
browser to properly ev
> From: Roman Medina-Heigl Hernandez [mailto:[EMAIL PROTECTED]
> Subject: Re: Chrooting Tomcat // Linux threading issue
>
> Performance, in this case, is not too much relevant.
>
> Would I notice big performance improvements if upgrading?
I'm curious: if performance isn't relevant, why do you c
> From: neilac333 [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 5.5.23 Will Not Unpackage Application
>
> I did, however, find commons-el.jar in common/lib.
> I removed it, but I continue to get the same result.
Don't remove things from common/lib - Tomcat itself needs what's in
there. Remove
Hi, Remy
After I added <%@ page session="false" %> into
/apache-tomcat-6.0.10/webapps/examples/jsp/tagplugin/foreach.jsp
, I could not reproduce OutOfMemoryError.
But if I add <%@ page session="false" %> into my
application, my jsp could not get information from
session. How can I walk around this
There is nothing in shared/lib. I did, however, find commons-el.jar in
common/lib. I removed it, but I continue to get the same result.
Here are the remaining contents of common/lib:
commons-logging.jar
jasper-compiler-jdt.jar
jasper-compiler.jar
jasper-runtime.jar
jsp-api.jar
log4j-1.2.14.jar
> look you say that your >>"Tomcat version is 5.5.20"<<. Why don't u
> simply try/attempt to get version 6.x of Tomcat by now??? I mean any
> kind of version 5 is way too old by now! Capiche? [Understand?]
If someone is looking to impliment a new PRODUCTION install of Tomcat for
Centric CRM
It would except tomcat just serves up folders with out web.xml files as
static resources. A WARN might be in order, but that's about it. In
addition, tomcat does not chase down sym links. Best practice is to be
sure all required resources are contained within the webapp.
--David
Aditya Prasad
Damn! I missed that :) Thanks.
I assume this is taking it from where the hit arrives in at the
server and not the HTTP headers passed in (which could be anything)
At 01:32 3/13/2007, you wrote:
> From: Peter Kennard [mailto:[EMAIL PROTECTED]
> Subject: Re: Can one map a servlet to a specific
Thanks - I assume "any way you want" would include the port?
I'll have to dive more into Filters.
At 01:15 3/13/2007, you wrote:
> From: Peter Kennard [mailto:[EMAIL PROTECTED]
> Subject: Can one map a servlet to a specific connctor?
>
> On a stand alone tomcat with more than one connector (port
Hi,
I have resolved the issue which was being faced by me
Regards
Logu
-Original Message-
From: P Logaraman -IPEXT
Sent: Tuesday, March 13, 2007 3:42 PM
To: users@tomcat.apache.org
Subject: RE: Same version of Tomcat
Hi All,
I need to clarify a doubt which I have come acros
Hello David,
There are tools/scripts which try to automate the process of chrooting an
application, i.e, guessing libraries needed and so on. But they usually
require additional work (fine-tunning, etc), trial&error tests, etc. Being
Tomcat/Java a common application (at least amongst this list's u
Hello,
Andrew Miehs escribió:
>
> On 13/03/2007, at 11:22 AM, Roman Medina-Heigl Hernandez wrote:
>
>>> Hello,
>>>
>>> Server version: Apache Tomcat/5.5.17
>>> Server number: 5.5.17.0
>>> OS Version: 2.4.34-grsec-rslabs-k7
>>> JVM Version:1.4.2_10-b03
>>>
> Look for NPTL and Linux in Go
>Why don't u
> simply try/attempt to get version 6.x of Tomcat by now???
The answer is very simple: customer uses this version of Tomcat and wants
no upgrade.
Best regards,
---
Igor Shevchenko
"Mr. Steve Burrus" <[EMAIL PROTECTED]> wrote on 13.03.2007 00:59:03:
> look you say that your >>"Tomca
Hi,
it's, as far as i know, impossible to chroot tomcat after startup
(unless some JNI tools to do it exist am not aware about)
So, like any other application you would chroot before linking, you need
to ensure your chrooted environment contains all libraries needed by the
JVM (don't ask me for th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 13/03/2007, at 11:22 AM, Roman Medina-Heigl Hernandez wrote:
Hello,
Server version: Apache Tomcat/5.5.17
Server number: 5.5.17.0
OS Version: 2.4.34-grsec-rslabs-k7
JVM Version:1.4.2_10-b03
PS: A 2nd issue (not related to chroot) tha
Hello,
Please, could you recommend to me some tutorial/howto for chrooting Tomcat?
Some special points to take into account?
I suppose Tomcat version shouldn't mind but anyway...:
[EMAIL PROTECTED]:/usr/local/obs/tomcat/bin# ./catalina.sh version
Using CATALINA_BASE: /usr/local/obs/tomcat
Using
Hi All,
I need to clarify a doubt which I have come across..
Can we have two instances of the same version (for eg. Tomcat 4.1.24)
running on the same server in parallel.
If there is a possibility, pls do let me know what are the ports that
need to be changed on the server.xml.
I
Thanks Christopher, works like a charm!
Regards
Peter
>
> Peter,
>
> Peter Björkman wrote:
> > Hi! I'm setting up an environment where I need a lot of
> differens web
> > containers running, and part of that is setting up tomcat5.0 to run
> > multiple instances.
> >
> > I tried to find a sta
Sorry, couldn't get back to this as I had a week off.
I set jsvc to debug mode. The problem was: the search path for
jvm.cfg was here : .../jdk1.5.0_06/jre/lib/jvm.cfg while the
actual file resided here: .../jdk1.5.0_06/jre/lib/i386/jvm.cfg.
What I did I just copied the jvm.cfg to the search p
Hello,
you can find a tutorial at
http://java.sun.com/products/servlet/Filters.html
Best regards,
Thomas
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
Thanks Peter, that works fine.
Best regards,
Thomas
P.S. for the Archive:
The tutorial can be found at
http://java.sun.com/products/servlet/Filters.html
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe,
64 matches
Mail list logo