简体   繁体   中英

Server.xml for WAS

I am looking for a configuration file in websphere 8.5.1 which holds all the server settings like datasources, buses, queues etc. I am aware of server.xml which is present for every server instance at cell level but it does not have all the settings. Please help me with some suggestion. I am looking for this file as I want to configure a maven integration test with websphere8.5.1.

So, in order to run these tests I would need some file to get the configurations from. Basically i am trying to replicate a maven integration test with glassfish where domain.xml was used in the maven integration script pom.xml to configure all the resources.

For WebSphere "full Profile" (as opposed to "Liberty Profile"), there is no single file. All that information is spread across many files.

The information on datasources will be in resource.xml. However, there is a resources.xml file at every scope ie at cell level , cluster level, node level and JVM level. So based on where datasource is defined the correct resource.xml can be used. Sib configuration will be created in the PROFILE_HOME/config/cells//buses

VG, opinions are my own and not those of my employer

There is a PropertiesBasedConfiguration command group from WAS 7 onwards which can let you extract your config to a single file but there are some limitations too.

You can check below links to get more info on same:

http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=/com.ibm.websphere.base.doc/ae/rxml_7propbasedconfig.html

http://www.ibm.com/developerworks/websphere/techjournal/0904_chang/0904_chang.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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