Advanced Search
Search Results
544 total results found
Remote debugging in Netbeans
How to enable debuggning in netbeans on a remote server, to enable break points. The server Enable remote debugging in Tomcat.Edit the service file sudo nano /etc/systemd/system/tomcat[VERSION].service Copy the "CATALINA_OPTS" line and comment the old one ...
Performance optimization
After version 11049, add the following parameter to the tomcat configurationĀ -XX:SoftRefLRUPolicyMSPerMB=288000 It allows tomcat to keep SoftReferences in memory for 288 seconds pr availble MB og memory in the application.This optimizes caching in the applic...
Change login session duration
To increase the number of minutes a session lasts do the following. Warning!This change affects all instances on a server! First, update the tomcat configuraion sudo nano /usr/share/tomcat/conf/web.xml Second, find the following config and adjust acordingl...
Disable ssh password login
Add a sshd config file with the following content sudo nano /etc/ssh/sshd_config.d/99-ts.conf ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no Reload the SSH daemon sudo systemctl reload sshd WARNING!Now you are no longer able to c...