Middleware Tech

December 21, 2010

CURL Commands

Filed under: Curl Commands — Vijay Nekkanti @ 9:03 pm

Curl commands:-

Password secure:
curl –data-binary @<Filename> -k -u admin https://hostname:5550
Admin Password

Non password secure:
curl –data-binary @request.xml https://hostname:5550 -u admin:{adminPW} -k


To check weather server is up or not:
curl -f http://<hostname&gt;:7400/monitor

Advertisements

December 15, 2010

Linux Commands in realtime

Filed under: JBOSS,Unix or Bash Commands — Vijay Nekkanti @ 12:01 am

1———->How to find  ramsize , os, os bit in Linux

arch; free -m; cat /etc/redhat-release    ( This command will tell you all these details )

2———>How to know which is 32bit and 64 bit in linux

uname -m
i386 or i686 then it is 32 bit
x86_64 is 64bit

3——-> How to use traceroute in windows and linux:

——->in windows

> tracert <domain or IP address>

Example—> tracert http://www.yahoo.com

——->in linux

# traceroute <domain or IP address>
Example----> traceroute www.google.com

December 10, 2010

Application Server

Filed under: Application server,JBOSS — Vijay Nekkanti @ 7:13 pm

Application server :

  • Jboss is an application server.
  • Jboss is an J2EE container.
  • Tomcat is a Java Conatiner.
  • Tomcat, JBOSS, Websphere are the application servers.
  • JBOSS is from REDHAT.
  • JBOSS is a Copmbination of  Tomcat and Some Additional features.

Jboss Folder Structure :

This is the jboss folder structure . please have a look

important commands in JBOSS :

$ uname  -a                                   —————> Linux version of java.

$ java -version                          —————–> which java version it is using.

$ which java                                 —————–> where java is installed in that system.

$ ps  -ef | grep  java                  ——————> Is java is working or not.

$ps -ef  | grep httpd                ——————–> is web server is working or not.

$jboss  log-file  <path>        ———————> to see perticular log file.

$tail -f  <log file name >       ———————> to see the log file running.

$less  <log file name>         ———————- >

$tail  -200 <log file name>——————— > to see the last 200 lines of the log file.

$grep  -i  vijay  <log file name >—————–> to find “vijay”  in the log file .

$ find -name  vijay*.*  —————————–> to find the files starting with vijay.

 

 


Blog at WordPress.com.