You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Hemant Malik <he...@gmail.com> on 2007/11/29 15:32:16 UTC

JVM Appears to be hung

Hi,
We are in the phase of adapting to the Continuum as CI tool here at our
organization.We are using the latest version available on Continuum Home.
For the testing purposes the Continuum worked beautifully but with actual
project from CVS, its taking quite a bit of time, after the checkout when I
give the build command, after waiting for certain time "JVM appears to be
hung" error comes and the JVM gets restarted, hence I loose the earlier
progress in the build.

Could please someone help out as if it is a configuration problem somewhere
or anything more serious?
The exact error is :
"*
ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM appears hung: Timed out
waiting for signal from JVM.
ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM did not exit on request,
terminated
STATUS | wrapper  | 2007/11/29 19:17:24 | Launching a JVM...*
"

Regards,
Hemant Malik

We are working with :
1) Maven 2.0.7
2) CVS
3) Continuum 1.1

Need some help

Posted by Tim Schulz <Ti...@bcbsnd.com>.
We are running continuum 1.0.3 on a redhat linux box. We have 28 projects
under the one instance. Everything was working fine until yesterday, then
one of the projects in the "show projects" view was marked with the red x,
but when we go into the build history it shows that it built successfully.
Being relatively new to continuum, can someone explain where to look for the
cause of the discrepancy. Also, can someone point me to some documentation
on house keeping tasks that I need to be doing to keep continuum running
optimally.  Thanks.


Tim Schulz
701-282-1042
Lead Staff Analyst
Claims and Corporate Services
Information Services

IS CARES
Confidentiality Notice:  This e-mail message and any attachments is for the
sole use of the intended recipient's) and may contain confidential and
privileged information.  Any unauthorized review, use, disclosure,
distribution or copying is prohibited.  If you are not the intended
recipient(s), please contact the sender by replying to this e-mail and
destroy/delete all copies of this e-mail message.




Re: JVM Appears to be hung

Posted by Hemant Malik <he...@gmail.com>.
Hi,
I was able to overcome this problem by deploying continuum war on tomcat.
Just browsing through the continuum bug list i came across some bug that was
related to jvm and jetty, so just as a wild guess i thought of doing it. And
on tomcat continuum is running fine. I know there is nothing to infer from
this fluke but yeah it worked for me.


Regards,
Hemant Malik

On Dec 19, 2007 7:58 PM, Boeckli, Dominique <do...@eds.com>
wrote:

> i had same problem and figured out that is was deadlock due to a log4j bug
> (http://issues.apache.org/bugzilla/show_bug.cgi?id=43568):
>
> This deadlock happens under following cases:
>
> - Proximity RC9 and Continuum-1.1 on same server
> - both has a scheduled task at the same time (a purge task for proximity
> and build task for continuum).
>
> There's no fix for this bug but you can reduce the probability that is
> happens:
> - don't set start time for proximity and continuum task at the same time.
>
> brgds
>
> Dominique
>
> -----Original Message-----
> From: Hemant Malik [mailto:hemant.malik@gmail.com]
> Sent: Monday, December 03, 2007 08:13 AM
> To: continuum-users@maven.apache.org
> Subject: Re: JVM Appears to be hung
>
> Actually the problem for me is that I don't want the jvm to be killed.
> After taking sometime the Apache continuum Console restarts the JVM telling
> " JVM appears to be hung...... " which is killing my enqueued processes and
> thus losing the schedule :(
>
> Hemant
>
> On Dec 3, 2007 12:35 PM, Dan Tran <da...@gmail.com> wrote:
>
> > I had one case where continuum's jvm spined.  I had to killl the jvm
> > and restart continuum.
> >
> > my system is jvm 1.5, windows running in non service mode.
> >
> >
> > -D
> >
> > On Dec 2, 2007 10:13 PM, Hemant Malik <he...@gmail.com> wrote:
> > > Hi,
> > > Has anyone come across a similar problem? I am not able to cope up
> > > with
> > the
> > > "JVM appears to be hung" error. Somebody kindly please help.
> > > Is this a bug or am I lacking somewhere?
> > >
> > >
> > > Regards,
> > > Hemant Malik
> > >
> > >
> > > On Nov 29, 2007 9:30 PM, Hemant Malik <he...@gmail.com> wrote:
> > >
> > > > I tried increasing the PermSize and Heap Size, but no effect.
> > > >
> > > > Hemant
> > > >
> > > >
> > > > On Nov 29, 2007 9:19 PM, Hemant Malik <he...@gmail.com>
> wrote:
> > > >
> > > > > My OS is Windows XP with SP2.
> > > > >
> > > > > Regards,
> > > > > Hemant Malik
> > > > >
> > > > >
> > > > > On Nov 29, 2007 8:58 PM, Emmanuel Venisse <em...@venisse.net>
> > wrote:
> > > > >
> > > > > > What is your OS?
> > > > > >
> > > > > > Emmanuel
> > > > > >
> > > > > > Hemant Malik a écrit :
> > > > > > > Hi,
> > > > > > > We are in the phase of adapting to the Continuum as CI tool
> > > > > > > here
> > at
> > > > > > our
> > > > > > > organization.We are using the latest version available on
> > Continuum
> > > > > > Home.
> > > > > > > For the testing purposes the Continuum worked beautifully
> > > > > > > but
> > with
> > > > > > actual
> > > > > > > project from CVS, its taking quite a bit of time, after the
> > checkout
> > > > > > when I
> > > > > > > give the build command, after waiting for certain time "JVM
> > appears
> > > > > > to be
> > > > > > > hung" error comes and the JVM gets restarted, hence I loose
> > > > > > > the
> > > > > > earlier
> > > > > > > progress in the build.
> > > > > > >
> > > > > > > Could please someone help out as if it is a configuration
> > problem
> > > > > > somewhere
> > > > > > > or anything more serious?
> > > > > > > The exact error is :
> > > > > > > "*
> > > > > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM appears hung:
> > Timed
> > > > > > out
> > > > > > > waiting for signal from JVM.
> > > > > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM did not exit
> > > > > > > on
> > > > > > request,
> > > > > > > terminated
> > > > > > > STATUS | wrapper  | 2007/11/29 19:17:24 | Launching a
> > > > > > > JVM...* "
> > > > > > >
> > > > > > > Regards,
> > > > > > > Hemant Malik
> > > > > > >
> > > > > > > We are working with :
> > > > > > > 1) Maven 2.0.7
> > > > > > > 2) CVS
> > > > > > > 3) Continuum 1.1
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>

RE: JVM Appears to be hung

Posted by "Boeckli, Dominique" <do...@eds.com>.
i had same problem and figured out that is was deadlock due to a log4j bug (http://issues.apache.org/bugzilla/show_bug.cgi?id=43568): 

This deadlock happens under following cases:

- Proximity RC9 and Continuum-1.1 on same server
- both has a scheduled task at the same time (a purge task for proximity and build task for continuum).

There's no fix for this bug but you can reduce the probability that is happens:
- don't set start time for proximity and continuum task at the same time.

brgds

Dominique  

-----Original Message-----
From: Hemant Malik [mailto:hemant.malik@gmail.com] 
Sent: Monday, December 03, 2007 08:13 AM
To: continuum-users@maven.apache.org
Subject: Re: JVM Appears to be hung

Actually the problem for me is that I don't want the jvm to be killed. After taking sometime the Apache continuum Console restarts the JVM telling " JVM appears to be hung...... " which is killing my enqueued processes and thus losing the schedule :(

Hemant

On Dec 3, 2007 12:35 PM, Dan Tran <da...@gmail.com> wrote:

> I had one case where continuum's jvm spined.  I had to killl the jvm 
> and restart continuum.
>
> my system is jvm 1.5, windows running in non service mode.
>
>
> -D
>
> On Dec 2, 2007 10:13 PM, Hemant Malik <he...@gmail.com> wrote:
> > Hi,
> > Has anyone come across a similar problem? I am not able to cope up 
> > with
> the
> > "JVM appears to be hung" error. Somebody kindly please help.
> > Is this a bug or am I lacking somewhere?
> >
> >
> > Regards,
> > Hemant Malik
> >
> >
> > On Nov 29, 2007 9:30 PM, Hemant Malik <he...@gmail.com> wrote:
> >
> > > I tried increasing the PermSize and Heap Size, but no effect.
> > >
> > > Hemant
> > >
> > >
> > > On Nov 29, 2007 9:19 PM, Hemant Malik <he...@gmail.com> wrote:
> > >
> > > > My OS is Windows XP with SP2.
> > > >
> > > > Regards,
> > > > Hemant Malik
> > > >
> > > >
> > > > On Nov 29, 2007 8:58 PM, Emmanuel Venisse <em...@venisse.net>
> wrote:
> > > >
> > > > > What is your OS?
> > > > >
> > > > > Emmanuel
> > > > >
> > > > > Hemant Malik a écrit :
> > > > > > Hi,
> > > > > > We are in the phase of adapting to the Continuum as CI tool 
> > > > > > here
> at
> > > > > our
> > > > > > organization.We are using the latest version available on
> Continuum
> > > > > Home.
> > > > > > For the testing purposes the Continuum worked beautifully 
> > > > > > but
> with
> > > > > actual
> > > > > > project from CVS, its taking quite a bit of time, after the
> checkout
> > > > > when I
> > > > > > give the build command, after waiting for certain time "JVM
> appears
> > > > > to be
> > > > > > hung" error comes and the JVM gets restarted, hence I loose 
> > > > > > the
> > > > > earlier
> > > > > > progress in the build.
> > > > > >
> > > > > > Could please someone help out as if it is a configuration
> problem
> > > > > somewhere
> > > > > > or anything more serious?
> > > > > > The exact error is :
> > > > > > "*
> > > > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM appears hung:
> Timed
> > > > > out
> > > > > > waiting for signal from JVM.
> > > > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM did not exit 
> > > > > > on
> > > > > request,
> > > > > > terminated
> > > > > > STATUS | wrapper  | 2007/11/29 19:17:24 | Launching a 
> > > > > > JVM...* "
> > > > > >
> > > > > > Regards,
> > > > > > Hemant Malik
> > > > > >
> > > > > > We are working with :
> > > > > > 1) Maven 2.0.7
> > > > > > 2) CVS
> > > > > > 3) Continuum 1.1
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
>

Re: JVM Appears to be hung

Posted by Hemant Malik <he...@gmail.com>.
Actually the problem for me is that I don't want the jvm to be killed. After
taking sometime the Apache continuum Console restarts the JVM telling " JVM
appears to be hung...... " which is killing my enqueued processes and thus
losing the schedule :(

Hemant

On Dec 3, 2007 12:35 PM, Dan Tran <da...@gmail.com> wrote:

> I had one case where continuum's jvm spined.  I had to killl the jvm
> and restart continuum.
>
> my system is jvm 1.5, windows running in non service mode.
>
>
> -D
>
> On Dec 2, 2007 10:13 PM, Hemant Malik <he...@gmail.com> wrote:
> > Hi,
> > Has anyone come across a similar problem? I am not able to cope up with
> the
> > "JVM appears to be hung" error. Somebody kindly please help.
> > Is this a bug or am I lacking somewhere?
> >
> >
> > Regards,
> > Hemant Malik
> >
> >
> > On Nov 29, 2007 9:30 PM, Hemant Malik <he...@gmail.com> wrote:
> >
> > > I tried increasing the PermSize and Heap Size, but no effect.
> > >
> > > Hemant
> > >
> > >
> > > On Nov 29, 2007 9:19 PM, Hemant Malik <he...@gmail.com> wrote:
> > >
> > > > My OS is Windows XP with SP2.
> > > >
> > > > Regards,
> > > > Hemant Malik
> > > >
> > > >
> > > > On Nov 29, 2007 8:58 PM, Emmanuel Venisse <em...@venisse.net>
> wrote:
> > > >
> > > > > What is your OS?
> > > > >
> > > > > Emmanuel
> > > > >
> > > > > Hemant Malik a écrit :
> > > > > > Hi,
> > > > > > We are in the phase of adapting to the Continuum as CI tool here
> at
> > > > > our
> > > > > > organization.We are using the latest version available on
> Continuum
> > > > > Home.
> > > > > > For the testing purposes the Continuum worked beautifully but
> with
> > > > > actual
> > > > > > project from CVS, its taking quite a bit of time, after the
> checkout
> > > > > when I
> > > > > > give the build command, after waiting for certain time "JVM
> appears
> > > > > to be
> > > > > > hung" error comes and the JVM gets restarted, hence I loose the
> > > > > earlier
> > > > > > progress in the build.
> > > > > >
> > > > > > Could please someone help out as if it is a configuration
> problem
> > > > > somewhere
> > > > > > or anything more serious?
> > > > > > The exact error is :
> > > > > > "*
> > > > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM appears hung:
> Timed
> > > > > out
> > > > > > waiting for signal from JVM.
> > > > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM did not exit on
> > > > > request,
> > > > > > terminated
> > > > > > STATUS | wrapper  | 2007/11/29 19:17:24 | Launching a JVM...*
> > > > > > "
> > > > > >
> > > > > > Regards,
> > > > > > Hemant Malik
> > > > > >
> > > > > > We are working with :
> > > > > > 1) Maven 2.0.7
> > > > > > 2) CVS
> > > > > > 3) Continuum 1.1
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
>

Re: JVM Appears to be hung

Posted by Dan Tran <da...@gmail.com>.
I had one case where continuum's jvm spined.  I had to killl the jvm
and restart continuum.

my system is jvm 1.5, windows running in non service mode.


-D

On Dec 2, 2007 10:13 PM, Hemant Malik <he...@gmail.com> wrote:
> Hi,
> Has anyone come across a similar problem? I am not able to cope up with the
> "JVM appears to be hung" error. Somebody kindly please help.
> Is this a bug or am I lacking somewhere?
>
>
> Regards,
> Hemant Malik
>
>
> On Nov 29, 2007 9:30 PM, Hemant Malik <he...@gmail.com> wrote:
>
> > I tried increasing the PermSize and Heap Size, but no effect.
> >
> > Hemant
> >
> >
> > On Nov 29, 2007 9:19 PM, Hemant Malik <he...@gmail.com> wrote:
> >
> > > My OS is Windows XP with SP2.
> > >
> > > Regards,
> > > Hemant Malik
> > >
> > >
> > > On Nov 29, 2007 8:58 PM, Emmanuel Venisse <em...@venisse.net> wrote:
> > >
> > > > What is your OS?
> > > >
> > > > Emmanuel
> > > >
> > > > Hemant Malik a écrit :
> > > > > Hi,
> > > > > We are in the phase of adapting to the Continuum as CI tool here at
> > > > our
> > > > > organization.We are using the latest version available on Continuum
> > > > Home.
> > > > > For the testing purposes the Continuum worked beautifully but with
> > > > actual
> > > > > project from CVS, its taking quite a bit of time, after the checkout
> > > > when I
> > > > > give the build command, after waiting for certain time "JVM appears
> > > > to be
> > > > > hung" error comes and the JVM gets restarted, hence I loose the
> > > > earlier
> > > > > progress in the build.
> > > > >
> > > > > Could please someone help out as if it is a configuration problem
> > > > somewhere
> > > > > or anything more serious?
> > > > > The exact error is :
> > > > > "*
> > > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM appears hung: Timed
> > > > out
> > > > > waiting for signal from JVM.
> > > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM did not exit on
> > > > request,
> > > > > terminated
> > > > > STATUS | wrapper  | 2007/11/29 19:17:24 | Launching a JVM...*
> > > > > "
> > > > >
> > > > > Regards,
> > > > > Hemant Malik
> > > > >
> > > > > We are working with :
> > > > > 1) Maven 2.0.7
> > > > > 2) CVS
> > > > > 3) Continuum 1.1
> > > > >
> > > >
> > >
> > >
> >
>

Re: JVM Appears to be hung

Posted by Hemant Malik <he...@gmail.com>.
Hi,
Has anyone come across a similar problem? I am not able to cope up with the
"JVM appears to be hung" error. Somebody kindly please help.
Is this a bug or am I lacking somewhere?


Regards,
Hemant Malik

On Nov 29, 2007 9:30 PM, Hemant Malik <he...@gmail.com> wrote:

> I tried increasing the PermSize and Heap Size, but no effect.
>
> Hemant
>
>
> On Nov 29, 2007 9:19 PM, Hemant Malik <he...@gmail.com> wrote:
>
> > My OS is Windows XP with SP2.
> >
> > Regards,
> > Hemant Malik
> >
> >
> > On Nov 29, 2007 8:58 PM, Emmanuel Venisse <em...@venisse.net> wrote:
> >
> > > What is your OS?
> > >
> > > Emmanuel
> > >
> > > Hemant Malik a écrit :
> > > > Hi,
> > > > We are in the phase of adapting to the Continuum as CI tool here at
> > > our
> > > > organization.We are using the latest version available on Continuum
> > > Home.
> > > > For the testing purposes the Continuum worked beautifully but with
> > > actual
> > > > project from CVS, its taking quite a bit of time, after the checkout
> > > when I
> > > > give the build command, after waiting for certain time "JVM appears
> > > to be
> > > > hung" error comes and the JVM gets restarted, hence I loose the
> > > earlier
> > > > progress in the build.
> > > >
> > > > Could please someone help out as if it is a configuration problem
> > > somewhere
> > > > or anything more serious?
> > > > The exact error is :
> > > > "*
> > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM appears hung: Timed
> > > out
> > > > waiting for signal from JVM.
> > > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM did not exit on
> > > request,
> > > > terminated
> > > > STATUS | wrapper  | 2007/11/29 19:17:24 | Launching a JVM...*
> > > > "
> > > >
> > > > Regards,
> > > > Hemant Malik
> > > >
> > > > We are working with :
> > > > 1) Maven 2.0.7
> > > > 2) CVS
> > > > 3) Continuum 1.1
> > > >
> > >
> >
> >
>

Re: JVM Appears to be hung

Posted by Hemant Malik <he...@gmail.com>.
I tried increasing the PermSize and Heap Size, but no effect.

Hemant

On Nov 29, 2007 9:19 PM, Hemant Malik <he...@gmail.com> wrote:

> My OS is Windows XP with SP2.
>
> Regards,
> Hemant Malik
>
>
> On Nov 29, 2007 8:58 PM, Emmanuel Venisse <em...@venisse.net> wrote:
>
> > What is your OS?
> >
> > Emmanuel
> >
> > Hemant Malik a écrit :
> > > Hi,
> > > We are in the phase of adapting to the Continuum as CI tool here at
> > our
> > > organization.We are using the latest version available on Continuum
> > Home.
> > > For the testing purposes the Continuum worked beautifully but with
> > actual
> > > project from CVS, its taking quite a bit of time, after the checkout
> > when I
> > > give the build command, after waiting for certain time "JVM appears to
> > be
> > > hung" error comes and the JVM gets restarted, hence I loose the
> > earlier
> > > progress in the build.
> > >
> > > Could please someone help out as if it is a configuration problem
> > somewhere
> > > or anything more serious?
> > > The exact error is :
> > > "*
> > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM appears hung: Timed out
> > > waiting for signal from JVM.
> > > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM did not exit on request,
> >
> > > terminated
> > > STATUS | wrapper  | 2007/11/29 19:17:24 | Launching a JVM...*
> > > "
> > >
> > > Regards,
> > > Hemant Malik
> > >
> > > We are working with :
> > > 1) Maven 2.0.7
> > > 2) CVS
> > > 3) Continuum 1.1
> > >
> >
>
>

Re: JVM Appears to be hung

Posted by Hemant Malik <he...@gmail.com>.
My OS is Windows XP with SP2.

Regards,
Hemant Malik

On Nov 29, 2007 8:58 PM, Emmanuel Venisse <em...@venisse.net> wrote:

> What is your OS?
>
> Emmanuel
>
> Hemant Malik a écrit :
> > Hi,
> > We are in the phase of adapting to the Continuum as CI tool here at our
> > organization.We are using the latest version available on Continuum
> Home.
> > For the testing purposes the Continuum worked beautifully but with
> actual
> > project from CVS, its taking quite a bit of time, after the checkout
> when I
> > give the build command, after waiting for certain time "JVM appears to
> be
> > hung" error comes and the JVM gets restarted, hence I loose the earlier
> > progress in the build.
> >
> > Could please someone help out as if it is a configuration problem
> somewhere
> > or anything more serious?
> > The exact error is :
> > "*
> > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM appears hung: Timed out
> > waiting for signal from JVM.
> > ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM did not exit on request,
> > terminated
> > STATUS | wrapper  | 2007/11/29 19:17:24 | Launching a JVM...*
> > "
> >
> > Regards,
> > Hemant Malik
> >
> > We are working with :
> > 1) Maven 2.0.7
> > 2) CVS
> > 3) Continuum 1.1
> >
>

Re: JVM Appears to be hung

Posted by Emmanuel Venisse <em...@venisse.net>.
What is your OS?

Emmanuel

Hemant Malik a écrit :
> Hi,
> We are in the phase of adapting to the Continuum as CI tool here at our
> organization.We are using the latest version available on Continuum Home.
> For the testing purposes the Continuum worked beautifully but with actual
> project from CVS, its taking quite a bit of time, after the checkout when I
> give the build command, after waiting for certain time "JVM appears to be
> hung" error comes and the JVM gets restarted, hence I loose the earlier
> progress in the build.
> 
> Could please someone help out as if it is a configuration problem somewhere
> or anything more serious?
> The exact error is :
> "*
> ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM appears hung: Timed out
> waiting for signal from JVM.
> ERROR  | wrapper  | 2007/11/29 19:17:18 | JVM did not exit on request,
> terminated
> STATUS | wrapper  | 2007/11/29 19:17:24 | Launching a JVM...*
> "
> 
> Regards,
> Hemant Malik
> 
> We are working with :
> 1) Maven 2.0.7
> 2) CVS
> 3) Continuum 1.1
>