users@glassfish.java.net

Re: Glassfish & 3.0.1 persistence-context-ref-name

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Tue, 22 Jun 2010 00:18:22 +0200

no, that's actually the problem... there isn't anywhere even the
string "test" in any of my classes or files in any of
my dependencies, at least not as I'm aware of.

the same app deploys without a problem in a pre 3.0.1 version of glassfish v3.

I have actually two PU's in this war, but none is named "test", nor is "test"
anywhere mentioned in my code.

so, is there a way to make this error message more verbose to find out
which code actually triggers this error by looking for/requesting "test" ?

> Above error implies that your web module  "lyrix-webapp" does not have a
> persistence unit named "test" visible. Do you have a pu "test" packaged in
> your war's "lib"/classes dir or if this is an .ear do you have it packaged
> in your ears "lib" dir?



-- 
Dominik Dorn
http://dominikdorn.com
Tausche Deine Lernunterlagen auf http://www.studyguru.eu !