users@glassfish.java.net

Premature deployment

From: <forums_at_java.net>
Date: Tue, 28 Aug 2012 02:20:25 -0500 (CDT)

It appears that Glassfish 3.1.2 tries to deploy incomplete EAR files, while
it is being uploded to the server. I upload my EAR file using WinSCP to my
Linux server with Glassfish, and then the server.log shows that Glassfish
tries to deploy webapp.ear.filepart, i.e. before the whole EAR file is
uploaded. Quite often the deployment fails totally, sometime Glassfish tries
again and succeeds. Attached is a complete server.log that shows this. In
this example, GF first fails, then it succeeds. (This time I was lucky.)
Below is a snippet with the most intersting part. What's wrong? Is this a
bug? --- snip ---
[#|2012-08-28T09:33:02.907+0200|WARNING|glassfish3.1.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=18;_ThreadName=Thread-2;|DPL8004:
file open failure; file =
file:/mnt/persist/glassfish3/glassfish/domains/domain1/autodeploy/fpcontrolserver.ear.filepart|#]
[#|2012-08-28T09:33:02.909+0200|WARNING|glassfish3.1.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=18;_ThreadName=Thread-2;|error
in opening zip file -- invalid zip file:
file:/mnt/persist/glassfish3/glassfish/domains/domain1/autodeploy/fpcontrolserver.ear.filepart|#]
[#|2012-08-28T09:33:02.911+0200|WARNING|glassfish3.1.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=18;_ThreadName=Thread-2;|DPL8004:
file open failure; file =
file:/mnt/persist/glassfish3/glassfish/domains/domain1/autodeploy/fpcontrolserver.ear.filepart|#]
[#|2012-08-28T09:33:02.912+0200|WARNING|glassfish3.1.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=18;_ThreadName=Thread-2;|error
in opening zip file -- invalid zip file:
file:/mnt/persist/glassfish3/glassfish/domains/domain1/autodeploy/fpcontrolserver.ear.filepart|#]
[#|2012-08-28T09:33:02.912+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=18;_ThreadName=Thread-2;|The
log message is empty or null. Please log an issue against the component in
the logger field.|#]
[#|2012-08-28T09:33:02.915+0200|WARNING|glassfish3.1.2|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=18;_ThreadName=Thread-2;|[AutoDeploy]
Autodeploy failed :
/mnt/persist/glassfish3/glassfish/domains/domain1/autodeploy/fpcontrolserver.ear.filepart.|#]

--
[Message sent by forum member 'tmpsa']
View Post: http://forums.java.net/node/889617