This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate with Sun App Server  RSS feed

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a web application using Hibernate; this application is running on Sun App Server. I am having a "java.security.AccessControlException: access denied (java.lang.RuntimePermission getProtectionDomain)" exception, can someone pls. let me know how to fix this problem? I think I need to modify the server.policy file to include Hibernate stuffs, but I don't know how to do so?

Thanks in advance!
Rob
 
Ranch Hand
Posts: 662
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
read these links:

https://j2ee-sdk.dev.java.net/howtos/Hibernate.html

and this,

http://java.sun.com/developer/onlineTraining/Programming/JDCBook/appA.html

This might help.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!