Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Scout+Gemini JPA( )
Scout+Gemini JPA [message #1084916] Mon, 12 August 2013 08:01 Go to next message
Cesar Henriques is currently offline Cesar HenriquesFriend
Messages: 8
Registered: August 2013
Junior Member
Hi Guys, has anybody been playing with Gemini JPA and Scout?

I have been trying for a couple of days and can´t make it work. For some reason the GeminiJPA bundle doesn't start when running my scout-server-product. But If I run the scout-server-plugin as a OSGI Framework launch, gemini start and process my persistence unit.


Any idea?

Thank you!

Cesar./
Re: Scout+Gemini JPA [message #1086872 is a reply to message #1084916] Wed, 14 August 2013 21:23 Go to previous messageGo to next message
Cesar Henriques is currently offline Cesar HenriquesFriend
Messages: 8
Registered: August 2013
Junior Member
Hi Guys, I just have solved the issue.

The main problem seems to be related to the order on wich every bundle is started and (I don't know why) some bundles doesn't start automatically.

I have solved the problem adding the following parameters to the launch product

Program argument
-console -clean

VM ARgument
-Xms64m
-Xmx512m
-XX:MaxPermSize=256m
-Dosgi.console.enable.builtin=true
-Dosgi.noShutdown=true
-Declipse.ignoreApp=false
-DGEMINI_DEBUG

and adding a explicit bundle start order in the config.ini

### Eclipse Runtime Configuration File
osgi.noShutdown=true
eclipse.ignoreApp=false
eclipse.product=org.openlex.server.product
osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@start, org.eclipse.equinox.http.jetty@start, org.eclipse.equinox.http.registry@start, org.eclipse.core.runtime@start, javax.persistence@start, org.apache.derby@start, org.eclipse.persistence.core@start, org.eclipse.persistence.jpa@start, org.eclipse.gemini.jpa@start, org.eclipse.persistence.jpa.jpql@start, myPersistenceUnit@start, myPersistenceDAO@start,
osgi.bundles.defaultStartLevel=4

Regards
Re: Scout+Gemini JPA [message #1087147 is a reply to message #1086872] Thu, 15 August 2013 07:42 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Nice to hear this! Thanks for sharing.
Previous Topic:OpenShift Tomcat Configuration
Next Topic:no tree is shown for the outline
Goto Forum:
  


Current Time: Fri Apr 26 00:31:19 GMT 2024

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

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

Back to the top