[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: Getting Started with Hyades in Eclipse 3.0 running a webapp on Tomcat.

Sebastien Mathy wrote:
Faizan a écrit :
You should start tomcat with this parameter :
-XrunpiAgent:server=enabled (put it in the JAVA_OPTS var)
You can after profile your webapp as an external java process
Regards.


I use this scenario. Check the raserver log and tomcat log files to
detect a problem. Have you set the correct system variable (i.e
LD_LIBRARY_PATH=$RASERVER_HOME/lib PATH=$RASERVER_HOME/bin)?
Regards.

Sebastien,

I too have run through the procedure about 1000 times, trying to see what else I might change in order to get this to work. I am running Eclipse 3.0 and this is with Hyaedes V3.

I have updated the catalina.bat file with the following (tried both, one at a time)

rem This is for the Eclipse Hyaedes plugin...try each as needed.
JAVA_OPTS=-XrunpiAgent:server=enabled
rem JAVA_OPTS=-XrunpiAgent:server=enabled org.apache.catalina.startup.Bootstrap


I have started RAserver using the c:\raserver\bin\raserver.exe executable in Windows. It generates the following log on startup.
<SERVER_MSG time="2004:9:20:11:4:49" severity="INFORMATION" text="Service starting"/>
<SERVER_MSG time="2004:9:20:11:4:49" severity="INFORMATION" text="Successfully loaded plugin: org.eclipse.hyades.datacollection" file="..\RAServerConfig\RAServerConfigBinding2.cpp" line="393"/>
<SERVER_MSG time="2004:9:20:11:4:49" severity="INFORMATION" text="Successfully loaded plugin: org.eclipse.hyades.logging.parsers" file="..\RAServerConfig\RAServerConfigBinding2.cpp" line="393"/>
<SERVER_MSG time="2004:9:20:11:4:49" severity="INFORMATION" text="Successfully loaded plugin: org.eclipse.hyades.test" file="..\RAServerConfig\RAServerConfigBinding2.cpp" line="393"/>
<SERVER_MSG time="2004:9:20:11:4:49" severity="INFORMATION" text="Active configuration set to: default" file="..\RAServerConfig\RAServerConfigBinding2.cpp" line="787"/>
<SERVER_MSG time="2004:9:20:11:4:49" severity="INFORMATION" text="Loaded configuration: default" file="..\RAServerConfig\RAServerConfigBinding2.cpp" line="792"/>
<SERVER_MSG time="2004:9:20:11:4:49" severity="INFORMATION" text="Service started successfully" file="..\RAServerConfig\RAServerConfigBinding2.cpp" line="360"/>


PATH is updated with the raserver\bin directory, and RASERVER_HOME is set, but I don't think LD_LIBRARY_PATH is appropriate for Windows. Can you confirm? I didn't see it listed anywhere in the documentation either.

I start Tomcat manually outside of eclipse.
I setup profiling in Eclipse, create New for Attach - Java Process. On port 10002, I "Test Connection" and it suceeds. The following goes into the log file:


<SERVER_MSG time="2004:9:20:11:11:53" severity="INFORMATION" text="Incoming connection request on socket 1168 from 10.8.203.143" file="..\RAServer\messagePump.c" line="829"/>
<SERVER_MSG time="2004:9:20:11:11:53" severity="INFORMATION" text="Connection accepted on socket 1168" file="..\RAServer\messagePump.c" line="942"/>


But there are NO agents when I go to the agents tab.

What am I missing? Obviously something simple, but I can't tell what it might be.

Skip Hollowell