[英]Deploying to remote linux JBoss server, from Eclipse
My development computer is Windows. 我的开发计算机是Windows。 I want to deploy some JBoss sample web applications from Eclipse (on Windows) to my remote JBoss server running on CentOS.
我想从Eclipse(在Windows上)部署一些JBoss示例Web应用程序到我在CentOS上运行的远程JBoss服务器。 They both have JBoss and Java installed.
他们都安装了JBoss和Java。 I think that since they have different operating systems though, Eclipse doesn't see that CentOS has the required JBoss packages.
我认为既然它们有不同的操作系统,Eclipse并没有看到CentOS有所需的JBoss包。 Under the "new server" options, when I entered the CentOS server, I specified that this was a Unix server.
在“新服务器”选项下,当我进入CentOS服务器时,我指定这是一个Unix服务器。 Is there any way that I can get this to work, or am I at a dead end?
有什么方法可以让我发挥作用,还是我处于死胡同? By the way, I can remotely browse through the file structure or use the command line, of the server, just fine, in Eclipse.
顺便说一句,我可以在Eclipse中远程浏览文件结构或使用服务器的命令行。
Thanks, 谢谢,
Here are some errors that I received: 以下是我收到的一些错误:
16:19:43,489 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.network.public: org.jboss.msc.service.StartException in service jboss.network.public: JBAS015810: failed to resolve interface public 16:19:43,489 ERROR [org.jboss.msc.service.fail](MSC服务线程1-1)MSC00001:无法在服务jboss中启动服务jboss.network.public:org.jboss.msc.service.StartException。 network.public:JBAS015810:无法解析接口public
16:19:48,341 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) JBAS016005: Starting Services for CDI deployment: ticket-monster.war 16:19:48,341 INFO [org.jboss.weld.deployer](MSC服务主题1-4)JBAS016005:启动CDI部署服务:ticket-monster.war
16:19:48,361 INFO [org.jboss.weld.Version] (MSC service thread 1-4) WELD-000900 1.1.5 (AS71) 16:19:48,361 INFO [org.jboss.weld.Version](MSC服务主题1-4)WELD-000900 1.1.5(AS71)
16:19:48,431 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015954: Admin console is not enabled 16:19:48,431 INFO [org.jboss.as](MSC服务主题1-4)JBAS015954:管理控制台未启用
16:19:48,431 ERROR [org.jboss.as] (MSC service thread 1-4) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 6743ms - Started 185 of 308 services (75 services failed or missing dependencies, 47 services are passive or on-demand) 16:19:48,431 ERROR [org.jboss.as](MSC服务主题1-4)JBAS015875:JBoss AS 7.1.1.Final“Brontes”在6743ms启动(有错误) - 启动了183项服务(75项服务失败)或缺少依赖关系,47个服务是被动的或按需的)
16:19:48,631 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "ticket-monster.war" was rolled back with failure message JBAS014750: Operation handler failed to complete 16:19:48,631 INFO [org.jboss.as.server](DeploymentScanner-threads - 2)JBAS015870:部署部署“ticket-monster.war”,回滚失败消息JBAS014750:操作处理程序无法完成
16:19:48,631 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010409: Unbound data source [jboss/datasources/ticket-monsterDS] 16:19:48,631 INFO [org.jboss.as.connector.subsystems.datasources](MSC服务主题1-4)JBAS010409:未绑定数据源[jboss / datasources / ticket-monsterDS]
16:19:48,681 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment ticket-monster.war in 53ms 16:19:48,681 INFO [org.jboss.as.server.deployment](MSC服务主题1-3)JBAS015877:在53ms停止部署ticket-monster.war
16:19:48,681 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => "JBAS014750: Operation handler failed to complete"}} 16:19:48,681 ERROR [org.jboss.as.server.deployment.scanner](DeploymentScanner-threads - 1){“JBAS014653:复合操作失败并被回滚。失败的步骤:”=> {“操作步骤 - 2“=>”JBAS014750:操作处理程序无法完成“}}
It's too late to answer, but may it will help someone else. 现在回答已经太晚了,但可能会帮助其他人。 In my case below works :-
在我的情况下工作: -
To get rid of this : 要摆脱这个:
MSC000001 : failed to resolve interface public
MSC000001:无法解析接口public
Check your JBoss Standalone.xml 检查JBoss Standalone.xml
Whether it contains IP address of your machine or not :- 是否包含您机器的IP地址: -
<subsystem>
...
<alias name="your IP Address"/>
...
</subsystem>
<interfaces>
<interface name="management">
<inet-address value="${jboss.bind.address.management:your IP Address}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.bind.address:your IP Address}"/>
</interface>
<interface name="unsecure">
<inet-address value="${jboss.bind.address.unsecure:your IP Address}"/>
</interface>
</interfaces>
likewise check whole standalone.xml & replace localhost or IP with the current IP of machine. 同样检查整个standalone.xml并将localhost或IP替换为当前的机器IP。
Double click on JBoss server to check Host Name : Your IP 双击JBoss服务器以检查主机名:您的IP
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.