Hi there, 
first of all let me thank you for answering Matt...problem solved! The error
is still there but the test now runs succesfully.
It was me. I created another applicationContext-dao.xml ignoring the one
that shipped with the appfuse-hibernate distribution jar. I had copied there
the personDao and the spring.HibernateExtensionPostProcessor beans instead
of copying them in the appropriate place. 
So sorry but that error had misled me...
Thanx again,

Daniele


mraible wrote:
> 
> This is a bug in EhCache that will be fixed in the near future.  Try
> running your test again - it seems to happen at random.
> 
> Matt
> 
> On 3/21/07, Daniele De Francesco <[EMAIL PROTECTED]> wrote:
>>  Hi all, I'm new to appFuse 2.x and I'm in trouble with the tutorial
>> example
>> from here. I'm following the dao test compiling process carefully (I
>> think... ;-)) but still receive an error from spring like this: Running
>> org.obiwan.medweb.dao.PersonDaoTest INFO [main]
>> PersonDaoTest.loadContextLocations(177) | Loading context
>> for locations: classpath*:/applicationContext-res
>> ources.xml,classpath*:/applicationContext-dao.xml,classpath*:/applicationContext.xml,classpath:**/applicationContext*.xml
>> AbandonedObjectPool is used
>> ([EMAIL PROTECTED])
>> LogAbandoned: false RemoveAbandoned: true RemoveAbandonedTimeout: 60
>> Tests
>> run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 3.766 sec <<<
>> FAILURE! Results : Tests run: 2, Failures: 0, Errors: 2, Skipped: 0 ERROR
>> [Thread-3] DisposableBeanAdapter.destroy(148) | Couldn't invoke destroy
>> method of bean with name 'sessionFactory'
>> java.lang.IllegalStateException:
>> Shutdown in progress at java.lang.Shutdown.remove(Shutdown.java:104) at
>> java.lang.Runtime.removeShutdownHook(Runtime.java:218) at
>> net.sf.ehcache.CacheManager.removeShutdownHook(CacheManager.java:524)
>> at
>> net.sf.ehcache.CacheManager.shutdown(CacheManager.java:711)
>> at
> 
> 
> -- 
> http://raibledesigns.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/PersonDaoTest-won%27t-compile-tf3444199s2369.html#a9626015
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to