> From: sudhir singh rana [mailto:sudhirsinghr...@gmail.com]
> Subject: Re: tomcat starting even after port is in use
>
> is there any way I can achieve this in 5.5.27
Not via configuration, as far as I know. You could change the code at lines
501-508 in org/apache/catalina/startup/Catalin.java
Interesting. I saw that when a static file was around 21K or below a dramatic
improvement in recorded time in the log for APR. I have not tried with regular
Apache Web Server to see what I get.
Regards,
-Tony
- Original Message
From: "Caldarale, Charles R"
To: Tomcat Users List
Sen
is there any way I can achieve this in 5.5.27
thanks
On Tue, Jul 20, 2010 at 9:15 AM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: sudhir singh rana [mailto:sudhirsinghr...@gmail.com]
> > Subject: Re: tomcat starting even after port is in use
> >
> > I am using tomcat 5.5.
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: APR & Tomcat...
>
> My tests show that use of sendFile is dramatically faster
> than without.
Was that vs BIO or NIO? As I recall, there is no sendFile capability in BIO,
so both NIO and APR should beat that.
-
> From: sudhir singh rana [mailto:sudhirsinghr...@gmail.com]
> Subject: Re: tomcat starting even after port is in use
>
> I am using tomcat 5.5.27 and problem is that even tomcat
> got exception due to port in use it initialized my servlet
> I mean called init function.
Not sure how to avoid tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dale,
On 7/19/2010 7:42 PM, Dale Ogilvie wrote:
> Reasons to use httpd being what?
Here are a few ideas:
1. Load balancing
2. Use of mixed Java and non-Java webapps (PHP, Perl, etc.)
3. Use of multiple Tomcat instances behind a single web server
If
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 7/19/2010 9:57 PM, Caldarale, Charles R wrote:
>> From: Tony Anecito [mailto:adanec...@yahoo.com]
>> Subject: Re: APR & Tomcat...
>>
>> So as to say the Tomcat group did not want to compete
>> why build the APR?
>
> Tomcat people did not c
I am using tomcat 5.5.27 and problem is that even tomcat got exception due
to port in use it initialized my servlet I mean called init function.
thanks
On Mon, Jul 19, 2010 at 10:29 PM, Mark Thomas wrote:
> > Hi,
> >
> > I started tomcat but tomcat port was in use. Due to this some
> functional
> From: Tony Anecito [mailto:adanec...@yahoo.com]
> Subject: Re: APR & Tomcat...
>
> The disadvantages are such as when Tomcat is taken down
> so does your static content.
So why are you taking Tomcat down? "Doctor, doctor, it hurts when I do this!"
> I am guessing better security for Apache W
> From: Dale Ogilvie [mailto:dale.ogil...@trimble.co.nz]
> Subject: RE: APR & Tomcat...
>
> Reasons to use httpd being what?
Serving PHP and as a poor man's load balancer, for starters.
> The reason we used httpd in the past was "httpd serves
> static content better".
Which hasn't been true fo
> From: Tony Anecito [mailto:adanec...@yahoo.com]
> Subject: Re: APR & Tomcat...
>
> So as to say the Tomcat group did not want to compete
> why build the APR?
Tomcat people did not create it - APR has been around for years. It's part of
many products (e.g., subversion).
What the Tomcat group
Next experiment can be Varnish in front of Tomcat with APR :)
I'm having a lot of fun with it with mostly stateless apps and to optimize some
test projects, but haven't had an opportunity to deploy it in any large
configuration. It provides a lot of great features and can really be used to
tun
I used APR for performance reasons. I was running Apache Web Server and Tomcat
on the same physical windows server. I mentioned what configuration might be
faster and was told APR native with Tomcat and it was faster. I might have gone
from 1.5 to 1.0 milliseconds for JAXWS requests.
The disadv
Reasons to use httpd being what? We historically have used httpd and
mod_proxy_ajp, but less being more I'm considering a tomcat only setup.
The reason we used httpd in the past was "httpd serves static content
better".
One other reason that comes to mind is httpd url rewrite support,
assuming
For each image I would get a small red x. When I hit refresh and it then
display
them.
Comments like this on Confluence web site for example explain:
After a bit of Googling came across this:
"Apache Portable Runtime to provide superior scalability, performance" for
Tomcat 6.
There are comment
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johan,
On 7/18/2010 11:48 PM, Johan Martinez wrote:
Started afresh and got it working finally.
I tried with and without escape character and both worked.
Probably because . matches '.'.
Yep. :-)
Johan, if you are s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 7/19/2010 6:00 PM, Mark Thomas wrote:
> On 19/07/2010 22:36, Christopher Schultz wrote:
>> Mark,
>>
>> On 7/19/2010 1:07 PM, Mark Thomas wrote:
>>> Testing shows that it is caused by using async session replication. If
>>> you use synchronous
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ashish,
On 7/19/2010 4:48 PM, Ashish Kulkarni wrote:
> Is there a way i can save this session cookie, so i can access it later? is
> it possible
Set the maxAge of the session to something other than -1 (the default,
which means "this cookie will die
On 19/07/2010 22:36, Christopher Schultz wrote:
> Mark,
>
> On 7/19/2010 1:07 PM, Mark Thomas wrote:
>> Testing shows that it is caused by using async session replication. If
>> you use synchronous replication that ensures messages are processed on
>> the receiving nodes in the order they are sent
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tony,
On 7/19/2010 5:21 PM, Tony Anecito wrote:
> First off I get a little red x in the upper left hand corner of the web page.
For the whole page? I thought this was an image problem.
> Yep I agree maybe an upgrade to the latest Tomcat and APR migh
The resource for my web page servlet can't be located. This was not the case
with Tomcat 6.
Nobody complained once I started getting a good Tomcat launch.
There are no logs in the Tomcat home.
On Mon, Jul 19, 2010 at 1:56 PM, Pid wrote:
> On 19/07/2010 20:13, Austin Shelton wrote:
> > Hi,
> >
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 7/19/2010 1:07 PM, Mark Thomas wrote:
> Testing shows that it is caused by using async session replication. If
> you use synchronous replication that ensures messages are processed on
> the receiving nodes in the order they are sent. Asynchro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shivani,
On 7/19/2010 2:02 PM, shivanic wrote:
> I would recheck the performance stats with 100 users with HTTP protocol
> instead of HTTPS and revert back. Mladen Turk has mentioned that only
> constant response time (and not allowing the factors th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johan,
On 7/18/2010 11:48 PM, Johan Martinez wrote:
> Started afresh and got it working finally.
>
> I tried with and without escape character and both worked.
Probably because . matches '.'.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v
Hi Pid
First off I get a little red x in the upper left hand corner of the web page.
Yep I agree maybe an upgrade to the latest Tomcat and APR might accomplish
fixing the problem but silly me I like to understand an issue before I upgrade.
APR==httpd at least that is what the Apache Web site sa
On 19/07/2010 17:23, Venkat Tanga wrote:
> *Hi All,
>
> I am facing the below mentioned issues in the server startup. hence
> the server is not starting up.
>
> Can any one plz help me how to resolve these issues. *
>
> Jul 19, 2010 9:41:30 PM org.apache.catalina.startup.HostConfig
> de
On 19/07/2010 20:13, Austin Shelton wrote:
> Hi,
>
> I am unable to get Tomcat 7.0.0 to work correctly with Eclipse Helios.
> Tomcat 6 was working just fine; the problem occurred when I upgraded to
> Tomcat 7.0. It complained about "Resource Not found. I now have it working
> to the extent that no
On 19/07/2010 19:44, Tony Anecito wrote:
> Hi All,
>
> I have been having odd issues with APR & Tomcat (6.0.20) since I set it up a
> while ago. I am seeing:
Time for an upgrade.
> 1. Sometimes on the first try to get images from a page where the images are
> assigned a sub domain via a host t
Hi
Is there a way i can save this session cookie, so i can access it later? is
it possible
How does yahoo or gmail keep me signed on for 2-3 days
Ashish
On Mon, Jul 19, 2010 at 4:43 PM, Mark Thomas wrote:
> On 19/07/2010 20:48, Ashish Kulkarni wrote:
> > Hi
> > I have configured my tomcat to sa
On 19/07/2010 20:48, Ashish Kulkarni wrote:
> Hi
> I have configured my tomcat to save session in database as per
> documentation, and it works as expected i can see the session is saved in
> database,
> Now if the user closes the browser, and then reopens i dont want to show the
> login screen but
James Godrej wrote:
Hi,
it would be very kind of you people if some one can share how can I use Apache
as a front end to Tomcat.
I am having an application in CATALINA_HOME/webapps
and I can access it as http://localhost:9090/portal
Thanks
Apart from the recommendations you already got, it ma
Hi
I have configured my tomcat to save session in database as per
documentation, and it works as expected i can see the session is saved in
database,
Now if the user closes the browser, and then reopens i dont want to show the
login screen but get the session from database and go to the last visite
Hi James,
> Marco thanks for your kind reply.
>
Your welcome ;-)
> I am a bit new to this Proxy business I did searched tutorials on net but I
> have
> got a lot confused.
> If you can share your vhost as how you are using mod_proxy_ajp
>
> For example following is an example configuration of
Hi,
I am unable to get Tomcat 7.0.0 to work correctly with Eclipse Helios.
Tomcat 6 was working just fine; the problem occurred when I upgraded to
Tomcat 7.0. It complained about "Resource Not found. I now have it working
to the extent that no errors or warning show up in the console. But I do not
Hi,
Marco thanks for your kind reply.
I am a bit new to this Proxy business I did searched tutorials on net but I
have
got a lot confused.
If you can share your vhost as how you are using mod_proxy_ajp
For example following is an example configuration of Apache as front end
I enabled mod_proxy
Thanks Caldarale,I will go through all of them.
From: "Caldarale, Charles R"
To: Tomcat Users List
Sent: Tue, 20 July, 2010 12:29:48 AM
Subject: RE: using Apache as a front end for Tomcat
> From: James Godrej [mailto:jamesgod...@yahoo.in]
> Subject: using Apa
> From: James Godrej [mailto:jamesgod...@yahoo.in]
> Subject: using Apache as a front end for Tomcat
>
> it would be very kind of you people if some one can share
> how can I use Apache as a front end to Tomcat.
A lot of it is in the FAQ and doc:
http://wiki.apache.org/tomcat/FAQ/Connectors
http
Hi James!
> it would be very kind of you people if some one can share how can I use
> Apache
> as a front end to Tomcat.
I guess most installations of Apache and Tomcat are using the AJP
protocol for communication between the Apache frontend and Tomcat backend.
There are two similar approaches
Hi All,
I have been having odd issues with APR & Tomcat (6.0.20) since I set it up a
while ago. I am seeing:
1. Sometimes on the first try to get images from a page where the images are
assigned a sub domain via a host tag I get a red x. Hitting refresh seems to
retrieve the images. The images
Christopher Schultz-2 wrote:
>
>
> Can you clarify? Are you using the same version of APR with both Tomcat
> 7 and JBoss? APR 2.1.4 is an unlikely version number. Care to
> double-check?
>
Correction : It is jboss web server version 2.1.4 used. APR Version used is
the latest available 1.4.2
On 16/07/2010 10:19, Mark Thomas wrote:
> On 16/07/2010 06:49, Matt Peterson wrote:
>> While load testing our clustered Tomcats, we are seeing the following
>> stack
>> trace in our catalina.out occasionally, but not regularly:
>>
>>
>>
>> Jul 16, 2010 3:34:49 PM org.apache.catalina.ha.session.Delt
On 19/07/2010 10:50, Luciano Fioriti wrote:
> May be, but i do notthink so.
Again, you are way off-base here. Hitting the max threads in the
connector has nothing to do with errors in session replication.
Mark
>
> This errors :
> "SEVERE: Manager [localhost#/urs]: Unable to receive message thro
On 19/07/2010 08:35, sudhir singh rana wrote:
> Hi,
>
> I started tomcat but tomcat port was in use. Due to this some functionality
> of my program was not working. Tomcat gives the error when port is in use
> but it comes up. I want tomcat should not come up when port is in use.
>
> Can anyone h
On 19/07/2010 08:02, Edoardo Panfili wrote:
> On 17/07/10 16.28, Mark Thomas wrote:
>>
>>
>> ...
>>
>> >> > but this one works! also with the wrong schemaLocation.
>>> > Without your help I can't figure the meaning of the exception. Is
>>> Tomcat
>>>
*Hi All,
I am facing the below mentioned issues in the server startup.
hence the server is not starting up.
Can any one plz help me how to resolve these issues. *
Jul 19, 2010 9:41:30 PM org.apache.catalina.startup.HostConfig
deployDescriptor
SEVERE: Error deploying configuration d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Daniel,
On 7/19/2010 11:19 AM, Daniel Plappert wrote:
> It is possible to declare the datasource in the servlet.xml and
> reference it in the web.xml of the application (via jndi)[?]
Assuming you meant "server.xml", then yes, you can define it global
Hi!
It is possible to declare the datasource in the servlet.xml and reference it in
the web.xml of the application (via jndi). Or one can declare it in the
application itself, i.e. in application-context.xml. The first one declares the
datasource for all applications deployed in this servlet-co
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Luca,
On 7/19/2010 3:07 AM, Luca Gervasi wrote:
> I use httpd + mod_jk as frontend to load balance among all the backends
> (lb worker).
Okay, that will simplify switching backends at will from a client.
> The backends use the BackupManager to achie
May be, but i do notthink so.
This errors :
"SEVERE: Manager [localhost#/urs]: Unable to receive message through TCP
channel
java.lang.
IllegalStateException: removeAttribute: Session already
invalidated"
may dependds on tomcat failure
and i see in the Receiver configuration:
2010/7/16 Mark
Hi,
I started tomcat but tomcat port was in use. Due to this some functionality
of my program was not working. Tomcat gives the error when port is in use
but it comes up. I want tomcat should not come up when port is in use.
Can anyone help me
thanks in advance
On Fri, 2010-07-16 at 15:56 -0400, Christopher Schultz wrote:
> Luca,
>
> On 7/14/2010 2:42 AM, Luca Gervasi wrote:
> > i'm using (mostly):
>
> What does "(mostly)" mean? You have environments that sometimes deviate
> from this configuration? Sometimes you use another Tomcat and/or JDK
> just fo
On 17/07/10 16.28, Mark Thomas wrote:
>>
>>
>> ...
>>
>>
> but this one works! also with the wrong schemaLocation.
> Without your help I can't figure the meaning of the exception. Is Tomcat
> supposing a specification version using the presence/absence of this tag?
> tha
53 matches
Mail list logo