Is this a JBOSS web service? Tomcat? How to create a server.xml file?

偶尔善良 提交于 2020-02-05 03:26:45

问题


I am working on a webservice that a previous employee built and I am just trying to figure out what documentation I need to be looking at. I think that the webservice is using JBOSS and therefore using Apache Tomcat. In the project there are several webservices so it is somewhat tricky to tell which is using what. (What are shared files etc). Question Number One: How can I verify that it is using JBOSS?

My job is to make the webservice use bi-directional key exchange. I have done this before but this webservce does not have a server.xml file. I am confused about where this could be or if the ws is just using the default values. Question Number Two: Can I create a new server.xml? If I do create one where should I link it in? I have:

  • folder: name.ear containing application.xml
  • folder: name.war containing folder: WEB-INF containing: web.xml
  • name.wsdl

For anyone else working on the same thing this is a great documentation of web.xml: http://wiki.metawerx.net/wiki/Web.xml


回答1:


JBoss is using Tomcat for web application, that means that there are both of them :) You can find server.xml somewhere at server/default/deploy/jbossweb-tomcat55.sar/conf/

Check http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch01.html for more information about JBoss basic configuration




回答2:


Where is it usually deployed? And what is the artifact ear,sar or war?

If it's a war it could be running on tomcat (with dependecies resolved).

I would recommend that you start with a fresh installation of jboss to learn about the dependencies of your inherited project, add the jars one by one.

The server.xml file should be controled by the admins and not depend on an application.



来源:https://stackoverflow.com/questions/2284410/is-this-a-jboss-web-service-tomcat-how-to-create-a-server-xml-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!