users@glassfish.java.net

Re: Database Disconnects on Redeploy

From: <glassfish_at_javadesktop.org>
Date: Thu, 21 Jun 2007 13:11:04 PDT

It is packaged into .EAR file.

It only happens when I redeploy my app. When I reboot glassfish it works fine for hours. As soon as I redeploy it breaks, reboot it fixes it.

This is my persistence.xml file

<?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" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
    
        <persistence-unit name="cis" transaction-type="JTA">
                  <jta-data-source>jdbc/CIS</jta-data-source>
        <class>com.stryker.cmf.accountrolebean.Groups</class>
        <class>com.stryker.cmf.accountrolebean.Users</class>
        </persistence-unit>
  
</persistence>


I can post the EAR file somewhere if that would help?
[Message sent by forum member 'amattas' (amattas)]

http://forums.java.net/jive/thread.jspa?messageID=223405