[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.hyades] Re: launch remote application
|
Hi,
Extracted from the help:
# To launch an external Java Process, follow these steps:
1. Double click on External Java Application. A new configuration is
created.
2. On the Host tab, specify the Host name or IP address and the
Agent Controller port (if different from the default). Click Add, then
switch to the Main tab.
3. Select the Java Class on the file system.
4. You may need to specify where to find the Class path, directory,
and JAR file.
5. You may specify Parameters, VM arguments, and Environment
Variables, as needed.
Step 1 and 2 are ok.
Step 3:
what you think about filesystem?
/home/pmyproject/src/org/lds/test/MyTest.class or the classic
org.lds.test.MyTest ?
... OK in the document "Tutorial: Analyzing the profiling data from a
Java process" I discover that the second choice is the correct one.
But you say "Select the Java Class .." how? the button is disabled and
is enabled only if I select the rac on localhost. I think they are other
constraints about configuration of the remote rac: wich are??.
Note, I configured the remote rac in this way:
Specify the fully qualified path of "java" (e.g. /usr/java1.4/jre/bin/java):
Default>"/opt/java1.4/jre/bin/java" (Press <ENTER> to accept the
default value)
New value>
Network access mode (ALL=allow any host, LOCAL=allow only this host,
CUSTOM=list of hosts):
Default>"ALL" (Press <ENTER> to accept the default value)
New value>
Please enter the JBoss Application Server Home:
Default>"" (Press <ENTER> to accept the default value)
New value>
Please enter the JOnAS Application Server Home:
Default>"" (Press <ENTER> to accept the default value)
New value>
Step 4: How ? again the button is disabled, I suppose the same problem
of above.
Step 5: Never reached....
Mybe have something to do with pluginconfig.xml ? I deployed my project
under %RAC_SERVER%/plugins /myproject/config/pluginconfig.xml but
nothing changes.
There is someone that have an idea how it works?
bye,
(frustraded) Luca
Luca Di Stefano wrote:
Hi,
I try to profile an application on a remote machine via the rac service.
I start the service and I copy the java project on this machine.
When I start the profile from eclipse on my machine the following
messages are writed in the servicelog.log of rac:
<SERVER_MSG time="2004:10:11:16:20:14" severity="INFORMATION"
text="Attempting to launch process : java.exe
-XrunpiAgent:server=controlled
org.lds.jmeter.extractor.MultiParameterExtractor$Test"/>
<SERVER_MSG time="2004:10:11:16:20:14" severity="INFORMATION"
text="Adding agent interest: Java Profiling Agent"/>
<SERVER_MSG time="2004:10:11:16:20:15" severity="INFORMATION"
text="Process 19413 does not exist so scrub it"/>
<SERVER_MSG time="2004:10:11:16:20:15" severity="INFORMATION"
text="Process 19413 exited"/>
in profiling perspective no data is fetched.
the application is the one on
http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/hyades-home/docs/profilingtool/profilingexample.html.
I followed the steps and setted correctly the classpath.
where is my failure?
thanks,
Luca