The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ToMCaT

Discussion in 'General Discussion' started by vishal, Apr 17, 2003.

  1. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Hello,

    WHM 6.2.0
    CPanel 6.4.0 s-16 (I suppose)
    Redhat 7.3
    jakarta-tomcat-4.1.12

    Tomcat is working fine but my error logs are beign looged uneccessarily with the following errors.

    [Thu Apr 17 00:00:09 2003] ( info) [mod_jk2.c (451)]: mod_jk.translate(): uriMap /index.jsp ajp13:localhost:8
    009
    [Thu Apr 17 00:00:36 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:00:43 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:01:25 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:01:26 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:01:26 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:01:27 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:01:28 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:01:28 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:01:28 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:01:29 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:01:38 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:05:01 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:05:22 2003] (error) [jk_uriMap.c (592)]: uriMap.mapUri() uri must start with /
    [Thu Apr 17 00:05:47 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:05:48 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:05:50 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:07:04 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:08:22 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:08:24 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:08:35 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:08:39 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:08:40 2003] (debug) [jk_env.c (157)]: env:Create child env 0x8611c78 0x8635800
    [Thu Apr 17 00:09:34 2003] ( info) [mod_jk2.c (278)]: mod_jk child init
    [Thu Apr 17 00:09:34 2003] ( info) [mod_jk2.c (286)]: mod_jk.post_config() init worker env
    [Thu Apr 17 00:09:34 2003] (error) [jk_logger_file.c (165)]: Can't open log file ${serverRoot}/logs/mod_jk.lo

    Some post that i read said that u need to change the Loglevel for the tomcat server in a web.xml file. but i have got aroung 30+ web.xml files!!! where shoud i make change for the Warning!!!

    Any help would be appreciated!!!!

    Regards,


    :)
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Look in /usr/local/jakarta/jakarta-tomcat-4.1/build/conf
     
  3. vishal

    vishal Well-Known Member

    Joined:
    Jan 28, 2003
    Messages:
    340
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    Thanks !!

    Hello,

    I 'll give a try to it and see if that works for me!!!!

    Regards,
    ;)
     
  4. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    try this

    Not pretty sure whether this would work for you or not. Anyways try this out.

    /usr/local/jakarta/jakarta-tomcat-4.x/build/conf

    Open web.xml inside an editor (i use pico), search for "<param-name>debug</param-name>" Just below this you would find a value

    <param-value>0</param-value>

    Mine is 0, you can put yours 0 too, it gives me less logs.


    cheers
     
Loading...

Share This Page