Wfbi
Service overview
| Software owner | The Apache Software Foundation |
|---|---|
| Management | wfmanager (start | stop | restart | status) wfbi |
| Log files | Access logs: <INSTALL_DIR>/supervisord/log/wfbi.out.log |
| Startup scripts | <INSTALL_DIR>/supervisord/apps/wfbi.ini <INSTALL_DIR>/wfbi/bin/catalina.sh |
| Configuration files | General configuration: <INSTALL_DIR>/wfbi/conf/ |
| Default Ports | tcp 3080 |
Default parameters
| Configuration file | Name | Default value | Description |
|---|---|---|---|
| config.yml | install_dir | /opt/workfusion | Directory to put user files, logs and configs |
| config.yml | wfbi_min_memory | 512M | Minimum RAM is required for service |
| config.yml | wfbi_max_memory | 1G | Maximum RAM can be allocated per process |
| secrets.yml | wfbi_db_user | wfbi | Database username |
| secrets.yml | wfbi_db_pass | IMh3PJauK | Password for database username |
| secrets.yml | wfbi_webui_user | user_name | WEB UI username |
| secrets.yml | wfbi_webui_pass | Nl5UbU6#Qy | Password for WEB UI username |
Troubleshooting
Check if TCP port 3080 is available.
Ports may be custom:
netstat command output
$ netstat -lntp | grep 3080
tcp6 0 0 127.0.0.1:3080 :::* LISTEN 814/java
ss command output
$ ss -ltn | grep 3080
LISTEN 0 100 ::ffff:127.0.0.1:3080 :::*
lsof command output
$ lsof -P -n -i :3080 | grep LISTEN
java 814 wfuser 56u IPv6 28805 0t0 TCP 127.0.0.1:3080 (LISTEN)
Check if main services are available:
workfusion/login
$ curl https://app.example.com:8443/service-wfbi/
<!DOCTYPE html>
<html>
<head>
<title>Service</title>
</head>
<body>
<h3>service API only</h3>
</body>
</html>
workfusion/login
$ curl http://localhost:3080/service-wfbi/
<!DOCTYPE html>
<html>
<head>
<title>Service</title>
</head>
<body>
<h3>service API only</h3>
</body>
</html>
workfusion/public/HTMLRenderer
$ curl -sI https://app.example.com:8443/service-wfbi/
HTTP/1.1 200
Date: Mon, 25 Jun 2018 15:09:05 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 129
Connection: keep-alive
Accept-Ranges: bytes
ETag: W/"129-1526969432000"
Last-Modified: Tue, 22 May 2018 06:10:32 GMT
Server: Workfusion
ALLOW-FROM: ec2-18-208-35-145.compute-1.amazonaws.com
X-Content-Type-Options: nosniff
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Content-Type,Accept
Access-Control-Allow-Methods: GET, POST, HEAD, PUT, DELETE
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubdomains;
workfusion/public/HTMLRenderer
$ curl -sI http://localhost:3080/service-wfbi/
HTTP/1.1 200
Accept-Ranges: bytes
ETag: W/"129-1526969432000"
Last-Modified: Tue, 22 May 2018 06:10:32 GMT
Content-Type: text/html
Content-Length: 129
Date: Mon, 25 Jun 2018 15:10:23 GMT
Check the default main log files:
- Access logs: <INSTALL_DIR>/supervisord/log/wfbi.out.log
- Error logs: <INSTALL_DIR>/supervisord/log/wfbi.err.log
$ tail -f <INSTALL_DIR>/supervisord/log/wfbi.err.log <INSTALL_DIR>/supervisord/log/wfbi.out.log
Check wfbi out (access) log using Wfmanager util.
wfmanager tail wfbi
Additional logs stored in service's log directory:
${install_dir}/workfusion/logs/
catalina.<DATE>.log
gc.log
host-manager.<DATE>.log
localhost.<DATE>.log
localhost_access_log.<DATE>.txt
manager.<DATE>.log
service-wfbi.log
Check the permissions and full path access to the files accessed by wfbi.
$ ls -lah /opt/workfusion/wfbi/webapps/service-wfbi/WEB-INF/web.xml