The resources folder in a bundle doesn't mean anything if you don't define the OSGi headers.
Do you use Embed-Dependencies or so ?

Regards
JB

On 12/12/2014 09:31 AM, Srikanth Hugar wrote:
How to create a new Process that executes a JAR (which is not a bundle)
inside karaf container?

We have a third party JAR file which is placed inside resources folder
of a bundle. Our requirement is to execute the JAR with a separate
process . If we create a Java Process using “ProcessBuilder” class , it
is not able to pick up JAR which is part of

a bundle. So one solution is to place the JAR file in System path
instead of inside a bundle.

We are looking for a solution where a new process can execute the JAR
available inside a bundle.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to