Wfbi
Service overview
| Software owner | The Apache Software Foundation |
|---|---|
| Version | 9.0.x |
| 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 | wfbi | Password for database username |
| secrets.yml | wfbi_webui_user | user_name | WEB UI username |
| secrets.yml | wfbi_webui_pass | user_pass | 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/javass 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 the 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 GMTCheck 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- Access logs:
Check wfbi out (access) log using the Wfmanager util:
wfmanager tail wfbiAdditional logs are stored in the 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.logCheck the permissions and the full path access to the files accessed by wfbi:
$ ls -lah /opt/workfusion/wfbi/webapps/service-wfbi/WEB-INF/web.xml