Categories
Java

Sample layout pom.xml for Java project

To make you get into Maven 2 project easily, let’s have a look to pom.xml general layout for Java project, here it is: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.osify.training</groupId> <artifactId>sample-java-training</artifactId> <packaging>jar</packaging> <name>Osify Training Sample</name> <description>Osify Training Sample</description> <version>1.0.0-SNAPSHOT</version> <parent/> <prerequisites /> <repositories/> <scm/> <properties/> <dependencies> <dependency/> </dependencies> <build> <sourceDirectory>src/main/java</sourceDirectory> <outputDirectory>target/classes</outputDirectory> […]

Categories
Apache Tomcat

Tomcat java.lang.OutOfMemoryError: PermGen space

In Java application, PermGem memory is very important, it is used to compile and optimize classes. You might also face this issue during deployment application in tomcat, in my case, I faced it with Tomcat 6 and 7 with message of: <code>java.lang.OutOfMemoryError: PermGen space</code> Solutions Increasing the PermGem memory in “catalina.bat” for windows or “catalina.sh” […]

Categories
VBA

Declare and compare a variable with Khmer unicode string in VBA, excel

Khmer unicode character string is different from other unicode character, we can’t write it on VBA editor of Excel or MS Access.

Categories
How-To

How To Jailbreak iOS 6.x With Evasi0n On Mac And Windows

Step 1: Download evasi0n for Mac or Window on Evasi0n.com, and extract the package. Step 2: Double click the evasi0n app to run it. Step 3: If your device has a passcode set, unlock your device and go to Settings > General > Passcode Lock > and select Turn Passcode Off. Step 4: Plug in […]

Categories
Android

Insufficient storage available Android

SD still have remaining space but can’t update any app in my galaxy S2

Categories
Mobile

Configuration setting with mobile operators in Cambodia for 3G connection for iPad?

Please help to describe instruction for each mobile operators in Cambodia in order to configure 3G connection with iPad3. In Cambodia, we have following operator: CellCard Smart Mobile MetFone MFone Hello qb Excell etc. Thanks.

Categories
Apache Tomcat

GZip Compression on Web App Deployed with Tomcat

Performance is very important to save resource for visitors using our website. If you deploy your Java Web Application on Apache Tomcat and you feel it’s a bit slow, please check it out my experience on solving issue of gzip compression by changing configuration of Apache Tomcat. Result: Before/After Correction Solutions Edit file: apache-tomcat-xx\conf\server.xml change […]

Categories
Tools

Maven 3.x warnings about build.plugins.plugin.version

During Maven build with maven 3.x version, I got following error: [WARNING] ‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 299, column 16

Categories
iOS

ស្អីគេជា Tethered jailbreak និង untethered jailbreak របស់ iOS?

Tethered jailbreak គឺជា jailbreak ដែលមិនទាន់ពេញលេញ ១០០ ភាគរយ ដែលតម្រូវឲ្យអ្នកប្រើប្រាស់ភ្ជាប់ជាមួយកុំព្យូទ័ររាល់ពេលដែល iPhone រលត់។ ចំណែក untethered  jailbreak គឺជា jailbreak ដែលពេញលេច ១០០ ភាគរយដែលមិនត្រូវឲ្យភ្ជាប់កុំព្យូទ័រនៅពេលរលត់នោះទេ។

Categories
Java Tools

Add log4j to your Java project

Log4j is a logging mechanism that is in Apache foundation project. Log4j is for Java project. Here, to add logging feature to your Java project, you can use one as following ways: Manually Visit http://logging.apache.org/log4j/ Download the Log4j jar library Manually include it into your project dependency All manage by yourself, you need to do […]