Krys Malak | 14 Aug 12:29

How to access Nuxeo Runtime?

Hi,

I want to access the Nuxeo Runtime and in it a component through an
ejb-client, but I think i'm missing something.

I try the following:

"Framework.getRuntime();" and the result is a NullPointer Exception. (Or in
the 1.0.0 Release NXRuntime.getRuntime(); it is the same)

I am 100% sure that the runtime is running and i can correctly deploy,
register and activate components in it.

What i'm not sure is if i missed adding some necessary library or
configuration file in this ejb-client.

This client basically executes this line (the following don't matter, since
already this one fails) and has the necessary runtime.jar. I also tried
adding other .jar file like the osgi.core etc. but this did not help, so I
guess ist something else i'm overlooking and need to add either in the code
or some additional config files or libraries.

Hope somebody can help me with this.

Cheers,
Krys

Gmane