Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Teneo] teneo jar signing problem?
[Teneo] teneo jar signing problem? [message #482669] Thu, 27 August 2009 13:51 Go to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Hi,

I am using the latest teneo 1.1.1RC2 on Ubuntu 9.0.4 64 bit with latest
OpenJDK.

It loads the Update site from a local archive without error.

One thing I was curious about is that the dependencies state Eclipse gtk
3.5.1RC1 but I am still on 3.5 release and the build release notes do
not mention what changed to make it dependent on 3.5.1RC1, which I am
thinking is unrelated to this issue:

2009-08-2713:36:50.585 GMT+0000 1237 [main] ERROR org.mortbay.log -
Failed startup of context
org.mortbay.jetty.webapp.WebAppContext@1232784a{/secm,/home/david/workspace/GenSec2/./web}
java.lang.SecurityException: class
"org.eclipse.emf.teneo.hibernate.HbMapperException"'s signer information
does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:776)

Which looks like a gclib issue?

thx.

David
Re: [Teneo] teneo jar signing problem? [message #482679 is a reply to message #482669] Thu, 27 August 2009 14:01 Go to previous messageGo to next message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi David,
Can you enter a bugzilla for this one with the complete stack trace?

The 1.1.1 release will be at the same time as Eclipse 3.5.1, therefore it is build against that release. But in reality
it will also work fine with 3.5.0.

gr. Martin

David Wynter wrote:
> Hi,
>
> I am using the latest teneo 1.1.1RC2 on Ubuntu 9.0.4 64 bit with latest
> OpenJDK.
>
> It loads the Update site from a local archive without error.
>
> One thing I was curious about is that the dependencies state Eclipse gtk
> 3.5.1RC1 but I am still on 3.5 release and the build release notes do
> not mention what changed to make it dependent on 3.5.1RC1, which I am
> thinking is unrelated to this issue:
>
> 2009-08-2713:36:50.585 GMT+0000 1237 [main] ERROR org.mortbay.log -
> Failed startup of context
> org.mortbay.jetty.webapp.WebAppContext@1232784a{/secm,/home/david/workspace/GenSec2/./web}
>
> java.lang.SecurityException: class
> "org.eclipse.emf.teneo.hibernate.HbMapperException"'s signer information
> does not match signer information of other classes in the same package
> at java.lang.ClassLoader.checkCerts(ClassLoader.java:776)
>
> Which looks like a gclib issue?
>
> thx.
>
> David


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Re: [Teneo] teneo jar signing problem? [message #482836 is a reply to message #482679] Fri, 28 August 2009 09:50 Go to previous messageGo to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Martin,

I have now uninstalled Teneo and reinstalled the previous version, 3
times, back to the 30th July 2009 1.1.1 version now. I consistently get
the class signing exception for each version. Which makes me think that
maybe it is my particular use of the Teneo plugin that is causing the
problem. I also note that in the plugins folder, despite upgrading it
leaves all the original teneo jars from the Galileo release in place,
surely this leaves the potential for one of these getting loaded instead
of the latest version? However removing these made no difference to the
error, it still occurred.

I have 4 plugins, all use Teneo into different databases and one bundle
as follows:

Application plugin -+->Component1--+
| | |
| |->Component2--|
| | |
| |->Component3--+
V |
Hibernate bundle<-+

All plugins reference the same Hibernate bundle. Only the main
Application plugin reexports the teneo hibernate plugin.

Fortunately returning to Ganymede allows me to work, hoping to get to
use 3.5 before 3.6 comes out ;)

David

Martin Taal wrote:
> Hi David,
> Can you enter a bugzilla for this one with the complete stack trace?
>
> The 1.1.1 release will be at the same time as Eclipse 3.5.1, therefore
> it is build against that release. But in reality it will also work fine
> with 3.5.0.
>
> gr. Martin
>
> David Wynter wrote:
>> Hi,
>>
>> I am using the latest teneo 1.1.1RC2 on Ubuntu 9.0.4 64 bit with
>> latest OpenJDK.
>>
>> It loads the Update site from a local archive without error.
>>
>> One thing I was curious about is that the dependencies state Eclipse
>> gtk 3.5.1RC1 but I am still on 3.5 release and the build release notes
>> do not mention what changed to make it dependent on 3.5.1RC1, which I
>> am thinking is unrelated to this issue:
>>
>> 2009-08-2713:36:50.585 GMT+0000 1237 [main] ERROR org.mortbay.log -
>> Failed startup of context
>> org.mortbay.jetty.webapp.WebAppContext@1232784a{/secm,/home/david/workspace/GenSec2/./web}
>>
>> java.lang.SecurityException: class
>> "org.eclipse.emf.teneo.hibernate.HbMapperException"'s signer
>> information does not match signer information of other classes in the
>> same package
>> at java.lang.ClassLoader.checkCerts(ClassLoader.java:776)
>>
>> Which looks like a gclib issue?
>>
>> thx.
>>
>> David
>
>
Re: [Teneo] teneo jar signing problem? [message #482863 is a reply to message #482836] Fri, 28 August 2009 11:11 Go to previous messageGo to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Martin,

Looks like I have been trapped again, by another issue in 1.0.4 30th
June 2009 that is solved in 1.1.1, which of course I cannot use due to
the issues below.

The issue I have mentioned in the post to this newsgroup on the 4th July
2009

2009-08-2810:48:12.739 GMT+0000 47717 [main] ERROR org.mortbay.log -
Error starting handlers
java.lang.AbstractMethodError
at
org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:440)
at
org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:435)
at
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:330)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configur ation.java:1341)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.buildSess ionFactory(HbSessionDataStore.java:171)
at
org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:83)
at
org.eclipse.emf.teneo.hibernate.HbBaseSessionDataStore.getSe ssionFactory(HbBaseSessionDataStore.java:57)
at
co.uk.roamware.secmsecurity.manager.HibernateUtil.init(Hiber nateUtil.java:98)

Thx.

David



David Wynter wrote:
> Martin,
>
> I have now uninstalled Teneo and reinstalled the previous version, 3
> times, back to the 30th July 2009 1.1.1 version now. I consistently get
> the class signing exception for each version. Which makes me think that
> maybe it is my particular use of the Teneo plugin that is causing the
> problem. I also note that in the plugins folder, despite upgrading it
> leaves all the original teneo jars from the Galileo release in place,
> surely this leaves the potential for one of these getting loaded instead
> of the latest version? However removing these made no difference to the
> error, it still occurred.
>
> I have 4 plugins, all use Teneo into different databases and one bundle
> as follows:
>
> Application plugin -+->Component1--+
> | | |
> | |->Component2--|
> | | |
> | |->Component3--+
> V |
> Hibernate bundle<-+
>
> All plugins reference the same Hibernate bundle. Only the main
> Application plugin reexports the teneo hibernate plugin.
>
> Fortunately returning to Ganymede allows me to work, hoping to get to
> use 3.5 before 3.6 comes out ;)
>
> David
>
> Martin Taal wrote:
>> Hi David,
>> Can you enter a bugzilla for this one with the complete stack trace?
>>
>> The 1.1.1 release will be at the same time as Eclipse 3.5.1, therefore
>> it is build against that release. But in reality it will also work
>> fine with 3.5.0.
>>
>> gr. Martin
>>
>> David Wynter wrote:
>>> Hi,
>>>
>>> I am using the latest teneo 1.1.1RC2 on Ubuntu 9.0.4 64 bit with
>>> latest OpenJDK.
>>>
>>> It loads the Update site from a local archive without error.
>>>
>>> One thing I was curious about is that the dependencies state Eclipse
>>> gtk 3.5.1RC1 but I am still on 3.5 release and the build release
>>> notes do not mention what changed to make it dependent on 3.5.1RC1,
>>> which I am thinking is unrelated to this issue:
>>>
>>> 2009-08-2713:36:50.585 GMT+0000 1237 [main] ERROR org.mortbay.log -
>>> Failed startup of context
>>> org.mortbay.jetty.webapp.WebAppContext@1232784a{/secm,/home/david/workspace/GenSec2/./web}
>>>
>>> java.lang.SecurityException: class
>>> "org.eclipse.emf.teneo.hibernate.HbMapperException"'s signer
>>> information does not match signer information of other classes in the
>>> same package
>>> at java.lang.ClassLoader.checkCerts(ClassLoader.java:776)
>>>
>>> Which looks like a gclib issue?
>>>
>>> thx.
>>>
>>> David
>>
>>
Re: [Teneo] teneo jar signing problem? [message #482865 is a reply to message #482863] Fri, 28 August 2009 11:22 Go to previous messageGo to next message
David Wynter is currently offline David WynterFriend
Messages: 4624
Registered: July 2009
Senior Member
Hi,

Damn hibernate3.jar looks a lot like hibernate3.jar... It still had the
3.3 version I tried to use with the Galileo Teneo rather than the 3.2.6
version used with Ganymede version of Teneo.

David



David Wynter wrote:
> Martin,
>
> Looks like I have been trapped again, by another issue in 1.0.4 30th
> June 2009 that is solved in 1.1.1, which of course I cannot use due to
> the issues below.
>
> The issue I have mentioned in the post to this newsgroup on the 4th July
> 2009
>
> 2009-08-2810:48:12.739 GMT+0000 47717 [main] ERROR org.mortbay.log -
> Error starting handlers
> java.lang.AbstractMethodError
> at
> org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:440)
>
> at
> org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:435)
>
> at
> org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:330)
> at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configur ation.java:1341)
>
> at
> org.eclipse.emf.teneo.hibernate.HbSessionDataStore.buildSess ionFactory(HbSessionDataStore.java:171)
>
> at
> org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:83)
>
> at
> org.eclipse.emf.teneo.hibernate.HbBaseSessionDataStore.getSe ssionFactory(HbBaseSessionDataStore.java:57)
>
> at
> co.uk.roamware.secmsecurity.manager.HibernateUtil.init(Hiber nateUtil.java:98)
>
>
> Thx.
>
> David
>
>
>
> David Wynter wrote:
>> Martin,
>>
>> I have now uninstalled Teneo and reinstalled the previous version, 3
>> times, back to the 30th July 2009 1.1.1 version now. I consistently
>> get the class signing exception for each version. Which makes me think
>> that maybe it is my particular use of the Teneo plugin that is causing
>> the problem. I also note that in the plugins folder, despite upgrading
>> it leaves all the original teneo jars from the Galileo release in
>> place, surely this leaves the potential for one of these getting
>> loaded instead of the latest version? However removing these made no
>> difference to the error, it still occurred.
>>
>> I have 4 plugins, all use Teneo into different databases and one
>> bundle as follows:
>>
>> Application plugin -+->Component1--+
>> | | |
>> | |->Component2--|
>> | | |
>> | |->Component3--+
>> V |
>> Hibernate bundle<-+
>>
>> All plugins reference the same Hibernate bundle. Only the main
>> Application plugin reexports the teneo hibernate plugin.
>>
>> Fortunately returning to Ganymede allows me to work, hoping to get to
>> use 3.5 before 3.6 comes out ;)
>>
>> David
>>
>> Martin Taal wrote:
>>> Hi David,
>>> Can you enter a bugzilla for this one with the complete stack trace?
>>>
>>> The 1.1.1 release will be at the same time as Eclipse 3.5.1,
>>> therefore it is build against that release. But in reality it will
>>> also work fine with 3.5.0.
>>>
>>> gr. Martin
>>>
>>> David Wynter wrote:
>>>> Hi,
>>>>
>>>> I am using the latest teneo 1.1.1RC2 on Ubuntu 9.0.4 64 bit with
>>>> latest OpenJDK.
>>>>
>>>> It loads the Update site from a local archive without error.
>>>>
>>>> One thing I was curious about is that the dependencies state Eclipse
>>>> gtk 3.5.1RC1 but I am still on 3.5 release and the build release
>>>> notes do not mention what changed to make it dependent on 3.5.1RC1,
>>>> which I am thinking is unrelated to this issue:
>>>>
>>>> 2009-08-2713:36:50.585 GMT+0000 1237 [main] ERROR org.mortbay.log -
>>>> Failed startup of context
>>>> org.mortbay.jetty.webapp.WebAppContext@1232784a{/secm,/home/david/workspace/GenSec2/./web}
>>>>
>>>> java.lang.SecurityException: class
>>>> "org.eclipse.emf.teneo.hibernate.HbMapperException"'s signer
>>>> information does not match signer information of other classes in
>>>> the same package
>>>> at java.lang.ClassLoader.checkCerts(ClassLoader.java:776)
>>>>
>>>> Which looks like a gclib issue?
>>>>
>>>> thx.
>>>>
>>>> David
>>>
>>>
Re: [Teneo] teneo jar signing problem? [message #483062 is a reply to message #482865] Sun, 30 August 2009 14:36 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi David,
The class signing error occurs in Jetty, right?

There is one special jar file in the org.eclipse.emf.teneo.hibernate plugin: org.eclipse.emf.teneo.hibernate.extra.jar.
This jar is not signed because otherwise there would be issues with cglib. Maybe that's related....

For the rest I am a bit puzzled why this happens..

gr. Martin

David Wynter wrote:
> Hi,
>
> Damn hibernate3.jar looks a lot like hibernate3.jar... It still had the
> 3.3 version I tried to use with the Galileo Teneo rather than the 3.2.6
> version used with Ganymede version of Teneo.
>
> David
>
>
>
> David Wynter wrote:
>> Martin,
>>
>> Looks like I have been trapped again, by another issue in 1.0.4 30th
>> June 2009 that is solved in 1.1.1, which of course I cannot use due to
>> the issues below.
>>
>> The issue I have mentioned in the post to this newsgroup on the 4th
>> July 2009
>>
>> 2009-08-2810:48:12.739 GMT+0000 47717 [main] ERROR org.mortbay.log -
>> Error starting handlers
>> java.lang.AbstractMethodError
>> at
>> org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:440)
>>
>> at
>> org.hibernate.impl.SessionFactoryImpl.registerEntityNameReso lvers(SessionFactoryImpl.java:435)
>>
>> at
>> org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:330)
>> at
>> org.hibernate.cfg.Configuration.buildSessionFactory(Configur ation.java:1341)
>>
>> at
>> org.eclipse.emf.teneo.hibernate.HbSessionDataStore.buildSess ionFactory(HbSessionDataStore.java:171)
>>
>> at
>> org.eclipse.emf.teneo.hibernate.HbSessionDataStore.initializ e(HbSessionDataStore.java:83)
>>
>> at
>> org.eclipse.emf.teneo.hibernate.HbBaseSessionDataStore.getSe ssionFactory(HbBaseSessionDataStore.java:57)
>>
>> at
>> co.uk.roamware.secmsecurity.manager.HibernateUtil.init(Hiber nateUtil.java:98)
>>
>>
>> Thx.
>>
>> David
>>
>>
>>
>> David Wynter wrote:
>>> Martin,
>>>
>>> I have now uninstalled Teneo and reinstalled the previous version, 3
>>> times, back to the 30th July 2009 1.1.1 version now. I consistently
>>> get the class signing exception for each version. Which makes me
>>> think that maybe it is my particular use of the Teneo plugin that is
>>> causing the problem. I also note that in the plugins folder, despite
>>> upgrading it leaves all the original teneo jars from the Galileo
>>> release in place, surely this leaves the potential for one of these
>>> getting loaded instead of the latest version? However removing these
>>> made no difference to the error, it still occurred.
>>>
>>> I have 4 plugins, all use Teneo into different databases and one
>>> bundle as follows:
>>>
>>> Application plugin -+->Component1--+
>>> | | |
>>> | |->Component2--|
>>> | | |
>>> | |->Component3--+
>>> V |
>>> Hibernate bundle<-+
>>>
>>> All plugins reference the same Hibernate bundle. Only the main
>>> Application plugin reexports the teneo hibernate plugin.
>>>
>>> Fortunately returning to Ganymede allows me to work, hoping to get to
>>> use 3.5 before 3.6 comes out ;)
>>>
>>> David
>>>
>>> Martin Taal wrote:
>>>> Hi David,
>>>> Can you enter a bugzilla for this one with the complete stack trace?
>>>>
>>>> The 1.1.1 release will be at the same time as Eclipse 3.5.1,
>>>> therefore it is build against that release. But in reality it will
>>>> also work fine with 3.5.0.
>>>>
>>>> gr. Martin
>>>>
>>>> David Wynter wrote:
>>>>> Hi,
>>>>>
>>>>> I am using the latest teneo 1.1.1RC2 on Ubuntu 9.0.4 64 bit with
>>>>> latest OpenJDK.
>>>>>
>>>>> It loads the Update site from a local archive without error.
>>>>>
>>>>> One thing I was curious about is that the dependencies state
>>>>> Eclipse gtk 3.5.1RC1 but I am still on 3.5 release and the build
>>>>> release notes do not mention what changed to make it dependent on
>>>>> 3.5.1RC1, which I am thinking is unrelated to this issue:
>>>>>
>>>>> 2009-08-2713:36:50.585 GMT+0000 1237 [main] ERROR org.mortbay.log
>>>>> - Failed startup of context
>>>>> org.mortbay.jetty.webapp.WebAppContext@1232784a{/secm,/home/david/workspace/GenSec2/./web}
>>>>>
>>>>> java.lang.SecurityException: class
>>>>> "org.eclipse.emf.teneo.hibernate.HbMapperException"'s signer
>>>>> information does not match signer information of other classes in
>>>>> the same package
>>>>> at java.lang.ClassLoader.checkCerts(ClassLoader.java:776)
>>>>>
>>>>> Which looks like a gclib issue?
>>>>>
>>>>> thx.
>>>>>
>>>>> David
>>>>
>>>>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
Previous Topic:[Teneo] Splitting SINGLE_TABLE inheritance
Next Topic:Overriding createCreateChildCommand
Goto Forum:
  


Current Time: Thu Mar 28 23:54:27 GMT 2024

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

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

Back to the top