Sam Hokin wrote:
Mark Thomas wrote:
Sam Hokin wrote:
Thanks, Chris. I ran e2fsck with the -c option, which runs badblocks,
when I tested it earlier. And I just ran badblocks again - 0 bad blocks
found. I wish I could fix this by simply as swapping out a bad disk
(notwithstanding Andre's
Thanks, Juha. Actually Pieter suggested it a little while ago, and I've been
trying to get some information out of
strace. The best I can do is to put strace in front of the java command
that's inside catalina.sh. That's the command
that shows with ps -ef when Tomcat is running. BUT,
Hello Apache tomcat team,
I've a tomcat 5.5 and jdk1.5.0_16 install on a windows 2003.
(NB: jdk is install on D: and a jre on C:, but the JAVA_HOME is define to d:)
I've build a auto-sign jks certificate.
(following the http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html)
I've setup in
On 25.02.2009 02:47, Mohit Anchlia wrote:
In httpd conf I just see JkMount and no other directive. I searched for Jk.
There should be others as well, for instance JkWorkersFile to point to
your workers.properties. The names of the directives are case
insensitive, they can also be in files
On 25.02.2009 03:12, ilndinesh wrote:
But if you have only one Tomcat to send requests to, then all this tells
you is that this Tomcat is not responding. So now what do you do ?
In this case, I want apache to treat the request as DECLINED by mod_jk, so
that if we put some static content in
Thanks. I thought it should be something stupid and obvious... Here we
are. Embrassing, but I guess I deserved that. Everything works now, I
after I put the resources outside the protected area. And from now on,
I will treat my browser with more respect, and I will give back its
cache and
Hi all.
All my web services are currently available on standard tomcat port: 8080
I need to expose one of those web services to another company and I would
like to use, for example, 8085 port.
Is it possible ? How ? There is no problem to stop Tomcat instance for all
web services (8080 and
Tomcat out of the box doesn't provide a way to suppress the stack traces
for those errors. Like your post said, you need to use web.xml to
configure your error pages.
-Tim
Edao, Aliye wrote:
Dear all,
I am trying to find out if there is an alternative way of telling Tomcat
not to send
While I am late to this ... Is this an accurate summary?
- Slow re-load on a server
- Server is a production server
- Other servers are OK so it can only be reproduced on production server
- Initial looks at network seem to be no network activity
- There seems to be a hint at File.exists()
From: marcopb [mailto:marc...@interfree.it]
Subject: TWO Axis web services listening on different ports
Is there any xml tag to let one Tomcat instance listen to
multiple port ?
Just configure an additional Connector for the desired port:
From: hevo...@free.fr [mailto:hevo...@free.fr]
Subject: Using SSL tomcat
I've setup in server.xml file a listen port to 80 and define
a redirectPort to 443.
I've also activate and setup ssl section, and
adding
keystoreFile=D:\myfolder\mycert.keystore
keystorePass=x
and changing 443
what should I do to not use port number when writting the address of a page
on the Apache server?
--
View this message in context: http://www.nabble.com/how-tp22203518p22203518.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
nicumarius wrote:
what should I do to not use port number when writting the address of a page
on the Apache server?
Make your web server listen to port #80.
It's the default HTTP port.
--
Chef de projet chez Vectoris
http://www.google.com/search?q=mihamina+rakotomandimby
System: xUbuntu 8.10
Bind your server to port 80.
nicumarius wrote:
what should I do to not use port number when writting the address of a page
on the Apache server?
--David
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For
Hi
We have Tomcat 6.0 installed on Windows 2003 Server and we want to
restart apache tomcat service remotely but in a secure way... some ideas?
In the same server we have IIS + .NET installed...
Thanks a lot
Laura
-
To
From: nicumarius [mailto:nicumar...@yahoo.com]
Subject: how
what should I do to not use port number when writting the
address of a page on the Apache server?
http://www.catb.org/~esr/faqs/smart-questions.html
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
From: Laura Bartolomé [mailto:la...@secways.com]
Subject: tomcat restart remotely
We have Tomcat 6.0 installed on Windows 2003 Server and we want to
restart apache tomcat service remotely but in a secure way...
Logging in via Remote Desktop Connection is probably the simplest; are you
ssh is the most common way to manage a remote server.
But under windows :aie:
;)
Laura Bartolomé a écrit :
Hi
We have Tomcat 6.0 installed on Windows 2003 Server and we want to
restart apache tomcat service remotely but in a secure way... some ideas?
In the same server we have IIS +
David Smith-2 wrote:
Bind your server to port 80.
nicumarius wrote:
what should I do to not use port number when writting the address of a
page
on the Apache server?
--David
-
To unsubscribe, e-mail:
David Smith-2 wrote:
Bind your server to port 80.
nicumarius wrote:
what should I do to not use port number when writting the address of a
page
on the Apache server?
--David
-
To unsubscribe, e-mail:
Yes, I don't want to give acces via RDP with these permissions...
Caldarale, Charles R escribió:
From: Laura Bartolomé [mailto:la...@secways.com]
Subject: tomcat restart remotely
We have Tomcat 6.0 installed on Windows 2003 Server and we want to
restart apache tomcat service remotely but in
www.freesshd.com I could recommend as an SSH server for Windows. I
used it a few times, it's OK. Then you can use net start and stop to do it.
Morc.
On 25/02/2009 15:30, Piller Sébastien wrote:
ssh is the most common way to manage a remote server.
But under windows :aie:
;)
Laura
well, under windows I can have ssh with cygwin without problems but I
don't know if I'll be able to restart the service in this way
Piller Sébastien escribió:
ssh is the most common way to manage a remote server.
But under windows :aie:
;)
Laura Bartolomé a écrit :
Hi
We have Tomcat
Where will be the problem?
If you can run the startup.bat and shutdown.bat, then you won't have any
problem.
I do it from a looong time (under linux) and never had a problem.
Laura Bartolomé a écrit :
well, under windows I can have ssh with cygwin without problems but I
don't know if I'll
My problem was I haven't thought before! :)
I'm going to test it right now
Thanks a lot!
Piller Sébastien escribió:
Where will be the problem?
If you can run the startup.bat and shutdown.bat, then you won't have
any problem.
I do it from a looong time (under linux) and never had a
From: Laura Bartolomé [mailto:la...@secways.com]
Subject: Re: tomcat restart remotely
My problem was I haven't thought before! :)
I'm going to test it right now
I fail to see any difference between using Remote Desktop vs SSH in this
situation; whatever account you log in with will require
nicumarius wrote:
David Smith-2 wrote:
Bind your server to port 80.
nicumarius wrote:
what should I do to not use port number when writting the address of a
page
on the Apache server?
--David
-
To
David Smith wrote:
Since you haven't let us know anything about your server setup, we can
only suggest very general things. Port 80 is the well known port for
HTTP protocol and the one your browser assumes when you don't type it in
the address bar.
By the way, someone playing with Tomcat
Sometimes people people without any swimming lessons get thrown into the deep
end of the pool. Given the economy and layoffs, we'll probably see it more
often.
Mihamina Rakotomandimby (R12y) wrote:
David Smith wrote:
Since you haven't let us know anything about your server setup, we can
install ssh on your server with ssh2admin.exe
https://www.ssh.com/support/documentation/online/ssh/winadminguide/40/Windows_Server_Graphical_Configuration_Utility.html#indexdef-91
HTH
Martin
__
Disclaimer and confidentiality note
Everything in this
I am not sure the stickiness should be attached to the tc worker. I
would rather do it for the the real workers level, that is at
appfe[1234].
Consider also
worker.appfe[1234].sticky_session_force = False
for each appfe[1234] worker.
János
On Feb 24, 2009, at 8:47 PM, Mohit Anchlia
you are right there is a mod-jk.conf. So given my workers.properties
file what should I change so that mod_jk detects that app server is
down before attempting to send the request. Shouldn't retries in
workers.properties try to connect to some other app server instead.
Here is mod-jk.conf
#
Hello Chuck,
I don't understand why i have an
WARNING: A docBase D:\tomcat\webapps\mywebapp inside the host appBase has been
specified
In my web application mywebapp.xml i've defined a context :
Context path=/mywebapp docBase=mywebapp debug=99 reloadable=true ...
But, i think tomcat ignore
From: hevo...@free.fr [mailto:hevo...@free.fr]
Subject: Re: Using SSL tomcat
I don't understand why i have an
WARNING: A docBase D:\tomcat\webapps\mywebapp inside the host
appBase has been specified
Because you have specified attributes that are not allowed in your Context
element.
In my
Mihamina Rakotomandimby (R12y) wrote:
David Smith wrote:
Since you haven't let us know anything about your server setup, we can
only suggest very general things. Port 80 is the well known port for
HTTP protocol and the one your browser assumes when you don't type it in
the address bar.
By
I am running Tomcat (finally got it set up!) , and I would like to run some PHP
software on it also. I tried Quercus and ran into some bugs, seemingly because
the Quercus implementation isn't complete.
Has anybody really gotten a reliable PHP going on Tomcat?
Thanks!
On 25.02.2009 16:50, János Löbb wrote:
I am not sure the stickiness should be attached to the tc worker. I
would rather do it for the the real workers level, that is at appfe[1234].
Consider also
worker.appfe[1234].sticky_session_force = False
for each appfe[1234] worker.
The page
On 25.02.2009 17:10, Mohit Anchlia wrote:
you are right there is a mod-jk.conf. So given my workers.properties
file what should I change so that mod_jk detects that app server is
down before attempting to send the request. Shouldn't retries in
workers.properties try to connect to some other app
On Wed, Feb 25, 2009 at 1:59 PM, michel compu...@videotron.ca wrote:
I am running Tomcat (finally got it set up!) , and I would like to run some
PHP software on it also. I tried Quercus and ran into some bugs, seemingly
because the Quercus implementation isn't complete.
Has anybody really
Caldarale, Charles R wrote:
From: Laura Bartolomé [mailto:la...@secways.com]
Subject: Re: tomcat restart remotely
My problem was I haven't thought before! :)
I'm going to test it right now
As far as I know, given the appropriate permissions for the account you
use to do this, you can also
Done !
Thanks you very much, it's work fine now.
No, i'm not using APR, that's why, it doesn't work before.
You're my saviour Charles.
To ending my setup.
Do you know how to redirect the http client on https?
Thanks again,
Kings regards,
Hevoila
- Mail Original -
De: Charles R
Mark Thomas wrote:
Sam Hokin wrote:
Mark Thomas wrote:
Sam Hokin wrote:
[...]
My thinking is if we can reduce the scope of the problem to importing a
single class, we can then separate out that class and reduce the code in
it bit by bit until we have the bare minimum that causes the
Tim Funk wrote:
While I am late to this ... Is this an accurate summary?
- Slow re-load on a server
- Server is a production server
- Other servers are OK so it can only be reproduced on production server
- Initial looks at network seem to be no network activity
- There seems to be a hint at
From: hevo...@free.fr [mailto:hevo...@free.fr]
Subject: Re: Using SSL tomcat
Do you know how to redirect the http client on https?
That's documented in the servlet spec, section 12.7. You need to specify a
transport-guarantee of CONFIDENTIAL (case matters) for the protected
resources.
-
Pieter Temmerman wrote:
Try this strace command:
strace -f -etrace=\!futex,gettimeofday,clock_gettime -p
PID_OF_TOMCAT_JAVA
where PID_OF_TOMCAT_JAVA is the PID of your Tomcat, duh! :)
Thanks! That certainly did the trick. The first time I ran strace against the Tomcat process, it brought
Hi
I will talk about the problem I have encountered in brief. I have two tomcat
servers. I could deploy the new-same war on both of them. but with one
server I am facing problem with two links on the website. They point to 404
pages. Can any one suggest me the solutin for that.
The environment
André Warnier wrote:
Sam, because there is quite a bit of traffic on this issue, and because
the exact description seems to change a bit over time (e.g.
compilation-only or not), could you remake a summary of what you are
sure of so far ?
1. Initial requests to ANY JSP page on a site,
Hello.
Give us:
1) Tomcat versions
2) log files (catalina and localhost)
3) URLs of these links
How do you run tomcat? What command do you use?
-Original Message-
From: koppisetty bhavani naga satish [mailto:kbnsat...@gmail.com]
Sent: Wednesday, February 25, 2009 9:46 PM
To:
you have to feed your PHP script to Tomcat CGIServlet
Not to belabor the point but you're saying you want to race your Yugo
(PHPScript) at Lemans
instead of a Ferrari(Tomcat)..
Would you really want to run single-processing/single thread proc instead of a
Object Oriented multi-language running
Martin, I love the analogy! But I am trying to run Dokuwiki on Tomcat. The
reality is that there are a lot of PHP-writen stuff out there that I would
love to be able to run on Tomcat; not because it's PHP, but because it
works. This is one of those cases where works is alerady good enough.
As Chuck mentioned, you should have asked your question in a smarter way :)
Anyhow, coming back to your question,
You can use Apache HTTP server and use mod_proxy_http or mod_proxy_ajp
modules to forward all requests on port 80 on apache to port 8080 on tomcat.
Specifically use the ProxyPass
From: Sam Hokin [mailto:s...@ims.net]
Subject: Re: very slow class loading on initial JSP/servlet
request afterrestart
http://www.ims.net/media/strace-test6-stall.txt
So what's going on during the frequent 11-second gaps? (Was Rosemary Woods
here?)
Might want to redo the strace with the
You can use Apache HTTP server and use mod_proxy_http or mod_proxy_ajp
modules to forward all requests on port 80 on apache to port 8080 on tomcat.
Specifically use the ProxyPass directive to achieve what you want. Example:
ProxyPass/ http://localhost:8080/your-app/
The above
Caldarale, Charles R wrote:
From: Sam Hokin [mailto:s...@ims.net]
Subject: Re: very slow class loading on initial JSP/servlet
request afterrestart
http://www.ims.net/media/strace-test6-stall.txt
So what's going on during the frequent 11-second gaps? (Was Rosemary Woods
here?)
They are not
you're right but this has to be trough internet, not local...
André Warnier escribió:
Caldarale, Charles R wrote:
From: Laura Bartolomé [mailto:la...@secways.com]
Subject: Re: tomcat restart remotely
My problem was I haven't thought before! :)
I'm going to test it right now
As far as I
NEW DISCOVERY - using a wildcard package import results in a much longer
response delay!
I've taken Mark's suggestion that I import individual classes rather than importing all with a wildcard to see if a
particular class is slowing down classloading. It turns out that it's the WILDCARD
André Warnier wrote:
What in this directory path is (are) a symlink(s) ?
/home/sites/ims/jcms/webapps/ROOT/WEB-INF/classes/org/apache/jsp/test6_jsp.class
There are no symlinks in that path.
And how is this different from the other 2 systems that work fine ?
It differs in no known way,
From: Sam Hokin [mailto:s...@ims.net]
Subject: Re: very slow class loading on initial JSP/servlet
request afterrestart
I have no idea how to interpret all the wheel-spinning that
goes on in between.
The key lines have a 3+ second response time:
2498 15:24:35
Caldarale, Charles R wrote:
The key lines have a 3+ second response time:
2498 15:24:35 stat64(/net/ims/jcms/Object.class, 0x7b6b9c20) = -1 ENOENT (No such
file or directory) 3.020996
Most of the calls return in much less than a millisecond, but there are a few
ENOENT (not all) responses
Up to now I had always thought I understood the security aspects of
the Servlet spec quite well. Looks like I was wrong...
[Problem]
Upon session time-out the request is not forwarded to the login page
(form based auth). Nothing happens on the UI. However, forwarding to
the login page does
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
CVE-2008-4308: Tomcat information disclosure vulnerability
Severity: Low
Vendor:
The Apache Software Foundation
Versions Affected:
Tomcat 4.1.32 to 4.1.34
Tomcat 5.5.10 to 5.5.20
Tomcat 6.0.x is not affected
The unsupported Tomcat 3.x, 4.0.x and
From: Sam Hokin [mailto:s...@ims.net]
Subject: Re: very slow class loading on initial JSP/servlet
request afterrestart
The only place classes are stored under /net/ims/jcms
is within WEB-INF/lib/jcms.jar.
I'll poke around in the webapp classloader to see if I can find anything
interesting,
I am running Tomcat 6 on a group of Linux servers behind a loadbalancer. This
setup was working fine when I ran Tomcat as root. However, when I moved to
jsvc, the production servers started to become unavailable within a couple of
hours, serving thousands of requests. I had to restart them to
Ok, thanks all for all the great help! I will be taking a wack at these very
helpful ideas and I hope that I can figure it out and make it work.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional
From: Sam Hokin [mailto:s...@ims.net]
Subject: Re: very slow class loading on initial JSP/servlet
request afterrestart
It looks like we've boiled the problem, at least in this test
JSP case, down to the classloader wasting 3 seconds per
try on stat-ing core Java classes in an imaginary
65 matches
Mail list logo