|
|
Re: Libra on Juno [message #1000913 is a reply to message #1000824] |
Tue, 15 January 2013 17:14 |
David Dodd 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 #1000979 is a reply to message #1000920] |
Tue, 15 January 2013 20:10 |
David Dodd 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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03609 seconds