Here are the some
of the additional features of Tomcat 7 with previous versions
1) Embeddeding
tomcat has become more easier than 6. This helps in integration tests
2) Tomcat cache
control - Tomcat 7 provides you a ExpiresFilter that will determine the caching
behavior of the clients. This filter controls the setting of
the Expires HTTP header and the max-age directive of
the Cache-Control HTTP...
Pages
Tuesday, June 30, 2015
Linux- Physical Cable Communication
Many cases we
will try using google.com in order to find out about our network connections.
Linux provides us various ways in order to check whether there exists a physical
cable connection. In this article we will see how we can find out this
Check for the
available networks,
[root@localhost
work]# cat /sys/class/net/
enp2s0/ lo/ virbr0/
Check whether
Physical connection is available,
[root@localhost
work]#...
Clone – Permissions in Linux
Security is one
of the important features of linux. Linux allows us to clone permissions from
one file to other. Lets see how we can clone permissions from one file to other
[root@localhost work]# touch hai1
[root@localhost work]# chmod -R 600 hai1
[root@localhost work]# stat hai1
File: ‘hai1’
Size: 0
Blocks:
0 ...
Apache – SSL Configuration
This summary is not available. Please
click here to view the pos...
Identify Tomcat version
While working with Tomcat
server, there are needs where we need to check for the version of the Tomcat.
We will see how many ways available for finding the version of the tomcat.
1) [root@localhost bin]# ./catalina.sh
version
Using CATALINA_BASE: /work/tomcat
Using CATALINA_HOME: /work/tomcat
Using CATALINA_TMPDIR: /work/tomcat/temp
Using JRE_HOME: /root/jrockit/
Using...
Serving Static Content in Apache
This summary is not available. Please
click here to view the pos...
Saturday, June 20, 2015
Python - Dictionary

As the name suggests a
Dictionary contains a Key and a associated value to the key. The Item (Key:
Value) are separated by commas and whole thing is enclosed in a Curly Braces. While other compound data types have only value as an
element, a dictionary has a key: value pair.
Keys are unique within a
dictionary while values may not...
Thursday, June 4, 2015
JBoss 7 – Change Port Number on Runtime
There may be cases
some times to change the Port number when Server is running. This may be due to
an external service trying to access a JBoss service running on a port which
was is configured on different port. During this case it will help if we change
the port number running the service to the one that the external service uses.
This article tells you on how to change the port during runtime
C:\Users\mjagadish\EAP-6.4.0\bin>jboss-cli.bat
You...
JBoss 7 – Changing Port Number
As a system admin
it is very important to identify the details of the running ports on a JBoss
server. On some cases we need to change the port numbers since some other
service may be running on that Port. This article tells you on how to change
Port numbers in JBoss 7
Way -1
Change the port
manually , the port details are handled on the configuration file ( for
stand-alone the file is standalone.xml )
Go to $JBOSS_HOME/standalone/configuration/standalone.xml.
Open...
JBoss 7 – admin password recovery
During the
installation of the JBoss 7 in windows, we are asked to enter the username and
password that can be used as admin account. In this article we will see how to
recover the password for admin account,
1) Remove the admin
account details from mgmt-user.properties file in the
$JBOSS_HOME/standalone/configuration location
2) Once the details
are removed run the add-user.bat file from the $JBOSS_HOME/bin location...
JBoss 7 Version
Most times it is very important to know the version of the server we are
running in order to install patches and perform other updated. This snippet
tells you the ways of finding the version of JBoss that we are running
Way
-1
Run the command
C:\Users\mjagadish\EAP-6.4.0\bin>standalone.bat
--version
Calling
"C:\Users\mjagadish\EAP-6.4.0\bin\standalone.conf.bat"
JAVA_HOME is not
set. Unexpected results may occur.
Set...
Tuesday, June 2, 2015
Embedded Tomcat
We know how to
install a Tomcat server, deploy applications to that and work with them. In this
article we will see how we can use all of the tomcat features in a independent
Java application by embedding tomcat into that.
Why do we need to embed the Tomcat?
During cases where
we need to test out application, we need run the test cases where tomcat is
installed. One more case where we need to include a servlet container...
Subscribe to:
Posts
(
Atom
)