Blog Feed:
- Configure Log4J in Eclipse IDE
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/terms-and-conditions.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 74
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/privacy-policy.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 78
It would be nice to see debug message when debugging code or run unit test in IDE.
I offen get this worning message when use eclipse:
log4j:WARN No appenders could be found for logger (org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
log4j:WARN Please initialize the log4j system properly.
It seems tricky to put log4j configuration files like log4j.properties or log4j.xml to the right place. If [...]
- Experiencing Testing Days
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/terms-and-conditions.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 74
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/privacy-policy.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 78
It is good to dedicate some time, sit back talking and thinking about the best practice in software development. That is what our team did in the last couple of days, I am very appreciate that and I think I got a lot from it.
Our team lead Matt Stine invited Jared Richardson, an author, [...]
- Use enumerated constants in Java
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/terms-and-conditions.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 74
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/privacy-policy.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 78
In the article “Create enumerated constants in Java” , Eric point out static final constants like this:
static final int YELLOW = 0;
static final int GREEN = 1;
static final int BLUE = 2;
had the following drawbacks:
The major drawback is the lack of type safety. Any [...]
- How to create a new OSGi Bundle Maven Project from scratch
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/terms-and-conditions.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 74
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/privacy-policy.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 78
Follow the instruction to create archetypes
Install the archetype: run a. mvn clean, b. mvn install in the archetype folder, this will install the archetype to .m2 folder
Go to the parent project folder (make sure you have the super pom there) and run: mvn archetype:create -DarchetypeGroupId=org.stjude.srm -DarchetypeArtifactId=module-bundle-archetype -DarchetypeVersion=1.0.0 -DgroupId=org.stjude.srm -DartifactId=srm-databus-infrastructure -Dversion=1.0.0
Run mvn eclipse:eclipse in the new [...]
- Configure P6Spy with JBoss-4.2.1.GA
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/terms-and-conditions.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 74
Warning: file_get_contents(/home/duyingl1/public_html/researchblog.org/wp-content/plugins/terms-and-conditions/privacy-policy.txt) [function.file-get-contents]: failed to open stream: Permission denied in /home/duyingl1/public_html/researchblog.org/wp-content/mu-plugins/terms-and-conditions.php on line 78
P6Spy is a very good tool to trouble shoot application and database problem. It put all queries from application to spy.log file, here are steps to configure it in JBoss-4.2.1.GA pointing to EDB:
Download P6Spy
Extract the p6spy-install.jar file, it [...]