WFLYCTL0412: Required services that are not installed:

前端 未结 3 899
一向
一向 2021-02-05 08:00

I\'m trying to add a datasource in Wildfly 10.0, but when i test connection this the error message that throws:

Unexpected HTTP response: 500

Request
{
    \"ad         


        
3条回答
  •  半阙折子戏
    2021-02-05 08:50

    I got mine working like this:

    1 - create a folder in the WildFly installation dir: \modules\org\postgres\main

    2 - create a "module.xml" in the folder above with the content:

    
    
    
        
            
        
    
        
            
            
            
        
    
    

    3 - copy the driver JAR file to the same folder of step 1

    4 - add the datasource in standalone.xml:

    
        jdbc:postgresql://localhost:5432/yourDB
        postgres
        
            user
            pass/password>
        
        
            false
            false
        
        
            false
        
    
    
    
        
            org.postgresql.Driver
        
    
    

提交回复
热议问题