Hello everybody,
I have installed many, many servers with Windows 2003 R2 x64 and Intel CPUs and
IIS and Tomcat with ISAPI Connector and it works great.
But now I have a hosting server with an AMD Opteron Quad Core 1352 2 ,1Ghz CPU
and installed Windows 2003 Server R2 Standard. I make the same st
Yes.
I changed the Name and defaultHost back to localhost and the
error vanishes.
However, it re appears when I give a different name than localhost.
On Mon, Dec 1, 2008 at 10:14 PM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Anand HS [mailto:[EMAIL PROTECTED]
> > Subject: Re:
Michael Ludwig wrote:
Michael Ludwig schrieb am 26.11.2008 um 20:57:12 (+0100):
LC_MESSAGES or LC_ALL would be the ones to look out for. LC_CTYPE is
for character classification.
Watch out for LANG, which overrides everything else.
I was mistaken here. LANG is *not* the one that overrides eve
> From: Anand HS [mailto:[EMAIL PROTECTED]
> Subject: Re: What exactly happens when I configure a different host
>
> When tomcat starts with host name = "localhost", it does NOT
> throw any error about missing class file.
Sorry, now I understand your concern.
Have you tried changing the name and
I extremely sorry for not being able to clarify to you.
There is definitely a reference to the Log4jInitialiserservlet in my web.xml
( pasted above ).
The servlet is missing in my jars/wars. . So i expect tomcat to throw error
when it starts
When tomcat starts with host name = "localhost", it does
> From: Anand HS [mailto:[EMAIL PROTECTED]
> Subject: Re: What exactly happens when I configure a different host
>
> Here is the web.xml from my webapp -
>
>
> action
> com.psi.servlet.Log4jInitializerServlet
>
> debug
> 2
>
> 2
>
I thought you said your web.xml didn't have a referenc
Have you modified conf/web.xml at all?
[No.. I have not modified web.xml, because the war I have deployed has its
own web.xml ]
Delete everything under conf/Catalina to make sure there are no left-over
elements pointing to webapps somewhere.
[I have done this. Same error even after that]
Delete
> From: Anand HS [mailto:[EMAIL PROTECTED]
> Subject: Re: What exactly happens when I configure a different host
>
> The thing is this servlet is not present at all.
Have you modified conf/web.xml at all?
Delete everything under conf/Catalina to make sure there are no left-over
elements pointin
The thing is this servlet is not present at all.
It is wrongly being referenced web.xml.
The original point of my question was just that..
When I configure host name as localhost ( which is by default ) , tomcat
doesnt throw error saying this class is not found.
But When I change the host name to s
> From: Anand HS [mailto:[EMAIL PROTECTED]
> Subject: Re: What exactly happens when I configure a different host
>
> java.lang.ClassNotFoundException:
> com.psi.servlet.Log4jInitializerServlet
So where is the class file for com.psi.servlet.Log4jInitializerServlet located?
- Chuck
THIS COMMUNIC
Thanks for your help Chuck, I probably should have installed a 'real' version
as you said but I did figure out the problem.
Under the work directory, the directory for my webapp has it's permissions
set to root. I don't know how this directory got created but, once I
changed the permissions to t
Christopher Schultz schrieb am 01.12.2008 um 16:16:49 (-0500):
> Michael Ludwig wrote:
> > The very fact that object leak from one web app into another is a
> > possibility seems to constitute a strong argument in favour of
> > strict monitoring, be it only to shield oneself from errors that
> > mi
Michael Ludwig schrieb am 26.11.2008 um 20:57:12 (+0100):
> LC_MESSAGES or LC_ALL would be the ones to look out for. LC_CTYPE is
> for character classification.
>
> Watch out for LANG, which overrides everything else.
I was mistaken here. LANG is *not* the one that overrides everything
else. LANG
I downloaded jakarta-tomcat-connectors-4.1.24-src.
But compilation gave me:
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
pp/include/apr_network_io.h:121: error: syntax error before
"apr_uint32_t"
/usr/ports/www/mod_webapp/work/jakarta-tomcat-connectors-4.1.24-src/weba
p
I did these steps -
1. Renamed admin-web to ROOT.
2. made sure to delete existing ROOT folder that comes bundled with tomcat.
3. Added context.xml to webapps/ROOT/META-INF with contents being
4. This is the error on restarting
INFO: Marking servlet action as unavailable
Dec 1, 2008 2:53:50 PM
> From: Anand HS [mailto:[EMAIL PROTECTED]
> Subject: Re: What exactly happens when I configure a different host
>
> Thats exactly what I have.
Good.
>
>
> directory="\\10.168.48.254\web_app_logs\QA1\Logs\SDQA1-WEB\TOMCAT\admin\accesslog"
> prefix="localhost_access_log_admin."
> suffix=
Thats exactly what I have.
Here is the server.xml configuration -
Cheers-
Anand
On Mon, Dec 1, 2008 at 1:42 PM, Caldarale, Charles R <
[EMAIL PROTECTED]> wrote:
> > From: Anand HS [mailto:[EMA
I would like Tomcat to automatically redirect to a special session expiry
notification page when a user session times out. I am currently using the
meta tag to force redirection as follows:
However, I also have an unload Javascipt directive in some of my pages to
prompt users when they navigate
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Updating users
>
> What the OP needs is to use a real user database instead of the
> tomcat-users.xml.
Yes, Hassan already told her that, and that's what I tried to imply by
suggesting she implement her own .
- Chuck
THIS CO
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rebeccah,
Prastein, Rebeccah H wrote:
> I'm hoping someone here can help me with this; I've searched all over
> the web, and any references to FileAppenders not flushing in the log4j
> lists get the response, "not a log4j problem, must be your applica
> From: Anand HS [mailto:[EMAIL PROTECTED]
> Subject: What exactly happens when I configure a different host
>
> I noticed a strange behavior when I tried to configure a
> virtual host by changing the Host Name in server.xml from
> the default "localhost" to "mydomain.com".
If that's all you did,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Prastein, Rebeccah H
>> [mailto:[EMAIL PROTECTED]
>> Subject: RE: Updating users
>>
>> There must be a way - Managing users is one of the things
>> that the admin webapp does.
>
> The admin webapp had acces
Hi,
I am trying to deploy a simple war file into a freshly downloaded tomcat
6.0.18.
I noticed a strange behavior when I tried to configure a virtual host by
changing the Host Name in server.xml from the default "localhost" to "
mydomain.com".
The strange behavior goes like this
1. the web.xml in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Ludwig wrote:
> The very fact that object leak from one web app into another is a
> possibility seems to constitute a strong argument in favour of strict
> monitoring, be it only to shield oneself from errors that might be
> difficult
> From: Peter Crowther [mailto:[EMAIL PROTECTED]
> Subject: RE: jvm cowardly refuses to print a thread dump
>
> Might the code have ended up with all threads stuck in OS
> calls? It feels a little unlikely, as I assume the JVM keeps
> a couple of threads for itself...
Unlikely that everybody's of
> From: marlowe [mailto:[EMAIL PROTECTED]
> Subject: RE: no jsp files will compile
>
> I installed it from ubuntu apt-get.
Try installing a real Tomcat and see if the problem persists.
Running Tomcat as root is really not recommended:
http://wiki.apache.org/tomcat/FAQ/Security#Q3
http://wiki.apac
Caldarale, Charles R wrote:
>
>> From: marlowe [mailto:[EMAIL PROTECTED]
>> Subject: no jsp files will compile
>>
>> I have java 1.5 installed and tomcat5.5 on a Ubuntu machine.
>
> Is this a real Tomcat (i.e., one downloaded from tomcat.apache.org), or is
> it a 3rd-party repackaged version?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Ludwig wrote:
> But then, this is without any filters. Let's add a filter.
>
> included HTML
> before include
> after include
>
> This is wrong. The output order is mangled. What happened?
Is this the filter you wrote in your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Iñigo,
Iñigo Mediavilla Saiz wrote:
> org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC
> driver class 'org.gjt.mm.mysql.Driver'
Others have answered your original question.
Note that Connector/J has used the com.mysql.jdbc.Driver cla
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adam,
AD wrote:
> I am trying to troubleshoot an error that seems to occur quite frequently
> with no real solution. I constantly see
>
> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link
> failure in my application after
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re:
>> Session affinity
>>
>> Is not very smart... There is some problem with that?
>
> I think so - without some intelligence in the load balancer, I don't
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vasanth,
Vasanth Kumar ravi wrote:
> Chuck
> We tried using the jprobe to profile the application. Now we are trying out
> lighter profiler as the jprobe was a heavy one.
Don't worry too much about the "weight" of the profiler: the whole point
is to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Snaglefrac,
Snaglefrac wrote:
> Now, when someone logs in they are using an unsecured login screen and there
> passwords are sent unencrypted. The solution! HTTPS, no sweat, i have this
> working to. The only problem I have is having the https and LDA
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: Re: jvm cowardly refuses to print a thread dump
>
> and two in
> at java.util.ArrayList.size(ArrayList.java:177)
Just for grins, can you post the full stack trace for those two? (Or e-mail me
the whole thing.) There's nothing unusual a
Leon Rosenberg schrieb:
> We assume that the other tomcats didn't produce any thread dumps
> because our trigger happy system admins just sent the kill -9 too soon
> after the kill -3, and the jvm was overloaded. Well it's a wild guess,
> but i have no better one yet (unless jvm really locked up in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Michael,
Michael Ludwig wrote:
> [Handing out multiple objects] seems to have caused the effect observed,
> which was the absence of
> the HTML file included via RequestDispatcher.include() in both the
> buffer used to capture the response and the ou
its very weird indeed. We had acted proactively on a tomcat which
started to show same symptoms (cpu load going higher (35%) but users
going down (means it replies slower than the other machines and the lb
gives less traffic to it) and after checking the logs, sent the QUIT
signal which worked this
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> That's ugly. Sounds like either the OS failed to deliver the
> signal, or the JVM is locked up internally (probably the
> latter).
That's rather what I was reckoning. I've had signal delivery fail before if
all the threads were stuck in k
thanks...
2008/12/2 Pieter Temmerman <[EMAIL PROTECTED]>
> Hi Alberto,
>
> I think this is merely "try and error".
> Maybe jconsole would help as suggested by other people today.
> I personally have not used it before.
>
> Cheers.
>
> ---
> Creo que la única manera de averiguarlo es "prueba y err
> From: Stefan Rainer [mailto:[EMAIL PROTECTED]
> Subject: AW: Memory consumption of Tomcat?
>
> It would be important to be able to plan the memory
> consumption of an application in productive environment.
The only way to reliably determine that is to actually run the application
under load in
Hi Alberto,
I think this is merely "try and error".
Maybe jconsole would help as suggested by other people today.
I personally have not used it before.
Cheers.
---
Creo que la única manera de averiguarlo es "prueba y error".
Hoy, ya varias personas han mencionado una utilidad que se llama
"jcons
> From: marlowe [mailto:[EMAIL PROTECTED]
> Subject: no jsp files will compile
>
> I have java 1.5 installed and tomcat5.5 on a Ubuntu machine.
Is this a real Tomcat (i.e., one downloaded from tomcat.apache.org), or is it a
3rd-party repackaged version? There are no end of problems with the repa
Hello Andre,
thx for your explanations and the hint with the "jconsole" tool.
I am already monitoring with it ...
@Chuck: Thank you for your commt. It would be important to be able to plan
the memory consumption of an application in productive environment.
Therefore I am trying to analyze the con
Hello:
How I can calculate the memory that must use a Java application and the
memory that I have to install to a tomcat server to function properly with
that application.
Bye
Hi,
I am trying to learn how to use jsp, tomcat and Java but I am having some
problems getting any jsp pages to run for my webapp.
I have java 1.5 installed and tomcat5.5 on a Ubuntu machine. I was able to
configure tomcat to get my webapp running in the directory:
/var/www/marlowe/
This site
> From: Stefan Rainer [mailto:[EMAIL PROTECTED]
> Subject: AW: IOException while loading persisted sessions /
> java.lang.OutOfMemoryError: Java heap space
>
> Is there any possibiliy in Tomcat 5.0.28 to turn off
> session-persistence?
First, you should be aware that 5.0.28 is no longer supported.
Stefan Rainer wrote:
Hello,
analyzing some memory problems I am wondering what's about the
memory consumption for tomcat.exe shown in the windows task manager?
- Java Heap size is configured as default (64MB)
- tomcat uses 150 MB according to windows task manager (win 2000, tomcat
running as se
> From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Subject: jvm cowardly refuses to print a thread dump
>
> we were unable to create a thread dump (kill -QUIT pid was just
> ignored by the jvm).
That's ugly. Sounds like either the OS failed to deliver the signal, or the
JVM is locked up internal
> From: Stefan Rainer [mailto:[EMAIL PROTECTED]
> Subject: Memory consumption of Tomcat?
>
> - Java Heap size is configured as default (64MB)
Which is rather small for any serious work.
> What's up with the 150 MB RAM for tomcat.exe?
The process memory space consists of a lot more than just the
Stefan Rainer wrote:
Hello Andre,
thank you very much for your comments.
We've modified the java heap memory configuration and will observe the
system. Is there any possibiliy in Tomcat 5.0.28 to turn off
session-persistence? I would like to avoid the creation of
[catalina-home]\work\ . We
Hello,
analyzing some memory problems I am wondering what's about the
memory consumption for tomcat.exe shown in the windows task manager?
- Java Heap size is configured as default (64MB)
- tomcat uses 150 MB according to windows task manager (win 2000, tomcat
running as service)
- Addionally I h
Hi,
we have recently had some hangups of tomcat (5.5.20 on 1.6.05 on linux
2.6.18). The tomcats just stoped replying (all connections timeouted),
but the strange thing was, that
we were unable to create a thread dump (kill -QUIT pid was just
ignored by the jvm).
The machines were idling, no high c
Gregor Schneider wrote:
- the bad news: Since SecurityFilter does not support SingleSignOn,
looks that I'm not able to use it without adapting the code.
Another thought: Might a customized JAAS-implementation be a solution?
Since I haven't been dealing with JAAS yet - does anybody know a good
s
Hello Andre,
thank you very much for your comments.
We've modified the java heap memory configuration and will observe the
system. Is there any possibiliy in Tomcat 5.0.28 to turn off
session-persistence? I would like to avoid the creation of
[catalina-home]\work\ . We don't use persistant se
Hi Mikolaj,
On Mon, Dec 1, 2008 at 1:50 PM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
>
> Try http://securityfilter.sourceforge.net/
>
- the good news: Your karma has grown
- the bad news: Since SecurityFilter does not support SingleSignOn,
looks that I'm not able to use it without adapting
Thanks a ton.
On Mon, Dec 1, 2008 at 6:50 PM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
> Abhi wrote:
>
>> I apologize for not being clear. The code is in the init method.
>>
>>
> Tomcat 6.x implements Servlet API 2.5. There's appropiate
> ServletContext#getContextPath() method: http://tinyurl
Abhi wrote:
I apologize for not being clear. The code is in the init method.
Tomcat 6.x implements Servlet API 2.5. There's appropiate
ServletContext#getContextPath() method: http://tinyurl.com/5scpfz . So
you can use it from Filter#init() without any problems.
--
Mikolaj Rydzewski <[EMAI
Gregor Schneider wrote:
Now enlarge your personal karma and be so kind to post some
suggestions, please ;)
Try http://securityfilter.sourceforge.net/
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
-
To start a new topic, e-mail:
I apologize for not being clear. The code is in the init method.
On Mon, Dec 1, 2008 at 6:14 PM, André Warnier <[EMAIL PROTECTED]> wrote:
> Abhi wrote:
>
>> This is an issue with the way getServletContextName() is implemented in
>> Resin and Tomcat. In Tomcat this returns the display-name of the
Abhi wrote:
This is an issue with the way getServletContextName() is implemented in
Resin and Tomcat. In Tomcat this returns the display-name of the application
where as in Resin it returns the URL prefix for the servlet context. Once I
added a display name to my web application I am getting the
This is an issue with the way getServletContextName() is implemented in
Resin and Tomcat. In Tomcat this returns the display-name of the application
where as in Resin it returns the URL prefix for the servlet context. Once I
added a display name to my web application I am getting the context name i
Hi there,
we're running some websites which are heavily framed (unfortunately)
using IFrames.
Authorization is done via FormBased Auth using Tomcat's built-in
j_security_check-method.
However, this is giving us some headaches when an application times out.
As you may know, j_security_check oper
Thanks Mark.
I am getting the context name using the session object
session.getServletContext().getServletContextName()
On Mon, Dec 1, 2008 at 5:23 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Abhi wrote:
> > I am trying to migrate my application from Resin to Tomcat 6.0.18. The
> > application
Abhi wrote:
> I am trying to migrate my application from Resin to Tomcat 6.0.18. The
> application runs fine, but my application context name(the context is
> created) is coming as null in Tomcat.
How are you getting the context name?
>
>
> Can someone please let me know as to what exactly shou
Mladen Turk-3 wrote:
>
> Henk Fictorie wrote:
>> Hi,
>>
>> I think that I've been bitten by a resolved bug in mod_jk 1.2.27. The
>> changelog is describing this as:
>>
>> AJP13: Always send initial POST packet even if the client disconnected
>> after
>> sending request but before providing PO
I am trying to migrate my application from Resin to Tomcat 6.0.18. The
application runs fine, but my application context name(the context is
created) is coming as null in Tomcat. I tried using context.xml but still I
am facing the same problem.
In Resin the equivalent configuration in resin.conf l
Sorry, I was so shocked by the last info about 64 MB, that I missed what
you wrote about the physical machine...
Stefan Rainer wrote:
Hello,
we are running a Tomcat 5.0.28 on W2k Server with 2 GB RAM and JVM
1.5.0_11-b03 which is mainly used as application server for (Axis-based)
SOAP Services
Stefan Rainer wrote:
[...]
SEVERE: An exception or error occurred in the container during the request
processing
java.lang.OutOfMemoryError: Java heap space
Exception in thread "http-16302-Processor151" java.lang.OutOfMemoryError:
Java heap space
Extract from configuration / status, if needed:
Hello,
we are running a Tomcat 5.0.28 on W2k Server with 2 GB RAM and JVM
1.5.0_11-b03 which is mainly used as application server for (Axis-based)
SOAP Services.
From time to time our Tomcat blows up to use almost the whole available
RAM and finally it "crashes".
In the logfile, we find the
69 matches
Mail list logo