Hi everybody.
I'm just starting out with osgi, so I'm still trying to find my way around.
Currently I am trying to use OpenJPA with Felix, but I am getting a
MissingResourceException from OpenJPA
which I beleive is caused by some classloading code in OpenJPA.
the code I think is wrong
Hi,
Can anyone tell me how to test osgi performance (memory, startup time ..)
I knew that there is some tests suites but I didnt know how to use them.
Please help me.
Thanks in advance.
Asma
There's still a version available via the original Oscar OBR site:
http://oscar-osgi.sourceforge.net/mangen/
There is a version in the Felix SVN - but it needs some work as the
Felix Manifest parsing classes it used have change, so I think the build
may be broken at present.
- Rob
Ivanhoe
That makes me want to ask: Is there anything of value left among the
bundles at http://oscar-osgi.sourceforge.net? Or are those just
historical artifacts? Obviously some of them have transitioned in under
the Felix project...but is there anything else that that is worth
keeping/using?
Rob
Hi
Thanks for the reply
I went to download the sourceforge version but it is from 2005 ...version
0.1.2, whereas the docs on the Felix site talk about version 1.0.1
This does seem like a big difference in versions. So now I am curious to
find out if it is ok to use the 2005 version as it does
Just looked at my SVN log here - there were a few changes in this gap,
most were to more recent BCEL and ASM versions, and also to Felix
packages instead of Oscar. Didn't look like many functional changes were
made.
-- Rob
Ivanhoe Abrahams wrote:
Hi
Thanks for the reply
I went to download
Public results?
On Tue, Mar 17, 2009 at 5:44 PM, Krishnaveni Krishnarajah
krishnaveni.krishnara...@gmail.com wrote:
Hello Asma,
I have done similar performance analysis. Stuart helped me immensely.
You can find the communication at
Dear all,
Have you experienced the OSGi command
context.getDataFile(/)
on Linux with Felix ?
The result seems quite different if you are on Windows or Linux.
- On Windows, the beahaviour is OK.
- On Linux, the method returns null.
Any idea ?
B.
The spec says the path should be relative. Felix returns null for
non-relative paths.
On Windows, you probably get different behavior because it looks for
File.separatorChar, which is \\ on Windows, not /, so / is
non-relative under Windows.
- richard
On 3/17/09 2:17 PM, BJBg wrote:
Dear
On 3/17/09 2:33 PM, Richard S. Hall wrote:
The spec says the path should be relative. Felix returns null for
non-relative paths.
On Windows, you probably get different behavior because it looks for
File.separatorChar, which is \\ on Windows, not /, so / is
non-relative under Windows.
That
I should also add, if you want to get the root of your bundle's private
area, you should use an empty string per the spec.
- richard
On 3/17/09 2:34 PM, Richard S. Hall wrote:
On 3/17/09 2:33 PM, Richard S. Hall wrote:
The spec says the path should be relative. Felix returns null for
On Linux,
context.getDataFile()
returns null as well.
So what is an empty string ?
-- Bruno
Richard S. Hall a écrit :
I should also add, if you want to get the root of your bundle's
private area, you should use an empty string per the spec.
- richard
On 3/17/09 2:34 PM, Richard S. Hall
2009/3/18 Richard S. Hall he...@ungoverned.org
It doesn't under the Mac...let me check on Linux...
perhaps also check that the framework storage area is writable,
this is another common difference between Windows and Linux
especially when running Felix from a system area
read-only storage
It works for me under Linux (Fedora 10). Which version of Felix are you
using?
- richard
On 3/17/09 2:44 PM, BJBg wrote:
On Linux,
context.getDataFile()
returns null as well.
So what is an empty string ?
-- Bruno
Richard S. Hall a écrit :
I should also add, if you want to get the root
We are using Felix 1.4.1 under Debian.
To answer Stuart's comments on the protected area, this is not the
problem as the getDataFile(/) shall return the root of the bundle's
private area which is by default the felix-cache, which is of course,
R/W zone
-- Bruno
Richard S. Hall a écrit :
On 3/17/09 3:59 PM, João Ferreira wrote:
Hello again
I managed to do the isolation i pretended. The lock that was acquired
was a BundleImpl lock that was associated with the thread that owned
the lock. I just swaped that thread reference with my thread, waited
for my thread to stop and
I am not sure how much documentation is available. You can search for
the original RFC 112, which Peter Kriens made available from one of his
blogs. There is our web page on our impl:
http://felix.apache.org/site/apache-felix-osgi-bundle-repository.html
The approach is fairly simple. You
I noticed the other day 1.0.10 of the maven-scr-plugin was released,
since using this plugin we're seeing illegal escape character problems
when compiling our bundles.
[ERROR] FATAL ERROR
[INFO]
[INFO] Illegal escape
Richard,
Using that page as a reference, I tried this:
Felix felix = new Felix(configMap);
felix.start();
BundleContext bundleContext = felix.getBundleContext();
RepositoryAdmin admin = new RepositoryAdminImpl(bundleContext,null);
Resolver resolver = admin.resolver();
for (Resource
I am using the maven-bundle-plugin to build my bundle. I am having a problem
where the javax.imageio package is not being treated correctly. Everytime I
try to run my bundle I get:
org.osgi.framework.BundleException: Unresolved constraint in bundle 1:
package;
(package=javax.imageio)
Is there
Please disregard. I found my answer. If it is helpful for others, when using
embedded frameworks you must add FRAMEWORK_SYSTEMPACKAGES for packages you
are providing.
Damon
On Tue, Mar 17, 2009 at 5:11 PM, Damon Jacobsen
damon.jacob...@codedragon.us wrote:
I am using the maven-bundle-plugin
You set org.osgi.framework.system.packages if you want to override the
default value, which is every package from the underlying Java platform.
You set org.osgi.framework.system.packages.extras if you want to append
some packages to the default.
- richard
On 3/17/09 8:41 PM, Damon Jacobsen
22 matches
Mail list logo