-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate with JLNP application problem
PostPosted: Tue Apr 30, 2013 8:00 am 
Regular
Regular

Joined: Sat Apr 23, 2005 7:28 am
Posts: 52
I have an established desktop application that uses Hibernate 4.1.8.
The application runs just fine and has been in use for a few years now (using earlier versions of Hibernate).
I now have a use case that requires JNLP protocol to launch an aspect of the application from a hyperlink.

Although I can launch other java.jar files using JNLP, I have not been able to launch the Hibernate enabled application because of exceptions thrown during initialisation:

11:49:08,904 ERROR HibernateUtil:165 - Session factory failed to start access denied ("java.util.PropertyPermission" "hibernate.enable_specj_proprietary_syntax" "read")
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
....
Caused by: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "hibernate.enable_specj_proprietary_syntax" "read")
at java.security.AccessControlContext.checkPermission(Unknown Source)

I have tried adding:
Code:
<security >
<all-permissions/>
</security>

to the JNLP descriptor but to no avail.

Hoping that someone can point me towards to cause and solution of this problem.

db


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.