|
Re: IWAT0003E/IWAT0004W when profiling HelloWorld class [message #44829 is a reply to message #44698] |
Mon, 05 December 2005 15:16 |
Eclipse User |
|
|
|
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 0053ECD5852570CE_=
Content-Type: text/plain; charset="US-ASCII"
Hi Andreas,
I just tried profiling a simple HelloWorld class using the local direct
connection in 4.1 and it seems to be working fine. Can you try launching
your application using the external launch configuration? Click on the
profile button -> Profile... -> Create a new 'External Java Application'
launch configuration -> Select 'Local Direct Connection' under Host ->
Switch to the main tab -> click on browse and select a HelloWorld class ->
click on the Profile button. See if you still have the same problem. Make
sure you have downloaded the release build posted on our site. TPTP also
doesn't support Java 5 so make sure you're using JDK 1.4.
Navid Mehregani
IBM Canada
--=_alternative 0053ECD5852570CE_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Hi Andreas,</font>
<br>
<br><font size=2 face="sans-serif">I just tried profiling a simple
HelloWorld class using the local direct connection in 4.1 and it seems
to be working fine. Can you try launching your application using
the external launch configuration? Click on the profile button -> Profile...
-> Create a new 'External Java Application' launch configuration ->
Select 'Local Direct Connection' under Host -> Switch to the main tab
-> click on browse and select a HelloWorld class -> click on the
Profile button. See if you still have the same problem. Make
sure you have downloaded the release build posted on our site. TPTP
also doesn't support Java 5 so make sure you're using JDK 1.4.</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
<br><font size=2 face="sans-serif">IBM Canada</font>
--=_alternative 0053ECD5852570CE_=--
|
|
|
|
Re: IWAT0003E/IWAT0004W when profiling HelloWorld class [message #45060 is a reply to message #44960] |
Wed, 07 December 2005 17:30 |
Eclipse User |
|
|
|
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 006026DF852570D0_=
Content-Type: text/plain; charset="US-ASCII"
TPTP4.1 doesn't officially support Java 5. The Agent Controller and the
profiling agent could still work in Java 5, but we don't officially
support it. Java 5 will most likely be supported for 4.2. There are also
plans for including a JVMTI agent in 4.2. (JVMTI is the replacement for
JVMPI in Java 5).
Navid Mehregani
--=_alternative 006026DF852570D0_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">TPTP4.1 doesn't officially support Java
5. The Agent Controller and the profiling agent could still work
in Java 5, but we don't officially support it. Java 5 will most likely
be supported for 4.2. There are also plans for including a JVMTI
agent in 4.2. (JVMTI is the replacement for JVMPI in Java 5).</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 006026DF852570D0_=--
|
|
|
|
Re: IWAT0003E/IWAT0004W when profiling HelloWorld class [message #45538 is a reply to message #45472] |
Fri, 09 December 2005 03:25 |
Eclipse User |
|
|
|
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 0012C6C9852570D2_=
Content-Type: text/plain; charset="US-ASCII"
Andreas,
I just profiled a simple class using IAC with Java 5 and it seems to work
fine. It's really strange for it to be looking for the RAC when you're
using IAC to profile. At this point I can only think of two things that
can be wrong: 1) the plugins were not installed properly and there are
traces of the old code 2) There could be something wrong with your
environment. You mentioned that you grabbed the latest build so I'll
assume it's not #1. Try out the following:
- Open a new command prompt
- Clear your PATH environment variable (i.e. set PATH="")
- Go to the Eclipse directory
- Start eclipse from the command prompt using the following command: java
-classpath startup.jar org.eclipse.core.launcher.Main
- Select an External Java launch configuration
- Select Local Direct Connection, click on 'Test Connection'. Tell me what
you get
- Hopefully you get a connection success message at this point. Try
profiling your class now.
>Regarding the JDK: Eclipse is running with J2SE 5.0, I can't change
>that. The project in question is switched to JDK 1.4 compliance in the
>Compiler settings and includes the JRE 1.4 System Library in the
>Classpath. Is this enough to satisfy the need of TPTP for JDK 1.4?
IAC uses the JDK specified for the workbench so if it has any problems
with Java 5, the above will not fix it. However, as I've stated above, I
did try profiling a simple java app with IAC using Java 5 and it seems to
be working fine.
Navid Mehregani
--=_alternative 0012C6C9852570D2_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2><tt>Andreas,</tt></font>
<br>
<br><font size=2><tt>I just profiled a simple class using IAC with Java
5 and it seems to work fine. It's really strange for it to be looking
for the RAC when you're using IAC to profile. At this point I can
only think of two things that can be wrong: 1) the plugins were not installed
properly and there are traces of the old code 2) There could be something
wrong with your environment. You mentioned that you grabbed the latest
build so I'll assume it's not #1. Try out the following:</tt></font>
<br>
<br><font size=2><tt>- Open a new command prompt</tt></font>
<br><font size=2><tt>- Clear your PATH environment variable (i.e. set PATH="")</tt></font>
<br><font size=2><tt>- Go to the Eclipse directory</tt></font>
<br><font size=2><tt>- Start eclipse from the command prompt using the
following command: java -classpath startup.jar org.eclipse.core.launcher.Main</tt></font>
<br><font size=2><tt>- Select an External Java launch configuration</tt></font>
<br><font size=2><tt>- Select Local Direct Connection, click on 'Test Connection'.
Tell me what you get</tt></font>
<br><font size=2><tt>- Hopefully you get a connection success message at
this point. Try profiling your class now.</tt></font>
<br>
<br>
<br><font size=2><tt>>Regarding the JDK: Eclipse is running with J2SE
5.0, I can't change <br>
>that. The project in question is switched to JDK 1.4 compliance in
the <br>
>Compiler settings and includes the JRE 1.4 System Library in the <br>
>Classpath. Is this enough to satisfy the need of TPTP for JDK 1.4?</tt></font>
<br>
<br><font size=2><tt>IAC uses the JDK specified for the workbench so if
it has any problems with Java 5, the above will not fix it. However, as
I've stated above, I did try profiling a simple java app with IAC using
Java 5 and it seems to be working fine.</tt></font>
<br>
<br><font size=2><tt>Navid Mehregani</tt></font>
--=_alternative 0012C6C9852570D2_=--
|
|
|
|
Re: IWAT0003E/IWAT0004W when profiling HelloWorld class [message #46100 is a reply to message #45654] |
Mon, 12 December 2005 19:15 |
Eclipse User |
|
|
|
Originally posted by: Navid_Mehregani_nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 0069BCF1852570D5_=
Content-Type: text/plain; charset="US-ASCII"
Andreas,
To me this sound like a problem with your environment or the way you've
set up TPTP. Unfortunately, it's really hard for me to say what the
problem is when I don't have access to your machine. At this point, I can
only suggest that you get a clean install of the workbench and TPTP.
If anyone else have any suggestions, please jump in.
Navid Mehregani
--=_alternative 0069BCF1852570D5_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2><tt>Andreas,</tt></font>
<br>
<br><font size=2><tt>To me this sound like a problem with your environment
or the way you've set up TPTP. Unfortunately, it's really hard for
me to say what the problem is when I don't have access to your machine.
At this point, I can only suggest that you get a clean install of
the workbench and TPTP.</tt></font>
<br>
<br><font size=2><tt>If anyone else have any suggestions, please jump in.</tt></font>
<br><font size=2><tt><br>
Navid Mehregani</tt></font>
--=_alternative 0069BCF1852570D5_=--
|
|
|
Powered by
FUDForum. Page generated in 0.03165 seconds