[equinox-dev] Access to Equinox Logging

2009-05-07 Thread Marwinski, Dirk
Hi, we are building an application based on equinox which contains various components from various sources using different logging technologies (log4j, commons logging, proprietary, ...). We are now trying to get everything into one single place (e.g. a single file in a special format which can

[equinox-dev] Refresh bundle through code

2009-05-07 Thread Avinash
Hi all, Can anyone let me know how to refresh a bundle through code, if i have reference to bundle. I can see methods update/start/stop, but no direct method to refresh. Please help me in this regard, thanks in advance. V.Avinash Makam HUAWEI TECHNOLOGIES CO.,LTD. huawei_logo Addr

RE: [equinox-dev] Access to Equinox Logging

2009-05-07 Thread Pepping, Florian
Hi, we had a similar problem in our (OSGi-)application. We finally found a solution using the Logback-Framework. The integration and use with osgi/equinox-based applications is described by ekkedard gentz. http://web.mac.com/ekkehard.gentz/ekkes-corner/blog/Eintr%C3%A4ge/2008/9/24_Logging_in_O

RE: [equinox-dev] Conditional Permission are not being checked

2009-05-07 Thread David Conde
I am sorry, I found the new version 3.5 of Equinox in http://www.eclipse.org/downloads/download.php?file=/equinox/drops/S-3.5M1-200808071402/org.eclipse.osgi_3.5.0.v20080804-1730.jar So I will try with this one and I will write back the results. David De: equinox-dev-boun...@eclipse.or

RE: [equinox-dev] Conditional Permission are not being checked

2009-05-07 Thread David Conde
Hi again, where I can get Equinox 3.5 I tried to get from http://download.eclipse.org/equinox/drops/R-3.4.2-200902111700/index.php, but there is just to version 3.4 to download. I do not know really the problem and If I am missing something, I have a Permission Manager, who grant to itself A

RE: [equinox-dev] Conditional Permission are not being checked

2009-05-07 Thread David Conde
When I try to launch Equinox v35 in the same way that I did before with version 34 I am getting an Exception : Error occurred during initialization of VM java/lang/InternalError: Could not create SecurityManager: org.eclipse.osgi.framework.internal.core.FrameworkSecurityManager Any idea?

Re: [equinox-dev] Refresh bundle through code

2009-05-07 Thread Adolfo Ranea
Hello, I use this code to "refresh" the changes made to the classes of a bundle, Hope this help: public static void updateBundle(Bundle bundle){ try { /* first uninstall the budle */ bundle.uninstall(); /* refresh packages */ ServiceT

RE: [equinox-dev] Access to Equinox Logging

2009-05-07 Thread Marwinski, Dirk
Hi, thanks a lot for pointing this out! This link is actually very useful for us as it addresses our primary use case (integrating several logging frameworks). It however does not address on how to get hold of the messages written by the Equinox OSGi Runtime itself (sorry if that wasn't clear f

[equinox-dev] .blobstore directory

2009-05-07 Thread Christian Campo
Is the new .blobstore directory in the latest equinox SDK integration built intended to be there and what does its content stand for? (other than directories with cryptic numbers which include files with cryptic hexcode names) -- christian campo (gmail.com) ___

Re: [equinox-dev] .blobstore directory

2009-05-07 Thread John Arthorne
These are present because the Equinox download is now a p2 repository rather than a simple zip of plugins. These "blobs" are the pack200.gzip variants of the artifacts (bundles, native bits, etc). I'm not sure if we intended for those to be there, but it certainly helps if you are using such a

RE: [equinox-dev] Conditional Permission are not being checked

2009-05-07 Thread BJ Hargrave
That is a rather old version of Equinox 3.5 (M1). Go to http://download.eclipse.org/equinox/ to see all the versions available and download 3.5 M7. -- BJ Hargrave Senior Technical Staff Member, IBM OSGi Fellow and CTO of the OSGi Alliance hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1

RE: [equinox-dev] Access to Equinox Logging

2009-05-07 Thread Pepping, Florian
Hi, yes, this solution does not address the problem to get hold of the messages written by the Equinox OSGi Runtime. But we have never experienced the occurence of messages from the Equinox Runtime. So this problem not really matters for our application. Sorry. I took a short look into the Fra

RE: [equinox-dev] Conditional Permission are not being checked

2009-05-07 Thread Thomas Watson
We renamed the security manager in Equinox 3.5. You can use the eclipse.security property to specify the "type" of security manager instead of specifying the complete class name. For example: java -Declipse.security=osgi -Djava.security.policy=policy.policy -jar org.eclipse.osgi_3.5.0.XXX.jar –c

Re: [equinox-dev] Access to Equinox Logging

2009-05-07 Thread Laidlaw, Don
You can also try pax-logging, which implements all your required APIs and logs to one place using a log4j configuration: http://wiki.ops4j.org/display/ops4j/Pax+Logging It is native OSGi already and requires no other jars to support Log4j, JCL, OSGi LogService, JDK Logging, Avalon, SLF4J, or Tomc