Disabling Internet Explorer’s “Enhanced Security Configuration”

Turning off Internet Explorer Enhanced Security Configuration in Windows Server 2003

  1. Start -> Control Panel -> Add/Remove Programs -> Add/Remove Windows Component
  2. Un-check “Internet Explorer Enhanced Security Configuration”
    • To disable this for Administrators but not for all users, leave this option checked and click on the “Details” button”
  3. Click next

Turning off Internet Explorer Enhanced Security Configuration in Windows Server 2008

  1. Start -> Administrative Tools -> Server Manager
  2. Under “Security Information” section in the main (right hand side) pane, click on “Configure IE ESC”
  3. A dialog box will be shown, where it can be disabled for Administrators or Users or both. Make the choice and click “OK”

, , , , , ,

Leave a Comment

Minimum set of jar files for Apache Axis2 1.6.1

Apache Axis2 1.6.1 comes with 67 jar files. There is little to no documentation on the jar file dependencies. So do you need all of these jar files for you project? Perhaps not.

For my project, I needed just the following.

  • axiom-api-1.2.12.jar
  • axiom-impl-1.2.12.jar
  • axis2-adb-1.6.1.jar
  • axis2-kernel-1.6.1.jar
  • axis2-transport-http-1.6.1.jar
  • axis2-transport-local-1.6.1.jar
  • axis2-xmlbeans-1.6.1.jar (optional)
  • commons-codec-1.3.jar
  • commons-httpclient-3.1.jar
  • commons-logging-1.1.1.jar
  • httpcore-4.0.jar
  • mail-1.4.jar
  • neethi-3.0.1.jar
  • woden-api-1.0M9.jar
  • woden-impl-dom-1.0M9.jar
  • wsdl4j-1.6.2.jar
  • wstx-asl-3.2.9.jar
  • xmlbeans-2.3.0.jar (optional)
  • XmlSchema-1.4.7.jar

, ,

Leave a Comment

Tomcat: redirecting traffic from port 8080 to 80 using iptables

First verify that Tomcat is running on port 8080. Run the following command

# netstat -ntl

The output will look something like

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN
tcp        0      0 ::ffff:127.0.0.1:8005       :::*                        LISTEN
tcp        0      0 :::8009                     :::*                        LISTEN
tcp        0      0 :::8080                     :::*                        LISTEN
tcp        0      0 :::22                       :::*                        LISTEN

Run the following command to redirect port 80 traffic to port 8080

# iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080

Run the folloing command to verify that redirect is working fine

# iptables -t nat -L

The output will look something like

Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination
REDIRECT   tcp  --  anywhere             anywhere            tcp dpt:http redir ports 8080

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain POSTROUTING (policy ACCEPT)
target     prot opt source               destination

, , , , ,

2 Comments

Installing Tomcat 6 on Fedora, Red Hat or CentOS

Install Tomcat using yum

# yum install tomcat6-webapps

Tomcat will get installed across the following directories

/etc/tomcat6             conf files     $CATALINA_HOME/conf
/usr/share/java/tomcat6  libs           $CATALINA_HOME/lib
/usr/share/tomcat6/bin   executables    $CATALINA_HOME/bin
/var/log/tomcat6         logs           $CATALINA_HOME/logs
/var/cache/tomcat6/temp  temp files     $CATALINA_HOME/temp
/usr/share/tomcat6       home directory $CATALINA_HOME
/var/lib/tomcat6/webapps web apps       $CATALINA_HOME/webapps
/var/cache/tomcat6/work  compiled stuff $CATALINA_HOME/work

Set CATALINA_HOME in /etc/profile

export CATALINE_HOME=/usr/share/tomcat6

Tomcat can be stopped, started and restarted using the following commands

# service tomcat6 stop
# service tomcat6 start
# service tomcat6 restart

, , , , ,

1 Comment

Installing JDK on Fedora, Red Hat, CentOS

  1. Visit sun java website and select the  java JDK version you would like to install: http://java.sun.com/javase/downloads/index.jsp
  2. Download the jdk-xxxxx-rpm.bin file using wget
  3. Make the downloaded file executable by running the following command
    # chmod +x jdk-xxxxx-rpm.bin   
  4. Install JDK by running the following command
    # rpm -i  jdk-xxxxx-rpm.bin  
  5. Create symbolic links for java and javac
    # ln -s /usr/java/jdkxxx/bin/java /usr/bin/java  
  6. ln -s /usr/java/jdkxxx/bin/javac /usr/bin/javac
  7. Setting JAVA_HOME and PATH for all users
    # vi /etc/profile  
    # export JAVA_HOME=/opt/jdkx.x.x_xx
    # export PATH=$PATH:$JAVA_HOME/bin
     

, , , , ,

Leave a Comment

Follow

Get every new post delivered to your Inbox.