[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-core-dev] Eclipse Plugin Issue On Mac
|
sounds like a fine bug report.
"Whitlock, Jeremy
x66075" <Jeremy_Whitlock@xxxxxxx>
Sent by: platform-core-dev-bounces@xxxxxxxxxxx
06/03/2005 11:31 AM
Please respond to
"Eclipse Platform Core component developers list." |
|
To
| "Eclipse-Platform-Core-Dev
(E-mail)" <platform-core-dev@xxxxxxxxxxx>
|
cc
| "Eclipse-Platform-Debug-Dev
(E-mail)" <platform-debug-dev@xxxxxxxxxxx>
|
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. _______________________________________________
platform-core-dev mailing list
platform-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-core-dev