Running web app in both Jetty and Tomcat

后端 未结 4 1743
耶瑟儿~
耶瑟儿~ 2021-02-14 18:19

I have a web app which in production I run on Tomcat. It uses the MySQL connector, however it is not bundled up with the war, rather it is included under Tomcat\'s common lib di

4条回答
  •  囚心锁ツ
    2021-02-14 19:15

    
    
        hd-props
        
            
                
                    
                        
                            cfg/dev-local.properties
                        
                    
                
            
        
    
    

    It is a jetty-env.xml, which points to .properties file, which contains all the connect params to DB.

        
            
        
        
            
        
    

    It is a spring config (i'm using spring too)

    And then, I call mvn jetty:run, and it works fine...

提交回复
热议问题