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

Recent Discussions

11 Apr, 2018 04:35 AM
10 Apr, 2018 04:19 PM
28 Mar, 2018 10:39 AM
15 Mar, 2018 08:23 AM
26 Feb, 2018 11:19 AM

 

07 Feb, 2018 02:33 AM
07 Feb, 2018 02:31 AM
07 Feb, 2018 02:30 AM
25 Jan, 2018 03:48 PM
12 Jan, 2018 02:45 PM
12 Jan, 2018 04:48 AM