Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open the hibernate.cfg.xml file, and replace

  •     Replace the single instance of HOST:PORT with localhost:9001.
  •     Search for the property name "cache.provider_class"  and type the value "org.hibernate.cache.EhCacheProvider" as its values. Without populating these values your unit test won't run.

This file gets copied into the classes directory when the server's Java files are compiled, so make sure that the file that is in the classes directory has the proper values. That is the copy of the file that the standalone session will read and run with. The path to the classes directory in Eclipse is [pentaho_project]/build/pentaho-classes.

...