users@glassfish.java.net

Re: Application Deployments Are Freezing Glassfish Instances

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Sep 2009 08:16:55 PDT

Follow up...seeing some different behaviour and I am starting to think that glassfish is somehow corrupting the deployment.

[b]1.[/b] Deploy the application (same steps as above)
[b]2. [/b] The startup servlet produces:

[#|2009-09-09T10:50:58.887-0400|INFO|sun-appserver2.1|javax.enterprise.system.stream.out|_ThreadID=71;_ThreadName=RMI TCP Connection(4619)-10.1.6.30;|09/Sep/2009 10:50:58 ERROR org.hibernate.ejb.packaging.PersistenceXmlLoader [RMI TCP Connection(4619)-10.1.6.30] - Error parsing XML: XML InputStream(1) Content is not allowed in prolog. (org.hibernate.ejb.packaging.PersistenceXmlLoader$ErrorLogger.fatalError(PersistenceXmlLoader.java:212))
|#]

and the node agent stops the instance.

[b]3.[/b] Restart the instance.
[b]4.[/b] Instance works fine.

 I am 100% sure the the XML file in question is not invalid. In fact, the system will start up normally when restarted.

Any help is appreciated.
[Message sent by forum member 'h1d3m3' (h1d3m3_at_yahoo.com)]

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