-
Exclude JQuery libraries from Eclipse’s JavaScript Validation
Eclipse likes to validate JavaScript when doing Dynamic Web Modules and thus may give you false positive validation errors on 3rd party JavaScript libraries like JQuery. Although you can turn off the validation altogether but better solution is to configure it to exclude files as Alexander shows us at Stackoverflow.… Jatka lukemista →
-
Eclipse and Maven Console
Eclipse 3.7 Indigo has integrated Maven m2e plugin but is missing some expected functionality which was previously present in Sonatype releases by default. If you want your Maven Console to show something you must also install the optional “m2e – slf4j over logback logging” plugin. When installing the m2e plugin there is an optional feature…
-
Using CAcert.org signed certificates for TLS
Setting up Transport Layer Security (TLS), or as previously known as Secure Sockets Layer (SSL), for Apache, Postfix and IMAP like Dovecot is fairly easy. You just need some digital certificates and configuration. If you don’t want to pay for certificates from trusted sources like Thawte or you just don’t need that kind of trust…
-
For year 2012
The year 2011 has been pretty quiet in this blog as I managed to write just one post. In the backlog I have had for some time a couple of articles almost done and several topics to write about but as it sometimes happens, the time runs out. For the coming year 2012 I have…
-
WordPress mod_rewrite rules taking over mod_status and mod_info
After moving Rule of Tech to a new server and setting up monitoring I noticed that server-status and server-info Apache modules weren’t working as expected. As usual a little bit of Googling solved this problem. The problem was that the .htaccess rules in WordPress were taking over non-existing server-info and server-status urls given in Apache’s…
-
Installing Apache Tomcat 6 on CentOS
CentOS is great substitute for Red Hat Enterprise Linux but is missing some useful packages like Apache Tomcat 6. Installing Apache Tomcat 6 on CentOS 5 from gzip-package is fairly easy. The following guide is at least for CentOS 5.4. Pre-Requirements First you need to install Sun JDK and you can follow the instructions given…
-
Installing Sun JDK 1.6 on CentOS
CentOS doesn’t have a package for Sun JDK so it has to installed manually. It’s fairly easy but there are some steps to do that. This guide has been tested on CentOS 5.4 x64_86. Step 1. Initial setup for building RPM -!- Do this with a non-root user Create ~/.rpmmacros $ vim ~/.rpmmacros… Jatka lukemista…
-
Using RichFaces 3 dataScroller and dataTable -components
RichFaces provides some nice AJAX-components for Java Server Faces but the documentation and examples could be better. RichFaces has great documentation compared to some other frameworks but it could be better with adding a little bit of real world and down to earth examples. So here is one example of using RichFaces dataScroller and dataTable…
-
Eclipse: Class file name must end with .class exception in search
Eclipse is nice IDE but it has it’s own problems. This time the Java Search and Open Type -search produced an error saying “Class file name must end with .class”. Very helpfull. Fortunately almost all the answers in the world can be found in the Internet and so with a quick googling the solution to…
-
Redirect HTTP and HTTPS traffic to Tomcat’s ports
Apache Tomcat likes with default settings to listen to requests on 8080 and 8443 ports but it is more enjoyable to use the more common 80 and 443 ports for HTTP and HTTPS traffic. This way the user don’t have to put those pesky port numbers after the address. Of course you could just tell…