Liz
To got JBoss 3.2.7 working properly in WTP, I got a patch provided in the Eclipse Webtools Forum. Don't have the link here, sorry
Best Regards
2006/7/21, Liz Dancy <[EMAIL PROTECTED]>:
Rafael,
I was not able to test your processes below using JBoss 3.2.7 due to a
known defect (bugzilla150833) . I used 4.04 instead and I was not able to
reproduce the errors you were getting. However, there are a few known
issues with WTP which address the VM arguments scenario you listed below,
particularly with Tomcat and Weblogic ( bugzilla 142094 and 148599). The
former has been fixed and the latter is being investigated.
Sincerely,
Liz Dancy
IBM Toronto Lab
[EMAIL PROTECTED]
"Rafael Nami"
<[EMAIL PROTECTED]
om> To
Sent by: "TPTP Tracing and Profiling Tools
tptp-tracing-prof Project developer discussions"
iling-tools-dev-b <[EMAIL PROTECTED]
[EMAIL PROTECTED] clipse.org>
g cc
Subject
20/07/2006 10:46 Re:
AM [tptp-tracing-profiling-tools-dev]
Trying to profile a Jboss
Application
Please respond to
TPTP Tracing and
Profiling Tools
Project developer
discussions
<tptp-tracing-pro
filing-tools-dev@
eclipse.org>
Valentina.
I've managed to profile a JBoss application. It seems that does have a bug
in my environment.
I've listed below the steps to make tptp working with jboss in my
environment:
1 - click in Profile->Profile
2 - add -XrunpiAgent:server=enabled on the JVM args
3 - Profile
4 - GOTO 1 after the error and repeat 3 times *
After this, I simply remove the -XrunpiAgent:server=enabled, start the
server profiling, select all the agents, start monitoring with all of them,
and just one of this agents works everytime.
I know this is an ugly workaround, but It's working :)
Don't know if I have to file a bug or something like that...
* When I try to profile like this, there's a java.exe Windows error, but I
don't know why the agent still runs.
Thanks and Best Regards
Rafael Mauricio Nami
2006/7/20, Valentina Popescu < [EMAIL PROTECTED]>:
If you're trying to profile only org.jinvoice* packages then use this
filter instead of the one you mention
org.jinvoice* INCLUDE
* EXCLUDE
I am trying to reproduce your JBoss scenario and let you know if there
are any issues with the profiler
Thank you,
Valentina Popescu
IBM Toronto Labs
Phone: (905)413-2412 (tie-line 969)
Fax: (905) 413-4850
"Rafael Nami" <[EMAIL PROTECTED]>
Sent by:
tptp-tracing-profiling-tools-dev-bo To
[EMAIL PROTECTED] "TPTP Tracing and Profiling
Tools Project developer
discussions" <
07/20/2006 07:01 AM tptp-tracing-profiling-tools-dev
@eclipse.org>
cc
Subject
Re:
Please respond to [tptp-tracing-profiling-tools-de
TPTP Tracing and Profiling Tools v] Trying to profile a Jboss
Project developer discussions < Application
[EMAIL PROTECTED]
clipse.org>
Í've tried late night to profile a 5.5 tomcat server that I have at home
like this:
1 - Started tomcat from the workbench in profilling mode
2 - choose the agent that was shown
3 - added time execution monitoring to my configuration
4 - added this filters to inclusion:
org.jnovice* (my tiny JavaEE project)
and these to exclusion:
org.hibernate*
org.springframework*
java.lang*
org.apache*
int
float
double
char
5 - started to monitor my tomcat instance, but the configuration again
didn't produce any data.
After some time testing configurations, I've managed to find one that works
great, like this:
1 - Started the RAServer.exe
2 - started tomcat in debuggin' mode, with the -XrunpiAgent:server=enabled
JVM arguments
3 - Attached the agent that shows in the list
4 - added the same monitoring configuration, and filters
5 - started monitoring, and this time, it worked
Thanks for your support
Rafael Mauricio Nami
2006/7/19, Rafael Nami < [EMAIL PROTECTED]>:
Hi Valentina, sorry for the confusion.
In the first attempt, I've tried without starting the RAServer.exe, with
the previous results.
When I try with the RAServer turned on, no agent is showed in agent list.
My environment is a testing server P4 1 GB RAM 3GHZ, Sun's JDK 5.0, JBoss
3.2.7,
Eclipse Callisto distribution + plugins, Agent Controller 4.2 Windows 32.
I've added this include packages in the Default configuration:
br.com.netservicos*
br.com.netservicos.*
And this to my exclusion packages
java*
java.*
net*
net.*
org*
org.*
Thanks in advance and best regards
2006/7/19, Valentina Popescu < [EMAIL PROTECTED] >:
Rafael, it seems that the exclusion works perfectly since you don't get any
data after you profile you application:) So the problem is either an
excessively exclusive filter or the profiling agent somehow fails to run
Your comment confuses me, I thought you are using the TPTP Java Profiling
Agent ( which is based on JVMPI ) to profile you application
My agent is being treated as a unknown agent in my server. I'm
> using the local agent that is ported with tptp eclipse plugin. I've
> installed the standalone agent, but when I try to attach this
> standalone agent in a jboss started up, the tptp plugin simply can't
> find any agent to attach...
I need to understand exactly your scenario in order to help you debug the
problem; can you send me this information:
1. What exactly you've installed from the TPTP download page ( what is the
standalone agent you mention above ?..)
2. JRE you are using to run your JBoss server
3. Java version used by the Agent Controller ( I am assuming you are
running the Agent Controller; to check if you run the Agent Controller look
for a RAServer executable running on your machine ). To look for the java
version , open the serviceconfig.xml available under
AgentControllerInstallPath\config/serviceconfig.xml and look for this line:
<Variable name="JAVA_PATH" value="C:\Program
Files\Java\j2re1.4.2_01\bin\java.exe" position="replace"/>
4.OS system you are running against
5. The exact steps you execute when profiling your application ; ( I need
to understand what agent you are using to profile; is it the Java Profiling
Agent displayed in the Profile on Server wizard as shown in the image
attached below ? )
6. The profiling options and filters you have selected
Thank you,
Valentina Popescu
IBM Toronto Labs
Phone: (905)413-2412 (tie-line 969)
Fax: (905) 413-4850
"Rafael Nami" < [EMAIL PROTECTED]
>
Sent by: tptp
-tracing-profiling-tools-dev-bounc To
[EMAIL PROTECTED] "TPTP Tracing and Profiling
Tools Project developer
discussions" <
07/19/2006 02:11 PM tptp-tracing-profiling-tools-dev
@ eclipse.org >
cc
Subject
Re:
Please respond to [tptp-tracing-profiling-tools-de
TPTP Tracing and Profiling Tools v] Trying to profile a Jboss
Project developer discussions < Application
tptp-tracing-profiling-tools-dev@
eclipse.org>
I couldn't find anything to do the excluding work, so I'll try to switch to
the new technology agent, to see if it works.
Best Regards
2006/7/19, Alex Soto <[EMAIL PROTECTED] >:
This happens to me too with version 4.1, but when i upgrade to 4.2, i
couldn't define exclude correctly, i just don't now if it was casualty.
Rafael Nami wrote:
> Valentina
> I defined filter to exclude all java*, java.*, javax*, javax.*, org*,
> org.*, net*, net.*.
> Even so, the profiler didn't produce any data (when I try to open the
> Execution Statistics view, it displays only this message:
>
> *No execution statistics is available for display.
> Either you have no trace selected in the Profiling Monitor view or the
> current selection does not contain execution statistic information.*
>
> *Note:
> This view is available only if the trace contains execution
> statistics. To collect this type of information, on the Profile tab in
> the Launch configuration, choose the Execution Time Analysis option.*
>
> PS - My agent is being treated as a unknown agent in my server. I'm
> using the local agent that is ported with tptp eclipse plugin. I've
> installed the standalone agent, but when I try to attach this
> standalone agent in a jboss started up, the tptp plugin simply can't
> find any agent to attach...
>
> Thanks in advance and Best Regards
>
>
>
> Rafael Mauricio Nami
>
>
>
>
> 2006/7/19, Rafael Nami < [EMAIL PROTECTED] <mailto: [EMAIL PROTECTED]
>>:
>
> Thanks Valentina for the Quick Response.
> I'll try to define filters to exclude all non-application specific
> classes.
>
> Best Regards
>
> Rafael Mauricio Nami
>
>
> 2006/7/19, Valentina Popescu < [EMAIL PROTECTED]
> <mailto: [EMAIL PROTECTED] >>:
>
>
> Rafael,
>
> One reason for not getting any profiling information is that
> your filter settings filter out too much data ( assuming the
> application has been successfully started in profiling mode)
>
> I would assume your profiling scenario is similar with this :
> - start the server in profiling mode by using the Profile
> action available on the Server view toolbar
> - when the attach wizard pops-up you select the Java Profiling
> Agent; while in this wizard, go to the Monitor tab and review
> your profiling options and filters. Make sure you have
> selected the right set of options ( for example Execution Time
> Analysis option should be selected if you expect to get back
> performance related data ) and that the filters don't exclude
> classes you want to profile ( double click on Java Profiling
> option and review the active filter set )
>
>
> Thank you,
> Valentina Popescu
> IBM Toronto Labs
> Phone: (905)413-2412 (tie-line 969)
> Fax: (905) 413-4850
>
>
>
> *"Rafael Nami" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>*
> Sent by: [EMAIL PROTECTED]
> <mailto: [EMAIL PROTECTED] >
>
> 07/19/2006 08:18 AM
> Please respond to
> TPTP Tracing and Profiling Tools Project developer discussions
> < tptp-tracing-profiling-tools-dev@eclipse.org
> <mailto: tptp-tracing-profiling-tools-dev@eclipse.org >>
>
>
>
> To
> tptp-tracing-profiling-tools-dev@eclipse.org
> <mailto: tptp-tracing-profiling-tools-dev@eclipse.org>
> cc
>
> Subject
> [tptp-tracing-profiling-tools-dev] Trying to profile a
Jboss
> Application
>
>
>
>
>
>
>
>
>
>
>
> Hi everyone. I have a J2EE enterprise-scale Application,
> running on JBoss 3.2.7.
> I tryed to profile this application, to get memory leaks, time
> consumption data, etc... with TPTP, but when I start the
> configured JBoss in WTP on profiling mode, it attachs the
> agent, but creates no profiling data.
> So, I tested the tptp installation running a simple DAO
> testcase, and worked like a charm. (This TPTP Plugin is very
> good stuff indeed... Congratulations, folks!!!!)
>
> What do I have to do to collect this kind of data from my
> JBoss application?
>
> Thanks in advance
>
> Rafael Mauricio Nami
>
> PS - I'm using Eclipse/Callisto distribution on Windows XP,
> with all the plugins (except the C/C++
> plugin)_______________________________________________
> tptp-tracing-profiling-tools-dev mailing list
> tptp-tracing-profiling-tools-dev@eclipse.org
> <mailto: tptp-tracing-profiling-tools-dev@eclipse.org >
>
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
>
>
>
> _______________________________________________
> tptp-tracing-profiling-tools-dev mailing list
> tptp-tracing-profiling-tools-dev@eclipse.org
> <mailto: tptp-tracing-profiling-tools-dev@eclipse.org >
>
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
> <
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> tptp-tracing-profiling-tools-dev mailing list
> tptp-tracing-profiling-tools-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
>
La informaci?n contenida en el presente e-mail es confidencial y est?
reservada para el uso exclusivo de su destinatario. Se proh?be estrictamente
la distribuci?n, copia o utilizaci?n de esta informaci?n sin el previo permiso
de su destinatario. Si usted no fuera el destinatario, por favor notif?quelo
inmediatamente al remitente y elimine el presente mensaje de su sistema
inform?tico.
Information contained in this e-mail is confidential and is intended for
the use of the addressee only. Any dissemination, distribution, copying or
use of this communication without prior permission of the addressee is
strictly prohibited. If you are not the intended addressee, please notify
the sender immediately by reply and then delete this message from your
computer system.
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp -[EMAIL PROTECTED]
https://dev.eclipse.org/mailman/listinfo/ tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev
_______________________________________________ tptp-tracing-profiling-tools-dev mailing list tptp-tracing-profiling-tools-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev