Hi,

I am trying to profile deployed web applications in weblogic 10.0 using JIP.  But i am only able to profile weblogic server classes only.
Before trying profiling web application in weblogic 10.0. i tried with tomcat 6.
In tomcat 6 using jip profiler, i am able to profile web application deployed in tomcat 6 server, but with weblogic i am facing the problem.
in weblogic it's only profiling bea weblogic server classes, not user webapp classes.
Although same web apps are running in weblogic 10 and tomcat 6.  Kindly guide me to resolve this issue

In weblogic 10, inside sample domain startWeblogic.cmd file, i made following changes to include jip profiler:
%JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -javaagent:"F:\wls\profile\profile.jar" -Dprofile.properties=F:\wls\profile\webapp.profile.properties -Dweblogic.Name=%SERVER_NAME% -Djava.security.policy=%WL_HOME%\server\lib\weblogic.policy %PROXY_SETTINGS% %SERVER_CLASS%

webapp.profile.properties file content are as follows

#
# Is the profiler on or off when the app starts?
# (on | off)
# default = on
#
profiler=on
#
# 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=-1
#
# 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=-1
#
# 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

===========================================================

With Regards,
Amit