简体   繁体   English

如何使用JBoss AS 4.2远程运行Java EE项目?

[英]How to run Java EE project remotely using JBoss AS 4.2?

I am running a Java EE seam project at http://localhost:8080/msh/login.seam?cid=1 using A JBoss server. 我正在使用JBoss服务器在http://localhost:8080/msh/login.seam?cid=1运行Java EE接缝项目。 My computer name is pc-10 . 我的电脑名称是pc-10

I want to access this seam project remotely at http://pc-10:8080/msh/login.seam?cid=1 . 我想通过http://pc-10:8080/msh/login.seam?cid=1远程访问该接缝项目。

Could someone please point me in the right direction so that this can be achieved. 有人可以指出正确的方向,以便实现这一目标。

It should just work unless you have some firewall or something. 除非您有防火墙或其他东西,否则它应该可以正常工作。

In jboss as I remember by default its impossible to get to the remote server. 我记得在默认情况下,在jboss中无法到达远程服务器。 So when running jboss you should define 因此,在运行jboss时,您应该定义

-b0.0.0.0

parameter as an Ip-mask. 参数作为Ip掩码。 This will tell jboss to accept connection from all servers in LAN. 这将告诉jboss接受来自LAN中所有服务器的连接。

Hope this helps 希望这可以帮助

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

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