Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

545 total results found

Remote debugging in Netbeans

TS hosting instructions

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

Server maintenence

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

TS hosting instructions

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

TS hosting instructions

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...

Hardcoding policies

Server maintenence

How to hardcode/overwrite/overloadĀ policies, making it impossible to change them at runtime. Modify the context file (the xml-file in tomcats conf folder), eg. nano /usr/share/tomcat/conf/Catalina/localhost/app.xml Within th Context element in the xml-file ...