users@glassfish.java.net

Same app twice using JPA

From: Edson Carlos Ericksson Richter <edson.richter_at_mgrinformatica.com.br>
Date: Tue, 19 Jun 2007 11:17:06 -0300

Hi!

After solution for having two applications using JPA on same server
(thank you guys! it's working like a charm), now I need to deploy same
application (using same PU name) twice on same server.
The problem appear be the PU name and cache, that is loosing it's
references (or mixing up information, and giving "class cast exception"
for latest deployied one.

Could you please help me? I'm doing something wrong?

Same problem occur on both Tomcat and Glassfish.

Regards,

Edson Richter