Home » Modeling » EMF » Teneo 1.1.1 java.lang.SecurityException
|
Re: Teneo 1.1.1 java.lang.SecurityException [message #488930 is a reply to message #488893] |
Wed, 30 September 2009 18:13 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Karel,
This is solved in 1.1.1RC4b, however I was not allowed to publish this build anymore as part of the galileo SR1 release.
So SR1 contains the 1.1.1RC4 build.... (not an optimal situation at all :-(.
I will be doing a new build called 1.1.2 which will also contain this fix. So in the meantime the only way around this
issue is to install 1.1.1RC4b build. It is available here:
http://www.eclipse.org/modeling/emf/downloads/?project=teneo
gr. Martin
Karel Smutny wrote:
> Hello,
>
> I have just tried to run the Library tutorial with Teneo EMF-Hibernate
> 1.1.1 and failed in the first step. When I run the application, the
> following error message appears:
>
> Exception in thread "main" 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:775)
> at java.lang.ClassLoader.preDefineClass(ClassLoader.java:487)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoade r.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268 )
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
> at teneoTest.TeneoTest.main(TeneoTest.java:16)
>
> I use Eclipse Galileo 3.5, EMF 2.5, Teneo 1.1.1 (20090915...), all
> installed from Galileo update site.
>
> I don't know much about signing classes and .jar packages. But is there
> anything I can do about this?
>
> Thanks for any advice.
> Karel
--
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 1.1.1 java.lang.SecurityException [message #505978 is a reply to message #505975] |
Tue, 05 January 2010 12:14 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Glenn,
Sorry to see that you have these problems...
This issue was hitting us in the 1.1.1 stream. Can you try 1.1.2? It can be downloaded here:
http://www.eclipse.org/modeling/emf/downloads/?project=teneo
Are you running in a web app (like jetty)? Other jetty users have reported issues with this.
gr. Martin
Glenn Silverman wrote:
> I've tried a number of the suggested solutions, including using
> different versions of teneo-hibernate, but cannot get the Library
> tutorial to run from the EMFT Teneo Developer Guide Online
> Docs/Hibernate. I keep getting the following error:
>
> 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
>
> Here's my plugin configuration, if that helps to debug:
>
> required plugins:
> org.eclipse.core.runtime
> org.eclipse.emf.ecore
> org.eclipse.emf.teneo.xmi(2.5.0)
> org.eclipse.emf.teneo.hibernate(1.1.1)
>
> In my classpath I have hibernate-core.3.3.2.GA.jar
> and mysql-connector-java-5.1.6.jar
>
> I'm using Eclipse 3.5.
>
> The tutorial environment setup says to use
> org.eclipse.emf.teneo.hibernate(0.8.0), and Hibernate_Libraries plugins,
> but I can't locate those anywhere.
>
> To be frank, I've tried to use earlier versions of Teneo in the past and
> always ran into problems that were not solvable at the time. I thought
> I'd give the latest version a try and, guess what...still problems. What
> gives?
>
>
>
--
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 1.1.1 java.lang.SecurityException [message #506054 is a reply to message #506051] |
Tue, 05 January 2010 21:46 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Glenn,
Thanks for posting, remains a bit odd but good to know and to have on record.
I most of time pass in the properties explicitly to the datastore (incl. the url, username, password etc.) and this
works also.
gr. Martin
Glenn Silverman wrote:
> Martin,
>
> For whatever reason, this works:
>
> hibernate.connection.driver_class=com.mysql.jdbc.Driver
> hibernate.connection.url= jdbc:mysql://localhost:3306/library?user=glenn&password= enter
>
> hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
>
> but putting hibernate.connection.username and password in
> hibernate.properties fails.
>
> (It might look like there is a space between password= and enter, but,
> no, that seems to be a problem with the wysiwyg editor.
>
> Glenn
>
--
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 1.1.1 java.lang.SecurityException [message #529389 is a reply to message #529335] |
Sat, 24 April 2010 12:36 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Alexey,
The best way of installing Teneo is through the update site and update manager. Directly changing the plugins directory
can confuse Eclipse (did you also clean up the features folder). Since a few months Teneo has a new update site and a
new documentation location:
http://wiki.eclipse.org/Teneo/Hibernate
http://wiki.eclipse.org/Teneo/Hibernate/Download_and_Install
There are also much more recent builds than 1.2.0M4.
gr. Martin
Alexey wrote:
> Martin,
>
> How to propertly install content from emf-teneo-SDK-1.2.0M4.zip ?
>
> I downloaded emf-teneo-SDK-1.2.0M4.zip and unzip it into workbench,
> then removed (copied out) from pluging folder all teneo 1.1.1.
> Now, IDE can see all new teneo 1.1.2 jars, but the
> org.eclipse.emf.teneo.hibernate_1.1.2.v200909151729 (folder) is not
> visible in plugin editor, in Dependences tab...
>
> So how you do intall of emf-teneo-SDK-1.2.0M4.zip content into
> workbench? I try to fight that infamous
> "org.eclipse.emf.teneo.hibernate.HbMapperException"', teneo SDK plagin
> still contains 1.1.1 version.
>
> Thanks
>
> Alexey
--
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 1.1.1 java.lang.SecurityException [message #638405 is a reply to message #638334] |
Thu, 11 November 2010 08:16 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi,
Not the nicest problem to be working on for you I am sure... Afaics the 1.1.2 version of Teneo has backward dependency
definitions on Eclipse 3.5/EMF 2.5, so I wonder what the conflicting dependencies are. Can you give some more information?
gr. Martin
On 11/10/2010 10:23 PM, Joao Paulo Hespanha wrote:
> Hi, folks! :)
> It seams this is a recurring problem. I want to use Teneo with
> Hibernate, in a subset of a model which also includes spatial data (and
> so, it includes also Hibernate Spatial libraries).
>
> I have Eclipse Galileo (3.5.2) with EMF v2.5.0, and so the solution
> would be to install Teneo v.1.1.2. However, the update site you mention
> does not work for me. Eclipse says that I have conflicting dependencies
> with the EPP package, which includes Teneo v.1.1.1 and so I can not
> install the new version.
>
> Is there any other way to replace the install that I have, or to do a
> separate install (not connected to the update site and its process)?
>
> Thks in advance for any help you may provide! :d
--
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 1.1.1 java.lang.SecurityException [message #638968 is a reply to message #638941] |
Sun, 14 November 2010 04:54 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Joao Paulo,
The only thing I can think of is that the epp package has maximum version numbers defined for the dependency on teneo.
I am afraid that I can't really help you on this, the only thing I can think of is to remove epp...
gr. Martin
On 11/13/2010 05:05 PM, Joao Paulo Hespanha wrote:
> Hi Martin!
>
> Thanks for you quick answer to my post.
> The following lines of text were copied from the error details generated
> by the Install procedure in Eclipse. The question is that, apparently, I
> cannot remove v1.1.1 sources without reinstalling the complete EPP
> package, that is, the core of EMF!
>
> Cannot complete the install because of a conflicting dependency.
> Software being installed: EMF Teneo Hibernate SDK 1.1.2.v201011050935
> (org.eclipse.emf.teneo.hibernate.sdk.feature.group 1.1.2.v201011050935)
> Software currently installed: Eclipse Modeling Tools 1.2.2.20100216-1730
> (epp.package.modeling 1.2.2.20100216-1730)
> Only one of the following can be installed at once: EMF Teneo Hibernate
> Mapper Source 1.1.2.v201011050935
> (org.eclipse.emf.teneo.hibernate.mapper.source 1.1.2.v201011050935)
> EMF Teneo Hibernate Mapper Source 1.1.1.v200909151729
> (org.eclipse.emf.teneo.hibernate.mapper.source 1.1.1.v200909151729)
> Cannot satisfy dependency:
> From: Eclipse Modeling Tools 1.2.2.20100216-1730 (epp.package.modeling
> 1.2.2.20100216-1730)
> To: org.eclipse.epp.package.modeling.feature.feature.group
> [1.2.2.20100216-1730]
> Cannot satisfy dependency:
> From: EMF Teneo Hibernate SDK 1.1.2.v201011050935
> (org.eclipse.emf.teneo.hibernate.sdk.feature.group 1.1.2.v201011050935)
> To: org.eclipse.emf.teneo.hibernate.source.feature.group
> [1.1.2.v201011050935]
> Cannot satisfy dependency:
> From: Source for EMF Teneo Hibernate Runtime 1.1.2.v201011050935
> (org.eclipse.emf.teneo.hibernate.source.feature.group 1.1.2.v201011050935)
> To: org.eclipse.emf.teneo.hibernate.mapper.source [1.1.2.v201011050935]
> Cannot satisfy dependency:
> From: EMF Teneo Hibernate SDK
> 1.1.1.v200909151729-42188FAFLgfKYI_KdreDKXR_SEFC
> (org.eclipse.emf.teneo.sdk.feature.group
> 1.1.1.v200909151729-42188FAFLgfKYI_KdreDKXR_SEFC)
> To: org.eclipse.emf.teneo.source.feature.group
> [1.1.1.v200909151729-7862DZRDEBEBKlKz-SB]
> Cannot satisfy dependency:
> From: EMF Teneo Persistence Source
> 1.1.1.v200909151729-7862DZRDEBEBKlKz-SB
> (org.eclipse.emf.teneo.source.feature.group
> 1.1.1.v200909151729-7862DZRDEBEBKlKz-SB)
> To: org.eclipse.emf.teneo.hibernate.mapper.source [1.1.1.v200909151729]
> Cannot satisfy dependency:
> From: EPP Modeling Feature 1.2.2.20100216-1730
> (org.eclipse.epp.package.modeling.feature.feature.group
> 1.2.2.20100216-1730)
> To: org.eclipse.emf.teneo.sdk.feature.group 0.0.0
>
--
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
|
|
|
Goto Forum:
Current Time: Sat Sep 21 20:38:46 GMT 2024
Powered by FUDForum. Page generated in 0.06258 seconds
|