Find the answer to your Linux question:
Results 1 to 6 of 6
hello~ I'm young-ho in korea i'm sorry that I can't speak english well.. TT i have 1 tomcat server A.. and i need to 1 more tomcat server B. then ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    3

    Angry I have 1 problem in tomcat server


    hello~

    I'm young-ho in korea

    i'm sorry that I can't speak english well.. TT

    i have 1 tomcat server A..

    and i need to 1 more tomcat server B.

    then i'm copied data A to B, use rsync..

    because L4 switch is configured as server A and Server B are the same site.

    copy data is

    '/usr/local/apache,
    /usr/local/java,
    /usr/local/jakarta,
    /lib/,
    etc....'

    Now, server B is activated normally..

    Server A has no problem, but Server B has 1 problem..

    when I upload same jsp file in Server A & B.

    Server A is no need to restart tomcat

    But Server B is need to restart tomcat

    what's problem in Server B?

    there is same web.xml, server.xml file..

    Other files is same too..

    There is no difference server A & B.

    same OS, same tomcat, apache version...

    Is it to only copy files without compiling?

    My customer need to solve this problems

    But I have a no idea about tomcat server

    because I'm use only apache web server..

    please help me TT

    I must solve this today ..

  2. #2
    Just Joined! rukiaEnix's Avatar
    Join Date
    Jun 2012
    Location
    Mexico
    Posts
    16
    What do you mean by "without compiling files"? Do you mean you copy the installation folders from A to B? I think it's better if you install tomcat from scratch on B and then just copy the configuration files and the scripts of the website you are mounting on your tomcat.

  3. #3
    Just Joined!
    Join Date
    Jun 2012
    Posts
    3
    thanks to your advices

    but Problem is not solved

    If I have an existing file is changed, I must restart Tomcat

    but when a new file upload, there is no need to restart Tomcat.

    what's problem in my server?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! rukiaEnix's Avatar
    Join Date
    Jun 2012
    Location
    Mexico
    Posts
    16
    Well, as far as I know when you make a change in .jsp or .war that runs on Tomcat, you need to restart it, so the changes can be compile.

    What do you mean with upload? How do you do it?

  6. #5
    Just Joined!
    Join Date
    Jun 2012
    Posts
    3
    upload's meaning : when I upload new or editing file using FTP ^^;

    sorry I cant speak English

  7. #6
    Just Joined! rukiaEnix's Avatar
    Join Date
    Jun 2012
    Location
    Mexico
    Posts
    16
    Did you try reinstalling manually the B server?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •