IBM Liberty Server and ODM product

IBM Liberty Server and ODM product

Server Creation

WebSphere\Liberty\bin\server create ODMWLP88, a server ODMWLP88 will created (one more dir ODMWLP88 can be found under WebSphere\Liberty\usr\servers).

Start & Stop

  1. Start server: server start ODMWLP88
  2. Stop server: server stop ODMWLP88

Server can be found under the dir: WebSphere\Liberty\usr\servers, shared resources coming from the dir: WebSphere\Liberty\usr\shared\resources which includes some jdbc drivers, all deployed apps can be found under the ODMWLP88\apps dir.

Configuration

The server config file server.xml is at the root of the ODMWLP88 server dir.

  • features
  • httpEndpoint
  • jdbcDriver, library, dataSource
  • managedExecutorService??
  • basicRegistry for groups and permissions
  • applications:
    • DC: decisioncenter and teamserver
    • RES: res
    • Testing and Simulation: testing and DecisionRunner
    • HTDS: DecisionService

Deployment

Drop all wars into the apps dir. (can we drop them into drops dir as well?)

Logs

Log files can be found under the WebSphere\Liberty\usr\servers\ODMWLP88\logs dir.

Databases

Derby, H2 or DB2

Reference

  • Configuring on Liberty profile 8.5.5.6

Appendix

Sample server xml.



    


        jsp-2.2
        
        
        servlet-3.0
        jsp-2.2
        jdbc-4.0
        appSecurity-1.0
        jaxrs-1.1       
        concurrent-1.0
        jndi-1.0
        ssl-1.0
        
        
        servlet-3.0
        jsp-2.2
        jdbc-4.0
        appSecurity-1.0
        jaxrs-1.1

        
        concurrent-1.0
        localConnector-1.0
    


    
    
          

    
    
    
    
    
    
    
    
        
          
    
        
    
    
        
    
    

    
     

       
    
           
        
        
        
        
        
            
            
        
        
            
            
            
                
        
            
            
            
        
        
            
            
            
            
        
        
        
        
        
        
        
            
            
        
        
            
            
            
                
        
            
            
            
            
        
    
                  
    
    
        
            
                    
            
            
                    
            
            
                    
            
            
                    
                                             
        
    
    
    
    
        
            
                    
            
            
                    
            
            
                    
            
            
                    
                                             
        
    

    
    
            
                
                        
                
                
                        
                
                
                        
                
            
    

    
    
        
            
                
            
            
                
            
        
    
    
    
    
        
            
                
            
            
                
            
        
     
     
     
     
     


Hot deployment

  1. https://developer.ibm.com/wasdev/docs/article_appdeployment/

Once you have an application in a compressed format, you may wish to expand it out. This will make it easier if you need to make updates to individual files in a development environment:

  1. Unzip the Sample1.war application in the apps directory so that you have a directory called Sample1 that contains a directory called WEB-INF.

  2. Remove the Sample1.war file and rename the Sample1 directory to Sample1.war (in that order).

  3. You do not need to change the server.xml configuration file. The expanded file is treated the same as the compressed format.

  4. https://developer.ibm.com/answers/questions/238432/how-does-deployment-in-liberty-work-in-detail.html - does not work!!!


你可能感兴趣的:(IBM Liberty Server and ODM product)