Categories

Buy Ipad at a Cheap price

Latest Book

Learn Shell Scripting

Apache cookbook

Effective awk Programming

Definitive Centos Guide

The Linux bible 2011

Linux Interview Questions

Linux Sys Admin Questions

INFORMATION SECURITY SPECIALIST

JAVA / J2EE Interview Questions

Java-tomcat

Apache solr replication command line handler

var AdBrite_Title_Color = ’0000FF’; var AdBrite_Text_Color = ’000000′; var AdBrite_Background_Color = ‘FFFFFF’; var AdBrite_Border_Color = ‘CCCCCC’; var AdBrite_URL_Color = ’008000′; try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==”?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe=”;var AdBrite_Referrer=”;} document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(‘ src=”http://ads.adbrite.com/mb/text_group.php?sid=2153438&zs=3732385f3930&ifr=’+AdBrite_Iframe+’&ref=’+AdBrite_Referrer+’” type=”text/javascript”>’);document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62)); HTTP API Commands for the ReplicationHandler

You can use the HTTP commands below to control the ReplicationHandler’s operations.

Command Description http://_master_host_:_port_/solr/replication?command=enablereplication Enables replication on the master [...]

Java-tomcat

Password Protect any WebApp folder in Tomcat-6.x

var AdBrite_Title_Color = ’0000FF’; var AdBrite_Text_Color = ’000000′; var AdBrite_Background_Color = ‘FFFFFF’; var AdBrite_Border_Color = ‘CCCCCC’; var AdBrite_URL_Color = ’008000′; try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==”?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe=”;var AdBrite_Referrer=”;} document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(‘ src=”http://ads.adbrite.com/mb/text_group.php?sid=2153438&zs=3732385f3930&ifr=’+AdBrite_Iframe+’&ref=’+AdBrite_Referrer+’” type=”text/javascript”>’);document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62)); The following steps were tested with Tomcat 6.0.29. I think they should work with all currently running Tomcat versions out there. If it didn’t work out [...]

Java-tomcat

Java installation on Linux server,java sdk installation

var AdBrite_Title_Color = ’0000FF’; var AdBrite_Text_Color = ’000000′; var AdBrite_Background_Color = ‘FFFFFF’; var AdBrite_Border_Color = ‘CCCCCC’; var AdBrite_URL_Color = ’008000′; try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==”?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe=”;var AdBrite_Referrer=”;} document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(‘ src=”http://ads.adbrite.com/mb/text_group.php?sid=2153438&zs=3732385f3930&ifr=’+AdBrite_Iframe+’&ref=’+AdBrite_Referrer+’” type=”text/javascript”>’);document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));

Download the bin file from the java website:

http://java.sun.com/products/archive/

Install the package as root:

su – root

Change the execute rights:

chmod 700 jdk_*.bin

Execute the [...]

Java-tomcat

Installing Polarion on Linux

var AdBrite_Title_Color = ’0000FF’; var AdBrite_Text_Color = ’000000′; var AdBrite_Background_Color = ‘FFFFFF’; var AdBrite_Border_Color = ‘CCCCCC’; var AdBrite_URL_Color = ’008000′; try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==”?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe=”;var AdBrite_Referrer=”;} document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(‘ src=”http://ads.adbrite.com/mb/text_group.php?sid=2153438&zs=3732385f3930&ifr=’+AdBrite_Iframe+’&ref=’+AdBrite_Referrer+’” type=”text/javascript”>’);document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62));

Ref:http://community.polarion.org/help/index.jsp?topic=/com.polarion.xray.doc.user/install_linux.html

This section covers installation and startup procedures for Linux. There is also some information about initial configuration of Polarion on Linux, as well as [...]

Java-tomcat

Integrating Tomcat and Apache on Red Hat Linux

var AdBrite_Title_Color = ’0000FF’; var AdBrite_Text_Color = ’000000′; var AdBrite_Background_Color = ‘FFFFFF’; var AdBrite_Border_Color = ‘CCCCCC’; var AdBrite_URL_Color = ’008000′; try{var AdBrite_Iframe=window.top!=window.self?2:1;var AdBrite_Referrer=document.referrer==”?document.location:document.referrer;AdBrite_Referrer=encodeURIComponent(AdBrite_Referrer);}catch(e){var AdBrite_Iframe=”;var AdBrite_Referrer=”;} document.write(String.fromCharCode(60,83,67,82,73,80,84));document.write(‘ src=”http://ads.adbrite.com/mb/text_group.php?sid=2153438&zs=3732385f3930&ifr=’+AdBrite_Iframe+’&ref=’+AdBrite_Referrer+’” type=”text/javascript”>’);document.write(String.fromCharCode(60,47,83,67,82,73,80,84,62)); referance:  http://www.meritonlinesystems.com/docs/apache_tomcat_redhat.html

1.0 Introduction

Java servlets are a powerful tool for building websites and web based applications. One skill that every Java web developer should have [...]