Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-core-dev] Eclipse Plugin Issue On Mac

Title: Message
Philippe,
    I'm using Java 1.4.2.  I have posted on all of the newsgroups with this issue but no responses and that is why I am here.  I have even emailed the issue to the jdt-dev and jdt-debug-dev mailing lists as well.  The Eclipse developers on irc.freenode.net (#eclipse-dev) mentioned emailing the platform-core-dev to get some help so here I am.  Take care, Jeremy
-----Original Message-----
From: Philippe Ombredanne [mailto:pombredanne@xxxxxxxx]
Sent: Friday, June 03, 2005 12:52 PM
To: Jeremy_Whitlock@xxxxxxx
Subject: RE: [platform-core-dev] Eclipse Plugin Issue On Mac

Which version of Java do you use?
Java 5?
There is also a eclipse mac usergroup on Google.
You may want to use the eclipse newsgroup instead too
:-)
 
 

--
Cheers
Philippe

philippe ombredanne | nexB - Open by Design (tm)
1 650 799 0949 | pombredanne at nexb.com
http://www.nexb.com

-----Original Message-----
From: platform-core-dev-bounces@xxxxxxxxxxx [mailto:platform-core-dev-bounces@xxxxxxxxxxx] On Behalf Of Whitlock, Jeremy x66075
Sent: Friday, June 03, 2005 8:32 AM
To: Eclipse-Platform-Core-Dev (E-mail)
Cc: Eclipse-Platform-Debug-Dev (E-mail)
Subject: [platform-core-dev] Eclipse Plugin Issue On Mac

Hello all,

        I've written a Weblogic plugin for Eclipse and thus far, everything has worked out great.  It runs, debugs deployed java code and such but now I'm writing code to stop it without using the Console's stop button.  In doing so, I decided to use JNDI, JMX and Reflection.  Reason being is that Weblogic is manageable via MBeans and the MBeans are registered in JNDI.  The reflection comes in because I have to use a custom ClassLoader to load the weblogic.jar dynamically at runtime.  Here is what is happening.

This code to stop the server gets an InitialContext.  Later the code does an MBean lookup via JNDI and then runs getName() and getState() from the MBean.  Both are valid methods.  When ran as a Java Application in Eclipse, the code runs fine on Linux, Mac and Windows but when ran inside of an Eclipse plugin (My Weblogic Plugin), it only runs on Linux and Windows.  The error I get is a javax.management.AttributeNotFoundException.  This totally makes no sense and I figured I'd post here just in case someone else did.  I can post code if you need but like I said, outside of an Eclipse plugin, the code runs on all platforms tested including Mac but when in an Eclipse plugin, the Mac doesn't work.

If anyone has any insight as to why this could be happening I look forward to hearing from  you.  Take care,

Jeremy Whitlock
ADP/SIS - Programmer Analyst
4725 Independence Street
Wheat Ridge, CO 80033
Phone:  (303) 590-6075
Fax:  (303) 590-6160

P.S. - Does Eclipse use .policy files to restrict java object access when code is ran in the context of an Eclipse plugin?



This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.


Back to the top