I included the ehcache-1.1.jar in my   xyz.ejb3 and progressed past the 
Exception  Class not found  net/sf/ehcache/CacheException 

I found no reference to the cache in the xml config or away to disable the 
cache  cache reference in the hibernate text....I suppose it uses it by default.

I will have to go back and research this later.



10:58:30,184 INFO  [SettingsFactory] Cache provider: 
org.hibernate.cache.EhCacheProvider
10:58:30,194 INFO  [STDOUT] Initial SessionFactory creation 
failed.java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
10:58:30,202 INFO  [STDOUT] java.lang.ExceptionInInitializerError
10:58:30,203 INFO  [STDOUT]     at 
com.rathlinfoyle.utils.HibernateUtil.(HibernateUtil.java:46)
10:58:30,203 INFO  [STDOUT]     at 
com.rathlinfoyle.svc.postal.PostalService.getStateAbbrvList(PostalService.java:113)
10:58:30,204 INFO  [STDOUT]     at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



after including the ehcache-1.1.jar

12:10:30,273 INFO  [SettingsFactory] Default entity-mode: pojo
12:10:30,283 INFO  [SessionFactoryImpl] building session factory
12:10:30,442 WARN  [Configurator] No configuration found. Configuring ehcache 
from ehcache-failsafe.xml found in the classpath: 
jar:file:/opt/jboss-4.0.2/server/mybox/tmp/deploy/tmp20067Dallas.ejb3-contents/ehcache-1.1.jar!/ehcache-failsafe.xml
12:10:30,494 INFO  [SessionFactoryObjectFactory] Factory name: 
java:hibernate/SessionFactory
12:10:30,495 INFO  [NamingHelper] JNDI InitialContext properties:{}
12:10:30,497 INFO  [NamingHelper] Creating subcontext: java:hibernate
12:10:30,498 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: 
java:hibernate/SessionFactory
12:10:30,500 WARN  [SessionFactoryObjectFactory] InitialContext did not 
implement EventContext
12:10:30,500 INFO  [SessionFactoryImpl] Checking 0 named queries
12:10:32,368 ERROR [PARSER]  UsStates is not mapped.
12:10:32,446 INFO  [STDOUT] javax.ejb.EJBException: null; CausedByException is:
        UsStates is not mapped. [from UsStates]




So i have a couple of other confige issues.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884296#3884296

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884296


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to