Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Libra » Libra on Juno
Libra on Juno [message #1000458] Mon, 14 January 2013 20:31 Go to next message
David Dodd is currently offline David DoddFriend
Messages: 5
Registered: February 2011
Junior Member
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 #1000824 is a reply to message #1000458] Tue, 15 January 2013 13:37 Go to previous messageGo to next message
Kaloyan Raev is currently offline Kaloyan RaevFriend
Messages: 189
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Dave,

Have you followed this video tutorial: http://www.youtube.com/watch?v=gLeYwBn_uWg ?

If it does not work for you, could you be more specific which step exactly?

And yes, SAP is still involved, but we are mostly focused on the OSGi facet that we have contributed to the process. There are committers from other companies too. The Equinox and Felix launchers, for example, are contributed and maintained by Eteration.

Greetings,
Kaloyan
Re: Libra on Juno [message #1000913 is a reply to message #1000824] Tue, 15 January 2013 17:14 Go to previous messageGo to next message
David Dodd is currently offline David DoddFriend
Messages: 5
Registered: February 2011
Junior Member
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 17:19]

Report message to a moderator

Re: Libra on Juno [message #1000920 is a reply to message #1000913] Tue, 15 January 2013 17:34 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 244
Registered: October 2010
Senior Member
Quote:
org.osgi.framework.BundleException: Could not find bundle: org.eclipse.equinox.console


For this issue I reported a bug several months ago.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=384304

See comment 2, as a workaround you can add the missing bundles by yourself.

[Updated on: Tue, 15 January 2013 17:37]

Report message to a moderator

Re: Libra on Juno [message #1000979 is a reply to message #1000920] Tue, 15 January 2013 20:10 Go to previous messageGo to next message
David Dodd is currently offline David DoddFriend
Messages: 5
Registered: February 2011
Junior Member
Hi Violeta,

Thanks to your help, I have my first OSGi based web application running! Thanks much!

My next issue is that I am getting the following error message which I am not sure how to resolve.

When starting the server or modifying a jsp file I get the following error:

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.

The server seems to run fine, only I am getting this error. The jsp is compiling successfully and emitting correct html.

Thanks again for your help!
Dave

[Updated on: Tue, 15 January 2013 20:10]

Report message to a moderator

Re: Libra on Juno [message #1014886 is a reply to message #1000979] Tue, 26 February 2013 16:42 Go to previous messageGo to next message
João Figueiredo is currently offline João FigueiredoFriend
Messages: 2
Registered: February 2013
Junior Member
David Dodd wrote on Tue, 15 January 2013 15:10
Hi Violeta,

Thanks to your help, I have my first OSGi based web application running! Thanks much!

My next issue is that I am getting the following error message which I am not sure how to resolve.

When starting the server or modifying a jsp file I get the following error:

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.

The server seems to run fine, only I am getting this error. The jsp is compiling successfully and emitting correct html.

Thanks again for your help!
Dave


I'm having the same problem. I followed the tutorial on youtube.com/watch?v=gLeYwBn_uWg
Re: Libra on Juno [message #1014887 is a reply to message #1000979] Tue, 26 February 2013 16:44 Go to previous message
João Figueiredo is currently offline João FigueiredoFriend
Messages: 2
Registered: February 2013
Junior Member
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.
Previous Topic:Current status for "/libra/milestones/" update site directory
Next Topic:Context
Goto Forum:
  


Current Time: Mon Dec 22 23:32:53 GMT 2014

Powered by FUDForum. Page generated in 0.01861 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software