Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gemini » Failed to create Proxy for EMFBuilder Service(Failed to create Proxy for EMFBuilder Service)
Failed to create Proxy for EMFBuilder Service [message #1699872] Sun, 28 June 2015 08:22 Go to next message
Ma Sv is currently offline Ma SvFriend
Messages: 1
Registered: June 2015
Junior Member
Hi,

Am installing Eclipse Gemini & Eclipselink as JPA provider in Felix container.
Both bundles are installed fine. After having my persistence bundle that has entity classes & persistence.xml, am getting below error.
Though the persistence bundle also installed with Active status & EntityManagerFactory got initialized, still getting the below error.
Need someone's help on this as soon as possible.

Thanks
Mani

*** FATAL ERROR *** ServicesUtil - Failed to create proxy for EMFBuilder service
:
28.06.2015 09:17:51.013 *ERROR* [OsgiInstallerImpl] ERROR: EventDispatcher: Erro
r during dispatch. (java.lang.RuntimeException: ServicesUtil - Failed to create
proxy for EMFBuilder service: )
java.lang.RuntimeException: ServicesUtil - Failed to create proxy for EMFBuilder
service:
at org.eclipse.gemini.jpa.GeminiUtil.fatalError(GeminiUtil.java:133)
at org.eclipse.gemini.jpa.ServicesUtil.createEMFBuilderProxy(ServicesUti
l.java:483)
at org.eclipse.gemini.jpa.ServicesUtil.registerEMFBuilderService(Service
sUtil.java:286)
at org.eclipse.gemini.jpa.ServicesUtil.registerEMFServices(ServicesUtil.
java:157)
at org.eclipse.gemini.jpa.GeminiManager.registerPersistenceUnits(GeminiM
anager.java:262)
at org.eclipse.gemini.jpa.PersistenceBundleExtender.registerPersistenceU
nitsInBundle(PersistenceBundleExtender.java:292)
at org.eclipse.gemini.jpa.PersistenceBundleExtender.bundleChanged(Persis
tenceBundleExtender.java:390)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerC
allback(EventDispatcher.java:869)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(
EventDispatcher.java:790)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(Event
Dispatcher.java:515)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4409)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2142)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2070)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963)
at org.apache.sling.installer.core.impl.tasks.BundleStartTask.execute(Bu
ndleStartTask.java:93)
at org.apache.sling.installer.core.impl.OsgiInstallerImpl.executeTasks(O
sgiInstallerImpl.java:733)
at org.apache.sling.installer.core.impl.OsgiInstallerImpl.run(OsgiInstal
lerImpl.java:247)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.IllegalArgumentException: interface org.osgi.service.jpa.En
tityManagerFactoryBuilder is not visible from class loader
at java.lang.reflect.Proxy.getProxyClass0(Proxy.java:487)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:722)
at org.eclipse.gemini.jpa.ServicesUtil.createEMFBuilderProxy(ServicesUti
l.java:480)
... 17 more
Re: Failed to create Proxy for EMFBuilder Service [message #1700063 is a reply to message #1699872] Mon, 29 June 2015 22:07 Go to previous messageGo to next message
Michael Keith is currently offline Michael KeithFriend
Messages: 243
Registered: July 2009
Senior Member
Try turning on debug and posting the output. See here for instructions.

-Mike
Re: Failed to create Proxy for EMFBuilder Service [message #1700065 is a reply to message #1700063] Mon, 29 June 2015 22:15 Go to previous message
Michael Keith is currently offline Michael KeithFriend
Messages: 243
Registered: July 2009
Senior Member
Oh, and also post your persistence.xml file.

-Mike
Previous Topic:Gemini Web 2.2.7 RELEASE is now available
Next Topic:Gemini Web 3.0.0 RC1 is now available
Goto Forum:
  


Current Time: Tue Sep 17 01:22:15 GMT 2024

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

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

Back to the top