Search This Blog

Tuesday, 3 January 2012

websphere notes


Websphere

  • Type: Application Server
  • Version: 5.0
  • Vendor: IBM
  • Commercial Software
  • default portno: 9080
  • help: www.IBM.com
  • no need to set any Environment variables after installing websphere software.
  • jar file: J2EE.jar

Procedure to deploy web application in websphere application

1. Generate war file on the staging directory of  web application
   
     E:\>JspApp
              WEB-INF
                        web.xml
              first.jsp
     E:\>JspApp>jar cvf j.war .
    dot represents current directory

    Note:- keeping <!DOCTYPE> at the top of the web.xml is mandatory while deploying       web application in websphere.

2. start websphere server
  
    Start programs IBM websphereApplication Server 5.0 start the server (wait    until the screen disappears).

3. start Admin Console of websphere

    Start programs IBM websphere  Application Server 5.0  Administrative  Console  UserID (only name)  ok.

4. Deploy the web application by selecting war file
    Sando (Admin Console)
             Applications
                         install new Application

    On right side

Local path: E:\JspApp\two.war
Context Root: Sando (mandatory)
 next, next, next,  next,  next  finish.
 save to master configuration  save.

5. keep the deployed web application in Running mode
           
             Applications
                         Enterprise Applications

     On right side

     Tick right mark
    Two.war click on Start tab.

6. Test the web application

   Open browser window http://localhost:9080/Sando/first.jsp

   

No comments:

Post a Comment