简体   繁体   English

JBoss AS 5.1部署失败(org.jboss.deployers.spi.DeploymentException)

[英]Deployment failed at JBoss AS 5.1 (org.jboss.deployers.spi.DeploymentException)

This is the second time this error occurs. 这是此错误第二次发生。 I'm not sure what should be because every time I do a dozen procedures over and over again (Clean, Add/Remove project, Build, etc...) and always in the same way, out of nowhere. 我不确定应该是什么,因为每次我一遍又一遍地做十几个程序(清理,添加/删除项目,构建等等),并且始终以同样的方式,无处不在。 Sometimes solve, but I know not what I do. 有时解决,但我不知道我做了什么。 This time not resolved and is the third day that I continue with this error preventing my work. 这个时间没有解决,是我继续这个错误阻止我的工作的第三天。 Do not edit settings, just run and debug the project and this error happens. 不要编辑设置,只需运行和调试项目,就会发生此错误。

So, come through advanced ask that the information can is causing this error to that (I hope not) happen again, I go directly to the focus error. 所以,通过高级请求信息可以导致此错误(我希望不会)再次发生,我直接去焦点错误。

DEPLOYMENTS IN ERROR:

  Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/1_instancia/deploy/xyz-web.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/1_instancia/deploy/xyz-web.war/ deployment failed

Thanks in advance. 提前致谢。

After several attempts I found a "sequence" that eliminates this error. 经过多次尝试,我找到了一个消除此错误的“序列”。 I say in quotes because there shouldn't be a sequence, but this way I could make the deploy the .war file not be corrupted. 我在引号中说因为不应该有序列,但这样我可以使部署.war文件不被破坏。 Come on, after the system displays the error message: remove the project of the server, Project -> clean -> click on the server -> Add and remove -> add the project and finally, in the project added to server right click in the mouse and select Full Publish 来吧,系统显示错误信息后:删除服务器Project -> cleanProject -> clean - >点击服务器 - > Add and remove - >添加项目最后,在项目中添加到服务器右键单击鼠标并选择Full Publish

After all this time, I realized that this error is because the .war file on the server is in error or inconsistency, either by changing the branch (versioning code) or by some change that was not well established in server, only the local file. 在这段时间之后,我意识到这个错误是因为服务器上的.war文件出错或不一致,无论是通过更改分支(版本代码)还是通过在服务器中没有很好建立的某些更改,只有本地文件。 The best you have to do is remove the server project, clean it, and build again (if not automatically build). 您需要做的最好的事情是删除服务器项目,清理它,然后重新构建(如果不是自动构建)。 After that, clean the server, worth checking if the application .war was actually deleted from the deployment folder, if not, you need to delete manually. 之后,清理服务器,值得检查应用程序.war是否实际从部署文件夹中删除,如果没有,则需要手动删除。 Done all the cleaning in the application and server, add the application to the server, publish it altogether and try to reconnect the server. 完成应用程序和服务器中的所有清理,将应用程序添加到服务器,完全发布并尝试重新连接服务器。

Kindly follow the below steps: 请遵循以下步骤:

Step 1: Stop the server and remove all the .temp files from deploy 步骤1:停止服务器并从部署中删除所有.temp文件

Step 2: Remove data,log,work,tmp folder from your directory(jboss\\server\\default) 第2步:从您的目录中删除数据,日志,工作,tmp文件夹(jboss \\ server \\ default)

Step 3: Remove your current working war folder "xyz.war" from the deploy folder and redeploy 步骤3:从deploy文件夹中删除当前正在运行的war文件夹“xyz.war”并重新部署

Then start the server.This worked for me. 然后启动服务器。这对我有用。

停止正在运行的服务器清理项目( 项目 - >清洁 - >清洁项目选择下面 - > [选择项目] - >确定 )并清理服务器(如果您已经配置服务器只需右键单击并单击清洁 )启动服务器并访问网址。

暂无
暂无

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

相关问题 org.jboss.deployers.spi.management.deploy.DeploymentManager的位置; - Location of org.jboss.deployers.spi.management.deploy.DeploymentManager; Arquillian-> org.jboss.arquillian.container.spi.client.container.DeploymentException:无法部署test.war - Arquillian -> org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy test.war Wildfly Jboss NoClassDefFoundError: 无法链接 org/jboss/ws/core/jaxws/spi/ProviderImpl 的错误 - Wildfly Jboss NoClassDefFoundError: Failed to link Error for org/jboss/ws/core/jaxws/spi/ProviderImpl Arquillian org.jboss.arquillian.container.spi.client.deployment.Validate.isArchiveOfType(Ljava / lang / Class; Lorg / jboss / shrinkwrap / api / Archive;)Z - Arquillian org.jboss.arquillian.container.spi.client.deployment.Validate.isArchiveOfType(Ljava/lang/Class;Lorg/jboss/shrinkwrap/api/Archive;)Z 服务jboss.web.deployment.default-host./中的org.jboss.msc.service.StartException:无法启动服务 - org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./: Failed to start service ClassNotFoundException:JBoss 5.1中的org.jboss.annotation.ejb.RemoteBindings - ClassNotFoundException: org.jboss.annotation.ejb.RemoteBindings in JBoss 5.1 JBoss部署错误-服务失败 - JBoss Deployment Error - Failed Services jboss服务器中战争部署失败 - war deployment failed in jboss server ProfileDeployAction中的错误:无法在JBOSS的部署中添加部署 - Errors in ProfileDeployAction: Failed to add deployment in deployment in JBOSS JSF-org.jboss.weld.exceptions.DeploymentException:WELD-001408:类型的依赖关系未满足 - JSF - org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM