Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » EclipseLink 1.1RC3 errors while testing rcp example
EclipseLink 1.1RC3 errors while testing rcp example [message #385761] Mon, 09 March 2009 22:15 Go to next message
Heiko Ahlig is currently offline Heiko AhligFriend
Messages: 62
Registered: July 2009
Member
After I run successfully the RCP - example from 1.02, I try to run the
same with EclipseLink 1.1RC3 and the example from this tag.

I take a new Eclipse 3.5M5 and drop the eclipselink-plugins into the
dropin-directory.
Than I import the examplefiles from:
http://dev.eclipse.org/viewcvs/index.cgi/tags/1.1.0RC3/examp les/?root=RT_Eclipselink

Now I try tu run the example-setup, but it stops with an error-message

I addition to this error, I see at the plugin
org.eclipse.persistence.example.jpa.rcp.comics that the class
Model.java cant import
org.eclipse.persistence.config.PersistenceUnitProperties
and at the manifest.mf I cant import the plugin
org.eclipse.persistence.core (which included the missing class) - Why?

Here is the error while running the setup-launch:


osgi> !SESSION 2009-03-09 22:51:45.837
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -diag
Command-line arguments: -dev
file:E:/eclipse_RC3/Workspace/.metadata/.plugins/org.eclipse .pde.core/ComicsExampleDBSetup/dev.properties
-os win32 -ws win32 -arch x86 -diag -consoleLog -console -clean

!ENTRY org.eclipse.persistence.example.jpa.comics.setup 4 0 2009-03-09
22:51:46.226
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.persistence.demo.jpa.comics.setup.CreateAndInitD atabase.start()
of bundle org.eclipse.persistence.example.jpa.comics.setup.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:823)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:779)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1092)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:550)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:219)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:329)
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/persistence/exceptions/PersistenceUnitLoadingExc eption
at
org.eclipse.persistence.demo.jpa.comics.setup.CreateAndInitD atabase.start(CreateAndInitDatabase.java:42)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:804)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:798)
... 10 more
Caused by: java.lang.ClassNotFoundException:
org.eclipse.persistence.exceptions.PersistenceUnitLoadingExc eption
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:485)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:401)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:389)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 14 more
Root exception:
java.lang.NoClassDefFoundError:
org/eclipse/persistence/exceptions/PersistenceUnitLoadingExc eption
at
org.eclipse.persistence.demo.jpa.comics.setup.CreateAndInitD atabase.start(CreateAndInitDatabase.java:42)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:804)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:798)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:779)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1092)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:550)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:219)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:329)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.persistence.exceptions.PersistenceUnitLoadingExc eption
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:485)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:401)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:389)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 14 more

!ENTRY org.eclipse.osgi 4 0 2009-03-09 22:51:46.232
!MESSAGE An unexpected runtime error has occurred.
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/persistence/exceptions/EntityManagerSetupExcepti on
at
org.eclipse.persistence.jpa.osgi.Activator.deregisterBundle( Activator.java:115)
at
org.eclipse.persistence.jpa.osgi.Activator.bundleChanged(Act ivator.java:46)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:219)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv entSynchronous(ListenerQueue.java:151)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBu ndleEventPrivileged(Framework.java:1374)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBu ndleEvent(Framework.java:1325)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:368)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1092)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:550)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:219)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:329)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.persistence.exceptions.EntityManagerSetupExcepti on
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:485)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:401)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:389)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 16 more

!ENTRY org.eclipse.persistence.jpa 4 0 2009-03-09 22:51:46.232
!MESSAGE
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/persistence/exceptions/EntityManagerSetupExcepti on
at
org.eclipse.persistence.jpa.osgi.Activator.deregisterBundle( Activator.java:115)
at
org.eclipse.persistence.jpa.osgi.Activator.bundleChanged(Act ivator.java:46)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.d ispatchEvent(BundleContextImpl.java:916)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:219)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEv entSynchronous(ListenerQueue.java:151)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBu ndleEventPrivileged(Framework.java:1374)
at
org.eclipse.osgi.framework.internal.core.Framework.publishBu ndleEvent(Framework.java:1325)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:368)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1092)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:550)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:219)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:329)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.persistence.exceptions.EntityManagerSetupExcepti on
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:485)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:401)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:389)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 16 more

!ENTRY org.eclipse.persistence.jpa 4 0 2009-03-09 22:51:46.233
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: Exception in
org.eclipse.persistence.jpa.osgi.Activator.start() of bundle
org.eclipse.persistence.jpa.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:823)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:779)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1092)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:550)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:219)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:329)
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/persistence/exceptions/PersistenceUnitLoadingExc eption
at
org.eclipse.persistence.jpa.osgi.Activator.registerProviderS ervice(Activator.java:136)
at org.eclipse.persistence.jpa.osgi.Activator.start(Activator.j ava:72)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:804)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:798)
... 10 more
Caused by: java.lang.ClassNotFoundException:
org.eclipse.persistence.exceptions.PersistenceUnitLoadingExc eption
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:485)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:401)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:389)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 15 more
Root exception:
java.lang.NoClassDefFoundError:
org/eclipse/persistence/exceptions/PersistenceUnitLoadingExc eption
at
org.eclipse.persistence.jpa.osgi.Activator.registerProviderS ervice(Activator.java:136)
at org.eclipse.persistence.jpa.osgi.Activator.start(Activator.j ava:72)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:804)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:798)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:779)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:370)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1092)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:550)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:219)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:329)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.persistence.exceptions.PersistenceUnitLoadingExc eption
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:485)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:401)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:389)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 15 more
Persistence bundle starting...
Persistence bundle started.

!ENTRY org.eclipse.osgi 4 0 2009-03-09 22:51:46.237
!MESSAGE Bundle org.eclipse.persistence.example.jpa.comics.setup_1.0.0
[1] is not active.

!ENTRY org.eclipse.osgi 4 0 2009-03-09 22:51:46.237
!MESSAGE Bundle org.eclipse.persistence.jpa_1.1.0 [4] is not active.
Persistence bundle stopping...
Persistence bundle stopped.



Where is my error - or is this version nothing for stupid users like me? ;)

Regards
Heiko
Re: EclipseLink 1.1RC3 errors while testing rcp example [message #385989 is a reply to message #385761] Tue, 10 March 2009 20:37 Go to previous messageGo to next message
Shaun Smith is currently offline Shaun SmithFriend
Messages: 197
Registered: July 2009
Senior Member
Hi Heiko,

I'm trying to reproduce what you have but am having trouble with
Eclipse 3.5M5 seeing the EclipseLink 1.1 RC3 in my dropins folder. I just
wanted to let you know I'm looking at this but don't have any advice yet.
I'll follow up as soon as I do.

Shaun
Re: EclipseLink 1.1RC3 errors while testing rcp example [message #385990 is a reply to message #385989] Wed, 11 March 2009 20:54 Go to previous messageGo to next message
Shaun Smith is currently offline Shaun SmithFriend
Messages: 197
Registered: July 2009
Senior Member
Hi Heiko,

I got the RC3 example running on Eclipse 3.5M5.

We're putting out EclipseLink 1.1 today and Eclipse 3.5 M6 should be out
soon. Maybe try again with 1.1?

--Shaun
Re: EclipseLink 1.1RC3 errors while testing rcp example [message #385993 is a reply to message #385989] Wed, 11 March 2009 21:39 Go to previous messageGo to next message
Heiko Ahlig is currently offline Heiko AhligFriend
Messages: 62
Registered: July 2009
Member
Hi Shaun,
thats more than enough.

Today I try it again with the new release of eclipselink (1.1) and the
latest version of eclipse sdk. (Integration Build: I20090311-0800)

But same procedure how the last days. :(
So I tke an old version from 1.0.0 and the new version of 1.1
And I found a really big diffrence:
When I loop throw the depancies of the plugins:
with version 1.0.2 :
org.eclipse.persistence.example.jpa.rcp.comics ---> depends on -->
org.eclipse.persistence.jpa --- depends on (an reexport) -->
org.eclipse.persistence.core
and this exports his packages from org.eclipse.persistence till xsd

Same procedure in eclipse with version 1.1 :
org.eclipse.persistence.example.jpa.rcp.comics ---> depends on -->
org.eclipse.persistence.jpa --- depends on (an reexport) -->
org.eclipse.persistence.core
BUT THERE (when you show with the Plugin-ManifestEditor) IS NO
EXPORTED package. :(

What i dont undersandt , if I go direct into the jar files and look to
the MANIFEST.MF the are the exportet packages. :(

Can be this an error?

Heiko

Am 10.03.2009 21:37, schrieb Shaun Smith:
> Hi Heiko,
>
> I'm trying to reproduce what you have but am having trouble with Eclipse
> 3.5M5 seeing the EclipseLink 1.1 RC3 in my dropins folder. I just wanted
> to let you know I'm looking at this but don't have any advice yet. I'll
> follow up as soon as I do.
>
> Shaun
>
Re: EclipseLink 1.1RC3 errors while testing rcp example [message #385994 is a reply to message #385990] Wed, 11 March 2009 21:51 Go to previous messageGo to next message
Heiko Ahlig is currently offline Heiko AhligFriend
Messages: 62
Registered: July 2009
Member
Damned,
while I try to search the error and write my last post (with my crippled
english skills ), I dont see your post. :(
But at me I still have this error.
With which trunk of the example from the svn repository it work at yours?

Heiko

Am 11.03.2009 21:54, schrieb Shaun Smith:
> Hi Heiko,
>
> I got the RC3 example running on Eclipse 3.5M5.
> We're putting out EclipseLink 1.1 today and Eclipse 3.5 M6 should be out
> soon. Maybe try again with 1.1?
>
> --Shaun
>
Re: EclipseLink 1.1RC3 errors while testing rcp example [message #386006 is a reply to message #385993] Thu, 12 March 2009 17:35 Go to previous message
Shaun Smith is currently offline Shaun SmithFriend
Messages: 197
Registered: July 2009
Senior Member
Heiko Ahlig wrote:

> Today I try it again with the new release of eclipselink (1.1) and the
> latest version of eclipse sdk. (Integration Build: I20090311-0800)

Yes, give it a try.

> Same procedure in eclipse with version 1.1 :
...
> What i dont undersandt , if I go direct into the jar files and look to
> the MANIFEST.MF the are the exportet packages. :(

> Can be this an error?

Well, I'm having no trouble so I don't think there's a problem with
manifiests.

Shaun

> Heiko

> Am 10.03.2009 21:37, schrieb Shaun Smith:
>> Hi Heiko,
>>
>> I'm trying to reproduce what you have but am having trouble with Eclipse
>> 3.5M5 seeing the EclipseLink 1.1 RC3 in my dropins folder. I just wanted
>> to let you know I'm looking at this but don't have any advice yet. I'll
>> follow up as soon as I do.
>>
>> Shaun
>>
Previous Topic:Possible Bug in Column Generation
Next Topic:EclipseLink workbench and ManyToOne
Goto Forum:
  


Current Time: Mon Dec 22 04:31:08 GMT 2014

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

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