can not start rifidi edge from source

Questions about developing the edge server core as well as applications

Moderators: Matt, kyle

Nérine
Posts: 27
Joined: Wed Apr 29, 2015 6:44 am
Organization: UMMTO

can not start rifidi edge from source

Post by Nérine » Sun May 10, 2015 4:05 pm

Hi,
I use 32 bit versions of ecslipse on windows system.
when I try to connect to the server edge from source I have this error message displayed on the console :
[org.eclipse.equinox.weaving.hook] info adding AspectJ hooks ...
!SESSION 2015-05-10 15:12:04.756 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -application
Command-line arguments: -application -data E:\rifidi_workspace/../runtime-edgeserver.product -dev file:E:/rifidi_workspace/.metadata/.plugins/org.eclipse.pde.core/edgeserver.product/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -console

!ENTRY org.eclipse.osgi 4 0 2015-05-10 15:12:05.284
!MESSAGE The -clean (osgi.clean) option was not successful. Unable to clean the storage area: E:\rifidi_workspace\.metadata\.plugins\org.eclipse.pde.core\edgeserver.product\org.eclipse.osgi
[org.eclipse.equinox.weaving.aspectj] info Starting AspectJ weaving service ...
log4j:WARN No appenders could be found for logger (org.apache.activemq.util.osgi.Activator).
log4j:WARN Please initialize the log4j system properly.

!ENTRY org.springframework.security.core 4 0 2015-05-10 15:12:06.470
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.springframework.security.core_3.0.5.RELEASE [43]" could not be resolved. Reason: Missing Constraint: Import-Package: org.springframework.beans; version="[3.0.3.RELEASE,3.1.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.springframework.security.core 4 0 2015-05-10 15:12:06.585
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.springframework.security.core_3.0.5.RELEASE [43]" could not be resolved. Reason: Missing Constraint: Import-Package: org.springframework.beans; version="[3.0.3.RELEASE,3.1.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.setBundleSL(StartLevelManager.java:670)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:435)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 4 0 2015-05-10 15:12:06.590
!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:298)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

!ENTRY org.eclipse.osgi 2 0 2015-05-10 15:12:06.678
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2015-05-10 15:12:06.679
!MESSAGE Bundle reference:file:/E:/rifidi_workspace/Rifidi-SDK/rifidi/debian/usr/local/sbin/rifidi/plugins/org.springframework.security.core_3.0.5.RELEASE.jar was not resolved.
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.679
!MESSAGE Missing imported package org.springframework.core.io_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.680
!MESSAGE Missing imported package org.springframework.util_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.681
!MESSAGE Missing imported package org.springframework.core.annotation_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.682
!MESSAGE Missing imported package org.springframework.beans.factory_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.683
!MESSAGE Missing imported package org.springframework.context.support_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.683
!MESSAGE Missing imported package org.springframework.beans_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.684
!MESSAGE Missing imported package org.springframework.context_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.685
!MESSAGE Missing imported package org.springframework.beans.propertyeditors_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.686
!MESSAGE Missing imported package org.springframework.core_[3.0.3.RELEASE,3.1.0).

!ENTRY org.eclipse.osgi 2 0 2015-05-10 15:12:06.702
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2015-05-10 15:12:06.703
!MESSAGE Bundle org.springframework.security.core_3.0.5.RELEASE [43] was not resolved.
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.704
!MESSAGE Missing optionally imported package net.sf.ehcache_[1.4.1,2.0.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.705
!MESSAGE Missing optionally imported package org.springframework.aop_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.706
!MESSAGE Missing optionally imported package org.springframework.aop.framework_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.707
!MESSAGE Missing optionally imported package org.springframework.aop.support_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.707
!MESSAGE Missing imported package org.springframework.beans_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.708
!MESSAGE Missing imported package org.springframework.beans.factory_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.709
!MESSAGE Missing imported package org.springframework.beans.propertyeditors_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.709
!MESSAGE Missing imported package org.springframework.context_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.710
!MESSAGE Missing imported package org.springframework.context.support_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.711
!MESSAGE Missing imported package org.springframework.core_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.712
!MESSAGE Missing imported package org.springframework.core.annotation_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.712
!MESSAGE Missing imported package org.springframework.core.io_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.713
!MESSAGE Missing optionally imported package org.springframework.dao_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.714
!MESSAGE Missing optionally imported package org.springframework.expression_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.714
!MESSAGE Missing optionally imported package org.springframework.expression.spel.standard_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.715
!MESSAGE Missing optionally imported package org.springframework.expression.spel.support_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.716
!MESSAGE Missing optionally imported package org.springframework.jdbc.core_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.716
!MESSAGE Missing optionally imported package org.springframework.jdbc.core.support_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.717
!MESSAGE Missing optionally imported package org.springframework.remoting.httpinvoker_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.718
!MESSAGE Missing optionally imported package org.springframework.remoting.support_[3.0.3.RELEASE,3.1.0).
!SUBENTRY 2 org.springframework.security.core 2 0 2015-05-10 15:12:06.719
!MESSAGE Missing imported package org.springframework.util_[3.0.3.RELEASE,3.1.0).

bppause
Posts: 434
Joined: Sat Oct 03, 2009 12:30 am
Organization: Pramari

Re: can not start rifidi edge from source

Post by bppause » Sun May 10, 2015 6:58 pm

These are the tested steps running Rifidi Edge from source

http://wiki.rifidi.net/index.php?title= ... ource_Code

Nérine
Posts: 27
Joined: Wed Apr 29, 2015 6:44 am
Organization: UMMTO

Re: can not start rifidi edge from source

Post by Nérine » Mon May 11, 2015 2:00 am

Hi,
Yes it is the steps I followed and I have this error message! I still have connection problems :/

Matt
Posts: 362
Joined: Fri May 02, 2008 11:56 am
Organization: Pramari

Re: can not start rifidi edge from source

Post by Matt » Mon May 11, 2015 2:00 pm

Can you post a screenshot of your workspace?

Nérine
Posts: 27
Joined: Wed Apr 29, 2015 6:44 am
Organization: UMMTO

Re: can not start rifidi edge from source

Post by Nérine » Mon May 11, 2015 4:44 pm

here is the screenshot of my workspace
Attachments
Capture.PNG
here is the screenshot of my workspace
Capture.PNG (150.88 KiB) Viewed 5735 times

Matt
Posts: 362
Joined: Fri May 02, 2008 11:56 am
Organization: Pramari

Re: can not start rifidi edge from source

Post by Matt » Mon May 11, 2015 5:16 pm

Can you give a screenshot of the run configuration as well? Also post the results of doing a "validate bundles".

Nérine
Posts: 27
Joined: Wed Apr 29, 2015 6:44 am
Organization: UMMTO

Re: can not start rifidi edge from source

Post by Nérine » Mon May 11, 2015 5:30 pm

screenshot of the run configuration
Attachments
Capture1.PNG
Capture1.PNG (145.78 KiB) Viewed 5729 times

Nérine
Posts: 27
Joined: Wed Apr 29, 2015 6:44 am
Organization: UMMTO

Re: can not start rifidi edge from source

Post by Nérine » Mon May 11, 2015 5:39 pm

The results of doing a "validate bundles":
Attachments
Capture2.PNG
Capture2.PNG (41.49 KiB) Viewed 5728 times

Nérine
Posts: 27
Joined: Wed Apr 29, 2015 6:44 am
Organization: UMMTO

Re: can not start rifidi edge from source

Post by Nérine » Wed May 13, 2015 10:06 am

I joined you the results of running rifidi edge server from source
Attachments
error.PNG
error.PNG (51.03 KiB) Viewed 5700 times

Matt
Posts: 362
Joined: Fri May 02, 2008 11:56 am
Organization: Pramari

Re: can not start rifidi edge from source

Post by Matt » Thu May 14, 2015 11:48 pm

So what are the errors that show up in the "validate bundles"? That will show what is going on. Are you using the latest eclipse, and are you using the ? Have you tried creating a brand new workspace and trying again (I'm asking as this one may be corrupt somehow)? Have you tried hitting the "add required bundles" button?

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests