Dear All,
I have a strange problem. When I added a new server to my tomcat cluster I have
noticed that the load is getting very high on the server. Tomcat log show a lot
of these lines
18.12.2009 09:07:14 org.apache.catalina.ha.tcp.SimpleTcpCluster memberAdded
INFO: Replication member
Hi,
I'm using Tomcat 6.0.20, installed on a german Windows XP.
I'm quite sure that the cause is tomcat's code. When I use e.g. for
startup polish locale:
-Duser.language=pl
-Duser.region=PL
Tomcat delivers the Last-Modified header in polish:
Pt, 18 gru 2009 08:33:49 GMT
The Date header is
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Abid,
On 12/17/2009 12:08 PM, Abid Hussain wrote:
I used the startup parameters
-Duser.language=en
-Duser.region=US
This caused Tomcat to deliver the Last-Modified in the correct format.
That solved the problem, no 404
Tomcat 5.5.17
Solaris 5.10
Our Web Application is required to display hyperlinks to external files that
reside outside the web application based on certain business rules. The users
could then download these large PDF files.
We went ahead with the idea of symbolic links supported by Tomcat.
On 18/12/2009 10:01, Vishwa. K wrote:
I was wondering if this is the expected behaviour of Tomcat in this scenario
or is it a bug?
It is expected behaviour.
Mark
-
To unsubscribe, e-mail:
Hehe,
this I learned only a few days ago. I hope you didn't loose valuable
information.
But yes, this is the expected behaviour.
In order to solve the problem you just have to add 'fake' docBases ...
see below in the answers I got from Chris.
Although i have to add, that adding the
Jason Bourne wrote:
I have developed a web application in advance java. I am using java as
front end, MySQL as Back-end and TOMCAT 5.5 SERVER to run the application.
I have made a .war file of my application and pasted it in webapps folder
of TOMCAT.
The problem is when I start TOMCAT
On 18/12/2009 08:41, Abid Hussain wrote:
Hi,
I'm using Tomcat 6.0.20, installed on a german Windows XP.
I'm quite sure that the cause is tomcat's code.
And I'm quite sure it isn't. I have tested trunk, 6.0.x and 6.0.20 and
all behave correctly.
When I use e.g. for
startup polish
On 18/12/2009 09:36, André Warnier wrote:
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Abid,
On 12/17/2009 12:08 PM, Abid Hussain wrote:
I used the startup parameters
-Duser.language=en
-Duser.region=US
This caused Tomcat to deliver the Last-Modified in the
On 18/12/2009 10:31, Jason Bourne wrote:
Jason Bourne wrote:
I have developed a web application in advance java. I am using java as
front end, MySQL as Back-end and TOMCAT 5.5 SERVER to run the application.
I have made a .war file of my application and pasted it in webapps folder
of TOMCAT.
Hi again,
It seems that Mark is right. I just tried it with another webapp and
also in a clean installation and the headers are correct there, even if
the locale is set to polish.
Have to investigate further what causes the misspelled header. There
aren't any filters in my webapp that modify
Hi all,
I am new to linux. I wanted to install tomcat on Linux machine.
i have placed tomcat5.5 in opt/tomcat directory.
Now the system is expecting to set the enviornmental variables.
where and how can i set the same? (CATALINA_HOME and JAVA_HOME)
Thanks,
Vinay
--
View this message in
Am Freitag, den 18.12.2009, 04:32 -0800 schrieb VinayTJ:
Hi all,
I am new to linux. I wanted to install tomcat on Linux machine.
i have placed tomcat5.5 in opt/tomcat directory.
export JAVA_HOME=jdk/jre-directory
export CATALINA_HOME=/opt/tomcat
Now the system is expecting to set the
export CATALINA_HOME=/opt/apache-tomcat-5.5.25
export JAVA_HOME=/opt/jdk1.5.0_14
export JDK_HOME=$JAVA_HOME
export JRE_HOME=$JAVA_HOME/jre
export PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:$CATALINA_HOME/bin
-
To unsubscribe,
Hello Charles,
I am using a war file named sample.war to deploy my sample application in
tomcat 6.0. I have my log4j.properties file with that exact name in
WEB-INF/classes folder. That is I copy the war file into webapps folder of
tomcat and when I run tomcat it gets explode into folder sample,
Can we have the below 2 security constraints in web.xml ? auth-methods are
different for the both. In our existing application we have 2nd
security-constraint/login-config is existing. As part of Josso
configuration, we need have the configuration like 1st one. Can we club both
of them with out
Hello,
This method takes a filename. Since you've not provided a path to the
file, here, where did you put your file to ensure that it gets properly
loaded? - I have my file here WEB-INF/classes/log4j.properties.
What path are you using when you try to open the file? If you aren't
sorry forgot where...
both commands work from console/terminal
or you can add them to your personal bash-config file. put 'em at the
end of
/home/yourusername/.bashrc
or you can add them to the startup-script of tomcat as first lines
/opt/tomcat/bin/startup.sh
or if you have
hi,
I have set the env variables.
but while starting the tomcat i.e executing startup.sh , it is saying
The BASEDIR environment variable is not defined correctly
This environment variable is needed to run this program
can u pls help me out form this?
Thanks,
vinay
Given Shirinda wrote:
Mark Thomas wrote:
On 18/12/2009 09:36, André Warnier wrote:
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Abid,
On 12/17/2009 12:08 PM, Abid Hussain wrote:
I used the startup parameters
-Duser.language=en
-Duser.region=US
This caused Tomcat to deliver the
Hi
Ok the spec for the application
Remote
OS : Linux redhat
JDK :15
Web container : Tomcat 6.0.20
web application using JNDI Connection pool to Oracle DB 10G
Driver ojdbc14.jar
Local
O/s :Win2000
Jdk 1.6
Jconsole
Question 1
I am able to connect to the Remote Tomcat server via jconsole, but
vramanaj wrote:
Can we have the below 2 security constraints in web.xml ? auth-methods are
different for the both.
There was an earlier thread on this same list about that, about a week ago.
Basically the answer is no, because the Servlet Spec does not allow for
that. (In other words, it is
Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Using RemoteAddressValve with an Apache mod_proxy_balancer
If anyone points me to where the code of the RemoteAddrValve can be
found, I'd like to have a look.
Download the source package, and look in:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12/18/2009 5:32 AM, Mark Thomas wrote:
On 18/12/2009 08:41, Abid Hussain wrote:
Hi,
I'm using Tomcat 6.0.20, installed on a german Windows XP.
I'm quite sure that the cause is tomcat's code.
And I'm quite sure it isn't. I have
OK, it seems that tomcat is working correctly.
Still I would like to get the root cause of my problem which is again:
The last-modified response header is delivered in the locale of the
server. E.g. if this locale is polish or germen, the header is delivered
in polish resp. german format which
On 18/12/2009 15:20, André Warnier wrote:
By the way, in the file LocalStrings_fr.properties that is in that same
directory, there are quite a few typos. That's more my level, me being
a native French speaker and all.
How do I submit a corrected version, with a minimum of fuss ?
Get the
Add some debugging code to your app to find the point where the
Last-Modified header is added. Call HttpServletResponse.containsHeader
to see if the header has been set.
--
Len
On Fri, Dec 18, 2009 at 10:47, Abid Hussain abid.huss...@dilax.com wrote:
OK, it seems that tomcat is working
Mark Thomas wrote:
On 18/12/2009 15:20, André Warnier wrote:
By the way, in the file LocalStrings_fr.properties that is in that same
directory, there are quite a few typos. That's more my level, me being
a native French speaker and all.
How do I submit a corrected version, with a minimum of
On 18/12/2009 16:21, André Warnier wrote:
Mark Thomas wrote:
On 18/12/2009 15:20, André Warnier wrote:
By the way, in the file LocalStrings_fr.properties that is in that same
directory, there are quite a few typos. That's more my level, me being
a native French speaker and all.
How do I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kumaravel,
On 12/18/2009 7:45 AM, jkv wrote:
I was actually not specifing any path to open a file text.txt as i had it
under
WEB-INF/classes/test.txt, assuming my classes folder should be in classpath.
While your file was in the class path, you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Elli,
On 12/17/2009 10:45 PM, Elli Albek wrote:
A note on reverse proxy:
request.getRemoteIP() will normally return the IP of the proxy and not
the IP of the client.
This is a good point, but only pertains to HTTP proxying. If you use
AJP, the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ingo,
On 12/18/2009 5:10 AM, Ingo Gambin wrote:
Although i have to add, that adding the Context... directive to
conf/Catalina/localhost/name.xml
did not work for me on Tomcat 5.5.
Technically speaking, the path is not always
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12/18/2009 11:42 AM, Mark Thomas wrote:
On 18/12/2009 16:21, André Warnier wrote:
or do I need some
special editor or setting, or do I just convert these codes to their
UTF-8 equivalents and submit it as such ?
You can use:
Hi
I have some issues with tomcat, after starting the tomcat when I give
request to my application tomcat console showing the following error
message..
Dec 18, 2009 2:59:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3955 ms
Dec 18, 2009 2:59:27 PM
Looks like your server started pretty quick. Are there any applications
deployed? What url are you hitting when you get the reset exception. Do you
see the tomcat start page?
Pejus
On Fri, Dec 18, 2009 at 8:10 PM, SRama su...@techie.com wrote:
Hi
I have some issues with tomcat, after
2009/12/18 SRama su...@techie.com:
Hi
I have some issues with tomcat, after starting the tomcat when I give
request to my application tomcat console showing the following error
message..
Dec 18, 2009 2:59:23 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3955 ms
before starting the server I am checking both port address if any other
applicaion using the same port I am dynamicaly chaning the shutdown port and
http port.
2. I am not using AJP Connector and redirect port so I have removed. Can
you think because of the issues comming?
?xml version=1.0
Tomcat console Error message :
Using CATALINA_BASE: C:\Users\x1\WDD\dpcdrom\tomcat
Using CATALINA_HOME: C:\Users\x1\WDD\dpcdrom\tomcat
Using CATALINA_TMPDIR: C:\Users\x1\WDD\dpcdrom\tomcat\temp
Using JRE_HOME:C:\Users\x1\WDD\dpcdrom\java\JavaWin
Dec 18, 2009 5:03:55
I have depolyed my application it's working fine. but I am not able to
shutdown...
Pejus M. Das wrote:
Looks like your server started pretty quick. Are there any applications
deployed? What url are you hitting when you get the reset exception. Do
you
see the tomcat start page?
Pejus
2009/12/19 SRama su...@techie.com:
before starting the server I am checking both port address if any other
applicaion using the same port I am dynamicaly chaning the shutdown port and
http port.
You won't be able to shutdown Tomcat using the shutdown script, if the
script does not know what
OS X 10.6.2, Java 1.6.0_17, tomcat 6.0.18
I've spent hours researching how to configure embedded Tomcat. It starts up
fine, Spring config works, but I get 404's when loading the jsps (
http://localhost:8080/App/test.jsp) . I have the code that I am using to start
Tomcat here:
Christopher Schultz ch...@christopherschultz.net wrote in message
news:4b2aa7c4.1060...@christopherschultz.net...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fidelis,
On 12/17/2009 3:42 PM, Fidelis Mnyanyi wrote:
Thanks Konstantin for your response. I tried to use AccessLogValve,
but
André Warnier a...@ice-sa.com wrote in message
news:4b2bdc92.9050...@ice-sa.com...
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 12/18/2009 11:42 AM, Mark Thomas wrote:
On 18/12/2009 16:21, André Warnier wrote:
or do I need some
special editor or
43 matches
Mail list logo