[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.
|
- From: Steve Hansen <bird8088@xxxxxxxxxxx>
- Date: Fri, 12 Nov 2004 06:59:38 -0600
- Newsgroups: eclipse.tools.hyades
- Organization: EclipseCorner
- User-agent: Pan/0.14.2.91 (As She Crawled Across the Table)
Maybe I was the only one confused but ..
On Thu, 16 Sep 2004 09:20:40 +0200, Sebastien Mathy wrote:
>> First Scenario:
>> 1- I added following in the catalina.bat file
>> JAVA_OPTS=-XrunpiAgent:server=enabled
>> org.apache.catalina.startup.Bootstrap
I needed to place the following in my catalina.sh:
JAVA_OPTS=-XrunpiAgent:server=enabled
When I added the Bootstrap class, I saw an Agent register then unregister
and an error message on my catalina.out regarding class not found.. And
Tomcat would not start.
With the above JAVA_OPTS line the agent is registered with the RAServer!
>> 2- I started tomcat externally using the startup.bat
>> 3- In eclipse when I try to attach the Java process (following docs
>> "Attaching to remote Java Process") I do not get any agent under the Agent
>> Tab. I have RASERVER running also. So I can not go any further.
>>
> 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.
Thanks Sebastien
Steve Hansen