have tomcat server with apache (mod_jk) and mysql running on my box.
Initially there were no issues with the server. But from past one month, the
tomcat application hangs and websites also doesn't open. Though when i run
nmap localhost, it shows me 8080 and ajp13 services running.
Check the cpu/m
To unsubscribe, e-mail: [EMAIL PROTECTED]
On Wed, Nov 19, 2008 at 2:26 PM, devendra gawde <[EMAIL PROTECTED]> wrote:
>
>
>
> Be the first one to try the new Messenger 9 Beta! Go to
> http://in.messenger.yahoo.com/win/
>
>
> ---
would like to know if I can
kill any process from netstat or otherwise (other than from Task
Manager, as that doesn't show anything useful).
Cud be IIS interference to Tomcat.
Try the following
Start --> Control Panel --> Administrative Tools -->Services --> I
Find the process named IIS Admin a
this message
2008-11-20 17:08:29.999 [main] [INFO]
org.apache.coyote.http11.Http11Protocol - Stopping Coyote HTTP/1.1 on http-8080
tells us that you stopped the tomcat instance
Filip
rohit aman wrote:
Hi,
I have a tomcat cluster ( with tomcat 1 and tomcat 2 ) with a hardware
load balanc
> From: jim ma [mailto:[EMAIL PROTECTED]
> Subject: Re: How to prevent Tomcat redirect my request
>
> If I get 302 response and write some code to resend
> quest to the redirected location
The point everyone's trying to make is that you should send the correct URL the
*first* time, rather than se
> From: Toby Kurien [mailto:[EMAIL PROTECTED]
> Subject: Re: java.lang.Exception: Socket bind failed: [730048]
>
> Only the webserver listening on port 80.
If there's some webserver (which one - IIS?) listening on port 80, then Tomcat
can't use that port, so it won't be able to initialize as you
On Thu, Nov 20, 2008 at 10:24 PM, André Warnier <[EMAIL PROTECTED]> wrote:
> jim ma wrote:
>
>> On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote:
>>
>> Mikolaj Rydzewski wrote:
>>>
>>> jim ma wrote:
I still want to know if it is possible to stop Tomcat from
>>
Telnet does not work and netstat does not show anything suspicious.
Only the webserver listening on port 80. I would like to know if I can
kill any process from netstat or otherwise (other than from Task
Manager, as that doesn't show anything useful).
For now, I am already rebuilding a new server
Chuck
We tried using the jprobe to profile the application.Now we are trying out
lighter profiler as the jprobe was a heavy one.
But found nothing suspicious.
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) 64-Bit Server VM (build 1.
> From: Vasanth Kumar ravi [mailto:[EMAIL PROTECTED]
> Subject: Re: Question on Performance Tuning
>
> But we have not specified the -server option in the JAVA_OPTS.
> Is it must to have -server option specified when you are
> using a 64 bit Java.
Typically, 64-bit JVMs run only in -server mode, s
Currently we are running Java 1.5 with 64 bit version on the superdome
server with Redhat O/S.
But we have not specified the -server option in the JAVA_OPTS.
Is it must to have -server option specified when you are using a 64 bit
Java.
The CPU utilization nags me very much.
The performance of the
Michael Ludwig schrieb am 20.11.2008 um 01:58:20 (+0100):
>
> > >String s = "" + wrapper.toString();
> > >( (HttpServletResponse) res).setHeader(
> > > "Zeichen", Integer.toString( s.length()));
> >
> > Note that this may not be correct: other filters could be adding
> > content, and
Hi,
I have a tomcat cluster ( with tomcat 1 and tomcat 2 ) with a hardware
load balancer infront. Session replication only works in some scenario and
does not in others. Here is the scenario where it works...
1) Start tomcat 1
2) access the web application ( session gets created in tom
for very small responses you don't need send file, and can just write
the response out to the servlet output stream on an async thread while
the request thread is used to do other stuff in the contains
Filip
Franck Wolff wrote:
I'm not doing file streaming... A typical usage of my implementati
Caldarale, Charles R schrieb am 19.11.2008 um 19:45:37 (-0600):
>
> > Try/catch can't be that much of a problem, can it? Isn't it
> > just a fancy way of conditional branching with information
> > attached?
>
> Sorry, but no. The throwing of an exception causes the current block
> to terminate a
Caldarale, Charles R wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat virtual host
status, or does something else happen? Is the DNS name
"mysvn" defined on the machine your browser is running on?
Internet Explorer could not display this web page
i test this in loc
The command "netstat -ao" will tell you which process is listening on
port 80, and Task Manager will show which program is running in that
process.
--
Len
On Thu, Nov 20, 2008 at 14:47, Toby Kurien <[EMAIL PROTECTED]> wrote:
> Well, I have had this application for many years and usually
> resta
On Thu, Nov 20, 2008 at 11:47 AM, Toby Kurien <[EMAIL PROTECTED]> wrote:
> Well, I have had this application for many years and usually
> restarting the whole server fixes anything, but not this time. I
> figure something is holding on to port 80, but I am not able to find
> out or terminate it. I
Well, I have had this application for many years and usually
restarting the whole server fixes anything, but not this time. I
figure something is holding on to port 80, but I am not able to find
out or terminate it. I have a bad feeling there might be a security
breach or something.
Thanks,
-Toby
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Snaglefrac,
Snaglefrac wrote:
> I want to use j_security check with https on port 8443. I only want to
> secure the login pages and not the whole application.
Then you need to configure your s appropriately.
> so ..
> these pages need to be secured
I'm not doing file streaming... A typical usage of my implementation is
a Flex based chat application with very small requests/responses. The
important thing for me is: I want the request thread to be reused for
other incoming requests and, as far as I understand long-polling issues
(keeping th
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat virtual host
>
> status, or does something else happen? Is the DNS name
> "mysvn" defined on the machine your browser is running on?
>
> Internet Explorer could not display this web page
> i test this in local machine, so i
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat virtual host
>
> I configured localy a virtual host with tomcat 6
> This url works :
> http://localhost:8080/svn/
>
> But when i use the virtual host, it does not works :
> http://mysvn:8080/
What do you mean by "does not w
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat virtual host
>
> I configured localy a virtual host with tomcat 6
> This url works :
> http://localhost:8080/svn/
>
> But when i use the virtual host, it does not works :
> http://mysvn:8080/
What do you mean by "does not wo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Suneel,
Suneel Saguturu wrote:
> I am facing one problem, i.e. I have to configure two
> SSL certificates to JBoss server, I know they are internally using
> Tomcat for web container.
>
> Is it possible to add multiple Certificates to one
> server in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chandra,
Chandra Madhumanchi (cmadhuma) wrote:
> Do we have any solution ssl 2 way configuration on tamcat webserver
> through .Net Client
If you're just trying to connect to Tomcat using SSL from a .Net client,
there's no special configuration when
>Sorry, but your question does not make any sense to me.
>I don't see anything stopping you from adding as many virtual hosts as you
>want. If you need a different default webapp for each >virtual host, then
>each will have to specify a different appBase attribute. Any webapps
>that you wa
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat virtual host
>
> But, if a want to add a second application web , for example
> mysvn2 and i do not remove the mysvn,
> that is why I would like to use the virtual host.
Sorry, but your question does not make any sense to me
Inside your webappsdir (which is defined in the appBase attribute inside the
host element) you either create directories for each webapp or place *.war
files directly in it.The ROOT directory (or war) corresponds with no
ulrpath.
For every new application you are adding you either add a war or a di
- Mail Original -
De: "Charles R Caldarale" <[EMAIL PROTECTED]>
À: "Tomcat Users List"
Envoyé: Jeudi 20 Novembre 2008 16:23:40 GMT +01:00 Amsterdam / Berlin / Berne /
Rome / Stockholm / Vienne
Objet: RE: tomcat virtual host
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject:
Franck Wolff wrote:
Hi Filip,
Hum... I need a CometProcessor (long-polling) for data push, even if
requests/responses are encoded in AMF3.
you can do this, that's ok. Not as efficent as using send file, which
you could write your own long poll servlet to do
(see DefaultServlet.java how to in
the infinite loop is fixed in 6.0.18,
the system will still not start, since the JVM you're running with
doesn't support the type of cipher that you're keystore is trying to use
search http://tomcat.markmail.org for the same error, it's been answered
before
Filip
Neil B. Cohen wrote:
I'm h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Christopher Schultz wrote:
> There was (from your original post):
>
>> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
>> link failure
Steps to reproduce this conclusion:
1. Turn off brain.
2. Open mouth.
Sorry ab
Hi All,
I want to use j_security check with https on port 8443. I only want to
secure the login pages and not the whole application.
so ..
these pages need to be secured when accessed:
/secure/login.jsp
/secure/loginerr.jsp
everything else is secured by form based quthentication and uses an lda
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: tomcat virtual host
>
> But if i do this, how can i access de tomcat manager ? with
> other name, but the examples will work ?
By using their URLs?
http://mysvn:8080/manager/html
http://mysvn:8080/examples
- Chuck
THIS COMMUNI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Krapacs,
Krapacs Ambrose wrote:
> I have to say that I do not think Tomcat is doing the right thing in
> this particular situation. There should be some sort of security
> exception being thrown indicating that the socket connection was being
> block
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
espinchi,
espinchi wrote:
> That's cool, but a little overkill for some use cases.
Like what? Just because a tool can do way more than you need it to do
doesn't mean it's less useful for the task at hand.
> For instance, in a portlet-based portal ap
Thanks, but I need to return the proper error code. So that wont work.
On Thu, 2008-11-20 at 22:25 +0800, jim ma wrote:
> The simple way is returning the http OK 200 status code instead of 500 ,
> and set the error message to response body. Does it work for you ?
>
> On Thu, Nov 20, 2008 at 9:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Micheal,
Your comment about calling getResponse().getOutputStream() and ignoring
the result got me to thinking...
You know what? I just realized that I've been leading you down the wrong
path: you must manage the buffers separately because of the "yo
>I agree with the other response: rename your war to ROOT.war, so that it is
>the root web application.
>By the way, it is worth changing only one thing at once in your URL when
>testing. You are changing two.
>Does http://localhost:8080/ work?
>Does http://mysvn:8080/svnrepository work?
But
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> When i tape http://mysvn:8080/ in browser to access to my web
> application, i have this :
> Internet Explorer cannot display the web page
> but when i tape http://localhost:8080/svnrepository; i access
> correctely to my application.
> Find fil
> I deployed my webapp svn.war on webapps directory of tomcat 6.
> I configured localy a virtual host with tomcat 6, but it does
> not work.
> This url works :
> http://localhost:8080/svn/
>
> But when i use the virtual host, it does not works :
> http://mysvn:8080/
>
> This is a part of server.xm
jim ma wrote:
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote:
Mikolaj Rydzewski wrote:
jim ma wrote:
I still want to know if it is possible to stop Tomcat from redirecting.
If
yes, that will be zero code effort for our current implementation.
Why is it a proble
The simple way is returning the http OK 200 status code instead of 500 ,
and set the error message to response body. Does it work for you ?
On Thu, Nov 20, 2008 at 9:20 PM, Padraig O'Dowd <[EMAIL PROTECTED]> wrote:
> Hi, I'm encountering the following problem and just wanted to find out
> if t
On Thu, Nov 20, 2008 at 07:37, Krapacs Ambrose <[EMAIL PROTECTED]> wrote:
> I have to say that I do not think Tomcat is doing the right thing in this
> particular situation. There should be some sort of security exception being
> thrown indicating that the socket connection was being block by tomca
Can you be a bit more specific about the problem ?
"it does not work" does not help much.
[EMAIL PROTECTED] wrote:
Hi,
I deployed my webapp svn.war on webapps directory of tomcat 6.
I configured localy a virtual host with tomcat 6, but it does not work.
This url works :
http://localhost:8080/s
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote:
> Mikolaj Rydzewski wrote:
>
>> jim ma wrote:
>>
>>> I still want to know if it is possible to stop Tomcat from redirecting.
>>> If
>>> yes, that will be zero code effort for our current implementation.
>>>
>>>
>> Why is it
Krapacs Ambrose wrote:
[...]
I have to say that I do not think Tomcat is doing the right thing in
this particular situation. There should be some sort of security
exception being thrown indicating that the socket connection was being
block by tomcat's security manager.
Indeed. I was a bit
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote:
> Mikolaj Rydzewski wrote:
>
>> jim ma wrote:
>>
>>> I still want to know if it is possible to stop Tomcat from redirecting.
>>> If
>>> yes, that will be zero code effort for our current implementation.
>>>
>>>
>> Why is it
On Thu, Nov 20, 2008 at 6:19 PM, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote:
> jim ma wrote:
>
>> I still want to know if it is possible to stop Tomcat from redirecting.
>> If
>> yes, that will be zero code effort for our current implementation.
>>
>>
> Why is it a problem for you to use http://
I suspect he needs to rename svn.war to ROOT.war
-- David
Sent from my iPod
On Nov 20, 2008, at 8:47 AM, Peter Crowther
<[EMAIL PROTECTED]> wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
I deployed my webapp svn.war on webapps directory of tomcat 6.
I configured localy a virtual
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> I deployed my webapp svn.war on webapps directory of tomcat 6.
> I configured localy a virtual host with tomcat 6, but it does
> not work.
> This url works :
> http://localhost:8080/svn/
>
> But when i use the virtual host, it does not works :
>
I'm having a problem setting up SSL with Tomcat. The situation is this:
I have a system running IBM's Netcool/Portal software. We added SSL to
the Portal a while back. I created a certificate for the machine.
However, Netcool/Portal does not create a keystore file - you simply
copy the certific
Hi,
I deployed my webapp svn.war on webapps directory of tomcat 6.
I configured localy a virtual host with tomcat 6, but it does not work.
This url works :
http://localhost:8080/svn/
But when i use the virtual host, it does not works :
http://mysvn:8080/
This is a part of server.xml :
...
Hi, I'm encountering the following problem and just wanted to find out
if there is a way to disable this in tomcat?
In my web app in tomcat, I do the following -
response.setError("My error message");
but when tomcat returns the response, it detects that the connecting
client is using http and th
On Nov 20, 2008, at 5:16 , André Warnier wrote:
So, you see, in the end it was a TCP/IP connection issue.
But it was not at the level of your MySQL server, but at the
source : your JVM would not let your webapp do a "connect" to that
port.
Now here comes a complication : finding where in t
That's cool, but a little overkill for some use cases.
For instance, in a portlet-based portal application, you might have
individual portlets registered to the patterns
"/PortletInvoker/MyPortletName". We need the portal to access them, but a
user shouldn't be able to access a portlet directly f
espinchi wrote:
Christopher Schultz-2 wrote:
Is it possible to "hide" an url pattern on the outside, but have it
available when accessing from the server machine?
There are ways to do this, but the best way depends on what you want to
actually happen when someone requests a URL from /admin.
Do we have any solution ssl 2 way configuration on tamcat webserver
through .Net Client
-Original Message-
From: Chandra Madhumanchi (cmadhuma)
Sent: Wednesday, November 19, 2008 11:16 AM
To: users@tomcat.apache.org
Subject: please help me how to configure SSL 2 way on tamcat webser by
Hi Filip,
Hum... I need a CometProcessor (long-polling) for data push, even if
requests/responses are encoded in AMF3. Everything is based on
subscription to topics (Consumer) & messages publication (Producer) and,
while it could work with a standard servlet (polling), it won't be
efficient.
Christopher Schultz-2 wrote:
>
>
>> Is it possible to "hide" an url pattern on the outside, but have it
>> available when accessing from the server machine?
>
> There are ways to do this, but the best way depends on what you want to
> actually happen when someone requests a URL from /admin. S
Mikolaj Rydzewski wrote:
jim ma wrote:
I still want to know if it is possible to stop Tomcat from
redirecting. If
yes, that will be zero code effort for our current implementation.
Why is it a problem for you to use http://localhost:8080/foo/ URL?
I agree with the above, but in case it is
Hi there,
to those who might be trapped in the same pitfall:
remote-debugging wth tomcat-native works perfectly.
The issue was resolved by removin a proxy-setting within Eclipse (Ganymede):
Obviously Eclipse doesn't accept information of hosts to for which
the proxy has to be bypassed.
Cheers
jim ma wrote:
I still want to know if it is possible to stop Tomcat from redirecting. If
yes, that will be zero code effort for our current implementation.
Why is it a problem for you to use http://localhost:8080/foo/ URL?
--
Mikolaj Rydzewski <[EMAIL PROTECTED]>
-
Krapacs Ambrose wrote:
Well I thought that I had tried turning off the security manager but I
couldn't remember how I did it. I tried again by modifying
/etc/init.d/tomcat and set TOMCAT_SECURITY to "no". I executed the JSP
again and EVERY TEST SUCCESSFULLY CONNECTED! Wow, finally!
So now I
Great thanks , Kees. I will try httpunit .
I still want to know if it is possible to stop Tomcat from redirecting. If
yes, that will be zero code effort for our current implementation.
Thanks
Jim
On Thu, Nov 20, 2008 at 5:51 PM, Kees Jan Koster <[EMAIL PROTECTED]> wrote:
> Dear Jim,
>
>
>
Hi,
Thanks for replying fast
I already installed but I want to validate the user requests based on URL
(domain name)...
I have 2 certificates installed & I am able to use only one of them,
let's say 1. Myhome.com 2. Myoffice.com.
If any request comes to
Dear Jim,
I deployed a web application "foo.war" into tomcat 5.x . When I used
httpclient to send post request to "http://localhost:8080/foo";, I
always
get the http 302 redirect response . How can I prevent Tomcat to
reply
redirect response and directly adding the slash to my request
ur
Dear Leon,
Oh, don't be so dramatic. There is a whole world out there of smaller
companies that have one or two Tomcat servers in production,
running on the
cheapest shared server environment they could find. This product
targets
companies that have two or three developers, one of whom has b
Hi,
Are you talking about importing multiple certificates in tomcat keystore? If
yes, you can use keytool.exe to import certificates inside tomcat keystore. The
sample is given below:
keytool -genkey -v -alias cert1 -import -v -file C:/cert/cert1.cer -keystore
C:/cert/tomcat.keystore -storepas
Hi all,
I deployed a web application "foo.war" into tomcat 5.x . When I used
httpclient to send post request to "http://localhost:8080/foo";, I always
get the http 302 redirect response . How can I prevent Tomcat to reply
redirect response and directly adding the slash to my request
url "http://
71 matches
Mail list logo