-->
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.  [ 2 posts ] 
Author Message
 Post subject: [SOLVED] Urgent problem concerning configuration of EhCache
PostPosted: Sun Jul 16, 2006 1:13 pm 
Newbie

Joined: Thu Mar 09, 2006 11:52 am
Posts: 13
I have a big problem with my current webapp project. I keep on getting the following exception. The exception occurs when my HibernateUtil class (as per the bible) first tries to create the SessionFactory and therefore tries to configure EhCache. I have not changed anything about the jar files or the code in the HibernateUtil class and I am close to desparation, so I really hope that there are some users around here who know this problem and can tell me about a solution. Thanks a lot in advance

Hibernate version: 3.2

Development Tools: Eclipse Webtools 1.0

Runtime Environment: Apache Tomcat 5.5.9

Full stack trace of any exception that occurs: net.sf.ehcache.CacheException: Error configuring from jar:file:/C:/Daten/Eclipse%20Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/SMV%20Online/WEB-INF/lib/ehcache-1.2.jar!/ehcache-failsafe.xml. Initial cause was Error configuring from input stream. Initial cause was null:12: Could not set attribute "path".. Message was: java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)


Last edited by Firestarter on Sun Jul 16, 2006 5:02 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 16, 2006 5:01 pm 
Newbie

Joined: Thu Mar 09, 2006 11:52 am
Posts: 13
I've solved the problem by switching to another Eclipse workspace directory. Dunno what the error was caused by in the first place, but now my application is up an running, again.


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

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.