If you perform JPA actions in JSPs, complains about EHCache not being available
-------------------------------------------------------------------------------
Key: JBAS-3787
URL:
http://jira.jboss.com/jira/browse/JBAS-3787
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: JBossAS-4.0.4.GA
Environment: JBoss AS 4.0.4, OSX, JDK 1.5
Reporter: gregorypierce
When running a JSP that made calls to the JPA entitymanager, the system complained about
EHCache not being available. Since the second-level cache is on by default, EHCache needs
to be in the distribution by default.
java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira