Changing Port Jbilling

junaid.khan's Avatar

junaid.khan

11 Jan, 2017 11:51 AM

I am building jbilling from source and i want to change port for for deployment . as there no server.xml in conf folder in building from source . where can i configure the port ?

  1. 1 Posted by ridwannizam on 11 Jan, 2017 11:58 AM

    ridwannizam's Avatar

    Hello

    I am doing it this way :

    In the file run-app.sh, i have the following :

    # load properties if file exists, otherwise use port 8080
    if [ -f cc-build.properties ]; then
       . /path/to/property file/cc-build.properties
    else
        server_port=8085
    fi

    echo ========================================= ${server_port}

    grails --verbose --stacktrace -noreloading -Ddisable.auto.recompile=true -Dserver.port=${server_port} run-app

    You need to create a property file cc-build.properties and add the following line :
    server_port=8085

  2. 2 Posted by junaid.khan on 11 Jan, 2017 12:04 PM

    junaid.khan's Avatar

    for windows based system the script remain same ?

  3. 3 Posted by ridwannizam on 11 Jan, 2017 12:06 PM

    ridwannizam's Avatar

    Did not test it but It should be the same. Not sure if you need to change the path separator '/' to \

  4. 4 Posted by junaid.khan on 11 Jan, 2017 12:12 PM

    junaid.khan's Avatar

    grails -noreloading -Ddisable.auto.recompile=true -Dserver.port=8085 run-app

    This did the trick . thanks alot .

  5. junaid.khan closed this discussion on 11 Jan, 2017 12:27 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

27 Aug, 2018 06:50 PM
19 Aug, 2018 04:13 PM
19 Aug, 2018 04:04 PM
17 Aug, 2018 03:46 PM
12 Aug, 2018 06:10 PM
18 Jul, 2018 03:01 AM