Re: Randomly tomcat process create another copy process of it. Now see two PIDs of tomcat running

2017-09-28 Thread Naresh Yadav
from my observation both nodes get almost equal load as we had set load
factor=1 in mod_jk;

On Fri, Sep 29, 2017 at 11:28 AM, Guang Chao 
wrote:

> On Thu, Sep 28, 2017 at 2:50 PM, Naresh Yadav 
> wrote:
>
> > my hard requirement is to run tomcat from eclipse only using sysdeo or
> > other plugin.
> > But yes i can try running from service OR startup bat file also...
> >
> > Another thing want to highlight is this problem is not consistent and it
> > appear randomly...
> > my guess is when there is more load on server then someone create another
> > tomcat pid.
> >
>
> It could be an Eclipse issue not Tomcat issue, because you launch from
> Eclipse.
>
>
> >
> > One more information wanted to share is :
> >  In this environment we have 2 node tomcat setup running behind
> > mod_jk loadbalancer with session replication enabled.
> >  right now we observed this problem on one of node only.
> >
>
> Do both nodes getting around the same load?  It could be that only one node
> is getting all the request, but problem may occur to both.
>
>
> >
> > Please give next level pointers.
> >
> > On Thu, Sep 28, 2017 at 6:26 AM, Guang Chao 
> > wrote:
> >
> > > On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav  >
> > > wrote:
> > >
> > > > Hi all,
> > > >
> > > > Already posted my problem on stackoverflow but not got any respo/nses
> > so
> > > > thought
> > > > of posting here. Please read and help me with possible resolutions ??
> > > >
> > >
> > > Would it be possible one is run as a service and another run using the
> > > *.bat file?
> > >
> > >
> > > >
> > > > https://stackoverflow.com/questions/46409358/randomly-
> > > > tomcat-process-create-another-copy-process-of-it-now-see-
> two-pids-of-t
> > > >
> > > > Thanks
> > > > Naresh
> > > >
> > >
> > >
> > >
> > > --
> > > Guang  > in-java/>
> > >
> >
>
>
>
> --
> Guang 
>


Re: Randomly tomcat process create another copy process of it. Now see two PIDs of tomcat running

2017-09-28 Thread Guang Chao
On Thu, Sep 28, 2017 at 2:50 PM, Naresh Yadav 
wrote:

> my hard requirement is to run tomcat from eclipse only using sysdeo or
> other plugin.
> But yes i can try running from service OR startup bat file also...
>
> Another thing want to highlight is this problem is not consistent and it
> appear randomly...
> my guess is when there is more load on server then someone create another
> tomcat pid.
>

It could be an Eclipse issue not Tomcat issue, because you launch from
Eclipse.


>
> One more information wanted to share is :
>  In this environment we have 2 node tomcat setup running behind
> mod_jk loadbalancer with session replication enabled.
>  right now we observed this problem on one of node only.
>

Do both nodes getting around the same load?  It could be that only one node
is getting all the request, but problem may occur to both.


>
> Please give next level pointers.
>
> On Thu, Sep 28, 2017 at 6:26 AM, Guang Chao 
> wrote:
>
> > On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav 
> > wrote:
> >
> > > Hi all,
> > >
> > > Already posted my problem on stackoverflow but not got any respo/nses
> so
> > > thought
> > > of posting here. Please read and help me with possible resolutions ??
> > >
> >
> > Would it be possible one is run as a service and another run using the
> > *.bat file?
> >
> >
> > >
> > > https://stackoverflow.com/questions/46409358/randomly-
> > > tomcat-process-create-another-copy-process-of-it-now-see-two-pids-of-t
> > >
> > > Thanks
> > > Naresh
> > >
> >
> >
> >
> > --
> > Guang  in-java/>
> >
>



-- 
Guang 


Re: Randomly tomcat process create another copy process of it. Now see two PIDs of tomcat running

2017-09-27 Thread Naresh Yadav
my hard requirement is to run tomcat from eclipse only using sysdeo or
other plugin.
But yes i can try running from service OR startup bat file also...

Another thing want to highlight is this problem is not consistent and it
appear randomly...
my guess is when there is more load on server then someone create another
tomcat pid.

One more information wanted to share is :
 In this environment we have 2 node tomcat setup running behind
mod_jk loadbalancer with session replication enabled.
 right now we observed this problem on one of node only.

Please give next level pointers.

On Thu, Sep 28, 2017 at 6:26 AM, Guang Chao 
wrote:

> On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav 
> wrote:
>
> > Hi all,
> >
> > Already posted my problem on stackoverflow but not got any respo/nses so
> > thought
> > of posting here. Please read and help me with possible resolutions ??
> >
>
> Would it be possible one is run as a service and another run using the
> *.bat file?
>
>
> >
> > https://stackoverflow.com/questions/46409358/randomly-
> > tomcat-process-create-another-copy-process-of-it-now-see-two-pids-of-t
> >
> > Thanks
> > Naresh
> >
>
>
>
> --
> Guang 
>


Re: Randomly tomcat process create another copy process of it. Now see two PIDs of tomcat running

2017-09-27 Thread Guang Chao
On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav 
wrote:

> Hi all,
>
> Already posted my problem on stackoverflow but not got any respo/nses so
> thought
> of posting here. Please read and help me with possible resolutions ??
>

Would it be possible one is run as a service and another run using the
*.bat file?


>
> https://stackoverflow.com/questions/46409358/randomly-
> tomcat-process-create-another-copy-process-of-it-now-see-two-pids-of-t
>
> Thanks
> Naresh
>



-- 
Guang