Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: FW: [equinox-dev] Declarative services bug?

I will try to boil something down from what we are doing.

 

Thanks,

Chris

 

 
 
 
 
THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the intended recipient, your use of this message for any purpose is strictly prohibited. If you have received this communication in error, please delete the message and notify the sender so that we may correct our records.
 

 
 

From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Thomas Watson
Sent: Tuesday, January 29, 2008 9:01 AM
To: Equinox development mailing list
Subject: Re: FW: [equinox-dev] Declarative services bug?

 

I have not experienced this. From your description it does not sound like DS problem but rather a Framework issue. DS does not effect the class loading of an individual bundle. Could you open a bug and attach a test case?

Tom



Inactive hide details for "Chris Hopkins" ---01/29/2008 05:06:06 AM---"Chris Hopkins" ---01/29/2008 05:06:06 AM---


From:


"Chris Hopkins" <chopkins@xxxxxxx>


To:


"Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>


Date:


01/29/2008 05:06 AM


Subject:


FW: [equinox-dev] Declarative services bug?






I may have missed a response to this. Has anyone else experienced it?

Thanks,
Chris





THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the intended recipient, your use of this message for any purpose is strictly prohibited. If you have received this communication in error, please delete the message and notify the sender so that we may correct our records.




From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Chris Hopkins
Sent:
Friday, January 25, 2008 12:33 PM
To:
Equinox development mailing list
Subject:
[equinox-dev] Declarative services bug?



Hi –

I think I may have run into a bug with the declarative services implementation (we’re currently using org.eclipse.equinox.ds_0.1.0.v20071022.jar). If I have a .jar on the bundle classpath of my bundle and try to access the classes stored in that .jar while DS is creating my service declared in my XML file then I get a ClassNotFoundException.

For our concrete example, I am trying to create a connection to Weblogic and have the weblogic jars on the classpath of my bundle. My DS XML specifies the class that creates the connection to Weblogic. When I start up my OSGi application, I get a class not found exception for weblogic/jndi/WLInitialContextFactory which is in the wlclient.jar that is on the bundle classpath. If I try to create that connection after the DS service has been created (e.g. in response to a button click) then the class is found just fine.

Has anyone else experienced this?

Thanks,
Chris
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top