users@glassfish.java.net

Re: Database Disconnects on Redeploy

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 22 Jun 2007 01:46:04 +0530

Yes, please file a bug, attach the ear file along with the instructions
to reproduce the bug. Can you assign it to ss141213? I can take a look
at it and get back to you.

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>