my dog learned polymorphism*
The moose likes Object Relational Mapping and the fly likes hibernate with Sun App Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "hibernate with Sun App Server" Watch "hibernate with Sun App Server" New topic
Author

hibernate with Sun App Server

Bob Green
Ranch Hand

Joined: Feb 29, 2004
Posts: 93
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
Arun Kumarr
Ranch Hand

Joined: May 16, 2005
Posts: 513

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.


If you are not laughing at yourself, then you just didn't get the joke.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: hibernate with Sun App Server