equinox

Equinox start error (console bundle is missed)

匆匆过客 提交于 2019-11-27 21:36:24
java.version=1.6.0_10 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -console -configuration runtime ENTRY org.eclipse.osgi 4 0 2012-03-28 15:50:09.721 !MESSAGE Could not find bundle: org.eclipse.equinox.console !STACK 0`enter code here` org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java:211) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297) at org

How to start osgi console (Equinox)

空扰寡人 提交于 2019-11-27 21:22:23
I'm trying to start an OSGi console in Windows 7. I used this statement on a terminal window: java -jar org.eclipse.osgi.jar -console But it doesn't work that is nothing does happen nor doesn't appear prompt osgi> . And typing on keyboard is ineffective except for ^C that makes to reappear usual terminal prompt. Anyone has any suggestion? Starting from Equinox 3.8.0.M4, it has a new console. So you need also these four bundles for it to run properly. org.eclipse.equinox.console.jar org.apache.felix.gogo.shell.jar org.apache.felix.gogo.command.jar org.apache.felix.gogo.runtime.jar These jar

How modify Eclipse locations to prevent write to user.home directory?

落爺英雄遲暮 提交于 2019-11-27 17:48:28
问题 I have tried all different settings, and yes, I m aware of eclipse.ini and config.ini and also tried different command line arguments! Nothing solved my problem! All attempts and still each time I run eclipse.exe it wants write to my userhome i.e. the .eclipse and .p2 folders. I have tried with all settings bellow among others, in different combinations too: -Dosgi.user.area=file:/c:/eclipse-conf/e46 -Dosgi.configuration.area=file:/c:/eclipse-conf/e46 -Dosgi.instance.area=file:/c:/eclipse

Best way to shutdown an OSGi Container (specifically equinox)

半腔热情 提交于 2019-11-27 14:36:02
问题 I'm looking for a best practice on shutting down an OSGi container. Currently we are using a small launcher app which calls EclipseStarter.startup() and installs some core bundles. After that the launcher terminates. When the test GUI (running as a bundle) is closed it calls a System.exit(0) to shutdown the container, but there must be a more elegant solution than this. Thanks 回答1: Please, don't use System.exit(0) to shut down an OSGi framework. You should to it by stopping the bundle with

Java 8 & Missing required capability Require-Capability: osgi.ee; filter=“(&(osgi.ee=JavaSE)(version=1.8))”

99封情书 提交于 2019-11-27 11:55:00
I have using Eclipse Luna win32.x86_64 runing with Java 8. Here from the Help Menu > About > Installation Detail > Configuration Tab : java.runtime.version=1.8.0_05-b13 java.version=1.8.0_05 I have created new plug-in project, requesting JavaSE-1.8 as Execution Environment: In the myplugin/META-INF/MANIFEST.MF file I have of course: Bundle-RequiredExecutionEnvironment: JavaSE-1.8 I use this plugin in a product file. When I try to validate it, I get following error: Of course if I start the product, I get: !ENTRY org.eclipse.osgi 2 0 2014-07-10 08:14:22.042 !MESSAGE One or more bundles are not

Trouble understanding the whole OSGi web eco system

ぃ、小莉子 提交于 2019-11-27 10:08:41
问题 I am pretty new to the whole Java and OSGi world and I have trouble understanding the eco system of a OSGi web application. To be more precise I am at the moment trying to understand how all the parts of the eco system are related to each other: OSGi Framework (e.g. Apache Felix, Equinox, Knoplerfish) OSGi Runtime (e.g. Spring DM Server, Pax Runner, Apache Karaf) Web Extender (e.g. Pax Web Extender, Spring Web Extender) Web Container (e.g. Apache Tomcat, Jetty) To give you a visual

Equinox start error (console bundle is missed)

与世无争的帅哥 提交于 2019-11-26 20:43:50
问题 java.version=1.6.0_10 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -console -configuration runtime ENTRY org.eclipse.osgi 4 0 2012-03-28 15:50:09.721 !MESSAGE Could not find bundle: org.eclipse.equinox.console !STACK 0`enter code here` org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console at org.eclipse.osgi.framework.internal.core.ConsoleManager.checkForConsoleBundle(ConsoleManager.java

Java 8 & Missing required capability Require-Capability: osgi.ee; filter=“(&(osgi.ee=JavaSE)(version=1.8))”

喜夏-厌秋 提交于 2019-11-26 15:50:05
问题 I have using Eclipse Luna win32.x86_64 runing with Java 8. Here from the Help Menu > About > Installation Detail > Configuration Tab : java.runtime.version=1.8.0_05-b13 java.version=1.8.0_05 I have created new plug-in project, requesting JavaSE-1.8 as Execution Environment: In the myplugin/META-INF/MANIFEST.MF file I have of course: Bundle-RequiredExecutionEnvironment: JavaSE-1.8 I use this plugin in a product file. When I try to validate it, I get following error: Of course if I start the