Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9204565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:44:21+00:00 2026-06-17T23:44:21+00:00

my project is based on GWT(2.4) and my aim is to implement ReqyestFactory (JPA,

  • 0

my project is based on GWT(2.4) and my aim is to implement ReqyestFactory (JPA, Datanucleus, Postgresql). The last problem which I have is with Level 2 cache.
I want to use EHcache but when I create my EMF I got this error :

Level 2 Cache "ehcache" is registered to use class "org.datanucleus.cache.ehcache.EhcacheLevel2Cache" yet this is not found. Please check your CLASSPATH and plugin specification.

in my /war/WEB-INF/lib I have :

datanucleus-api-jpa-3.2.0-m2.jar
datanucleus-cache-3.1.1.jar
datanucleus-core-3.2.0-m2.jar
datanucleus-rdbms-3.2.0-m2.jar
ehcache-core-2.2.0.jar
geronimo-jpa_2.0_spec-1.1.jar
geronimo-jta_1.1_spec-1.1.jar
gwt-servlet-deps.jar
gwt-servlet.jar
hibernate-validator-4.3.1.Final.jar
jboss-logging-3.1.0.GA.jar
jdo-api-3.0.1.jar
log4j-1.2.17.jar
postgresql-9.2-1002.jdbc4.jar
requestfactory-apt.jar
requestfactory-client+src.jar
requestfactory-server+src.jar
validation-api-1.0.0.GA.jar
validation-api-1.0.0.GA-sources.jar

persistence.xml

<?xml version="1.0" encoding="UTF-8" ?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
    http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" version="2.0">

<persistence-unit name="DBStorage">
    <provider>org.datanucleus.api.jpa.PersistenceProviderImpl</provider>
    <class>com.test.domain.Myobj</class>
    <exclude-unlisted-classes/>
    <properties>
        <property name="datanucleus.ConnectionDriverName" value="org.postgresql.Driver" />
        <property name="datanucleus.ConnectionURL" value="jdbc:postgresql://localhost:5432/test" />
        <property name="datanucleus.ConnectionUserName" value="test" />
        <property name="datanucleus.ConnectionPassword" value="123" />
        <property name="datanucleus.autoCreateTables" value="true" />
        <property name="datanucleus.identifier.case" value="LowerCase" />
        <property name="datanucleus.jmxType" value="default" />

        <property name="datanucleus.cache.level2.type" value="ehcache" />
        <property name="datanucleus.cache.level2.cacheName" value="TestEHcache" />
        <!--  property name="datanucleus.cache.level2.configurationFile" value="ehcache.xml" / -->

    </properties>
</persistence-unit>

What I have missed ? Where is my problem ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:44:22+00:00Added an answer on June 17, 2026 at 11:44 pm

    I solved the problem by adding :

    slf4j-api-1.5.6.jar
    slf4j-log4j12-1.5.6.jar
    

    Now it works great.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have gwt web project, which must use application.properties (on client side) loaded as
I have an Eclipse project in which I have 2 entrypoints: a GWT web
I'm having some problem persisting object with my GWT-App engine project which I use
I have a maven-based GWT project that includes Guava. I am running into trouble
I'm starting new project. The client interface is based on GWT (and GXT) I
I have this WinForms project (based on this one , but modified for SharePoint
I have a unit test project based on UnitTest++. I usually put a breakpoint
I have a GWT application, I created appBlueTheme.jar,appOrangeTheme.jar and added to BuildPath of project.
I have WPF project based on MVVM. In my view I have the next
I'm working with a test project based on WhoCanHelpMe, which is based on Sharp

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.