How to Deploy your Java Web Project code to Linux server

Deploying a new server:

login as: Secqtinstien_D
Secqtinstien_D@192.168.10.49’s password:
Last login: Tue Jan 4 13:57:15 2011 from MySystem_IPAddress
[Secqtinstien_D@MyServer ~]$
[Secqtinstien_D@MyServer ~]$ ls -l
total 0

[Secqtinstien_D@MyServer ~]$ mkdir apps
[Secqtinstien_D@MyServer ~]$ ls -l
total 4
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:24 apps
[Secqtinstien_D@MyServer ~]$ mkdir asd
[Secqtinstien_D@MyServer ~]$ ls -l
total 8
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:24 apps
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:24 asd

[Secqtinstien_D@MyServer ~]$ rm -rf asd

[Secqtinstien_D@MyServer ~]$ ls -p
apps/
[Secqtinstien_D@MyServer ~]$ ls -l
total 4
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:24 apps
[Secqtinstien_D@MyServer ~]$ cd apps

[Secqtinstien_D@MyServer apps]$ ls -l
total 0
[Secqtinstien_D@MyServer apps]$ mysql -uroot -proot;
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2378
Server version: 5.0.77 Source distribution
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql> show databases;
+——————–+
| Database |
+——————–+
| information_schema |
| bugzilladata |
| mandeep |
| mysql |
| obs_cmps |
| obs_login |
+——————–+
22 rows in set (0.01 sec)

mysql> create database MyProject default character set utf8;
Query OK, 1 row affected (0.00 sec)

mysql> create database user_management default character set utf8;
Query OK, 1 row affected (0.00 sec)
mysql> show databases;
+——————–+
| Database |
+——————–+
| MyProject |
| bugzilladata |
| equalsdb_22april |
| family |
| mysql |
| sakai |
| test |
| user_management |
+——————–+
24 rows in set (0.00 sec)
mysql> use MyProject;
Database changed

mysql> grant all privileges on MyProject to ‘root’@’localhost’ identified by ‘root’;
Query OK, 0 rows affected (0.03 sec)

mysql> grant all privileges on MyProject.* to ‘root’@’localhost’ identified by ‘root’;
Query OK, 0 rows affected (0.00 sec)
mysql> grant all privileges on user_management.* to ‘root’@’localhost’ identified by ‘root’;
Query OK, 0 rows affected (0.00 sec)
mysql> use MyProject;
Database changed
mysql> show tables;
Empty set (0.00 sec)
mysql> use user_management;
Database changed

mysql> show tables;
Empty set (0.01 sec)
mysql>
[1]+ Stopped mysql -uroot -proot
[Secqtinstien_D@MyServer apps]$
[Secqtinstien_D@MyServer apps]$ ls -l
total 0
[Secqtinstien_D@MyServer apps]$
[Secqtinstien_D@MyServer apps]$ svn co svn://svn.amsoftsystems.com/home/SVNROOT/OBS/MyProject/trunk
Checked out revision 2267.

[Secqtinstien_D@MyServer apps]$
[Secqtinstien_D@MyServer apps]$ ls -l
total 4
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 trunk
[Secqtinstien_D@MyServer apps]$ svn co svn://svn.amsoftsystems.com/home/SVNROOT/OBS/CMPS/SmartGWT/LoginApp
Checked out revision 2267.
[Secqtinstien_D@MyServer apps]$ ls -l
total 8
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 LoginApp
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 trunk
[Secqtinstien_D@MyServer apps]$ cd LoginApp
[Secqtinstien_D@MyServer LoginApp]$ ls -l
total 20
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 build
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 dbscripts
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 lib
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 src
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 war
[Secqtinstien_D@MyServer LoginApp]$ cd dbscripts

[Secqtinstien_D@MyServer dbscripts]$ ls -l
total 80
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 300 Jan 4 14:34 user_management_10.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 233 Jan 4 14:34 user_management_11.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 369 Jan 4 14:34 user_management_18.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 396 Jan 4 14:34 user_management_1.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 214 Jan 4 14:34 user_management_2.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 102 Jan 4 14:34 user_management_3.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 6515 Jan 4 14:34 user_management.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management .sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management _1.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_2.sql [Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_3.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_4.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_5.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_6.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_7.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_8.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_9.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_10.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_11.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_12.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_13.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_14.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_15.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_16.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_17.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot user_management < user_management_18.sql
<! ‘mysql -uroot -proot user_management
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ ls -l
total 80
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 300 Jan 4 14:34 user_management_10.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 88 Jan 4 14:34 user_management_17.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 369 Jan 4 14:34 user_management_18.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 396 Jan 4 14:34 user_management_1.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 6515 Jan 4 14:34 user_management.sql
[Secqtinstien_D@MyServer dbscripts]$ cd ../

[Secqtinstien_D@MyServer LoginApp]$ cd ../
[Secqtinstien_D@MyServer apps]$ ls -l
total 8
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 LoginApp
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 trunk
[Secqtinstien_D@MyServer apps]$ cd trunk
[Secqtinstien_D@MyServer trunk]$ ls -l
total 24
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 build
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 dbscripts
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 docs
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 lib
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 src
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 war

[Secqtinstien_D@MyServer trunk]$ cd dbscripts
[Secqtinstien_D@MyServer dbscripts]$ ls -l
total 72
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 121 Jan 4 14:33 alter10.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 314 Jan 4 14:33 alter11.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 146 Jan 4 14:33 alter1.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 1716 Jan 4 14:33 alter2.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 2302 Jan 4 14:33 obs_MyProject_pt_order_design.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 8692 Jan 4 14:33 obs_inventory_db_design.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 3510 Jan 4 14:33 obs_inventory_db_values_2010-12-01.sql

[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < obs_MyProject_pt_order_design.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < obs_inventory_db_design.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < obs_inventory_db_values_2010-12-01.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < obs_MyProject_pt_order_design.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < obs_MyProject_pt_order_design.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter1.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter2.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter3.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter4.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter5.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter6.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter7.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter8.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter9.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter10.sql
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter11.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ cd ../
[Secqtinstien_D@MyServer trunk]$ cd ../
[Secqtinstien_D@MyServer apps]$ ls -l
total 8
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 LoginApp
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 trunk
[Secqtinstien_D@MyServer apps]$ cd trunk
[Secqtinstien_D@MyServer trunk]$ ls -l
total 24
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 build
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 dbscripts
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 docs
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 lib
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 src
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 war
[Secqtinstien_D@MyServer trunk]$ cd build
[Secqtinstien_D@MyServer build]$ ls -l
total 8
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 105 Jan 4 14:33 build.properties
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 3373 Jan 4 14:33 build.xml

Installing Tomcat Server:

login as: Secqtinstien_D
Secqtinstien_D@192.168.10.49’s password:
Last login: Tue Jan 25 10:29:56 2011 from MySystem_IPAddress
[Secqtinstien_D@MyServer ~]$

[Secqtinstien_D@MyServer ~]$ ls -l
total 40704
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 4 20:01 LoginApp.war
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 project
[Secqtinstien_D@MyServer ~]$ mkdir tomcat

[Secqtinstien_D@MyServer ~]$
[Secqtinstien_D@MyServer ~]$ ls -l
total 40708
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 4 20:01 LoginApp.war
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 project
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 27 12:31 tomcat
[Secqtinstien_D@MyServer ~]$ cd tomcat
[Secqtinstien_D@MyServer ~]$
[Secqtinstien_D@MyServer ~]$ locate tomcat

/home/Secqtinstien_D/project/apache-tomcat-5.5.31
/usr/src/apache-tomcat-5.5.31.tar.gz
[Secqtinstien_D@MyServer ~]$
[Secqtinstien_D@MyServer tomcat]$ cp -rf /usr/src/apache-tomcat-5.5.31.tar.gz .

[Secqtinstien_D@MyServer tomcat]$ ls -l
total 8096
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 8277017 Jan 27 12:32 apache-tomcat-5.5.31.tar.gz
[Secqtinstien_D@MyServer tomcat]$ tar zxf apache-tomcat-5.5.31.tar.gz

[Secqtinstien_D@MyServer tomcat]$ ls -l
total 8100
drwxrwxr-x 11 Secqtinstien_D Secqtinstien_D 4096 Jan 27 12:56 apache-tomcat-5.5.31
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 8277017 Jan 27 12:32 apache-tomcat-5.5.31.tar.gz
[Secqtinstien_D@MyServer tomcat]$ cd apache-tomcat-5.5.31
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ ls -l
total 100
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 27 12:56 bin
drwxr-xr-x 6 Secqtinstien_D Secqtinstien_D 4096 Sep 5 01:23 common
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Sep 5 01:24 conf
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 40487 Sep 5 01:24 LICENSE
drwxr-xr-x 2 Secqtinstien_D Secqtinstien_D 4096 Sep 5 01:23 logs
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 760 Sep 5 01:24 NOTICE
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 9082 Sep 5 01:23 RELEASE-NOTES
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 8042 Sep 5 01:24 RUNNING.txt
drwxr-xr-x 5 Secqtinstien_D Secqtinstien_D 4096 Sep 5 01:23 server
drwxr-xr-x 4 Secqtinstien_D Secqtinstien_D 4096 Sep 5 01:23 shared
drwxr-xr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 27 12:56 temp
drwxr-xr-x 8 Secqtinstien_D Secqtinstien_D 4096 Sep 5 01:23 webapps
drwxr-xr-x 2 Secqtinstien_D Secqtinstien_D 4096 Sep 5 01:23 work
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd ../
[Secqtinstien_D@MyServer tomcat]$ cd ../
[Secqtinstien_D@MyServer ~]$ ls -l
total 40708
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 4 20:01 LoginApp.war
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 project
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 27 12:56 tomcat
[Secqtinstien_D@MyServer tomcat]$

[Secqtinstien_D@MyServer bin]$ vim ~/.bashrc
[Secqtinstien_D@MyServer bin]$ vim ~/.bashprofile

[Secqtinstien_D@MyServer ~]$

[Secqtinstien_D@MyServer ~]$ ps -ef|grep tomcat
Secqtinstien_D 10600 1 0 Jan06 ? 00:04:07 /usr/java/default/bin/java –
Secqtinstien_D 11391 11361 0 10:48 pts/1 00:00:00 grep tomcat

[Secqtinstien_D@MyServer ~]$ kill -9 10600
[Secqtinstien_D@MyServer ~]$

[Secqtinstien_D@MyServer ~]$
[Secqtinstien_D@MyServer ~]$ ls -l
total 40704
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 4 20:01 LoginApp.war
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 project
[Secqtinstien_D@MyServer ~]$ cd project
[Secqtinstien_D@MyServer project]$
[Secqtinstien_D@MyServer project]$ ls -l
total 28
drwxrwxr-x 11 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 apache-tomcat-5.5.31
drwxrwxr-x 6 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 MyProject
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 MyProject_old
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 login
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:07 LoginApp

[Secqtinstien_D@MyServer project]$ cd apache-tomcat-5.5.31
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ ls -l
total 100
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 bin
drwxr-xr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:45 webapps
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd webapps

[Secqtinstien_D@MyServer webapps]$ ls -l
total 86076
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:54 MyProject
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46381085 Jan 6 11:37 MyProject.war
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:56 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 6 11:43 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ rm MyProject.war

[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ ls -l
total 40728
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:54 MyProject
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:56 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 6 11:43 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ rm -rf MyProject

[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ ls -l
total 40724
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:56 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 6 11:43 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ cp -Rf /home/Secqtinstien_D/project/MyProject/trunk/build/b
MyProject.war build.properties build.xml
[Secqtinstien_D@MyServer webapps]$ cp -Rf /home/Secqtinstien_D/project/MyProject/trunk/build/MyProject.war .

[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ ls -l
total 86496
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 11:11 MyProject.war
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:56 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 6 11:43 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ rm -rf LoginApp
LoginApp/ LoginApp.war
[Secqtinstien_D@MyServer webapps]$ rm -rf LoginApp
LoginApp/ LoginApp.war
[Secqtinstien_D@MyServer webapps]$ rm -rf LoginApp LoginApp.war

[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ ls -l
total 45792
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 11:11 MyProject.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ cp -rf /home/Secqtinstien_D/project/LoginApp/build/LoginApp.war .

[Secqtinstien_D@MyServer webapps]$ ls -l
total 86468
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 11:11 MyProject.war
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41607026 Jan 25 11:22 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ cd ../

[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd bin
[Secqtinstien_D@MyServer bin]$ ls -l
total 1788
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 9995 Sep 5 01:23 catalina.bat
-rwxr-xr-x 1 Secqtinstien_D Secqtinstien_D 13131 Sep 5 01:23 catalina.sh
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 1927 Sep 5 01:23 catalina-tasks.xml
-rwxr-xr-x 1 Secqtinstien_D Secqtinstien_D 1627 Sep 5 01:23 digest.sh
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 2099 Sep 5 01:23 shutdown.bat
-rwxr-xr-x 1 Secqtinstien_D Secqtinstien_D 1566 Sep 5 01:23 shutdown.sh
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 2100 Sep 5 01:23 startup.bat
-rwxr-xr-x 1 Secqtinstien_D Secqtinstien_D 1959 Sep 5 01:23 startup.sh
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 241274 Sep 5 01:23 tomcat-native.tar.gz
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 1570 Sep 5 01:23 version.sh
[Secqtinstien_D@MyServer bin]$ ./startup.sh

Using CATALINA_BASE: /home/Secqtinstien_D/project/apache-tomcat-5.5.31
[Secqtinstien_D@MyServer bin]$

[Secqtinstien_D@MyServer bin]$ ps -ef|grep tomcat
Secqtinstien_D 11667 1 99 11:23 pts/1 00:00:27 /usr/java/default/bin/java
Secqtinstien_D 11717 11361 0 11:23 pts/1 00:00:00 grep tomcat
[Secqtinstien_D@MyServer bin]$ kill -9 11667

[Secqtinstien_D@MyServer bin]$
[Secqtinstien_D@MyServer bin]$ ps -ef|grep tomcat
Secqtinstien_D 11719 11361 0 11:24 pts/1 00:00:00 grep tomcat
[Secqtinstien_D@MyServer bin]$
[Secqtinstien_D@MyServer bin]$ cd ..
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd ../
[Secqtinstien_D@MyServer project]$ cd apache-tomcat-5.5.31/
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd webapps

[Secqtinstien_D@MyServer webapps]$ ls -l
total 86476
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 MyProject
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 11:11 MyProject.war
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41607026 Jan 25 11:22 LoginApp.war
drwxr-xr-x 12 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 tomcat-docs
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ cd MyProject

[Secqtinstien_D@MyServer MyProject]$ ls -l
total 28
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 MyProject
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 images
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 6632 Jan 25 10:51 index.html
drwxrwxr-x 5 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 WEB-INF
[Secqtinstien_D@MyServer MyProject]$ cd WEB-INF/
[Secqtinstien_D@MyServer WEB-INF]$
[Secqtinstien_D@MyServer WEB-INF]$ cd classes/
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ ls -l
total 24
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 com
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 134 Jan 25 10:51 hsqlserver.properties
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 4898 Jan 25 10:51 log4j.isc.config.xml
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 5825 Jan 25 10:51 server.properties
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ vim server.properties

[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ cd ../../../
[Secqtinstien_D@MyServer webapps]$ ls
balancer MyProject MyProject.war jsp-examples LoginApp LoginApp.war servlets-examples tomcat-docs webdav
[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ cd LoginApp

[Secqtinstien_D@MyServer LoginApp]$
[Secqtinstien_D@MyServer LoginApp]$ ls
css ds images loginapp LoginApp.html WEB-INF
[Secqtinstien_D@MyServer LoginApp]$
[Secqtinstien_D@MyServer LoginApp]$ cd WEB-INF/classes/
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ ls
com hsqlserver.properties log4j.isc.config.xml server.properties
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ vim server.properties
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ vim server.properties
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ cd ../../../
[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ cd ../
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd bin/
[Secqtinstien_D@MyServer bin]$ ./startup.sh

Using CATALINA_BASE: /home/Secqtinstien_D/project/apache-tomcat-5.5.31
[Secqtinstien_D@MyServer bin]$ cd ../
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd webapps/MyProject/WEB-INF/classes/
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ vim server.properties
[Secqtinstien_D@MyServer classes]$

Updating the deployed server:

login as: Secqtinstien_D
Secqtinstien_D@192.168.10.49’s password:
Last login: Mon Jan 24 11:47:55 2011 from 192.168.5.86
[Secqtinstien_D@MyServer ~]$ ls -l
total 40704
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 4 20:01 LoginApp.war
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 project

[Secqtinstien_D@MyServer ~]$ cd project
[Secqtinstien_D@MyServer project]$ ls -l
total 28
drwxrwxr-x 11 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 apache-tomcat-5.5.31
drwxrwxr-x 6 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 MyProject
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 MyProject_old
drwxrwxr-x 5 Secqtinstien_D Secqtinstien_D 4096 Jan 5 13:30 gwt-linux-1.7.0
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 login
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:07 LoginApp
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:53 software
[Secqtinstien_D@MyServer project]$ cd MyProject
[Secqtinstien_D@MyServer MyProject]$ ls -l
total 12
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 branches
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 tags
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 trunk
[Secqtinstien_D@MyServer MyProject]$ cd trunk
[Secqtinstien_D@MyServer trunk]$ ls -l
total 24
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 18 13:46 build
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 dbscripts
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 docs
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 lib
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 src
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 war
[Secqtinstien_D@MyServer trunk]$ svn info
Path: .
URL: svn://svn.amsoftsystems.com/home/SVNROOT/OBS/MyProject/trunk
Revision: 2294
Last Changed Date: 2011-01-06 10:10:37 +0530 (Thu, 06 Jan 2011)

[Secqtinstien_D@MyServer trunk]$ svn status
? build/MyProject.war
? build/war
M build/build.properties

[Secqtinstien_D@MyServer trunk]$ clear
[Secqtinstien_D@MyServer trunk]$ svn update
U src/log4j.isc.config.xml
A dbscripts/alter17.sql
A dbscripts/alter18.sql
Updated to revision 2416.
[Secqtinstien_D@MyServer trunk]$ ls
build dbscripts docs lib src war

[Secqtinstien_D@MyServer trunk]$ cd war/
[Secqtinstien_D@MyServer war]$ ll
total 24
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 css
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:43 ds
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 images
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 6632 Jan 25 10:43 index.html
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 WEB-INF
[Secqtinstien_D@MyServer war]$ cd WEB-INF/
[Secqtinstien_D@MyServer WEB-INF]$ ll
total 28
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 9097 Jan 6 11:18 iscTaglib.xml
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:43 lib
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 987 Jan 6 11:18 logging.properties
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 7045 Jan 25 10:43 web.xml
[Secqtinstien_D@MyServer WEB-INF]$ cd ../../
[Secqtinstien_D@MyServer trunk]$ ls
build dbscripts docs lib src war
[Secqtinstien_D@MyServer trunk]$
[Secqtinstien_D@MyServer trunk]$ cd build/

[Secqtinstien_D@MyServer build]$
[Secqtinstien_D@MyServer build]$ ls
MyProject.war build.properties build.xml war
[Secqtinstien_D@MyServer build]$
[Secqtinstien_D@MyServer build]$ rm MyProject.war

[Secqtinstien_D@MyServer build]$ ls
build.properties build.xml war
[Secqtinstien_D@MyServer build]$ rm -Rf war

[Secqtinstien_D@MyServer build]$
[Secqtinstien_D@MyServer build]$ ls -l
total 8
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 92 Jan 6 11:27 build.properties
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 3373 Jan 6 11:17 build.xml
[Secqtinstien_D@MyServer build]$ ant

Buildfile: build.xml
libs:
build:
[zip] Building zip: /home/Secqtinstien_D/project/MyProject/trunk/build/MyProject.war
[copy] Copying 511 files to /home/Secqtinstien_D/project/apache-tomcat-5.5.31/webapps/MyProject
BUILD SUCCESSFUL
Total time: 2 minutes 57 seconds
[Secqtinstien_D@MyServer build]$
[Secqtinstien_D@MyServer build]$ ls -l
total 45784
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 10:54 MyProject.war
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 92 Jan 6 11:27 build.properties
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 3373 Jan 6 11:17 build.xml
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:54 war

[Secqtinstien_D@MyServer build]$
[Secqtinstien_D@MyServer build]$ cd ../
[Secqtinstien_D@MyServer trunk]$ ls -l
total 24
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:54 build
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:43 dbscripts
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 docs
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 lib
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 src
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 war
[Secqtinstien_D@MyServer trunk]$ cd ../
[Secqtinstien_D@MyServer MyProject]$ cd ../
[Secqtinstien_D@MyServer project]$ ls -l
total 28
drwxrwxr-x 11 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 apache-tomcat-5.5.31
drwxrwxr-x 6 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 MyProject
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 MyProject_old
drwxrwxr-x 5 Secqtinstien_D Secqtinstien_D 4096 Jan 5 13:30 gwt-linux-1.7.0
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 login
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:07 LoginApp
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:53 software
[Secqtinstien_D@MyServer project]$ ls -l
total 28
drwxrwxr-x 11 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 apache-tomcat-5.5.31
drwxrwxr-x 6 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 MyProject
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 MyProject_old
drwxrwxr-x 5 Secqtinstien_D Secqtinstien_D 4096 Jan 5 13:30 gwt-linux-1.7.0
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 login
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:07 LoginApp
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:53 software
[Secqtinstien_D@MyServer project]$ cd ../
[Secqtinstien_D@MyServer ~]$ ls
LoginApp.war project
[Secqtinstien_D@MyServer ~]$
[Secqtinstien_D@MyServer ~]$
[Secqtinstien_D@MyServer ~]$ cd project/MyProject/trunk/
[Secqtinstien_D@MyServer trunk]$ ls
build dbscripts docs lib src war
[Secqtinstien_D@MyServer trunk]$ cd dbscripts/

[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ ls
alter10.sql alter13.sql alter16.sql alter1.sql alter4.sql alter7.sql obs_MyProject_pt_order_design.sql
alter11.sql alter14.sql alter17.sql alter2.sql alter5.sql alter8.sql obs_inventory_db_design.sql
alter12.sql alter15.sql alter18.sql alter3.sql alter6.sql alter9.sql obs_inventory_db_values_2010-12-01.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ ll
total 104
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 105 Jan 25 10:43 alter10.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 314 Jan 25 10:43 alter11.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 327 Jan 25 10:43 alter12.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 458 Jan 25 10:43 alter13.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 114 Jan 25 10:43 alter14.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 2515 Jan 25 10:43 alter15.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 8187 Jan 25 10:43 alter16.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 1366 Jan 25 10:43 alter17.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 220 Jan 25 10:43 alter18.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 136 Jan 25 10:43 alter1.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 1666 Jan 25 10:43 alter2.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 478 Jan 25 10:43 alter3.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 11085 Jan 25 10:43 alter4.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 372 Jan 25 10:43 alter5.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 374 Jan 25 10:43 alter6.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 268 Jan 25 10:43 alter7.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 184 Jan 6 11:18 alter8.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 433 Jan 25 10:43 alter9.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 2272 Jan 25 10:43 obs_MyProject_pt_order_design.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 8692 Jan 6 11:18 obs_inventory_db_design.sql
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 3510 Jan 6 11:18 obs_inventory_db_values_2010-12-01.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter12.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter13.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter14.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter15.sql
ERROR 1061 (42000) at line 18: Duplicate key name ‘Index_2’
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter16.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter17.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < alter18.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < obs_MyProject_pt_order_design.sql
ERROR 1050 (42S01) at line 1: Table ‘pt_order’ already exists
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ mysql -uroot -proot MyProject < obs_MyProject_pt_order_design.sql
ERROR 1050 (42S01) at line 1: Table ‘pt_order’ already exists

[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ cd ../
[Secqtinstien_D@MyServer trunk]$
[Secqtinstien_D@MyServer trunk]$ ls
build dbscripts docs lib src war
[Secqtinstien_D@MyServer trunk]$
[Secqtinstien_D@MyServer trunk]$ cd build/
[Secqtinstien_D@MyServer build]$ ls -l
total 45784
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 10:54 MyProject.war
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 92 Jan 6 11:27 build.properties
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 3373 Jan 6 11:17 build.xml
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:54 war
[Secqtinstien_D@MyServer build]$ pwd
/home/Secqtinstien_D/project/MyProject/trunk/build

[Secqtinstien_D@MyServer build]$
[Secqtinstien_D@MyServer build]$ cd ../../
[Secqtinstien_D@MyServer MyProject]$ ls -l
total 12
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 branches
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 tags
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 trunk
[Secqtinstien_D@MyServer MyProject]$ cd ../
[Secqtinstien_D@MyServer project]$ ls
apache-tomcat-5.5.31 MyProject MyProject_old gwt-linux-1.7.0 login LoginApp software
[Secqtinstien_D@MyServer project]$ cd LoginApp

[Secqtinstien_D@MyServer LoginApp]$ ls -l
total 20
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:38 build
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:07 dbscripts
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:07 lib
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:10 src
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:07 war
[Secqtinstien_D@MyServer LoginApp]$ svn info
Path: .
URL: svn://svn.amsoftsystems.com/home/SVNROOT/OBS/CMPS/SmartGWT/LoginApp
Repository Root: svn://svn.amsoftsystems.com/home/SVNROOT/OBS
Repository UUID: c3821b03-a511-4ce0-9205-8582179a76c2
Revision: 2294
Last Changed Date: 2010-12-29 16:00:57 +0530 (Wed, 29 Dec 2010)
[Secqtinstien_D@MyServer LoginApp]$ cd dbscripts/

[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ ls
user_management_10.sql user_management_14.sql user_management_18.sql user_management_4.sql user_management_8.sql
user_management_11.sql user_management_15.sql user_management_1.sql user_management_5.sql user_management_9.sql
user_management_12.sql user_management_16.sql user_management_2.sql user_management_6.sql user_management.sql
user_management_13.sql user_management_17.sql user_management_3.sql user_management_7.sql
[Secqtinstien_D@MyServer dbscripts]$
[Secqtinstien_D@MyServer dbscripts]$ cd ../
[Secqtinstien_D@MyServer LoginApp]$
[Secqtinstien_D@MyServer LoginApp]$ svn status

M src/server.properties
[Secqtinstien_D@MyServer LoginApp]$
[Secqtinstien_D@MyServer LoginApp]$ svn update
U src/com/smartgwt/login/server/AuthServiceImpl.java
A src/com/smartgwt/login/server/RegisterApplication.java
U src/com/smartgwt/login/server/PermissionServiceImpl.java
U src/com/smartgwt/login/client/CenterStack.java
U src/com/smartgwt/login/client/LoginApp.java
U src/com/smartgwt/login/client/AuthServiceAsync.java
U src/com/smartgwt/login/client/AuthService.java
U src/com/smartgwt/login/client/Impersonate.java
Updated to revision 2416.
[Secqtinstien_D@MyServer LoginApp]$ svn info

Path: .
URL: svn://svn.amsoftsystems.com/home/SVNROOT/OBS/CMPS/SmartGWT/LoginApp
Repository Root: svn://svn.amsoftsystems.com/home/SVNROOT/OBS
Repository UUID: c3821b03-a511-4ce0-9205-8582179a76c2
Revision: 2416
Last Changed Date: 2011-01-21 12:12:12 +0530 (Fri, 21 Jan 2011)

[Secqtinstien_D@MyServer LoginApp]$ ls
build dbscripts lib src war
[Secqtinstien_D@MyServer LoginApp]$ cd war
[Secqtinstien_D@MyServer war]$ ls
css ds images loginapp LoginApp.html WEB-INF
[Secqtinstien_D@MyServer war]$ cd WEB-INF/
[Secqtinstien_D@MyServer WEB-INF]$
[Secqtinstien_D@MyServer WEB-INF]$ cd classes/
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ ls
com hsqlserver.properties log4j.isc.config.xml server.properties
[Secqtinstien_D@MyServer classes]$ rm -rf com

[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ ls
hsqlserver.properties log4j.isc.config.xml server.properties
[Secqtinstien_D@MyServer classes]$ cd ../../../
[Secqtinstien_D@MyServer LoginApp]$ ls
build dbscripts lib src war
[Secqtinstien_D@MyServer LoginApp]$ cd build
[Secqtinstien_D@MyServer build]$
[Secqtinstien_D@MyServer build]$ ls
build.xml ReadMe.txt
[Secqtinstien_D@MyServer build]$ ant war

Buildfile: build.xml
Build:
BUILD SUCCESSFUL
Total time: 2 minutes 34 seconds
[Secqtinstien_D@MyServer build]$
[Secqtinstien_D@MyServer build]$ ls -l
total 40688
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 2931 Jan 6 11:07 build.xml
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41607026 Jan 25 11:17 LoginApp.war
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 1317 Jan 6 11:07 ReadMe.txt
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:15 war
[Secqtinstien_D@MyServer build]$ pwd
/home/Secqtinstien_D/project/LoginApp/build
[Secqtinstien_D@MyServer build]$ cd ../../../
[Secqtinstien_D@MyServer ~]$
Updating Tomcat server:

login as: Secqtinstien_D
Secqtinstien_D@192.168.10.49’s password:
Last login: Tue Jan 25 10:29:56 2011 from MySystem_IPAddress
[Secqtinstien_D@MyServer ~]$
[Secqtinstien_D@MyServer ~]$ ps -ef|grep tomcat
Secqtinstien_D 10600 1 0 Jan06 ? 00:04:07 /usr/java/default/bin/java –
Secqtinstien_D 11391 11361 0 10:48 pts/1 00:00:00 grep tomcat

[Secqtinstien_D@MyServer ~]$ kill -9 10600
[Secqtinstien_D@MyServer ~]$

[Secqtinstien_D@MyServer ~]$ ps -ef|grep tomcat
Secqtinstien_D 11532 11361 0 11:06 pts/1 00:00:00 grep tomcat
[Secqtinstien_D@MyServer ~]$
[Secqtinstien_D@MyServer ~]$ ls -l

total 40704
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 4 20:01 LoginApp.war
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:17 project
[Secqtinstien_D@MyServer ~]$ cd project
[Secqtinstien_D@MyServer project]$
[Secqtinstien_D@MyServer project]$ ls -l
total 28
drwxrwxr-x 11 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 apache-tomcat-5.5.31
drwxrwxr-x 6 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:18 MyProject
drwxrwxr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:33 MyProject_old
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 4 14:34 login
drwxrwxr-x 8 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:07 LoginApp

[Secqtinstien_D@MyServer project]$ cd apache-tomcat-5.5.31
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ ls -l
total 100
drwxrwxr-x 4 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 bin
drwxr-xr-x 9 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:45 webapps
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd webapps

[Secqtinstien_D@MyServer webapps]$ ls -l
total 86076
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:54 MyProject
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46381085 Jan 6 11:37 MyProject.war
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:56 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 6 11:43 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ rm MyProject.war

[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ ls -l
total 40728
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 10:54 MyProject
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:56 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 6 11:43 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ rm -rf MyProject

[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ ls -l
total 40724
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:56 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 6 11:43 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ cp -Rf /home/Secqtinstien_D/project/MyProject/trunk/build/b
MyProject.war build.properties build.xml
[Secqtinstien_D@MyServer webapps]$ cp -Rf /home/Secqtinstien_D/project/MyProject/trunk/build/MyProject.war .

[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ ls -l
total 86496
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 11:11 MyProject.war
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 6 11:56 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41628601 Jan 6 11:43 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ rm -rf LoginApp
LoginApp/ LoginApp.war
[Secqtinstien_D@MyServer webapps]$ rm -rf LoginApp
LoginApp/ LoginApp.war
[Secqtinstien_D@MyServer webapps]$ rm -rf LoginApp LoginApp.war

[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ ls -l
total 45792
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 11:11 MyProject.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ cp -rf /home/Secqtinstien_D/project/LoginApp/build/LoginApp.war .

[Secqtinstien_D@MyServer webapps]$ ls -l
total 86468
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 11:11 MyProject.war
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41607026 Jan 25 11:22 LoginApp.war
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ cd ../

[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd bin
[Secqtinstien_D@MyServer bin]$ ls -l
total 1788
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 9995 Sep 5 01:23 catalina.bat
-rwxr-xr-x 1 Secqtinstien_D Secqtinstien_D 13131 Sep 5 01:23 catalina.sh
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 1927 Sep 5 01:23 catalina-tasks.xml
-rwxr-xr-x 1 Secqtinstien_D Secqtinstien_D 1627 Sep 5 01:23 digest.sh
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 2099 Sep 5 01:23 shutdown.bat
-rwxr-xr-x 1 Secqtinstien_D Secqtinstien_D 1566 Sep 5 01:23 shutdown.sh
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 2100 Sep 5 01:23 startup.bat
-rwxr-xr-x 1 Secqtinstien_D Secqtinstien_D 1959 Sep 5 01:23 startup.sh
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 241274 Sep 5 01:23 tomcat-native.tar.gz
-rw-r–r– 1 Secqtinstien_D Secqtinstien_D 1570 Sep 5 01:23 version.sh
[Secqtinstien_D@MyServer bin]$ ./startup.sh

Using CATALINA_BASE: /home/Secqtinstien_D/project/apache-tomcat-5.5.31
[Secqtinstien_D@MyServer bin]$

[Secqtinstien_D@MyServer bin]$ ps -ef|grep tomcat
Secqtinstien_D 11667 1 99 11:23 pts/1 00:00:27 /usr/java/default/bin/java
Secqtinstien_D 11717 11361 0 11:23 pts/1 00:00:00 grep tomcat
[Secqtinstien_D@MyServer bin]$ kill -9 11667

[Secqtinstien_D@MyServer bin]$
[Secqtinstien_D@MyServer bin]$ ps -ef|grep tomcat
Secqtinstien_D 11719 11361 0 11:24 pts/1 00:00:00 grep tomcat
[Secqtinstien_D@MyServer bin]$
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd ../
[Secqtinstien_D@MyServer project]$ cd apache-tomcat-5.5.31/
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd webapps

[Secqtinstien_D@MyServer webapps]$ ls -l
total 86476
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 MyProject
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 46815628 Jan 25 11:11 MyProject.war
drwxrwxr-x 7 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 LoginApp
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 41607026 Jan 25 11:22 LoginApp.war
drwxr-xr-x 12 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 tomcat-docs
drwxr-xr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 5 11:49 webdav
[Secqtinstien_D@MyServer webapps]$ cd MyProject

[Secqtinstien_D@MyServer MyProject]$ ls -l
total 28
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 MyProject
drwxrwxr-x 2 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 images
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 6632 Jan 25 10:51 index.html
drwxrwxr-x 5 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 WEB-INF
[Secqtinstien_D@MyServer MyProject]$ cd WEB-INF/
[Secqtinstien_D@MyServer WEB-INF]$
[Secqtinstien_D@MyServer WEB-INF]$ cd classes/
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ ls -l
total 24
drwxrwxr-x 3 Secqtinstien_D Secqtinstien_D 4096 Jan 25 11:23 com
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 134 Jan 25 10:51 hsqlserver.properties
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 4898 Jan 25 10:51 log4j.isc.config.xml
-rw-rw-r– 1 Secqtinstien_D Secqtinstien_D 5825 Jan 25 10:51 server.properties
[Secqtinstien_D@MyServer classes]$ vim server.properties
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ vim server.properties

[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ cd ../../../
[Secqtinstien_D@MyServer webapps]$ ls
balancer MyProject MyProject.war jsp-examples LoginApp LoginApp.war servlets-examples tomcat-docs webdav
[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ cd LoginApp

[Secqtinstien_D@MyServer LoginApp]$
[Secqtinstien_D@MyServer LoginApp]$ ls
css ds images loginapp LoginApp.html WEB-INF
[Secqtinstien_D@MyServer LoginApp]$
[Secqtinstien_D@MyServer LoginApp]$ cd WEB-INF/classes/
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ ls
com hsqlserver.properties log4j.isc.config.xml server.properties
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ vim server.properties
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ cd ../../../
[Secqtinstien_D@MyServer webapps]$
[Secqtinstien_D@MyServer webapps]$ cd ../
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd bin/
[Secqtinstien_D@MyServer bin]$ ./startup.sh

Using CATALINA_BASE: /home/Secqtinstien_D/project/apache-tomcat-5.5.31
[Secqtinstien_D@MyServer bin]$ cd ../
[Secqtinstien_D@MyServer apache-tomcat-5.5.31]$ cd webapps/MyProject/WEB-INF/classes/
[Secqtinstien_D@MyServer classes]$
[Secqtinstien_D@MyServer classes]$ vim server.properties
[Secqtinstien_D@MyServer classes]$

[Secqtinstien_D@MyServer ~]$ cd project/apache-tomcat-5.5.31/logs/

[Secqtinstien_D@MyServer logs]$
[Secqtinstien_D@MyServer logs]$ tail -f catalina.out

Jan 25, 2011 11:23:41 AM org.apache.coyote.http11.Http11BaseProtocol start
[Secqtinstien_D@MyServer logs]$

Advertisements

38 responses to this post.

  1. Posted by Nakshtra Choudhary on March 9, 2012 at 4:26 pm

    seems they are the log records of a deployment

    thanks

  2. Posted by Dinesh Kumar on March 9, 2012 at 4:27 pm

    yeah, these are the log records for a Java based code deployment project over linux hosted server

  3. Very interesting details you have remarked, appreciate it for putting up.

  4. Thanks , I’ve recently been searching for info approximately this subject for a while and yours is the greatest I’ve found out so far. But, what in regards to the conclusion? Are you positive concerning the supply?

  5. I really wanted to compose a word to be able to thank you for all of the pleasant strategies you are placing here. My extended internet lookup has now been recognized with good quality points to talk about with my family and friends. I ‘d mention that many of us website visitors are undeniably blessed to live in a superb site with so many lovely professionals with insightful techniques. I feel somewhat grateful to have encountered the web site and look forward to really more cool times reading here. Thank you once more for everything.

  6. Great blog. Lots of blogs like this cover subjects that arent found in magazines. I dont know how we got on 12 years ago with just print media.

  7. Real great info can be found on this blog.

  8. Hello.This post was extremely remarkable, particularly since I was searching for thoughts on this issue last Wednesday.

  9. Very interesting info!Perfect just what I was looking for!

  10. Very nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again very soon!

  11. Web hosting getting cheaper with offering good functionalities.I have tried some Awesome web hosting providers and found them great

  12. WONDERFUL Post.thanks for share..more wait .. …

  13. Unquestionably believe that which you stated. Your favorite justification appeared to be on the web the easiest thing to be aware of. I say to you, I definitely get annoyed while people think about worries that they just do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side-effects , people could take a signal. Will likely be back to get more. Thanks

  14. Nice weblog here! Additionally your site quite a bit up fast! What host are you the usage of? Can I am getting your associate link in your host? I want my website loaded up as quickly as yours lol

  15. Thanks for this. Would be good if you could help using the following.
    1) Currently the header title is set to “VIDEO GALLERY”. That remains same in any way times. Is there in any case to dynamically change it to the file name in the particular video being played.
    2) Rather than use an associated jpeg for just about every video, is there any way to established the item_icon (for that thumbnail) to be the first image (screen shot) from the flv file the icon supposed to represent.
    3) Is there any way to add file name to the thumbnails in addition to your item_icon that appears on screen.
    Thanks once yet again.

  16. CSSTeam Fortress 2…

  17. Also make sure the forms are jquery enabled to recognized an incorrect field with a design that is definitely clear and simple to fix.

  18. era of electric cars is growing in the global automotive entire world. Nissan is now trying to revive the legendary car 200SX

  19. When I open up your Rss feed it appears to be a lot of nonsense, is the problem on my side?

  20. When are you going to post again? You really inform me!

  21. This website is really good! How can I make one like this !?

  22. This blog site has got lots of extremely useful info on it! Thanks for helping me!

  23. Have you given any consideration at all with converting your current blog into Spanish? I know a couple of translaters right here which might help you do it for no cost if you want to get in touch with me.

  24. I appreciate your wp theme, where did you get a hold of it?

  25. Im getting a teeny issue. I cant get my reader to pick-up your rss feed, Im using bing reader by the way.

  26. Have you considered adding some relevant links to your article? I think it will really enhance my understanding.

  27. Have you given any consideration at all with translating your main website in to French? I know a couple of of translaters here which would help you do it for free if you want to contact me.

  28. It looks to me that this site doesnt load up on a Motorola Droid. Are other folks having the exact same issue? I enjoy this website and dont want to have to miss it whenever Im gone from my computer.

  29. Virtually all of the comments on this web site dont make sense.

  30. Whilst I truly like this post, I think there was an punctuational error near to the finish of the 3rd section.

  31. pretty useful material, on the whole I imagine this is worthy of a bookmark, many thanks

  32. When are you going to post again? You really entertain me!

  33. Fantastic Stuff, do you have a twitter profile?

  34. How come you do not have your website viewable in mobile format? cant see anything in my netbook.

  35. Brilliant, thanks, I will bookmark you later!

  36. If you dont mind, where do you host your weblog? I am looking for a great host and your site seams to be quick and up almost all the time

  37. Posted by This is the right blog for anyone who wants to find out about this topic. You realize so much its almost hard to argue with you (not that I actually would want…HaHa). You definitely put a new spin on a topic thats been written about for years. Great stu on July 4, 2012 at 2:47 pm

    This is the right blog for anyone who wants to find out about this topic. You realize so much its almost hard to argue with you (not that I actually would want…HaHa). You definitely put a new spin on a topic thats been written about for years. Great stuff, just great!

Comments are closed.

%d bloggers like this: