Hi Darryl.
I need a script that do the same you mention: " For myself, I have scripts
that detects when the service is down, sends me an email, then tries to
restart it, then will email if it has managed to recover it. If it can't
restart it after 5 minutes, then I get an SMS."
Can you share it?
> From: Igor Cicimov [mailto:icici...@gmail.com]
> Subject: Re: Tomcat 6 graceful shutdown
> What can I do to trouble shoot this and find exactly where
> the problem is? (except taking stack trace on the hanged
> process of course)
Taking a thread dump is pretty much the only way. Other than
Hi Mark,
Thanks for your reply. I guess this means that if Tomcat hangs during
shutdown then something is wrong with the application and it can't close the
threads? What can I do to trouble shoot this and find exactly where the
problem is? (except taking stack trace on the hanged process of course
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Can't move files using symbolic links (allowLinking=true)
> The perl documentation for rename() though, has this to say :
> rename OLDNAME,NEWNAME
>
> perl itself being written in C, is usually pretty close to the C
> library. But m
Mark Thomas wrote:
On 21/03/2011 22:06, SQ wrote:
Mark Thomas wrote:
On 18/03/2011 21:05, SQ wrote:
Environment:
Solaris 10
Apache 2.2.16
mod_jk 1.2.31 <--
Tomcat 5.5.30
JVM 1.6.0_14
Which AJP connector are you using? Is APR/native being used?
AJP13.
André Warnier wrote:
Caldarale, Charles R wrote:
From: peter.crowth...@googlemail.com
[mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther
Subject: Re: Can't move files using symbolic links (allowLinking=true)
Maybe a guess : under Unix/Linux, "move" (mv) is a "rename",
and it
Caldarale, Charles R wrote:
From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On
Behalf Of Peter Crowther
Subject: Re: Can't move files using symbolic links (allowLinking=true)
Maybe a guess : under Unix/Linux, "move" (mv) is a "rename",
and it is not the same as "c
On 21/03/2011 22:06, SQ wrote:
> Mark Thomas wrote:
>>
>> On 18/03/2011 21:05, SQ wrote:
>>>
>>> Environment:
>>> Solaris 10
>>> Apache 2.2.16
>>> mod_jk 1.2.31
>>> Tomcat 5.5.30
>>> JVM 1.6.0_14
>>
>>> Which AJP connector are you using? Is APR/native being used?
>>
>> AJP13.
That doesn't answer m
Sorry for the noise, one of the web.xml did not have the tag :(
Now it is working fine.
János
On Mar 21, 2011, at 5:34 PM, János Löbb wrote:
> Hi,
>
> I have two machines MachineA and MachineB with osx 10.6.6 on them. Both
> machines have one tomcat 7.0.10 running. On both machine the serv
On 21/03/2011 21:34, János Löbb wrote:
> Hi,
>
> I have two machines MachineA and MachineB with osx 10.6.6 on them. Both
> machines have one tomcat 7.0.10 running. On both machine the server.xml was
> modified minimally:
> - Uncommented the Cluster tag
> - added jvmRoute=tomcat(x) to t
Hey Mark,
Thanks for the response. I have answered your questions below.
Mark Thomas wrote:
>
> On 18/03/2011 21:05, SQ wrote:
>>
>> Environment:
>> Solaris 10
>> Apache 2.2.16
>> mod_jk 1.2.31
>> Tomcat 5.5.30
>> JVM 1.6.0_14
>
>>Which AJP connector are you using? Is APR/native being used?
> From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com]
> On Behalf Of Peter Crowther
> Subject: Re: Can't move files using symbolic links (allowLinking=true)
> > Maybe a guess : under Unix/Linux, "move" (mv) is a "rename",
> > and it is not the same as "copy + delete origi
On 21 March 2011 20:39, André Warnier wrote:
> Maybe a guess : under Unix/Linux, "move" (mv) is a "rename", and it is not
> the same as "copy + delete original". And a "move" (rename) works as long
> as the source and target are inside the same filesystem, but not if they are
> on different file
Hi,
I have two machines MachineA and MachineB with osx 10.6.6 on them. Both
machines have one tomcat 7.0.10 running. On both machine the server.xml was
modified minimally:
- Uncommented the Cluster tag
- added jvmRoute=tomcat(x) to the Engine tag where x member of {1,3},
- c
Are you sure it is due to the stored procedure?
You can get that error if you don't close all database objects. Make
sure you close resultsets, statements, etc in a "finally" block
throughout all your code.
On Mon, Mar 21, 2011 at 4:59 PM, Propes, Barry L
wrote:
> And to thisis it absolute
And to thisis it absolutely necessary to use the SYS_REFCURSOR in Oracle? I
use several packages and procesures and never use this! Granted, I may have
many less records than you in your DB table, but I was just wondering. Perhaps
it is.
> BTW, my application calls a stored procedure which
Goyo wrote:
Yeah, it's a very old version. But we can't change it, anyway.
The details about the moving:
The application (written in C), first, generates a new file which is stored
in one directory, say "origin". This step is perfectly made.
Then, the application moves this file to another direc
On Mar 21, 2011, at 3:13 PM, Mark Thomas wrote:
> On 21/03/2011 19:05, János Löbb wrote:
>> When I try to get to the manager application on one or the other balance
>> members
>> http://bml0066.yalepath.org:8180/manager/html
>> http://bml0065.yalepath.org:8380/manager/html
>
> Clustering the ma
On 21 March 2011 17:36, Goyo wrote:
The (another) problem is that we can't access the source code :S
*chuckle* Gotta love configurable code.
OK, so the issue is that you're short of space. How about mounting a
partition at origin/target? Or even origin, depending how short of space
you are. I
On 21/03/2011 19:05, János Löbb wrote:
> When I try to get to the manager application on one or the other balance
> members
> http://bml0066.yalepath.org:8180/manager/html
> http://bml0065.yalepath.org:8380/manager/html
Clustering the manager application is a bad idea. It is not designed to
be cl
Hi,
On two OSX 10.6.6 machine I try to make a 4 member tomcat cluster. On MachineA
tomcat3 and tomcat4, on MachineB tomcat1 and tomcat2.
I use MachineA as a reverse proxy.
Apache2 is 2.2.17, mod_jk is 1.2.31 and tomcat is 7.0.10
When I try to get to the manager application on one or the other
The (another) problem is that we can't access the source code :S
2011/3/21 Peter Crowther
> On 21 March 2011 16:35, Goyo wrote:
>
> > We want to move a file from origin/ to origin/target/
> > Previously, this movement was made perfect
> > Then, we change origin/target/ for a symlink called targ
Hi,
Can somebody help me with this issue. Appreciate your help or let me know
what would be the best solution to implement this.
Thanks.
On Sun, Mar 20, 2011 at 11:17 PM, Krish wrote:
> Martin,
>
> Thanks for the email.
>
> Please find the answers for your questions. Before that this is conne
I don't think I do this but I'm double-checking. Thanks.
After writing to the OutputStream, should I just close the OutputStream
which seems to generate a CometEvent.CLOSE or explicitly call
event.close() after closing the stream?
Thanks, Adam
"Caldarale, Charles R"
21/03/2011 15:47
Plea
On 21 March 2011 16:35, Goyo wrote:
> We want to move a file from origin/ to origin/target/
> Previously, this movement was made perfect
> Then, we change origin/target/ for a symlink called target which points to
> another path in another partition.
> Now, it doesn't move the file when using the
Yeah, it's a very old version. But we can't change it, anyway.
The details about the moving:
The application (written in C), first, generates a new file which is stored
in one directory, say "origin". This step is perfectly made.
Then, the application moves this file to another directory
"target".
> From: ar...@bca-group.com [mailto:ar...@bca-group.com]
> Subject: Tomcat 6.0.32, Http11NioProtocol and log poll
> Occasionally (like 0.1% of the time), when another web page
> in a second frame reloads (Independent JSP generated from
> SpringController in same container) the page loads with w
Hi,
I am using Tomcat 6.0.32 with the Http11NioProtocol connector to implement
long polling.
My comet processor is holding the HttpSevletResponse (After receiving a
CometEvent.BEGIN) on a queue until an event is ready to send back. When it
sends back the event, it is writing a binary stream to
i made some changes to the code. (posted one jsp at the end of this mail)
. change was, to avoid to store values in the session and keeped the values as
hiddens in forms.
looks like it worked. But
. yes, connections are closed, im requesting a connection from the datasource
and after use it i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alexis,
On 3/21/2011 8:17 AM, alexis wrote:
> Problem is, after 2 or 3 reloads or moving from one jsp to another
> one, pages are not loaded anymore, browser keeps loading for ever.
Take some thread dumps. I suspect that you are waiting for a databas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 3/21/2011 6:59 AM, the_biswa wrote:
> I've written a thread program where in the run method I'm opening an
> HTTPURLConnection and feeding a valid input and reading the server response.
Do you launch this thread during norm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Abhishek,
On 3/21/2011 6:14 AM, abhishek jain wrote:
>>> also am i writing these values in the correct location,
>>
>> With the tomcat base startup scripts, this should be in
>> $CATALINA_BASE/setenv.sh. This file will be sourced by catalina.sh if
>>
On 21/03/2011 12:55, Jesse Farinacci wrote:
> Bump! :-)
This feature doesn't (yet) exist. Patches welcome.
Mark
>
> On Thu, Mar 17, 2011 at 5:12 PM, Jesse Farinacci wrote:
>>
>> I am trying to embed Tomcat v7.0.11 into a self-contained, executable
>> jar. The jar is created using Maven (assemb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Francis,
On 3/19/2011 5:49 AM, Francis GALIEGUE wrote:
> On Fri, Mar 18, 2011 at 22:45, Christopher Schultz
> wrote:
> [...]
>>
>> I'm interested to see how you are able to launch Tomcat and have your
>> script continue only after all webapps have be
Goyo wrote:
Hi.
I need to use a symbolic link to access a certain path in my server, where
I'm using Jakarta Tomcat 4.1.18.
Oh, a real old-timer, he ? You know how old this is, right ? I think some people on this
list may still have been in primary school when it was released.
See http://tom
Hi.
I need to use a symbolic link to access a certain path in my server, where
I'm using Jakarta Tomcat 4.1.18.
We stablished a symbolic link to another path. At first, tomcat didn't see
this path through the symlink, but we searched for it and found the
allowLinking=true feature.
Now, it sees the
Bump! :-)
On Thu, Mar 17, 2011 at 5:12 PM, Jesse Farinacci wrote:
>
> I am trying to embed Tomcat v7.0.11 into a self-contained, executable
> jar. The jar is created using Maven (assembly plugin) which packages
> the required Tomcat embedded classes and also an unpacked WAR archive.
> The listed
abhishek jain wrote:
also am i writing these values in the correct location,
With the tomcat base startup scripts, this should be in
$CATALINA_BASE/setenv.sh. This file will be sourced by catalina.sh if
it exists.
Hi
I have a feeling that i am writing in wrong place,
setenv.sh dont exist in my
Hello, I have a situation as follows.
3 jsp pages, using a connection pool to postgres. All 3 pages are the same
regarding code, only varies the tables where queries are directed.
I have 2 or 3 selects on each page where I store the user selection on the
session with session.setattribute
I get
What kind of memory errors do you have? I have never seen application that
uses 2GB of permanent memory. Usually if you have "out of memory" errors you
need to increase the -Xmx1024M and not the permanent memory size. In your
setting you have given the JVM heap only 1GB and the permanent memory 2GB
Hi
I've an web application (Application + Hibernate + DBCP datasource + Oracle)
deployed in tomcat.
Problem:
I've written a thread program where in the run method I'm opening an
HTTPURLConnection and feeding a valid input and reading the server response.
Running the program for as many as 600
> > also am i writing these values in the correct location,
>
> With the tomcat base startup scripts, this should be in
> $CATALINA_BASE/setenv.sh. This file will be sourced by catalina.sh if
> it exists.
>
Hi
I have a feeling that i am writing in wrong place,
setenv.sh dont exist in my system, do
On Mon, Mar 21, 2011 at 10:24, abhishek jain wrote:
[...]
> what should be the appropriate settings, and on what basis should i select
> them, i want max memory given to java.
>
You cannot really know offhand what permgen size you'll need. If you
use a recent enough Sun JVM, however, you'll be ab
On Mon, Mar 21, 2011 at 2:40 PM, Mark Thomas wrote:
> On 21/03/2011 08:01, abhishek jain wrote:
> > hi friends,
> > I have to increase size of MaxPermSize by altering this line on
> catalina.sh
> > as i am having memory errors.
>
> Those settings look very, very odd.
>
> hi,
what should be the ap
On 21/03/2011 08:01, abhishek jain wrote:
> hi friends,
> I have to increase size of MaxPermSize by altering this line on catalina.sh
> as i am having memory errors.
Those settings look very, very odd.
> I wanted to know what is hte max size i can set as i have 3.5 GB RAM (on a
> VPS) and most of
On 21/03/2011 02:15, Igor Cicimov wrote:
> Hi,
>
> I'm running Tomcat 6.0.26 on Solaris 10 and have a question about what
> exactly happens during Tomcat graceful shutdown? I guess first thing it does
> is stop accepting new sessions on the listening ports.
Sessions aren't received on ports, requ
On 21/03/2011 08:52, Felix Schumacher wrote:
> On Sun, 20 Mar 2011 22:26:46 +0100, André Warnier wrote:
You are both right on some counts and both wrong on some counts.
The Servlet spec (section 7.6 in Servlet 3.0) requires that processing a
request associated with a session (i.e. has a session I
On Sun, 20 Mar 2011 22:26:46 +0100, André Warnier wrote:
Felix Schumacher wrote:
...
The creation or retrieval of a session, as far as I understand it,
is
totally under application control.
In other words, if your servlet (or JSP), when it is called,
executes
a HttpServletRequest.getSessio
hi friends,
I have to increase size of MaxPermSize by altering this line on catalina.sh
as i am having memory errors.
I wanted to know what is hte max size i can set as i have 3.5 GB RAM (on a
VPS) and most of this is free. i am runnign Centos , tomcat 5.5 .
if [ -r "$CATALINA_HOME"/bin/tomcat-ju
Hi,
Thanks for the reply. I changed the obj.conf as u suggested. Still it is
same.
It is not recognizing any jsp file. It says 404 file not found error. It
only looks for html pages.
Regards,
Krish
On Sun, Mar 20, 2011 at 11:40 PM, Konstantin Kolinko wrote:
> 2011/3/21 Krish :
> > Martin,
> >
50 matches
Mail list logo