Search code examples
javadocumentationwebsphereapplication-server

Human readable documentation current WebSphere configuration


Currently I'm working with a bunch of WebSphere Application Servers for some Java applications. Unfortunately there is poor documentation of the configuration of these servers. I know there a possibilities to generate scripts and configuration archives to migrate these settings. But I was wondering if there is a way to get the server configuration in a human readable format. Does any of you know if there are application servers (WebSphere in particular) that have such a function?

Edit: Forgot to mention that I work with version 6.1 of WebSphere.


Solution

  • I dont know, if you will consider it 'human readable' but you can export the cell configuration in the property based format using following wsadmin task:

    AdminTask.extractConfigProperties('[-propertiesFileName  ConfigProperties_cell.props]')
    

    it will give you something like:

    #
    # SubSection 1.0 # JDBCProvider attributes
    #
    ResourceType=JDBCProvider
    ImplementingResourceType=JDBCProvider
    ResourceId=Cell=myCell:JDBCProvider=ID#builtin_jdbcprovider
    #
    
    #
    #Properties
    #
    classpath={${DERBY_JDBC_DRIVER_PATH}/derby.jar,/my.jar}
    implementationClassName=org.apache.derby.jdbc.EmbeddedXADataSource
    name=Derby JDBC Provider (XA)
    nativepath={}
    description=Built-in Derby JDBC Provider (XA)
    providerType=Derby JDBC Provider (XA)
    xa=true #boolean
    

    For more details see: