Libra on Juno [message #1000458] |
Mon, 14 January 2013 15:31  |
Eclipse User |
|
|
|
Hi All,
Has anyone gotten Libra to work with Juno EE?
I tried following the videos for the documentation, but they seem to be out of date?
I was able to do the following:
I am able to create the Dynamic Web Project with the OSGi configuration.
I created servers for Felix and Equinox.
However, I was never able to successfully start any server and get a "Hello World" working.
All of the issue revolved around unresolved dependencies.
Has anyone else had success with Libra on Juno? Care to share? Does anyone know if this project is live? Is SAP still contributing like the videos say?
I really like this approach as it seems the closest to the RCP development way of development which is easy and better than any other OSGi container which seems to be overly complex.
Thanks,
Dave
|
|
|
|
Re: Libra on Juno [message #1000913 is a reply to message #1000824] |
Tue, 15 January 2013 12:14   |
Eclipse User |
|
|
|
Hi Kaloyan,
Thanks for the reply. I have followed the video the mentioned very carefully.
Differences that I have are:
I have downloaded the latest Equinox SDK version 3.8.1.
I created the Server based on the equinox server using 3.8.1
I set the target platform to be Gemini web (added both directories).
I set the default target platform to the created equinox based platform.
Created a new Dynamic Web Project using:
2.5 module spec
OSGi Web Application Bundle
Added the application to the Server.
Here is where I have a problem.
When I go to run the application, I do not have a OSGi Run menu item. I do however have a Clean Equinox Work Directory... menu item.
From the video, there is a menu item called "OSGi Run". This seems to be a magic menu item because I am unable to get the server up and running.
So then I try to launch the server via the Run / Debug menu items.
First I get the following error: Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 12345; nested exception is:
java.net.BindException: Address already in use: JVM_Bind
So I switched the JMX port, then I get the following error.
Processing inclusion from feature org.eclipse.pde.container.feature: Bundle TestWeb_1.0.0.qualifier failed to resolve.:
Host plug-in JavaSE_0.0.0 has not been found.
!SESSION 2013-01-15 09:08:40.562 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -dev file:C:\Users\ddodd\workspaces\libra-equinoxgemini-test\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\dev.properties -configuration C:\Users\ddodd\workspaces\libra-equinoxgemini-test\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 -os win32 -ws win32 -arch x86 -consoleLog -console
!ENTRY org.eclipse.osgi 4 0 2013-01-15 09:08:41.901
!MESSAGE Could not find bundle: org.eclipse.equinox.console
!STACK 0
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.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at org.eclipse.core.runtime.adaptor.EclipseStarter.main(EclipseStarter.java:151)
After that, I have tried to add the bundles it could not find to the Target Platform to no avail.
Any help is much appreciated. Am I missing the bundle which has that magic menu item?
Or is there any other instructions on how to setup my environment manually.
Thanks!
Dave
[Updated on: Tue, 15 January 2013 12:19] by Moderator
|
|
|
|
|
|
Re: Libra on Juno [message #1014887 is a reply to message #1000979] |
Tue, 26 February 2013 11:44  |
Eclipse User |
|
|
|
I'm having the same problem as David:
Processing inclusion from feature org.eclipse.pde.container.feature:
Bundle TestWeb_1.0.0.qualifier failed to resolve.:
plug-in JavaSE_0.0.0 has not been found.
|
|
|
Powered by
FUDForum. Page generated in 0.17977 seconds