GC log rotation question

Hi,
So after JDK 1.6.0_34 (as far as I know), java introduced GC log rotation JVM args (see below)
-XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=1M
Prior to these JVM arg additions, on any java application start, your GC log would get wiped. In my case a tomcat server running java code.
So now I would assume when these JVM arg's are present, the GC log continues to rotate and not get wiped on application start up. However the above behavior still persists ever after JDK 1.6.0_34 with the new JVM args present.
I should mention while the java application is running, the GC log DOES rotate (i.e., gc_log.txt.0, becomes gc_log.txt.1), but when application is restarted the LAST GC log is erased completely.
This behavior isn't really "log rotation/backup", I've had to introduce my own shell/bat scripts to rotate the latest GC logs manually outside of these JVMargs. I'm not sure if I'm misunderstanding how to use the new JVM args or if oracle doesn't consider this a bug and this is normal behavior.
I did file a bug on this, 9005051. However there is no guarantee your bug request ever makes it to the public bug database and oracle doesn't provide reasoning back to the submitter when the bug is rejected or not looked at, so I don't really know what happened with my bug request.
If anyone has any insight into this, I would really appreciate it.
Thank you!

> Or better yet, where I can find someone to actually answer my question?
Me! Me! I know the answer to that question...
Oracle is more than happy for you to pay them for a support\service contract of which part of that will be that you can ask them questions and they will answer them.  Real Oracle engineers and perhaps the very people who created the code in the first place.  Or at least the ones in charge of it now.
> yet there is no guarantee my bug is even a bug or will even get posted to the bug database
Yes that is true.
But I suspect, strongly, that if you have a big enough contract that every bug you post to the database, and that you tell oracle about, will appear promptly and be addressed promptly.
And if you have a smaller (but not really small) Oracle contract I am rather certain that you can obtain a custom fix.
Alternatively you can download the source, figure out the problem, and fix it yourself.  Then apply it to your running services.

Similar Messages

  • Weblogic 5.1 SP 6 log rotation

    Hi all,
    I use Weblogic SP6 and, as there is a rotation with the access.log
    file, I would like to configure a log rotation for the weblogic.log
    file because it increases quickly. But, there seems to be no property
    to configure that.
    I tried to do it with system commands but this always makes with
    Weblogic server fail. Does anyone has already done that and how?
    Thanks in advance
    Fanny

    Hi there,
    I've managed to configure XSQL with Weblogic 5.1 SP6 and to run the demos from the Oracle site.
    My system configuration is :
    -Windows NT 4.0
    -Weblogic 5.1 SP 6
    -Oracle 8.1.7
    -Xalan version=2.0.1
    -Xerces version=1_3_1 (Support SAX2)
    CLASSPATH="${oradriver.lib}:${servlets.lib}:${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.home.dir}/lib/weblogic510sp${weblogic.sp.version}boot.jar:${weblogic.home. dir}/classes/boot"
    WEBLOGIC_CLASSPATH="${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.lib}:${jdom.lib}:${oreilly.lib}:${jdriver.lib}:${build.classes.dir}"
    Now when trying to integrate my XSQL framework in the big picture of the webapp - I'm getting errors.
    the error is:
    =============================================
    <WebAppServletContext-ads> looking for taglib uri
    /tlds/taglib.tld as resource /WEB-INF/tlds/taglib.tld
    in Web Application root:
    Sat Jun 16 14:30:37 PDT 2001:<E>
    <WebAppServletContext-ads> Servlet failed with
    Exception
    java.lang.NoSuchMethodError:
    javax.servlet.jsp.tagext.TagAttributeInfo: method
    <init>(Ljava/lang/String;ZZLjava/lang/String;)V not
    found
    at
    weblogic.servlet.jsp.MyAttInfo.<init>(StandardTagLib.java:34)
    at
    weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:280)
    =========================================
    If I remove from the classpath the servlets.lib(which contains servlets.jar) I'm able to access my webapp again but I cannot process the .xsql extensions.
    -the error from Weblogic appserver is:
    cannot find XSQLServletPageProcessor
    My question is that somebody has any ideea of what other type of servlet lib will be needed or if something else in the configuration files has to be modified?
    Thanks in advance,
    dan stepanov
    null

  • LMS3.2.1 - should my custom log rotation settings override log4j properties?

    For LMS 3.2.1 on Windows, I have configured log rotation settings for dcmaservice.log but the settings are ineffective, even after stop/start CW daemon manager.  Other posts on this forum state that dcmaservice.log rotation is managed by log4j but can also be configured in logrot.  Is this incorrect or have I encountered a bug in logrot?

    Gaganjeet,
    I'd like definitive answers to the following questions before continuing down this path.
    1) does log4j subsystem manage dcmaservice.log?
    2) if so, is there a log4j properties file for dcmaservice which can be edited to change log file size and number of versions to keep (eg. see the forum entry https://supportforums.cisco.com/message/664225#664225 re license.log)?
    3) can Common Services user-configurable log rotation override the parameters for logs managed by log4j subsystem?
    Thanks.

  • Manual Log Rotation

    Hello,
    I am trying to figure out how to go about doing log rotation in my production
    environment. The requirements are that I send a daily logfile over to a centralized
    server each night around midnight. There are three options that I would think
    possible:
    1) Shutdown the instance and manually rotate the logs with a script.
    2) Setup by TIME log rotation
    3) Figure out which mbean is responsible for log rotation and access it directly.
    Ok, #1 is out of the question. #2 doesn't work because it's relative to the boot
    time of the instance. #3 is what I really would like to do, has anyone done this?
    Or doesn't anyone have any ideas of how I could do it?
    Thanks!
    Brett Bajcsi

    Did you use the logrot script or the web gui?
    The scheduler is activated?

  • Msg log rotation

    Hello,
    I have several log rotation related questions:
    1. http_sso - will simply rotating this to http_sso.old and zeroing out http_sso do the job?
    2. uwc.log - this file is owneb by web server uid. will I have to restart web server(Sun web server) after rotating this file? ( apache needs kill -USR1 )?
    3. Any advice on Access manager log file rotation?
    Many thanks,
    D.

    Hello,
    I have several log rotation related questions:
    1. http_sso - will simply rotating this to
    http_sso.old and zeroing out http_sso do the job?Huh? What are you trying to achive?
    2. uwc.log - this file is owneb by web server uid.
    will I have to restart web server(Sun web server)
    after rotating this file? ( apache needs kill -USR1
    )?I doubt it. Doesn't the web server rotate log files? I bet it does, automatically.
    3. Any advice on Access manager log file rotation?Sorry, I have no idea. Messaging Server, I know well. AM, nope.
    Many thanks,
    D.

  • OPMN Log rotation 10.1.2

    How to rotate the OPMN logs in the 10.1.2 environment
    Here is my environment
    Oracle Application Server: 10.1.2
    Sun Soalris 10
    Infrastructure has the following
    %ORACLE_HOME/opmn/logs
    dcm-daemon~dcm-daemon~dcm~1
    HTTP_Server~1
    ipm.log
    OC4J~OC4J_SECURITY~default_island~1
    OID
    OID~1
    OIDCTL.log
    ons.log
    opmn.log
    Any document which gives step by step implementation of log rotation by size and time
    Is ODL is supported for OPMN log rotation? if then how to do it ?

    The document looking like to rotate the ons.log ipm.log using the configuration change in the opmn.xml file as the
    <log-file path="path" level="level" rotation-size="kBytes" rotation-hour="HOD"/>
    Here are my questions
    1. How can give the rotation-hour (is it timestamp value like 200808020830 yeardaymonthhoursminutes )
    2. Is it going to change the file name like ons200808020830.log ipm200808020830.log , if yes a) ons.log ipm.log files will exist inclusing the above files or not
    3. what about the other log files rotation in the opmn/log directory like (in my previous posting)
    dcm-daemon~dcm-daemon~dcm~1
    HTTP_Server~1
    ipm.log
    OC4J~OC4J_SECURITY~default_island~1
    OID~1
    OIDCTL.log
    Could you please answer my questions and also give me some sugestion to implement OPMN log rotation.

  • Regarding internal daemon log rotation...

    I found a problem with internal daemon log rotation in iplanet webserver.it is not happening properly..........how to troble shoot this issue?

    Web Server 6.0 is EOSLed. Please move to the newer Web Servers 6.1 or 7.0. Check [http://www.sun.com/download/index.jsp?cat=Web%20%26%20Proxy%20Servers&tab=3&subcat=Web%20Servers|http://www.sun.com/download/index.jsp?cat=Web%20%26%20Proxy%20Servers&tab=3&subcat=Web%20Servers]. If you still have problems in these(6.1 or 7.0) versions of Web Server let us know.

  • LMS3.2 Log rotation problem

    Hi,
    we use LMS3.2 (windows single-server)  for ~4500 devices and have a problem with log rotation.
    That's our configured log roation:
    Name with location
    Size (kb)
    Format
    No.of Backups
    1.
    D:\CSCOpx\log\dcrclient.log
    102400
    gz
    3
    2.
    D:\CSCOpx\log\ICServer.log
    102400
    gz
    3
    3.
    D:\CSCOpx\log\syslog.log
    1024000
    gz
    5
    The backup directory is the same as the usual log directory. The size of the 3 files is already bigger than the configured size in log roation, see:
    dcrclient.log     2,1 GB
    ICServer.log     1,1 GB
    syslog.log        9,7 GB
    After the log roation configuration we restarted the daemon manager, but it's not working. There are no backup files created and the 3 files are still growing.
    Regards
    Hendrik

    After you configure the log rotation you need and restart the daemons, you need to schedule the job. The schedule buttong is available under
    Common Services -> Server -> Admin -> Log Rotation.

  • Extended format of access.log and log rotation

    I am using WebLogic Server 6.1sp1. I want to use extended format of web
    server access log. I also want to use log rotation based on date. But it
    seems not to work together. After my investigation I can say:
    - access.log in common format can be rotated based on date an on size,
    - access.log in extended format (either in its default form or
    completely redefined) cannot be rotated neither based on date nor size.
    In the second case at first time WebLogic tries to rotate logfile
    IOException is thrown with a message like "java.io.IOException: Failed
    to rename log file on attempt to rotate logs". Than it throws
    IOException with a message "Exception flushing HTTP log file. (Bad file
    descriptor)." when it tries to flush content of logfile to the disk.
    After that WebLogic server stops to write to access.log.
    Is it possible to rotate access.log in extended format?
    Thanks,
    Andrzej Derlacki
    Infovide, Poland
    [email protected]
    [email protected]

    i am pasting the entries below which i see in the log( access_log ) . I don't see DEBUG in them.
    <AGENT_IP_ADDRESS> - - [29/Jun/2007:09:48:23 -0400] "GET /em/upload?ACTION=HEARTBEAT&EMD
    _URL=https%3a%2f%2flph010%2egep%2ege%2ecom%3a3872%2femd%2fmain%2f&HEARTBEAT_TI
    ME=2007-06-29+09%3a40%3a09&OUTSTANDING_SEVS=FALSE&EMD_UPTIME=2007-06-18+10%3a20%
    3a23&OLDEST_COLL_TIME=2007-06-29+09%3a40%3a09&INSTALL_TYPE=agent&X-ORCL-EMOV=4%2
    e0%2e0&X-ORCL-EMCV=10%2e2%2e0%2e1%2e0&X-ORCL-EMSV=10%2e2%2e0%2e1%2e0 HTTP/1.1" 2
    00 5
    <AGENT_IP_ADDRESS>- - [29/Jun/2007:09:48:23 -0400] "GET /em/upload?ACTION=HEARTBEAT&EM
    D_URL=https%3a%2f%2fprdes%2eeur%2egep%2ege%2ecom%3a3872%2femd%2fmain%2f&HE
    ARTBEAT_TIME=2007-06-29+15%3a48%3a23&OUTSTANDING_SEVS=FALSE&EMD_UPTIME=2007-06-1
    8+18%3a27%3a33&OLDEST_COLL_TIME=2007-06-29+15%3a48%3a23&INSTALL_TYPE=agent&X-ORC
    L-EMOV=4%2e0%2e0&X-ORCL-EMCV=10%2e2%2e0%2e1%2e0&X-ORCL-EMSV=10%2e2%2e0%2e1%2e0 H
    TTP/1.1" 200 5
    <AGENT_IP_ADDRESS> - - [29/Jun/2007:09:48:24 -0400] "GET /em/upload?ACTION=HEARTBEAT&E
    MD_URL=https%3a%2f%2fug038%2egep%2ege%2ecom%3a3872%2femd%2fmain%2f&HEARTBEAT_
    TIME=2007-06-29+22%3a19%3a35&OUTSTANDING_SEVS=FALSE&EMD_UPTIME=2007-06-18+18%3a3
    7%3a03&OLDEST_COLL_TIME=2007-06-29+22%3a19%3a35&INSTALL_TYPE=agent&X-ORCL-EMOV=4
    %2e0%2e0&X-ORCL-EMCV=10%2e2%2e0%2e1%2e0&X-ORCL-EMSV=10%2e2%2e0%2e1%2e0 HTTP/1.1"
    200 5

  • Agent log rotation

    Agent - Sunone Agent 2.1
    Webserver - IIS
    Policy Server - IS 6.0 SP1.
    How do you get the agent log to rotate on size/time? Is there a parameter?
    Currently we have to manually delete it.

    Log rotation feature available in 2.2 web agents. You need to find other ways to do it.
    -Subba

  • Log rotation problem

    We are running WLS 8.1.4 and have had a recurring problem with log rotation for quite a long time. It has happened on every machine we've used, running both Windows 2000 and XP. What we want to do is have our logs roll nightly, but it seems that no matter what time we set in the WLS console, the log ends up rolled at an arbitrary time.
    Our current configuration is the following:
    Server File Name: ourServerName_%MM%-%dd%-%yyyy%.log
    Rotation Type: By Time
    Rotation Time: 04:00
    File Time Span: 24 Hrs
    We have tried many permutations on the Rotation Time field, including removing or adding leading zeros as well as seeing if the time difference is constant due to a time zone issue, but no discernible pattern has emerged.
    For instance, the logs for the last few days have been rolled at exactly 2300, despite being set to roll at 0400. Other times it has been set to roll at 0204, and it will roll at 1104. One other thing to note: the minutes are always correct, but the hours are nearly always off.
    Any ideas?

    No, and I can verify that this problem has showed up at multiple sites configured by multiple people besides myself. As we are precisely following the specs laid out in the WLS 8.1 docs, I can only assume this is a bug.

  • [logging] Problems to configure logging rotation.

    Hi,
    I have an application .ear deployed in weblogic v10.3.1.0
    This application use java.util.logging to write a log file.
          fh = new FileHandler(logFileName,0,1,true);
          fh.setFormatter(new XMLFormatter());
          logger.addHandler(fh);
    FileHandler(String pattern, int limit, int count, boolean append)
    pattern - the pattern for naming the output file
    limit - the maximum number of bytes to write to any one file. If this is zero, then there is no limit. (Defaults to no limit).
    count - the number of files to use
    append - specifies append mode
    http://www.javadocexamples.com/java/util/logging/java.util.logging.FileHandler.html
    logFileName is dynamic with date formated like this yyyMMdd + ApplicationName + ".log"
    This file is created but I have also yyyyMMddSEC.log.1, yyyyMMddSEC.log.2, yyyyMMddSEC.log.3,...
    I DON'T WANT THESE FILES_, that's why I put limit to 0, count to 1 and append to true.
    This code works without jdev/weblogic but has not effect in weblogic.
    Q1. Why?
    So I go to Weblogic console: Domain Structure-> DefaultDomain->Logging
    Log file name: logs/DefaultDomain.log
    Rotation type: None
    NONE
    Messages accumulate in a single file.
    You must erase the contents of the file when the size is too large.
    Note that WebLogic Server sets a threshold size limit of 500 MB before it forces a hard rotation to prevent excessive log file growth.
    But it doesn't work, Weblogic continue to create log files like this *<filename>.log.<n>*
    Q2. Why?
    I have also created weblogic.xml in ViewControler/WEB-INF
    thanks to this documentation:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs103/webapp/weblogic_xml.html#wp1063199
    but it doesn't work...again.
    Q3. Why?
    Q4. If I want applications manage themselves their log, how to deactivate the logging handler in weblogic (LogFileMBean?)
    Thanks for your help.

    You may want to ask in the WebLogic Server - Diagnostics / WLDF / SNMP forum. They own logging.

  • IPlanet 4.1 Web Server - ns-cron process hangs for log rotation

    Does anybody know if there is a known issue with iPlanet 4.1 Web Server where the ns-cron log rotation process hangs up?
    Basically it won't rotate any logs, and using either the "Stop" or "Restart" buttons in the console won't shut it down, so you have to kill it manually, then start it again.
    It seems like it will run for a couple days fine, then it will hang up.
    Thanks.

    Nope, I've not seen this before. But 4.1 version is really old and no longer supported, you should consider upgrading to a supported version.

  • 3D repousse objects and linking / rotation question

    In Photoshop CS5 Ext, I have 4 layers, each with a 3D repousse object on them. I want to somehow link them, so that I can rotate the object as a whole (or the camera), but also want to still be able to manipulate the objects separately (like rotate and position). Is there a way to do this in PS, or does this need to be done in another program like Flash? Tried unsuccessfully using merge 3D, linking, grouping...
    Thanks,
    John

    Thanks Steve for the reply and screenshot.
    I see that 3D panel will let me rotate, etc., but it doesn't look like I will be able to rotate objects separately using animation from the timeline, will it? That is another thing I forgot to mention that I want to do, is be able to animate (rotate and move) the objects separately.
    Thanks,
    John
    From: SG... <[email protected]>
    To: PSJK2011 <[email protected]>
    Sent: Sunday, September 25, 2011 9:37 PM
    Subject: 3D repousse objects and linking / rotation question
    Re: 3D repousse objects and linking / rotation question created by SG... in Photoshop Windows - View the full discussion
    Hi John,
    Merging 3D layers should be what you want. When you tried this what failed? If it was that you could only transform all of the objects instead of each separate object, then you'll need to make sure you are using the appropriate 3D tool. The UI needs some work to make this a bit easier to discover.
    There are 3D Mesh tools in the 3D panel that allow you to manipulate individual meshes, instead of the whole scene (3D Object tools).
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-3937802-84277/176-600/3DMeshTo ll.png
    regards,
    steve
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3937802#3937802
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3937802#3937802. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Windows by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Performance Degrades w/ Log Rotation On

    I am running WLS 7.0 on Solaris 8. We are running an application in a single
    weblogic server instance. We are using this environment to do functionality testing
    of our application. When we turn on log rotation (generate 5 logs w/ max of 500K)
    performance severely degrades. As soon as we turn off log rotation and use a
    single log file the performance returns to acceptable levels.
    Does anyone have a clue as to why this happens and if there is something that
    can be done to correct this problem?
    Thanks in advance!

    I am running WLS 7.0 on Solaris 8. We are running an application in a single
    weblogic server instance. We are using this environment to do functionality testing
    of our application. When we turn on log rotation (generate 5 logs w/ max of 500K)
    performance severely degrades. As soon as we turn off log rotation and use a
    single log file the performance returns to acceptable levels.
    Does anyone have a clue as to why this happens and if there is something that
    can be done to correct this problem?
    Thanks in advance!

Maybe you are looking for

  • CD Burn Failure - Tiger

    Recently installed Tiger, then iMac wouldn't recognize blank CD. Got Help at 1800aplcare. This fix worked; Open hard drive/open users/dblclk on "house"/library/preferences Drag the following files to the trash and empty: com.apple.finder.plists com.a

  • Message mapping Real Challenge-Experts Help......

    Source: <hdr>     <data>     </data>   </hdr>   <credit>      <crddetails>      </crddetails>   </credit>   <detail>      <data>      </data>   </detail>   <detail>      <data>      </data>   </detail>   <hdr>     <data>     <data>   </hdr>   <credit

  • Nokia C3-01 & subscribe to packet data first.

    Hello ! I have a nokia c3-01, I am not able to connect to the internet using WLAN, it says subscribe to packet data first.  can anyone help me on this. Thanks.

  • Properties that are updateable and which ones not using epma batch client

    Can anyone provide list of properties (HFM/Essbase etc.) that are updateable and which ones not using epma batch client?

  • SP2013 alternative for Collect Data workflow task?

    SP2010 offered a workflow action named Collect Data, allowing for easy data collection from users without having to create custom ASPX forms. Apparently, SP2013 no longer offers this feature. I'm doing a SP2013 project now that absolutely inhibits me