- This topic has 4 replies, 2 voices, and was last updated 20 years, 1 month ago by Accesstec.
-
AuthorPosts
-
AccesstecMember– System Setup ——————————-
Operating System and version: Mandrake 9.2
Eclipse version: 3.0.1
Eclipse build id: 200409161125
Fresh Eclipse install (y/n): probably, but a while ago
If not, was it upgraded to its current version using the update manager? y
Other installed external plugins: none
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 14 (but most are 3.0.0/3.0.1 duplicates likely due to upgrade)
MyEclipse version: 3.8.2 – Build id: 200409171200-3.8.2
Eclipse JDK version: 1.2.4_03
Application Server JDK version: 1.2.4_03
Are there any exceptions in the Eclipse log file? yes:!ENTRY com.genuitec.eclipse.easie.tomcat5 1 1 Sep 30, 2004 13:26:31.331
!MESSAGE Error starting Tomcat: Error occurred during initialization of VM
Could not find -Xrun library: libjmp.so– Message Body ——————————-
As you can probably tell from the log message, I’m trying to launch tomcat 5 using a profiler called jmp. It requires that /usr/local/lib be added to the library path (java.lib.path). I have tried adding this directory to the “paths” preference page of the tomcat5 app server config, but I still get this error when I try to start it.
the libjmp.so library is in /usr/local/lib and this works fine when running it from the command line and setting LD_LIBRARY_PATH.
What am I doing wrong here? … it seems like the preferences page is being ignored.
Thanks in advance,
Colin
Scott AndersonParticipantColin,
Can you double check on the “paths” page and make sure you added the *directory* containing the lib to the library path and not the class path.
AccesstecMemberThanks for the quick response. I’ve double-checked.
I added /usr/local/lib (which is a directory) to the “Append to library path” section. The only thing strange I noticed here is that when I first do that, the list shows:
/usr/local/lib
If I then exit the prefs dialog and open it again, the list shows:
lib – /usr/local/lib
I don’t know if this is by design or not.
Anything else to check?
Colin
Scott AndersonParticipantColin,
If I then exit the prefs dialog and open it again, the list shows:
lib – /usr/local/lib
I don’t know if this is by design or not.
Anything else to check?
That’s normal as it’s just descriptive text.
With most profilers, at least those I’m familiar with, they need to actually launch the application themselves. I have a feeling that the -X options needed by the profiler are conflicting with those that Eclipse uses internally to manage the remote debug session. For profiling, you’ll likely have to launch Tomcat from a commandline script to avoid this.
AccesstecMemberThanks Scott
-
AuthorPosts