[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-764) If you perform JPA actions in JSPs, complains about EHCache not being available
Scott M Stark (JIRA)
jira-events at jboss.com
Sun Oct 29 09:14:41 EST 2006
[ http://jira.jboss.com/jira/browse/EJBTHREE-764?page=comments#action_12345952 ]
Scott M Stark commented on EJBTHREE-764:
----------------------------------------
We need the full ejb3 version detail (how this was installed into 4.0.4.GA). The jsp page code helps as well.
> If you perform JPA actions in JSPs, complains about EHCache not being available
> -------------------------------------------------------------------------------
>
> Key: EJBTHREE-764
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-764
> Project: EJB 3.0
> Issue Type: Bug
> 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
More information about the jboss-jira
mailing list