Machine Configuration for Live Server Operating System should be installed in Live Application...

23
Machine Configuration for Live Server Machine Configuration for Live Server Operating System should be installed in Live Application System should Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server . be Windows 2000 Server or Windows 2003 Server . Internet Connection must be there. Internet Connection must be there. Port should be open for either of these 8080,8085,1467 Port should be open for either of these 8080,8085,1467 NOTE: If in this system, Oracle 9i is installed , then 8080 port will NOTE: If in this system, Oracle 9i is installed , then 8080 port will not work. not work. Check java version may be installed in C:\ previously (Go to Start >> Check java version may be installed in C:\ previously (Go to Start >> Settings >> Control Panel >> Add/Remove Program >> check here either Settings >> Control Panel >> Add/Remove Program >> check here either J2SE Development Kit or J2SE Runtime Environment J2SE Development Kit or J2SE Runtime Environment If these two are available here, then this has to be removed . If these two are available here, then this has to be removed .

Transcript of Machine Configuration for Live Server Operating System should be installed in Live Application...

Page 1: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

Machine Configuration for Live ServerMachine Configuration for Live Server

• Operating System should be installed in Live Application System should be Windows Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server . 2000 Server or Windows 2003 Server .

• Internet Connection must be there.Internet Connection must be there.

• Port should be open for either of these 8080,8085,1467Port should be open for either of these 8080,8085,1467

• NOTE: If in this system, Oracle 9i is installed , then 8080 port will not work.NOTE: If in this system, Oracle 9i is installed , then 8080 port will not work.

• Check java version may be installed in C:\ previously (Go to Start >> Settings >> Check java version may be installed in C:\ previously (Go to Start >> Settings >> Control Panel >> Add/Remove Program >> check here either J2SE Development Kit Control Panel >> Add/Remove Program >> check here either J2SE Development Kit or J2SE Runtime Environment or J2SE Runtime Environment

If these two are available here, then this has to be removed .If these two are available here, then this has to be removed .

Page 2: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

Corporate web installation steps:Corporate web installation steps:

Steps which you have to follow at live server machineSteps which you have to follow at live server machine

• Create a new folder “capexweb” in c:\ and download corporate.zip Create a new folder “capexweb” in c:\ and download corporate.zip from from http://www.shilpisoft.com/sunil/Corporate.zip http://www.shilpisoft.com/sunil/Corporate.zip and setup.exe from and setup.exe from http://www.shilpisoft.com/sunil/setup.exehttp://www.shilpisoft.com/sunil/setup.exe in cin c:\ capexweb and :\ capexweb and extract all the files on the same path .extract all the files on the same path .

• First run Jdk.exe and then tomcat.exe on desktop. Enter the port 8080 First run Jdk.exe and then tomcat.exe on desktop. Enter the port 8080 or1467 or 8085 while installing tomcat which ever you have or1467 or 8085 while installing tomcat which ever you have configured.configured.

For running JDK , Following steps have to follow :For running JDK , Following steps have to follow :

Page 3: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

Change the path here as C:\jdk1.5.0_09Change the path here as C:\jdk1.5.0_09

Page 4: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

For Setting the path of J2SE Runtime Environment ; path change To as C:\jre1.5.0_09 For Setting the path of J2SE Runtime Environment ; path change To as C:\jre1.5.0_09

Page 5: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

To Complete the Installation Process , Click here to Finish To Complete the Installation Process , Click here to Finish

Page 6: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

To run Tomcat.exe , following steps are to done :To run Tomcat.exe , following steps are to done :(here you have to Untick the Documentation )(here you have to Untick the Documentation )

Page 7: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

When Choose the Installation Location ; Destination folder should be C:\Tomcat 5.5 When Choose the Installation Location ; Destination folder should be C:\Tomcat 5.5

Page 8: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

To Configure the Apache Tomcat ,Give the port no: As mentioned by client which port is To Configure the Apache Tomcat ,Give the port no: As mentioned by client which port is configured for live. configured for live. User Name : adminUser Name : adminPassword : 12345Password : 12345

Page 9: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

Here it will ask to select the path of J2SE 5.0 JRE which has already installed in the Here it will ask to select the path of J2SE 5.0 JRE which has already installed in the system.So it should come automatically as : C:\jre1.5.0_09 .If this path is showing Click system.So it should come automatically as : C:\jre1.5.0_09 .If this path is showing Click on Install on Install

Page 10: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

Here to Click on Finish To complete the Process. Here to Click on Finish To complete the Process.

Page 11: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

• After Successfully Installation of Jdk & Tomcat , In C:\ >> 3 Folders i.e. After Successfully Installation of Jdk & Tomcat , In C:\ >> 3 Folders i.e.

jre1.5.0_09, jdk1.5.0_09 And Tomcat 5.5 will be created.jre1.5.0_09, jdk1.5.0_09 And Tomcat 5.5 will be created.

• Insert web.xml file in c:\tomcat5.5\conf \ and capexweb.xml file in c:\Insert web.xml file in c:\tomcat5.5\conf \ and capexweb.xml file in c:\tomcat5.5\conf\Catalina\localhost. Take from s:\xml File foldertomcat5.5\conf\Catalina\localhost. Take from s:\xml File folder

• Run setup.exe again which will provided by shilpi support .Run setup.exe again which will provided by shilpi support .

• Contact at Shilpi for live registering your license.Contact at Shilpi for live registering your license.

Insert License File in C:\capexweb i.e shilpi_capexweb/lic provided by Shilpi Insert License File in C:\capexweb i.e shilpi_capexweb/lic provided by Shilpi SupportSupport

• Change some entry in C:\capexweb\capexweb\capexmain_middle.htm. Open Change some entry in C:\capexweb\capexweb\capexmain_middle.htm. Open this file with notepad >>this file with notepad >>

<input type="hidden" value=“SHILPI" name="dfcode"><input type="hidden" value=“SHILPI" name="dfcode">

<input type="hidden" name="dfparentdb" value="WEBDATA"><input type="hidden" name="dfparentdb" value="WEBDATA">

<input type="hidden" name="dfparentip" value="111.111.111.100"><input type="hidden" name="dfparentip" value="111.111.111.100">

Here, in place of dfcode value i.e “SHILPI” give the Comp.Id given in license file .Here, in place of dfcode value i.e “SHILPI” give the Comp.Id given in license file .

in place of dfparentdb value i.e. “WEBDATA” give the database name which is created in place of dfparentdb value i.e. “WEBDATA” give the database name which is created as parent type in Database Server . as parent type in Database Server .

And in place of IP : put IP address of DatabaseServer in which Parent DataBase has been And in place of IP : put IP address of DatabaseServer in which Parent DataBase has been configuredconfigured..

Page 12: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

For change of drive from C:\ to e:\ (Or Any other drive)For change of drive from C:\ to e:\ (Or Any other drive)

• Run jdk and tomcat files again and change the path to e:\ Run jdk and tomcat files again and change the path to e:\ • Add a line in c:\capexweb\ capexweb\capexmain_middle.htmAdd a line in c:\capexweb\ capexweb\capexmain_middle.htm

• (where same lines appears)(where same lines appears)

• <input type="hidden" name="dfinstalldrive" value="E"><input type="hidden" name="dfinstalldrive" value="E">

• Run setup in e:\Run setup in e:\

• To change drive in capexweb.xml , followTo change drive in capexweb.xml , follow

E:\Tomcat 5.5\conf\Catalina\localhost\ open capexweb.xml in notepad and change c:\ E:\Tomcat 5.5\conf\Catalina\localhost\ open capexweb.xml in notepad and change c:\

to e:\to e:\ As <Context docBase=“e:/capexweb" path="/capexweb" reloadable="true" As <Context docBase=“e:/capexweb" path="/capexweb" reloadable="true"

workDir=“e:\capexweb\work">workDir=“e:\capexweb\work">

Page 13: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

STEPS WHICH YOU HAVE TO FOLLOW ON WEBDATA SERVER STEPS WHICH YOU HAVE TO FOLLOW ON WEBDATA SERVER MACHINE : MACHINE :

• Create a parent database "webdata" import (Blank database) and take license Create a parent database "webdata" import (Blank database) and take license from Shilpi supportfrom Shilpi support..

• Add the Parent's database entries on main server inAdd the Parent's database entries on main server in A.) Sql.ini in capex10\sql.ini A.) Sql.ini in capex10\sql.ini B.) TNSNAMES.ORA in (oracle\ora92\network\admin\tnsnames.ora.)B.) TNSNAMES.ORA in (oracle\ora92\network\admin\tnsnames.ora.)

• Make the entries in capex10 >> utilities >> system utilities >> weblivesetup Make the entries in capex10 >> utilities >> system utilities >> weblivesetup >> database configuration .First time , this page will open as blank , Click on >> database configuration .First time , this page will open as blank , Click on plus(+) button to add the entry.plus(+) button to add the entry.

• NOTE: In Application type : Select CAP for Application Capital & F&O.NOTE: In Application type : Select CAP for Application Capital & F&O. Select FXF for FXFUTURE Select FXF for FXFUTURE • In Case of DbType Put as Parent for Parent database And Child For Child In Case of DbType Put as Parent for Parent database And Child For Child

Database. Parent Entry must be at first line.Database. Parent Entry must be at first line.• Seq. No should be unique .Seq. No should be unique .• After doing entry up to Seq. and Save, It may Give Error as : “invalid identifier” After doing entry up to Seq. and Save, It may Give Error as : “invalid identifier”

. For that . For that • Import the structure of databasemaster .csv and webusermaster .csv Import the structure of databasemaster .csv and webusermaster .csv

files from s:\web_tables to d:\capex10(from where the package is files from s:\web_tables to d:\capex10(from where the package is running) .running) .

• connect utilcap10.exe in capex10 folder>> system>>table structure connect utilcap10.exe in capex10 folder>> system>>table structure matching>> select table-matching>> select table-databasemasterdatabasemaster- Import file and give path of file - Import file and give path of file name where file(.csv) is reside and update mismatch column.And then name where file(.csv) is reside and update mismatch column.And then proceed . Same as for proceed . Same as for webusermasterwebusermaster . After this , In Database Configuration , . After this , In Database Configuration , entry will save sucessfully.entry will save sucessfully.

Page 14: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.
Page 15: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

• Login each database and Now connect and add parent database from >> system Login each database and Now connect and add parent database from >> system utilities >> web live setup >> database attach (Parent). Here Connect and addutilities >> web live setup >> database attach (Parent). Here Connect and add

• Update License Status in each package folder (From LICCLIENT). Then Login each Update License Status in each package folder (From LICCLIENT). Then Login each package.package.

• Create a Branch as “Admin” in Master >> Branch Maintainence. So that in Live >> Create a Branch as “Admin” in Master >> Branch Maintainence. So that in Live >> Admin Login >> all exchange will come , you can run “DBmantainance” or u can give Admin Login >> all exchange will come , you can run “DBmantainance” or u can give security to Branches . security to Branches .

• In the same login(i.e webdata) , update branches in utilities >> system utilities >> In the same login(i.e webdata) , update branches in utilities >> system utilities >>

weblivesetup >> Auto update common user (For branch ,Sub Branch, client & RM/TL). weblivesetup >> Auto update common user (For branch ,Sub Branch, client & RM/TL). When update In Parent Database . DBName will automatically come And in Database When update In Parent Database . DBName will automatically come And in Database Selection , put each database sequentially , as in DB Configuration. (Never run in ALL Selection , put each database sequentially , as in DB Configuration. (Never run in ALL Database at a time)Database at a time)

• Start tomcat services and then Live application in corporate.Start tomcat services and then Live application in corporate.

• Run 'DbMaintenance' from admin option available on Bottom of Left Panel. (This option Run 'DbMaintenance' from admin option available on Bottom of Left Panel. (This option will be highlighted on 'admin' users Only.will be highlighted on 'admin' users Only.

Page 16: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

Trouble shootingTrouble shooting : :

Index page is not opening:Index page is not opening:• a.) Check proxy setting may be 8080 port is using for run proxy internet.a.) Check proxy setting may be 8080 port is using for run proxy internet.• b) Check on live application may be oracle9i server is installed , listener b) Check on live application may be oracle9i server is installed , listener

is using 8080 port .is using 8080 port .• c.) check java version may be installed in c:\previously.c.) check java version may be installed in c:\previously.

On admin login in live , error is coming On admin login in live , error is coming “java.lang.NullPointerException..webusermaster “ “java.lang.NullPointerException..webusermaster “

• a.) check Parent database should be login .a.) check Parent database should be login .• b.) In capexmain_middle.htm check company id, db name, parent db IP b.) In capexmain_middle.htm check company id, db name, parent db IP

(If all is okay then confirm Comp Id From Sir)(If all is okay then confirm Comp Id From Sir)• c.) Live Server and Database Server should be on the same network.c.) Live Server and Database Server should be on the same network.

Page 17: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

HTTP Status 404 - / capexweb/capexweb/HTTP Status 404 - / capexweb/capexweb/a.) check capexweb.xml file in C:/Tomcat 5.5/conf/catalina/localhost/capexweb.xmla.) check capexweb.xml file in C:/Tomcat 5.5/conf/catalina/localhost/capexweb.xml

Page 18: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

HTTP Status 404 - / capexweb/capexweb/parentvalidatepassword/HTTP Status 404 - / capexweb/capexweb/parentvalidatepassword/

a.) check all jar files in C:\capexweb\WEB-INF\lib (Take all jar file from S:\lib)a.) check all jar files in C:\capexweb\WEB-INF\lib (Take all jar file from S:\lib)

Page 19: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

How To update the version of capexweb in Live Server :How To update the version of capexweb in Live Server :

•Tell to Client to download setup.exe from Tell to Client to download setup.exe from http://www.shilpisoft.com/sunil/setup.exehttp://www.shilpisoft.com/sunil/setup.exe

• Stop the Tomcat ServiceStop the Tomcat Service

• Delete the work folder from C:/capexwebDelete the work folder from C:/capexweb

• Delete 4 jar Files i.e. capexweb.jar , commexonline.jar , fxfuture.jar , dponline.jar Delete 4 jar Files i.e. capexweb.jar , commexonline.jar , fxfuture.jar , dponline.jar from C:\capexweb\WEB-INF\libfrom C:\capexweb\WEB-INF\lib

• Run the Set up.Run the Set up.

• In Admin Login run DBMaintainance in all exchange in live .In Admin Login run DBMaintainance in all exchange in live .

Page 20: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

How to Change the PortHow to Change the Port : :

• Go to C:\Tomcat 5.5\conf Go to C:\Tomcat 5.5\conf

• Open server.xml file (open with Notepad) Open server.xml file (open with Notepad)

• Find the Server Port i.e. <Server port="8005" shutdown="SHUTDOWN"> Give the Find the Server Port i.e. <Server port="8005" shutdown="SHUTDOWN"> Give the port as per clients requirement And Save .port as per clients requirement And Save .

Page 21: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

How to set the path for Digital Contract Note in Live ServerHow to set the path for Digital Contract Note in Live Server . .

For Capital :For Capital :

a.) First generate the digital contract note html file in Backoffice .a.) First generate the digital contract note html file in Backoffice .

b.) Keep this file in C:\capexweb\digital\ClientCode\Date. (e.g- digital\P8A01\10032005)b.) Keep this file in C:\capexweb\digital\ClientCode\Date. (e.g- digital\P8A01\10032005)

For Commex :For Commex :

a.) First generate the digital contract note html file in Backoffice .a.) First generate the digital contract note html file in Backoffice .

b.) Keep this file in C:\capexweb\digital_com\MCX\ClientCode\Date. (e.g- digital_com\b.) Keep this file in C:\capexweb\digital_com\MCX\ClientCode\Date. (e.g- digital_com\MCX\A55\20052009)MCX\A55\20052009)

For FxFutureFor FxFuture : :

a.) First generate the digital contract note html file in Backoffice .a.) First generate the digital contract note html file in Backoffice .

b.) Keep this file in C:\capexweb\digital_fx\ClientCode\Date. (e.g- digital_com\NSE\b.) Keep this file in C:\capexweb\digital_fx\ClientCode\Date. (e.g- digital_com\NSE\A55\20052009)A55\20052009)

Page 22: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

How to Set path for Download And Upload file in Live Server :How to Set path for Download And Upload file in Live Server :

• For Download :For Download :

a.) Keep file in C:\capexweb\download\capex\branch\branch_name\Date (for e.g : a.) Keep file in C:\capexweb\download\capex\branch\branch_name\Date (for e.g : download\capex\branch\P8\20051024)download\capex\branch\P8\20051024)

For Upload :For Upload :

a.) Keep file in C:\capexweb\upload\capex\Branch name\ (for NSDL or CDSL create a.) Keep file in C:\capexweb\upload\capex\Branch name\ (for NSDL or CDSL create NSDL Folder NSDL Folder

in capexweb folder . in capexweb folder .

For Upload Cheque image of Voucher :For Upload Cheque image of Voucher :

a.) Keep file in C:\capexweb\cheque\Branch name\a.) Keep file in C:\capexweb\cheque\Branch name\

For Any Message if any branch want to give :For Any Message if any branch want to give :

a.) Keep file in C:\capexweb\message\branch_Name\ (e.g message\COM)a.) Keep file in C:\capexweb\message\branch_Name\ (e.g message\COM)

Page 23: Machine Configuration for Live Server Operating System should be installed in Live Application System should be Windows 2000 Server or Windows 2003 Server.

How to set path For Signature in NSDL and CDSL :How to set path For Signature in NSDL and CDSL :