简体   繁体   English

重新部署war payara/glassfish服务器时出错

[英]Error on redeploy of war payara/glassfish server

I've got 2 java web apps which I am deploying in payara 5.2022.2, the first one deploys without any problem and I am able to redeploy whenever I want.我在 payara 5.2022.2 中部署了 2 个 java web 应用程序,第一个部署没有任何问题,我可以随时重新部署。 The second app, which is practically a copy of the first one, works on deploy on the same domain, but when I try to redeploy it crashes, and deletes al the files inside the payara server.第二个应用程序实际上是第一个应用程序的副本,可以在同一域上部署,但是当我尝试重新部署时它崩溃,并删除了 payara 服务器内的所有文件。 When I take a look at server.log file I get this 2 lines:当我查看 server.log 文件时,我得到以下两行:

[2022-07-14T08:52:57.906-0300] [Payara 5.2022.2] [SEVERE] [] [javax.enterprise.system.core] [tid: _ThreadID=152 _ThreadName=admin-thread-pool::admin-listener(1)] [timeMillis: 1657799577906] [levelValue: 1000] [[ C:\Users\Desarrollo\Dropbox\Translog Java Desarrollo\payara5\glassfish\domains\domain1\applications\SAG-1.0]] [2022-07-14T08:52:57.906-0300] [Payara 5.2022.2] [严重] [] [javax.enterprise.system.core] [tid: _ThreadID=152 _ThreadName=admin-thread-pool::admin- listener(1)] [timeMillis: 1657799577906] [levelValue: 1000] [[ C:\Users\Desarrollo\Dropbox\Translog Java Desarrollo\payara5\glassfish\domains\domain1\applications\SAG-1.0]]

[2022-07-14T08:52:57.909-0300] [Payara 5.2022.2] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID=1178 _ThreadName=admin-thread-pool::admin-listener(12)] [timeMillis: 1657799577909] [levelValue: 800] [[ Exception Occurred :Error occurred during deployment: C:\Users\Desarrollo\Dropbox\Translog Java Desarrollo\payara5\glassfish\domains\domain1\applications\SAG-1.0. [2022-07-14T08:52:57.909-0300] [Payara 5.2022.2] [INFO] [] [org.glassfish.admingui] [tid: _ThreadID=1178 _ThreadName=admin-thread-pool::admin-listener( 12)] [timeMillis: 1657799577909] [levelValue: 800] [[ 发生异常:部署期间发生错误:C:\Users\Desarrollo\Dropbox\Translog Java Desarrollo\payara5\glassfish\domains\domain1\applications\SAG-1.0。 Please see server.log for more details.有关详细信息,请参阅 server.log。 ]] ]]

This is the only error I get.这是我得到的唯一错误。 The only way for me to redeploy is to erase all the temporary folders/files it creates and to deploy normally again.我重新部署的唯一方法是删除它创建的所有临时文件夹/文件并再次正常部署。 Anyone had this kind of problem with payara/glassfish server?有人对payara/glassfish服务器有这种问题吗? Is there any way I can get a more detailed explanation/log of the problem?有什么办法可以得到更详细的问题解释/日志?

The payara server is inside a Dropbox folder, apparently the auto-sync of Dropbox blocks some files when deploying, causing this peculiar error, although the lack of information of the logs is a problem of glassfish itself. payara服务器位于Dropbox文件夹中,显然Dropbox的自动同步在部署时阻止了一些文件,导致这个奇怪的错误,尽管缺少日志信息是glassfish本身的问题。 Pausing the auto-sync while deploying solves the problem.部署时暂停自动同步可以解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM