【发布时间】:2014-09-18 07:53:41
【问题描述】:
我对 JBOSS 4.0.4 应用服务器和 Solaris 10 完全陌生。 我已经使用 Eclipse 开发了我的 webservice WAR 文件,需要将其部署在托管在 Solaris(版本 10)上的远程 jboss Web 服务器(版本 4.0.4)上,并且需要为其分配端口 8088。 我的意思是我的客户需要通过以下方式访问我的网络服务:http://test.com:8088/myWebService?wsdl
我怎样才能做到这一点? 为了使它成为可能,我应该做哪些配置? 我的一位朋友告诉我,JBOSS 4.0.4 版仅使用一个端口号托管每个 http 请求,即所有 JSP 和 Web 服务都将具有相同的端口号,该端口号在 /export/home/app/jboss/server/default/deploy 中定义/jbossweb-tomcat55.sar/server.xml 在我的开发服务器上,server.xml 如下所示:
<Server>
<Service name="jboss.web"
className="org.jboss.web.tomcat.tc5.StandardService">
<!-- A HTTP/1.1 Connector on port 8080 -->
<Connector port="8090" address="${jboss.bind.address}"
maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
emptySessionPath="true"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true"/>
<!-- Add this option to the connector to avoid problems with
.NET clients that don't implement HTTP/1.1 correctly
restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*$"
-->
<!-- A AJP 1.3 Connector on port 8009 -->
<Connector port="8009" address="${jboss.bind.address}"
emptySessionPath="true" enableLookups="false" redirectPort="8443"
protocol="AJP/1.3"/>
<Engine name="jboss.web" defaultHost="localhost">
<Realm className="org.jboss.web.tomcat.security.JBossSecurityMgrRealm"
certificatePrincipal="org.jboss.security.auth.certs.SubjectDNMapping"
allRolesMode="authOnly"
/>
</Host>
</Engine>
对吗? 谢谢
【问题讨论】:
标签: java eclipse web-services jboss solaris