Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Unable to open : ... profile.properties

Help
Anonymous
2011-11-19
2013-04-17

  • Anonymous
    2011-11-19

    Hi,

    I'm getting the below error while starting up the server.
    I'm using WebLogic 10.3 and JIP 1.2

    Unable to open :/opt/rcr/dev/onlineSvcDomain/profile/jip/profile/profile.properties. Using the defaults.
    profiler: on
    remote: off
    port: 15599
    thread-depth: -1
    thread.compact.threshold.ms: 10
    max-method-count: -1
    method.compact.threshold.ms: 10
    file: profile.txt
    track.object.alloc: off
    output: text
    debug: off
    profiler-class: com.mentorgen.tools.profile.runtime.Profile
    output-method-signatures: no
    clock-resolution: ms
    output-summary-only: no
    exclude:null
    Accept ClassLoader: sun.misc.Launcher$AppClassLoader
    ClassLoaderFilter.1: null
    Using the generic class loader filter.
    Java Interactive Profiler: starting


    Below is my properties file :-

    #
    # Is the profiler on or off when the app starts?
    # (on | off)
    # default = on
    #
    profiler=off
    #
    # Can the profiler be controlled remotely ?
    # (on | off)
    # default = off
    #
    remote=on
    #
    # TCP listen port for remote control
    # default =15599
    #
    port=15599
    #
    # Class Loader filters for different runtine environments
    # (The system will cycle through these until it finds one that
    # can filter in the current environment)
    #
    ClassLoaderFilter.1=com.mentorgen.tools.profile.instrument.clfilter.WebAppClassLoaderFilter
    ClassLoaderFilter.2=com.mentorgen.tools.profile.instrument.clfilter.StandardClassLoaderFilter
    #
    # What is the maximum depth for thread dumps
    # (-1 means no limit)
    # default = -1
    # (you may also use 'compact')
    #
    thread-depth=compact
    #
    # When compacting thread dumps, what in the minimum total time you want
    # to show
    # default = 10 (ms)
    #
    thread.compact.threshold.ms=1
    #
    # What is the maximum number of methods to show in the method dump
    # (-1 means no limit)
    # default = -1
    # (you may also use 'compact')
    #
    max-method-count=compact
    #
    # defaults to 10
    #
    method.compact.threshold.ms=1
    #
    # What is the default file name for the profile information
    # default=./profile.txt
    #
    file=profile.txt
    #
    # What packages are excluded from the display
    # (comma separated)
    # Note: com.mentorgen.tools.profile is always excluded
    #
    exclude=org.apache.xalan.xsltc
    #debug=on
    track.object.alloc=on 
    output=both
    #profiler-class=net.sourceforge.jiprof.timeline.TimeLineProfiler

    Any help anyone can provide on this would be greatly appreciated !
    Thanks in advance

    Sanat

     
  • Andrew Wilcox
    Andrew Wilcox
    2011-11-21

    Sounds like a permissions issue.
    Make sure that the user/group that WebLogic runs as has read permission for /opt/rcr/dev/onlineSvcDomain/profile/jip/profile/profile.properties.

    Andrew.