Hi,
yes it is 6.0.20. I just downgrade to 6.0.18 and it seems to work. Thanks!
2009/6/15 Filip Hanik - Dev Lists :
> you could be running into this regression
> https://issues.apache.org/bugzilla/show_bug.cgi?id=47308
> if you are using 6.0.20, otherwise you may not have multicasting configured
>
Hi Chuck,
Err, ...I seem to have misplaced ROOT (usually I'm a packrat, so I'll
have to get a new one).
I dropped another simple app in, and of course access to it works.
(shamefaced...).
I got started with a web-service servlet that wasn't responding & got
off track...time to go to bed.
> From: Ken Bowen [mailto:kbo...@als.com]
> Subject: localhost:8080 comms problem on a mac
>
> catalina.out doesn't show any activity.
What about the other Tomcat log files?
> I can use lsof to see that tomcat is listening on
> 8080 (and also on 8009).
What about access from another computer (e
Hi all,
This isn't really a Tomcat problem, but I'm wondering if anyone here
has encountered this. I haven't found anything useful by googling.
I develop on a mac laptop, and after a recent software upgrade to OS
X 10.5.7, I suddenly can't connect any browser to Tomcat running on
port 8
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tim,
On 6/15/2009 12:43 PM, Tim Funk wrote:
> correction: The double checked idiom was "fixed" in java5. The variable
> which is checked needs to be declared as volatile. The link states that
> at the bottom.
...which is why I said:
>> There are cas
I am currently using Tomcat 6.0 and in the previous versions I have used, I
used to see a message when all the threads are in use and Tomcat was
rejecting connections due to no more available threads. I am not able to see
this message on Tomcat 6.0. I was able to add property in logging.properties
response.setHeader("Pragma", "public");
response.setHeader("Cache-Control", "max-age=0");
response.setContentType("application/octet-stream");
response.setHeader("content-disposition", "attachment;
filename=yourfile.pdf");
And don't use window.open(). Just use direct link.
-Original Message--
Hello,
I convert a html page with PD4ML to PDF.
After that I want to download it via browser. This is used for download:
view plaincopy to clipboardprint?
response.setContentType("application/force-download");
response.setHeader("Pragma", "No-cache");
response.setHeader("Content-Disp
Recently I registered the domain for my application IP. Now I use Apache and
mod_jk as front end for JBoss 4.2.2. I can access my application in three
ways: thorough localhost, IP and domain name. In case of HTTP all works fine
but requests for HTTPS pages are successfully only if I use localhost o
On Jun 15, 2009, at 9:32 AM, Christopher Schultz wrote:
On 6/14/2009 5:43 PM, David Blevins wrote:
Regardless of that choice we
will still handle sychronization of instantiation, so
double-check-locking or other things will not be necessary.
NB: DCL does not work in Java. Period.
http://www
I appreciate all of the great input. Thanks!!!
--- On Mon, 6/15/09, Jonathan Mast wrote:
From: Jonathan Mast
Subject: Re: using static helper classes within servlets
To: "Tomcat Users List"
Date: Monday, June 15, 2009, 2:32 PM
Sid, what everyone is saying about my first reply to your post is
you could be running into this regression
https://issues.apache.org/bugzilla/show_bug.cgi?id=47308
if you are using 6.0.20, otherwise you may not have multicasting configured
Filip
Sergey Elin wrote:
Hi,
I'm trying to setup a simple 2-node tomcat cluster on Windows 7 RC.
Everything works fine
most likely your client is closing your connection due to inactivity,
nothing you can do about it
you would do setTimeout(Long.MAX_VALUE) if you want a really long
timeout, I'm not sure -1 is a valid value
Filip
stang wrote:
Hi there,
I'm trying to test out Tomcat's comet support by build
Hi,
I'm trying to setup a simple 2-node tomcat cluster on Windows 7 RC.
Everything works fine exept local nodes dosen't connect to each other
and even dosen't find each other. Any external nodes can find and
share sessions with local. I try to follow some googled tips (even
turn off firewall) with
Sid, what everyone is saying about my first reply to your post is correct,
that code sample unnecessarily uses synchronization to achieve what static
initialize could do less expensively. I wrote class awhile ago with paying
much attention to the costs of synchronization.
private static final Som
Pid-2 wrote:
>
> Robert Rowntree wrote:
>> we are running a cluster of 3 nodes. we are on linux . we run tomcat
>> 5.5.15
>> and do not use the server.conf clustering . we cluster tomcat with an
>> external load balancer.
>
> That's a really old Tomcat, lots and lots of bug fixes since then.
>
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: using static helper classes within servlets
>
> You can get a significant performance improvement by doing this
> instead:
>
> private static final SomeBean someBean = new SomeBean();
>
> public static getSomeBean()
mg>(hopefully) brief response
> Date: Mon, 15 Jun 2009 12:22:28 -0400
> From: ch...@christopherschultz.net
> To: users@tomcat.apache.org
> Subject: Re: chunked encoding
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Martin,
>
> On 6/13/2009 8:57 PM, Martin Gainty wrote:
> > how do you
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: [OT] using static helper classes within servlets
>
> NB: DCL does not work in Java. Period.
While that statement was true for 1.4 and prior JVMs, 1.5 actually made DCL
work.
> http://www.cs.umd.edu/~pugh/java/memor
correction: The double checked idiom was "fixed" in java5. The variable
which is checked needs to be declared as volatile. The link states that
at the bottom.
-Tim
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 6/14/2009 5:43 PM, David Blevins wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 6/14/2009 5:43 PM, David Blevins wrote:
> Regardless of that choice we
> will still handle sychronization of instantiation, so
> double-check-locking or other things will not be necessary.
NB: DCL does not work in Java. Period.
http://www.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jonathan,
On 6/14/2009 1:01 PM, Jonathan Mast wrote:
> class BeanBag {
> private static SomeBean someBean = null;
>
> public static synchronized getSomeBean() {
> if (someBean == null) someBean = new SomeBean();
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin,
On 6/13/2009 8:57 PM, Martin Gainty wrote:
> how do you accomodate multi-mb size files?
You do one of the following:
1. Use some means to determine the file size a priori (like using a
static file, but in a database, so you can ask the db
On Mon, Jun 15, 2009 at 4:39 PM, Caldarale, Charles
R wrote:
>> From: Sid Sidney [mailto:pvcsv...@yahoo.com]
>> Subject: Re: using static helper classes within servlets
>
> On a modern JVM, the synchronized block around the retrieval of the reference
> will not cost much. Static initialization wi
> From: Sid Sidney [mailto:pvcsv...@yahoo.com]
> Subject: Re: using static helper classes within servlets
>
> I was hoping to avoid this by making the delegate a static
> class or maybe a singleton.
Not sure what you mean by "static class"; do you mean references to the
delegate objects are sto
The classes I want to refactor are delegate objects that help my web tier
connect to the ejb tier. My servlets and also my Strut's action classes use
these delegates to get references to the session beans in the backend tier. At
this moment, the servlets and action classes create new delegates
most of the required packages are catalina command line parameters e.g.
run -security Start in the current window with security manager
i thought any additional packages would need to be configured in your startup
params e.g.
java -Djava.util.logging.manager="org.apache.juli.ClassLoaderLogM
> From: Hracek, Petr [mailto:petr.hra...@siemens-enterprise.com]
> Subject: RE: Beginner with apache
>
> Suse gyus are not responsible for this step.
> Now it has to be used tomcat-5.5. or distro package from SuSE.
If it's the package from SuSE, then the SuSE guys *are* responsible. I would
hig
Aneesha Pant wrote:
> There is nothing in any of the log files. The application we are using
> works on Tomcat 5.0.16, have not yet tested on latest tomcat. Yes Mod_jk
> the version is mod_jk-1.2.25-httpd-2.0.59.so
> mod_jk-1.2.23-apache-2.2.x-linux-i68
If performance is an issue then you really s
There is nothing in any of the log files. The application we are using
works on Tomcat 5.0.16, have not yet tested on latest tomcat. Yes Mod_jk
the version is mod_jk-1.2.25-httpd-2.0.59.so
mod_jk-1.2.23-apache-2.2.x-linux-i68
Aneesha Pant
mailto:aneesha.p...@edelcap.com-original Message--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Christopher Piggott wrote:
> The ubuntu packages for tomcat really aren't too bad. My only
> complaint is that they recommend running with GCJ,
That was long ago I think. At least on Debian it defaults to OpenJDK.
Cheers,
Marcus
-BEGIN PGP SIG
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
syed shah wrote:
> 1)How to get console output on ubuntu
If you are running Tomcat with the startup script provided by Ubuntu in
/etc/init.d/tomcat*, you have logs in /var/log/tomcat* and
/var/log/daemon.log. The latter should contain console output
>> The interfaces are OK.
>
> The behavior indicates that may not be the case.
OK. But since I can ping them and the server answers promptly when
it's finally up - same for other servers bound to all the interfaces,
by the way: apache on the public interface, exim on localhost: all of
them works p
Any messages in any of the (many) log files?
Connector version? I assume mod_jk, but which?
Out of interest, why are you using an unsupported Tomcat version?
- Peter
From: Aneesha Pant [mailto:aneesha.p...@edelcap.com]
Sent: 15 June 2009 12:09
To: users@t
On Fri, Jun 12, 2009 at 4:32 PM, André Warnier wrote:
> If yes, you are using the Ubuntu prepackaged version of tomcat 6.x (?), and
> it probably install it alongside tomcat 5.5, not on top of it.
Yep, that's exactly what it does. The ubuntu packages put tomcat6
into directories whose paths inclu
We are trying to run a load test using Borland Silk route on a
application running on Tomcat 5.0.16 on Apache 2.2.3.11. we have
configured 4 tomcats with 1 Apache using worker.properties file. when we
try to run 1000 concurrent users doing transactions on the website the
site stops responding after
> From: jaypee [mailto:jp.mcy...@gmail.com]
> my tomcat server is running on Windows Xp.
OK. That's a shame - there are some tricks you could pull with inetd on Unix
that would allow you to start Tomcat if it wasn't started, but that option
isn't available on Windows.
Let's go back to the prob
First of all thank you.
Suse gyus are not responsible for this step. Only development in the firm.
>From the last release of the product tomcat 3.2.1 has been used.
Now it has to be used tomcat-5.5. or distro package from SuSE.
If I understand right then, if in my directory /opt/sso/servlet is WEB
Thanks for your kind reply.
my tomcat server is running on Windows Xp.
Thanks,
On Mon, Jun 15, 2009 at 7:21 PM, Peter Crowther wrote:
> > From: jaypee [mailto:jp.mcy...@gmail.com]
> > I want to catch the server not running exception in tomcat.
> >
> > For example with out running the server
> From: jaypee [mailto:jp.mcy...@gmail.com]
> I want to catch the server not running exception in tomcat.
>
> For example with out running the server if i access
> http://localhost:8080/
>
> Failed to Connect
>
> Firefox can't establish a connection to the server at localhost:8080.
OK. So... let'
jaypee wrote:
Hai
I want to catch the server not running exception in tomcat.
I'm going to wait for an answer from a real Tomcat expert, but I think
that this will be very difficult.
:-)
For example with out running the server if i access http://localhost:8080/
Failed to Connect
Firefox
Hracek, Petr wrote:
Tomcat 5.5 is onstalled on openSUSE11.1
Tomcat configuration files are stored in /etc/tomcat55/
TOMCAT_HOME is /srv/www/tomcat55/
Servlet locations are /opt/swt/servlet and /opt/sso/servlets
Well then, my guess was wrong, and in my answer below, replace RedHat by
Suse..
Hai
I want to catch the server not running exception in tomcat.
For example with out running the server if i access http://localhost:8080/
Failed to Connect
Firefox can't establish a connection to the server at localhost:8080.
Though the site seems valid, the browser was unable to establish a
Tomcat 5.5 is onstalled on openSUSE11.1
Tomcat configuration files are stored in /etc/tomcat55/
TOMCAT_HOME is /srv/www/tomcat55/
Servlet locations are /opt/swt/servlet and /opt/sso/servlets
regards / S pozdravem
Petr Hráček
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Neil,
we usually don't use the Tomcat installation provided by Ubuntu,
because the files are distributed over the hole filesystem. e.g. conf
under /etc. It's no problem to download a regular Tomcat-distribution
as tar.gz or zip und unzip it
Hi.
In the information below, you forgot to mention
- what version of Tomcat this is
- on what platform this is
From bits and pieces below, I guess that this may be Tomcat 5.5.? , on
a RedHat Linux system.
The basic answer to your question #1 below is yes, and to your question
#2 also. But th
Hello all,
sorry for this beginner question but I do not know who to setup my
servlet.
On the machine is installed and run apache server as well. Version is
2.2.3.
In the configuration file is mentioned:
JkMount /sso/servlet/* ajp13
JkMount /swt/servlet/* ajp13
My TOMCAT_HOME directory is /srv/
Robert Rowntree wrote:
> we are running a cluster of 3 nodes. we are on linux . we run tomcat 5.5.15
> and do not use the server.conf clustering . we cluster tomcat with an
> external load balancer.
That's a really old Tomcat, lots and lots of bug fixes since then.
You should consider upgrading, a
48 matches
Mail list logo