BTW, is this problem is specific to Tomcat ONLY? Or also occurs in other
servers such as JBoss, and so on?
--
View this message in context:
http://www.nabble.com/PDF-problem-on-IE-from-JSP-tp14879788p14947983.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---
PS:
Yes, it can be done with "ServletContextListener" since we can check whether
it is alive or not. However we may not sure whether it is system shutdown or
app. shutdown. This is quite tricky. DBMS can use huge heap resources up to
over 500GB on larger systems. This can be a problem without kno
I need to start database before any servlet gets first request. So
immediately after server start, initialize embedded database and make it
ready for incomming first requests, of course, in a separate thread.
The same goes not termination time. I need to have control passed
immediately after all
> From: Jonadan [mailto:[EMAIL PROTECTED]
> Subject: Custom initialization after startup
>
> Is there any way I can perform custom initialization
> IMMEDIATELY after Tomcat startup automatically?
Depends on what you mean by IMMEDIATELY. You'll at least need to insure
that the attribute deplo
In my case every doc has a different name so the 'same document' issue
doesn't apply. I can't tell you if that would be a problem or lot.
Jonadan wrote:
>
> Thanks!
> After changing "no-cache" to "cache", it worked! But I am not sure whether
> this may deliver the same documents when diiferent
Hi,
I have two war files. One is an authentication war and the other is setup to
use the authentication war via the servlet context.xml mechanism.
On windows my issues appears to be that the context.xml from the auth.war is
being cached inside tc/conf/Catalina/localhost/... and that on the 2nd
Is there any way I can perform custom initialization IMMEDIATELY after Tomcat
startup automatically?
--
View this message in context:
http://www.nabble.com/Custom-initialization-after-startup-tp14937407p14937407.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
Thanks!
After changing "no-cache" to "cache", it worked! But I am not sure whether
this may deliver the same documents when diiferent documents are generated.
The another problem was that "inline" didn't work for JSP urls, say,
".../mydoc.jsp". So I have to use a servlet taking JSP as parameters
Ray Johannsson wrote:
I was wondering if there's any sort of planned end-of-life date for when
security patches will no longer be provided for Tomcat 5.5.x and 6.0.x ?
Nothing is certain since it all depends on how much effort the release
managers are able / want to put in.
That said, as th
The critical part of my solution (which I got from someone else's post) is
the setting of the cache stuff.
Setting the mime type is something you have to do and my particular case
depends on the filename type, but as long as it gets set you also need to
set the cache right as well.
Jonadan wrote
I was wondering if there's any sort of planned end-of-life date for when
security patches will no longer be provided for Tomcat 5.5.x and 6.0.x ?
We're upgrading from 5.0.x and I want to make sure we don't have to upgrade
again for a while (ideally not until sometime in 2009).
Thanks
- Ray
My output MIME is ALWAYS PDF!
If I save the generated PDF into normal directory and access is OK. It may
be one of these;
1. IE security system may be blocking certain patterns developed by previous
errors.
2. Tomcat is not handling requests well.
Regards.
--
View this message in context:
htt
Normally compilers are the memory hogs! A few things you can do is that;
1. If you use JSP, convert to servlets to avoid initialization phase
compiling.
2. If your JDk is JIT (Just in time) compiler enable, disable it. You may
have a bit slow execution. But should have satisfactory speed.
3. Incr
http://www.nabble.com/mod_jk-broken-pipe-ts6882827.html
Eqbal schrieb:
I am seeing a lot of warning messages in catalina.out
with the stack trace show below.
We are using tomcat 5.5.16 with apache 2 and ajp13 to
connect. Can someone shed some light on this?
Thanks.
I am seeing a lot of warning messages in catalina.out
with the stack trace show below.
We are using tomcat 5.5.16 with apache 2 and ajp13 to
connect. Can someone shed some light on this?
Thanks.
=
WARNING: Error sending end packet
java.net.SocketException: Broken p
Christopher Schultz schrieb:
| When there is an OutOfMemory, it's impossible to make a ThreadDump. The
| reason is that, since you lack memory, it can be seen as useless to try
| allocating StackTrace object and stuff it in a new Error(). Moreover,
| from my experience, when you are out of memor
I've found that working (on my dev box -- sometimes windows, sometime
linux) under Eclipse, it can be somewhat unpredictable when redeployment
of a new page really "takes" in Tomcat's directory. When it seems
funny, as Chris suggested, I shutdown
Tomcat (from the MyEclipse control). Since I of
already replied to your old thread
ok, it looks like you might have ended up with a rogue socket,
and what happens is that any message sent to that socket just gets lost
in the ether, since it doesn't have any interest ops.
There is a workaround for this, turn off keep alives all together, or
i
This sounds like your SQL server may be running off of Windows NT
authentication, taking (simply passing, like through Active Directory possibly)
your network logon credentials. Are you logging on to a network through Windows
each morning? Try that logon combo, if so.
See if it doesn't pass thos
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bob,
Bob Riaz wrote:
| Thank you, David. The jsp is on my development machine. I'm doing all my
| testing locally, so I wouldn't think this would be an issue. However,
I have
| been changing my system clock to test some time sensitive aspects of the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Delbecq wrote:
| En l'instant précis du 17/01/08 15:46, Chad Kellerman s'exprimait en ces
| termes:
|> Tomcat Users,
|> I have been googling Tomcat thread dumps and have not seen what I
|> want
|> to accomplish anywhere...
|>
|>I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Frank,
印华 wrote:
| In my design, I
| [have divided] the server side into several separate logic parts, and each
| part is deployed on a separate Tomcat server. e.g. the first tomcat
| server is to process login request, second tomcat server is to
| c
Thank you, David. The jsp is on my development machine. I'm doing all my
testing locally, so I wouldn't think this would be an issue. However, I have
been changing my system clock to test some time sensitive aspects of the
application. I will look into this more closely. I wonder if you could give
I see this most often when the jsp is on a remote server and the clocks
are out of sync between my desktop system and the server. Check to be
sure the clocks are in sync if tomcat is on a remote system and transfer
the jsp again. You may want to also consider cleaning out tomcat's work
direct
Hi all,
Here is my environment:
Eclipse Europa
Tomcat 5.5
Windows XP Pro
My application goes like this:
request --> servletA --> form.jsp -(post)-> servletB
My problem is this: when I make a change to form.jsp, this change is not
reflected in the jsp that gets displayed. An older version of th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gavin,
Er, forget my ravings about SSL initialization. I forgot that you said
you were seeing very high CPU utilization. Waiting for randomness would
not behave that way.
- -chris
Christopher Schultz wrote:
| Gavan,
|
| Gavan Hood wrote:
| | My web
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gavan,
Gavan Hood wrote:
| My web app is very simple, two servlets already installed so no war
| file. Once it finally gets going it is very responsive, the
| initialization just takes forever...
A few quick questions:
Do your servlets perform any
1) You may want to consider JBOSS or GLASSFISH (Which ever one supports
clustering better). This is the best done utilizing full blown J2EE
servers. This is why JEE was created in a first place.
Tomcat should be used by your front end tier.
Good luck.
-Original Message-
From: [EMAIL
Hi,
I repost the problem with a better subject:
We had a tomcat 5.0.28 server configured with 2 clustered instances(working
perfectly), and we decided to migrate to java6 and the new tomcat 6.0.14.
We modified the configuration files to match the new tomcat 6.0.14
structure.
But now we have reall
En l'instant précis du 17/01/08 15:46, Chad Kellerman s'exprimait en ces
termes:
Tomcat Users,
I have been googling Tomcat thread dumps and have not seen what I want
to accomplish anywhere...
Is there a way to configure Tomcat to execute a thread dump whenever
there is an Out Of Memory is
How big is your Java heap? And how much of your 64MB is used by other
(non-Tomcat) processes? If Tomcat is causing a lot of virtual memory
swapping, it *may* help to decrease the size of the heap so it fits
into main memory. But that may make the heap too small, so garbage
collection becomes a prob
Tomcat Users,
I have been googling Tomcat thread dumps and have not seen what I want
to accomplish anywhere...
Is there a way to configure Tomcat to execute a thread dump whenever
there is an Out Of Memory issue or if an app reached the max thread count?
I am using Tomcat 5.5.25 on RHEL
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
// __ These are my admin.xml and manager.xml files
~
~
~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
// __ These are the types pf errors I am getting
~
2008-01-16 16:52:52 HostConfig[localhost]: Deploying configuration
descr
Hi David,
I tried that with empty strings for username and password but got this
error:
Login failed for user ' '.
It seems we have to specify non-empty values for those attributes.
Thanks.
On Jan 16, 2008 8:56 PM, David Smith <[EMAIL PROTECTED]> wrote:
> What happens if you include th
I was missing the jasper-jdt.jar which caused the message !!
olk wrote:
>
> Hi,
>
> I'm running tomcat in embedded mode from an applet. When I open a html
> page the embedded server responds correct. When I call a jsp I get the
> error "java.lang.IllegalStateException: No Java compiler
Holy smokes! I didn't even see that. Thanks for better at reading than me.
:(
-Original Message-
From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 16, 2008 4:53 PM
To: Tomcat Users List
Subject: Re: Tomcat 6 cluster
it would be very strange to how the cl
hi,
In my cluster failover is not happening. I am gettitng 503 after
shuttng down the main server.
Attaching the log files .. can anyone say why this is happening ?
(See attached file: staging1_2)(See attached file: Staging2_1)
It is urgent pls help. I have checked all my settings and they seem
I agree it will take time, i have 64MB of ram. I guess dotnets ability to
compile on install would be useful here... i don't think there is an equivalent
for java especially 1.4.2 that I am running. Has there been any progress on
that in recent times ? If there is that would be great...
I
Thanks Chuck,
for pointing me to this. I'm just starting with tomcat and did not take a
look at the \bin directory, where the tomcat-juli.jar should have jumped
into my face .. :o)
Caldarale, Charles R wrote:
>
>> From: olk [mailto:[EMAIL PROTECTED]
>> Subject: java.lang.NoClassDefFoundEr
Hi,
I found a first hint on my own - it is probably related to setting-up jasper
correctly - but I hope someone can tell me how to set the parameter for
jasper in embedded mode. What I did was:
// Create a handler for jsps
Wrapper jspServlet = context.createWrapper();
How big is your main memory? Compiling (both source & JIT) consumes lots of
memory. If your main memory is small, it can take a lot of initialization
time!
Gavan Hood wrote:
>
> My web app is very simple, two servlets already installed so no war file.
> Once it finally gets going it is very
On Jan 17, 2008 12:16 AM, Peter Rossbach <[EMAIL PROTECTED]> wrote:
> you can't restart your nodes so quickly. As you shutdown one node you
> must wait 30-45 sec before next restart. Don't restart both nodes at same
> time.
I am waiting at 4 minutes before restarting node 2 before restarting
node
Hi David,
you can't restart your nodes so quickly. As you shutdown one node you
must wait 30-45 sec
before next restart. Don't restart both nodes at same time.
Peter
Am 17.01.2008 um 02:25 schrieb David Rees:
I'm running a Tomcat 5.5.25 cluster with 2 nodes and the following
cluster conf
43 matches
Mail list logo