[jboss-jira] [JBoss JIRA] Moved: (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:12:41 EST 2006


     [ http://jira.jboss.com/jira/browse/EJBTHREE-764?page=all ]

Scott M Stark moved JBAS-3787 to EJBTHREE-764:
----------------------------------------------

              Project: EJB 3.0  (was: JBoss Application Server)
                  Key: EJBTHREE-764  (was: JBAS-3787)
    Affects Version/s:     (was: JBossAS-4.0.4.GA)

> 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