On 4/19/2011 10:34 AM, Zbynek Vavros wrote:

- How do you kill Tomcat ?

I stop its service.

- You say "after start" and "I didnt [sic] start anything" in the same
sentence; you're contradicting yourself.

I start Tomcat which starts my webapp but connection to Lotus is started
separatedlly.
= I start my webapp but do not start "Lotus connector".

1) My code(thread) could not be executed unless I start it via web
interface.Which I dont.

2) Im talking about log from log4j so it is log of my application.No one
else's.

So you have to go through that web interface to start the lotus thread, but you're not doing that and the thread is still starting up?

Sounds like the method that starts the thread is being called from somewhere that you're not expecting. Any chance it's being fired off from a timer or a listener?





Zbynek

  Kind Regards / Mit
  freundlichen Grüßen /
  Üdvözlettel / S
  pozdravem:


  Zbynek VAVROS                                                 (Embedded
  Development                                                 image moved
                                                                 to file:
                                                            pic01634.gif)

      Delivery Centre      616 00, Brno
       Central Europe      Technicka 21
         Brno SITE         Czech Republic

  (Embedded image moved to
    file: pic31451.gif)    Phone: 420-53341- x6283
                           Mobile:
                           E-mail: zbynek_vav...@cz.ibm.com




    IBM Global Services
   Delivery Center Czech
      Republic, s.r.o.
    Registered address:
  Brno, Technicka 2995/21,
  Zip code: 61600, Company
        ID: 26244535
       Entered in the
    Commercial Register
     maintained by the
   Regional Court in Brno
   (Part C, Entry 39922)

    IBM Global Services
   Delivery Center Czech
      Republic, s.r.o.
   Sídlo: Brno, Technická
   2995/21, PSČ 61600 IČ:
          26244535
    Zapsaná v obchodním
     rejstříku, vedeném
   Krajským soudem v Brně
   oddíl C, vlozka 39922






|------------>
| From:      |
|------------>
   
>--------------------------------------------------------------------------------------------------------------------------------------------------|
   |"Caldarale, Charles R"<chuck.caldar...@unisys.com>                          
                                                                      |
   
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
   
>--------------------------------------------------------------------------------------------------------------------------------------------------|
   |Tomcat Users List<users@tomcat.apache.org>                                  
                                                                      |
   
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
   
>--------------------------------------------------------------------------------------------------------------------------------------------------|
   |04/19/2011 04:09 PM                                                         
                                                                      |
   
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
   
>--------------------------------------------------------------------------------------------------------------------------------------------------|
   |RE: Restarting Tomcat&  Threads                                             
                                                                      |
   
>--------------------------------------------------------------------------------------------------------------------------------------------------|





From: Zbynek Vavros [mailto:zbynek_vav...@cz.ibm.com]
Subject: Restarting Tomcat&  Threads

I have noticed that when I kill Tomcat (shut down its service)

How do you kill Tomcat?  (Be specific.)

then after start this thread is started automatically (I can
see messages about connecting to Lotus in log when I didnt
start anything).

You say "after start" and "I didnt [sic] start anything" in the same
sentence; you're contradicting yourself.

Tomcat knows nothing about your thread or the connection to Lotus, so one
of two things is happening:

1) Your code is being executed, you just aren't aware of it.

2) Something else is connecting to Lotus and you're mistaking that for your
code.

  - Chuck


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to