JBoss Tools 部署错误:这可能是由于您服务器的临时部署目录与最终目的地位于不同的文件系统上 [英] JBoss Tools deploy error: This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination

查看:17
本文介绍了JBoss Tools 部署错误:这可能是由于您服务器的临时部署目录与最终目的地位于不同的文件系统上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Eclipse 中使用 JBoss 工具部署应用程序时出现以下错误:

I have the following error when deploying an application with JBoss Tools in Eclipse:

将 C:wildfly-8.1.0.Finalstandalone mp mp7858611943756287857.xhtml 重命名为 C:wildfly-8.1.0.Finalstandalonedeployments.war403.xhtml 时出错.

Error renaming C:wildfly-8.1.0.Finalstandalone mp mp7858611943756287857.xhtml to C:wildfly-8.1.0.Finalstandalonedeployments.war403.xhtml.

这可能是由于您服务器的临时部署目录与最终目标所在的文件系统不同.

This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination.

您可以在服务器编辑器中调整这些设置.

You may adjust these settings in the server editor.

这是错误的屏幕截图:

关于文档,我发现了这个:

您可以自定义部署位置和打包类型:

You can customize the deployment location and packaging type:

  • 要为服务器选择工作区部署文件夹,请单击使用工作区元数据.
  • 要选择应用服务器的部署文件夹,请单击使用 JBoss 部署文件夹.
  • 要选择您选择的文件夹,请单击使用自定义部署文件夹.使用此选项,完成部署目录临时部署目录字段.临时文件夹必须与最终部署位置位于同一文件系统上,否则发布经常会失败.
  • 对于要存档以进行部署的所有模块,请选中将项目部署为压缩存档复选框.这避免了爆炸部署并减少部署占用的内存量但可能会导致部署速度变慢.
  • To select the workspace deployment folder for the server, click Use workspace metadata.
  • To select the deployment folder of the application server, click Use the JBoss deploy folder.
  • To select a folder of your choice, click Use a custom deploy folder. With this option, complete the Deploy directories and Temporary Deploy Directory fields. The temporary folder must be on the same file system as the final deploy location otherwise publishing often fails.
  • For all modules to be archived for deployment, select the Deploy projects as compressed archives check box. This avoids exploded deployments and reduces the amount of memory deployments occupy but may result in slower deployment.

临时文件夹必须与最终部署位置位于同一文件系统是什么意思?我该如何解决?

What does The temporary folder must be on the same file system as the final deploy location mean? How can I solve it?

我已经意识到,当检查复选框部署项目作为压缩存档时,不会发生错误.

I've realized that the error doesn't occur when the check box Deploy projects as compressed archives is checked.

推荐答案

我按照以下步骤解决了这个问题:

  1. 重新启动计算机
  2. 从文件夹standalonedeployments"中删除项目文件
  3. 删除文件夹standalone mp"中的所有文件
  4. 在 Eclipse 中清理项目
  5. 在 Eclipse 中,从 Wildfly 中删除项目,然后重新添加
  6. 在 Eclipse 中,右键单击Wildfly",然后Clean..."
  7. 在 Eclipse 中,右键单击项目模块,然后完全发布"

这篇关于JBoss Tools 部署错误:这可能是由于您服务器的临时部署目录与最终目的地位于不同的文件系统上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆