java.lang.SecurityException

Hi,
I am using the evaluation of DB-VA and the Flight.vpp example to generate the code. When I run the generated code, it threw the exception as following:

java.lang.SecurityException: class “org.hibernate.dialect.DialectFactory”'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(SecureClassLoader.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 org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:378)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:110)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1881)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1174)
at org.orm.util.ORMSessionFactory.(ORMSessionFactory.java:17)
at org.orm.util.ThreadBaseSessionController.(ThreadBaseSessionController.java:26)
at org.orm.PersistentManager.(PersistentManager.java:77)
at airport.FlightPersistentManager.(FlightPersistentManager.java:31)
at airport.FlightPersistentManager.instance(FlightPersistentManager.java:41)
at ormsamples.CreateFlightData.main(CreateFlightData.java:46)

Does anyone know what happens?
Thank you

Hi vincentye,

Thank you for reporting this problem. I will ask our developers for more information and come back to you as soon as possible.

Best Regards,
Jick

Hi vincentye,

Could you let me know which optional jar(s) did you select and which driver file did you use? I captured 2 screenshots to show you what I would like to know about.

Best Regards,
Jick

select-optional-jars-20060815a.png


driver-file-20060815b.png

here I attached the snapshots of Jars and driver screens as u required. please take a look.
Thank you.

Vincent Ye


driver.JPG

jar.JPG

Hi xiang,

Thank you for your reply. I already forwarded the screenshots to our developers. They will look into this problem very soon, and I will come back to your as soon as possible.

Best Regards,
Jick

Hi xiang,

Sorry but we cannot repeat your problem. However, we suggest you try uncheck “Include Database Driver”. This may solve the problem. Please let me know if it works.

Best Regards,
Jick