IWAT0003E/IWAT0004W when profiling HelloWorld class [message #44698] |
Sat, 03 December 2005 06:20  |
Eclipse User |
|
|
|
Hello everyone,
I'm taking my first steps with TPTP 4.1 and like to do without a
seperate Remote Agent Controller.
I have written a simple HelloWorld class and like to profile this class.
Each time I invoke profiling using "Profile as.../Java Application" I
get the following message:
IWAT0003E Launch Java Process Error
IWAT0004W Problems occurred while launching the Java process.
Reason:
Profiler unable to establish connection with RAC. Possible fix: Add more
memory or reduce dataChannelSize in serviceconfig.xml.
I take it RAC means Remote Agent Controller? I do not know where I have
a remote controller configured? How can I switch to local profiling only?
I have already removed all hosts from Preferences/Profiling and
Logging/Hosts, apart von "Local Direct Connection".
In my DefaultMonitor (ProfileProject), every time a host with the name
of my machine is created (port -1!). Shouldn't that read something like
"Local Direct Connection" instead, without using any ports?
Also, one of the tutorials talks about perfect integration with WTP 1.0.
As WTP 1.0 is not released yet, which of the current integration builds
would be best to test that perfect integration?
Regards,
Andreas
|
|
|
|
|
|
|
Re: IWAT0003E/IWAT0004W when profiling HelloWorld class [message #45538 is a reply to message #45472] |
Thu, 08 December 2005 22: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 14: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.06650 seconds