Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: [rap-dev] rap startup problems

Hi,

seems that things in OSGi land have changed in 3.3. PDE should normally automatically add the "migration steps" itself to the launch config but it seems not to work every time. With the pde.version=3.3 you have to add the following paramter as VM arguments to your launch configuration:

-Dosgi.noShutdown=true

Greets
 Benny

KÖLL Claus wrote:
hi frank,

i have found the problem ...
if i have this attribute in my launch configuration the osgi server stops immediatelly
<stringAttribute key="pde.version" value="3.3"/>

i don't know you to configure this in the run dialog window ?
i have delete it from the file and now it works ..

BR
claus

-----Ursprüngliche Nachricht-----
Von: rap-dev-bounces@xxxxxxxxxxx [mailto:rap-dev-bounces@xxxxxxxxxxx] Im Auftrag von Frank Appel
Gesendet: Montag, 17. September 2007 15:24
An: RAP project development-related communication
Betreff: AW: [rap-dev] rap startup problems

Hi claus,

maybe you could provide us with your launch configuration, so we could have a look at that to see whether there is something wrong. You can select a location to save in the Common tab of the Run dialog (select shared File).


Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: rap-dev-bounces@xxxxxxxxxxx [mailto:rap-dev-bounces@xxxxxxxxxxx] Im Auftrag von KÖLL Claus
Gesendet: Donnerstag, 13. September 2007 10:19
An: RAP project development-related communication
Betreff: AW: [rap-dev] rap startup problems

hi frank,

i have windows/eclipse 3.3 and downloaded the rap source.
the demo application runs fine.
then i created a new plugin project with my code (perspective/views) and started it with the demo .. works also fine.
now i created a new Entrypoint class in my project and created a new launch configuration based on the demo project.
i checked the bundles and if i validate it there are no errors.

i can not type ss into the console because the equinox server stops immediatelly
don't know ewhat i make wrong ?
which more informations should i give you ..

thanks
claus


-----Ursprüngliche Nachricht-----
Von: rap-dev-bounces@xxxxxxxxxxx [mailto:rap-dev-bounces@xxxxxxxxxxx] Im Auftrag von Frank Appel
Gesendet: Donnerstag, 13. September 2007 09:57
An: RAP project development-related communication
Betreff: AW: [rap-dev] rap startup problems

Hi,

did you follow the steps described at http://www.eclipse.org/rap/gettingstarted.php? To me it seems as if you using a different launcher than the equinox launcher, but that can be a misjudgment. To get a better understanding of what is going wrong could you please provide us some more information? For example: which operation system do you use, which Eclipse version, which java version, what kind of launch-configuration do you use (the equinox-launcher should not try to launch an application with rap, check also the bundles used in the configuration). Type ss into the console - this should produce a trace of the bundles that are launched.

Ciao
Frank
-----Ursprüngliche Nachricht-----
Von: rap-dev-bounces@xxxxxxxxxxx [mailto:rap-dev-bounces@xxxxxxxxxxx] Im Auftrag von KÖLL Claus
Gesendet: Donnerstag, 13. September 2007 09:04
An: rap-dev@xxxxxxxxxxx
Betreff: [rap-dev] rap startup problems

hi
i try to run my first rap project but my server stops immediatelly after start the log ..

osgi> 13.09.2007 08:57:17 org.mortbay.http.HttpServer doStart
INFO: Version Jetty/5.1.x
13.09.2007 08:57:17 org.mortbay.util.Container start
INFO: Started org.mortbay.jetty.servlet.ServletHandler@1e845c2
13.09.2007 08:57:17 org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
13.09.2007 08:57:17 org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:9082
13.09.2007 08:57:17 org.mortbay.util.Container start
INFO: Started org.mortbay.http.HttpServer@2bb514
13.09.2007 08:57:17 org.mortbay.util.ThreadedServer$Acceptor run
INFO: Stopping Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=9082]
13.09.2007 08:57:17 org.mortbay.http.SocketListener stop
INFO: Stopped SocketListener on 0.0.0.0:9082
13.09.2007 08:57:17 org.mortbay.util.Container stop
INFO: Stopped org.mortbay.jetty.servlet.ServletHandler@1e845c2
13.09.2007 08:57:17 org.mortbay.util.Container stop
INFO: Stopped HttpContext[/,/]
13.09.2007 08:57:17 org.mortbay.util.Container stop
INFO: Stopped org.mortbay.http.HttpServer@2bb514

if i start with -consolelog i get this exception ..

java.lang.RuntimeException: No application id has been found.
	at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:229)
	at org.eclipse.equinox.internal.app.EclipseAppContainer.start(EclipseAppContainer.java:92)
	at org.eclipse.equinox.internal.app.Activator.addingService(Activator.java:129)
	at org.osgi.util.tracker.ServiceTracker$Tracked.trackAdding(ServiceTracker.java:1064)
	at org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTracker.java:1042)
	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:967)
	at org.eclipse.osgi.framework.internal.core.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:94)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:1224)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:141)
	at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEventPrivileged(Framework.java:1603)
	at org.eclipse.osgi.framework.internal.core.Framework.publishServiceEvent(Framework.java:1578)
	at org.eclipse.osgi.framework.internal.core.ServiceRegistrationImpl.<init>(ServiceRegistrationImpl.java:103)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.createServiceRegistration(BundleContextImpl.java:657)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:609)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:675)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:359)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	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:504)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

after debuging in the class Activator i find that the ServiceReference is instanceof ApplicationLauncher. so he tries to start a EclipseAppContainer what do i make wrong ?

thanks
claus

_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev
_______________________________________________
rap-dev mailing list
rap-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/rap-dev



Back to the top