How to change the default port of H2 DB used by Hawk web console?

How to change the default port of H2 DB used by Hawk web console?

book

Article ID: KB0089457

calendar_today

Updated On:

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Description:
The default port of H2 DB used by Hawk web console is 9082. This can be modified.

Issue/Introduction

How to change the default port of H2 DB used by Hawk web console?

Resolution

1). To change the server port of H2 DB, modify the tibhawkh2db.tra, append "-tcpPort <PORT_NUMBER>” to the end of following line:

application.args -tcp -web -webAllowOthers

application.args -tcp -web -webAllowOthers -tcpPort 8888

2). To change the port of H2 DB used by web console, modify <WEBCONSOLE_HOME>/tomcat/webapps/hawkwebconsole/META-INF/context.xml and set the URL to a different value, such as: jdbc:h2:tcp://localhost:8888/~/hawk.

Additional Information

http://stackoverflow.com/questions/2760887/frontends-tool-to-manage-h2-database