Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » [Solved]Problem with: example(Gemini JPA Sample Configuration Generator waiting for config service...)
[Solved]Problem with: example [message #1065914] Fri, 28 June 2013 06:00 Go to next message
Ludwig Moser is currently offline Ludwig Moser
Messages: 328
Registered: July 2009
Senior Member
Hello, i tried the example org.eclipse.gemini.jpa.sample.basic_1.2.0.M1 and then tried org.eclipse.gemini.jpa.sample.configadmin.gen_1.2.0.M1
(i only repaced the basic activator with the configadmin activator, and added org.osgi.service.cm to included packages)

when i then launch the app i get the following log:

Gemini JPA Sample Configuration Generator waiting for config service...
Gemini JPA Sample Configuration Generator waiting for config service...
Gemini JPA Sample Configuration Generator waiting for config service...
[...]


i set start levels for
org.eclipse.gemini.dbaccess.derby: startlevel 2 : autostart true
org.eclipse.gemini.jpa: startlevel 3 : autostart true
org.eclipse.gemini.jpa.sample.basic: startlevel 4 : autostart true

anything i miss?

[Updated on: Tue, 02 July 2013 02:59]

Report message to a moderator

Re: Problem with: example [message #1065956 is a reply to message #1065914] Fri, 28 June 2013 09:24 Go to previous messageGo to next message
Mike Keith is currently offline Mike Keith
Messages: 211
Registered: July 2009
Senior Member
Hi Ludwig,

It is waiting for the config service to be registered. Did you also start the framework config admin impl bundle? See the instructions in the GettingStarted.txt file in the distribution to see which additional bundles to start.

-Mike
Re: Problem with: example [message #1065973 is a reply to message #1065956] Fri, 28 June 2013 10:38 Go to previous messageGo to next message
Ludwig Moser is currently offline Ludwig Moser
Messages: 328
Registered: July 2009
Senior Member
thanks for your help mike.
by following your hints i got the sample working.
then tried to get the sample working in my 'big' application.

it locks my application - need to investigate when or why.

UPDATE: it locks at this position:
final Display display = PlatformUI.createDisplay();

this makes no sense at all, gemini does not touch anything there and the rest of my code is untouched.

[Updated on: Fri, 28 June 2013 11:43]

Report message to a moderator

Re: Problem with: example [message #1065998 is a reply to message #1065914] Fri, 28 June 2013 13:50 Go to previous message
Ludwig Moser is currently offline Ludwig Moser
Messages: 328
Registered: July 2009
Senior Member
forget it, org.eclipse.equinox.console blocked :-/
Previous Topic:Gemini JPA 1.1 and EclipseLink 2.5
Next Topic:[Solved!] ConfigAdmin Example error
Goto Forum:
  


Current Time: Wed Aug 20 03:04:40 EDT 2014

Powered by FUDForum. Page generated in 0.01811 seconds