SlideShare a Scribd company logo
Vikas Manoria IT Specialist – IBM Academic Initiative [email_address] Section - 5)  Running Applications
Section 5 -  Running Applications (9%)   Use WebSphere Application Server to run J2EE applications  Create and configure data sources  Add and remove projects from the server  Run stand-alone Java applications
Deploying and Testing in WebSphere V6.1 Deployment, testing, and administration is identical for all V6.1 Servers Test environment Separate BASE or ND environments Configuration through administration console IBM Rational Application Developer WebSphere Application Server V6.1 WebSphere Application Server V6.1 Stand-alone Installation Cell Node WAS 6.1 WAS 6.1 Node Agent Network Deployment (ND) J2EE Enterprise Application Properties Node WAS 6.1 WAS 6.1 Node Agent Deployment Manager Components Components Resources
Creating a New Server (1 of 2) In Rational Application Developer, create a new server in the Servers view. Create a new profile with the Profile Management tool.
Creating a New Server (2 of 2) Select the profile from the drop-down list
Adding Applications to the Server Adding projects to a server creates a relationship between the project and the server A project is published after you add the project, you add it using the  Add and Remove projects  menu item Rational Application Developer publishes the application to the server when you start the server from the Servers view You can manually publish any projects you have added by selecting the  Publish to the  server  icon in the  Servers view toolbar
Considerations for Adding Applications  The actual location of application binaries depends on publishing settings: Run server with resources within the workspace Certain types of changes you make to applications are automatically applied A server has orphaned applications if a workspace with applications was deleted Run server with resources on server Changes to applications must be published in order to take effect
Editing Server Resource Settings (1 of 2) 1 2 3
Editing Server Resource Settings (2 of 2) 1 2 4 3
Controlling Servers in the Servers View With a server selected in the Servers view: Start the server in one of three modes Start  to run applications normally Debug  to step through application execution Profile  to monitor application performance Console view displays server log and error messages Double-click a server to edit its configuration Start server in Debug mode Start server in Profiling mode Start server in Normal mode Restart the server Stop the server Publish projects to server
Examining Server Status The Servers view displays the current status of all the servers. The  Status  column indicates whether or not a server has been started. The following lists the possible server status: Stopped Started in profile mode Started Stopping Started in debug mode Starting
Web Application Deployment in WebSphere Deployment, Testing, and Administration is identical for all WebSphere v6.1 servers Test Environment Separate BASE or Network Deployment (ND) Environment Applications can also be exported and installed through the Admin console or wsadmin The Admin console can be accessed through the server in the Rational Application Developer  Servers  view
Administrative Console Overview
Administrative Console Navigation Tree Choose an action: Help with Activities Administer application and Web servers Administer and install applications Administer resource providers (JDBC, JMS) Enable and configure security Configure virtual hosts, variables Administer the Administration Console Administer Users and Groups Configure Performance Monitoring Configure Logs and Tracing Configure SOA elements Configure UDDI nodes
Applications: Console Options
Applications: Installation (1 of 2) Specify the application (EAR file) or stand-alone module (JAR or WAR file) to install If installing a Web module, specify the context root
Applications: Installation (2 of 2) Remaining steps involve Selecting installation options Mapping modules to servers Mapping virtual hosts for web modules  Once the application has been installed, you must save the master configuration
Resources: JDBC DataSources In addition to  General Properties , you can set  Connection pool properties  using this form
Guided Activities: Connecting to a Database This guided activity leads you through a set of steps to configure database access for an application using JDBC Datasources.
Checkpoint When is the Rational Agent Controller required to be installed? How can you add projects to a server directly from Rational Application Developer? How can you remove them? The universal test client will not start; what might be the problem?  How many server profiles can be created? What is the purpose of the TCP/IP monitor?
Checkpoint answers For profiling applications. Via the Add and Remove Projects dialog, server context menu, or by choosing Run/Debug/Profile on server from the Project Explorer context menu. Same as adding, or through the administrative console. Note: Simply deleting the project in the workbench will not remove it from the server. In the Server Overview dialog, Enable universal test client might be unchecked.  [There are several other answers, of course! This is the one that was given in this unit] As many as required. To intercepts and relays data on a particular port.
Lab  Create Server Instance Add/remove projects Configure Server Start/stop Server Server Console
Japanese Hebrew Thank You English Merci French Russian Danke German Grazie Italian Gracias Spanish Obrigado Portuguese Arabic Simplified Chinese Traditional Chinese Thai Korean
Ad

More Related Content

What's hot (20)

EMC Documentum - xCP 2.x Updating Java Services
EMC Documentum - xCP 2.x Updating Java ServicesEMC Documentum - xCP 2.x Updating Java Services
EMC Documentum - xCP 2.x Updating Java Services
Haytham Ghandour
 
Websphere doctor - your guide to diagnose issues
Websphere doctor - your guide to diagnose issues Websphere doctor - your guide to diagnose issues
Websphere doctor - your guide to diagnose issues
Joseph's WebSphere Library
 
Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3
Suresh Mishra
 
Demantra Installation,Configuration and Integration with EBusiness Suite R12.1.1
Demantra Installation,Configuration and Integration with EBusiness Suite R12.1.1Demantra Installation,Configuration and Integration with EBusiness Suite R12.1.1
Demantra Installation,Configuration and Integration with EBusiness Suite R12.1.1
Jade Global
 
High availability of azure applications(paas)
High availability of azure applications(paas)High availability of azure applications(paas)
High availability of azure applications(paas)
Himanshu Sahu
 
IUG ATL PC 9.5
IUG ATL PC 9.5IUG ATL PC 9.5
IUG ATL PC 9.5
Rizwan Mohammed
 
SQL Server 2005 Licensing Unplugged
SQL Server 2005 Licensing UnpluggedSQL Server 2005 Licensing Unplugged
SQL Server 2005 Licensing Unplugged
webhostingguy
 
03 asp.net session04
03 asp.net session0403 asp.net session04
03 asp.net session04
Mani Chaubey
 
Managing permissions
Managing permissionsManaging permissions
Managing permissions
Son Nguyen
 
Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1
Suresh Mishra
 
Django crush course
Django crush course Django crush course
Django crush course
Mohammed El Rafie Tarabay
 
10 ways to trigger runbooks from Orchestrator
10 ways to trigger runbooks from Orchestrator10 ways to trigger runbooks from Orchestrator
10 ways to trigger runbooks from Orchestrator
Fredrik Knalstad
 
Less14 3 e_loadmodule_4
Less14 3 e_loadmodule_4Less14 3 e_loadmodule_4
Less14 3 e_loadmodule_4
Suresh Mishra
 
LoadRunner walkthrough
LoadRunner walkthroughLoadRunner walkthrough
LoadRunner walkthrough
Bhuvaneswari Subramani
 
Dynamics crm 2015 setup a demo virtual machine.
Dynamics crm 2015  setup a demo virtual machine.Dynamics crm 2015  setup a demo virtual machine.
Dynamics crm 2015 setup a demo virtual machine.
Stw Serviesgroup
 
Oracle OSB Tutorial 1
Oracle OSB Tutorial 1Oracle OSB Tutorial 1
Oracle OSB Tutorial 1
Rakesh Gujjarlapudi
 
EMC Documentum - xCP.x Updating Endpoint
EMC Documentum - xCP.x Updating EndpointEMC Documentum - xCP.x Updating Endpoint
EMC Documentum - xCP.x Updating Endpoint
Haytham Ghandour
 
Manage vm’s and services across private clouds and windows azure with system ...
Manage vm’s and services across private clouds and windows azure with system ...Manage vm’s and services across private clouds and windows azure with system ...
Manage vm’s and services across private clouds and windows azure with system ...
Microsoft TechNet - Belgium and Luxembourg
 
System Center Virtual Machine Manager 2012, Fabric Management, creation and c...
System Center Virtual Machine Manager 2012, Fabric Management, creation and c...System Center Virtual Machine Manager 2012, Fabric Management, creation and c...
System Center Virtual Machine Manager 2012, Fabric Management, creation and c...
Microsoft TechNet - Belgium and Luxembourg
 
Microsoft Sync Framework (part 1) ABTO Software Lecture Garntsarik
Microsoft Sync Framework (part 1) ABTO Software Lecture GarntsarikMicrosoft Sync Framework (part 1) ABTO Software Lecture Garntsarik
Microsoft Sync Framework (part 1) ABTO Software Lecture Garntsarik
ABTO Software
 
EMC Documentum - xCP 2.x Updating Java Services
EMC Documentum - xCP 2.x Updating Java ServicesEMC Documentum - xCP 2.x Updating Java Services
EMC Documentum - xCP 2.x Updating Java Services
Haytham Ghandour
 
Websphere doctor - your guide to diagnose issues
Websphere doctor - your guide to diagnose issues Websphere doctor - your guide to diagnose issues
Websphere doctor - your guide to diagnose issues
Joseph's WebSphere Library
 
Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3
Suresh Mishra
 
Demantra Installation,Configuration and Integration with EBusiness Suite R12.1.1
Demantra Installation,Configuration and Integration with EBusiness Suite R12.1.1Demantra Installation,Configuration and Integration with EBusiness Suite R12.1.1
Demantra Installation,Configuration and Integration with EBusiness Suite R12.1.1
Jade Global
 
High availability of azure applications(paas)
High availability of azure applications(paas)High availability of azure applications(paas)
High availability of azure applications(paas)
Himanshu Sahu
 
SQL Server 2005 Licensing Unplugged
SQL Server 2005 Licensing UnpluggedSQL Server 2005 Licensing Unplugged
SQL Server 2005 Licensing Unplugged
webhostingguy
 
03 asp.net session04
03 asp.net session0403 asp.net session04
03 asp.net session04
Mani Chaubey
 
Managing permissions
Managing permissionsManaging permissions
Managing permissions
Son Nguyen
 
Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1Less11 3 e_loadmodule_1
Less11 3 e_loadmodule_1
Suresh Mishra
 
10 ways to trigger runbooks from Orchestrator
10 ways to trigger runbooks from Orchestrator10 ways to trigger runbooks from Orchestrator
10 ways to trigger runbooks from Orchestrator
Fredrik Knalstad
 
Less14 3 e_loadmodule_4
Less14 3 e_loadmodule_4Less14 3 e_loadmodule_4
Less14 3 e_loadmodule_4
Suresh Mishra
 
Dynamics crm 2015 setup a demo virtual machine.
Dynamics crm 2015  setup a demo virtual machine.Dynamics crm 2015  setup a demo virtual machine.
Dynamics crm 2015 setup a demo virtual machine.
Stw Serviesgroup
 
EMC Documentum - xCP.x Updating Endpoint
EMC Documentum - xCP.x Updating EndpointEMC Documentum - xCP.x Updating Endpoint
EMC Documentum - xCP.x Updating Endpoint
Haytham Ghandour
 
Manage vm’s and services across private clouds and windows azure with system ...
Manage vm’s and services across private clouds and windows azure with system ...Manage vm’s and services across private clouds and windows azure with system ...
Manage vm’s and services across private clouds and windows azure with system ...
Microsoft TechNet - Belgium and Luxembourg
 
System Center Virtual Machine Manager 2012, Fabric Management, creation and c...
System Center Virtual Machine Manager 2012, Fabric Management, creation and c...System Center Virtual Machine Manager 2012, Fabric Management, creation and c...
System Center Virtual Machine Manager 2012, Fabric Management, creation and c...
Microsoft TechNet - Belgium and Luxembourg
 
Microsoft Sync Framework (part 1) ABTO Software Lecture Garntsarik
Microsoft Sync Framework (part 1) ABTO Software Lecture GarntsarikMicrosoft Sync Framework (part 1) ABTO Software Lecture Garntsarik
Microsoft Sync Framework (part 1) ABTO Software Lecture Garntsarik
ABTO Software
 

Viewers also liked (9)

Presenationa professional career
Presenationa professional careerPresenationa professional career
Presenationa professional career
AsiaInternshipProgramme
 
Detect & Remediate Malware & Advanced Targeted Attacks
Detect & Remediate Malware & Advanced Targeted AttacksDetect & Remediate Malware & Advanced Targeted Attacks
Detect & Remediate Malware & Advanced Targeted Attacks
Imperva
 
5 Lessons from Running, Applied to Project Management
5 Lessons from Running, Applied to Project Management5 Lessons from Running, Applied to Project Management
5 Lessons from Running, Applied to Project Management
Helder Ferreira
 
Running a Project with Github
Running a Project with GithubRunning a Project with Github
Running a Project with Github
Lorna Mitchell
 
Campus Brand Ambassador - Concurrent Project - Application Guide
Campus Brand Ambassador - Concurrent Project - Application GuideCampus Brand Ambassador - Concurrent Project - Application Guide
Campus Brand Ambassador - Concurrent Project - Application Guide
Suraj Goyal
 
Role of Quality Assurance specialist on Agile project
Role of Quality Assurance specialist on Agile projectRole of Quality Assurance specialist on Agile project
Role of Quality Assurance specialist on Agile project
Svetlana Mukhina ICP, -ATF, -BVA, - ACC, PSM I, CSPO
 
Ppt on retail management
Ppt on retail managementPpt on retail management
Ppt on retail management
pawan_sharma
 
Retail management
Retail managementRetail management
Retail management
Anirban Mazumdar
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentation
Syed Absar
 
Detect & Remediate Malware & Advanced Targeted Attacks
Detect & Remediate Malware & Advanced Targeted AttacksDetect & Remediate Malware & Advanced Targeted Attacks
Detect & Remediate Malware & Advanced Targeted Attacks
Imperva
 
5 Lessons from Running, Applied to Project Management
5 Lessons from Running, Applied to Project Management5 Lessons from Running, Applied to Project Management
5 Lessons from Running, Applied to Project Management
Helder Ferreira
 
Running a Project with Github
Running a Project with GithubRunning a Project with Github
Running a Project with Github
Lorna Mitchell
 
Campus Brand Ambassador - Concurrent Project - Application Guide
Campus Brand Ambassador - Concurrent Project - Application GuideCampus Brand Ambassador - Concurrent Project - Application Guide
Campus Brand Ambassador - Concurrent Project - Application Guide
Suraj Goyal
 
Ppt on retail management
Ppt on retail managementPpt on retail management
Ppt on retail management
pawan_sharma
 
Final Year Project Presentation
Final Year Project PresentationFinal Year Project Presentation
Final Year Project Presentation
Syed Absar
 
Ad

Similar to 5) running applications (20)

Writing simple web services in java using eclipse editor
Writing simple web services in java using eclipse editorWriting simple web services in java using eclipse editor
Writing simple web services in java using eclipse editor
Santosh Kumar Kar
 
Deploying Cloud ServicesDeploying Cloud Services.pptx
Deploying Cloud ServicesDeploying Cloud Services.pptxDeploying Cloud ServicesDeploying Cloud Services.pptx
Deploying Cloud ServicesDeploying Cloud Services.pptx
mloga861
 
1 app 2 developers 3 servers
1 app 2 developers 3 servers1 app 2 developers 3 servers
1 app 2 developers 3 servers
Mark Myers
 
ELW_Symantec_SD 7 1 Upgrade and Install_Draft1_Charles_edited
ELW_Symantec_SD 7 1 Upgrade and Install_Draft1_Charles_editedELW_Symantec_SD 7 1 Upgrade and Install_Draft1_Charles_edited
ELW_Symantec_SD 7 1 Upgrade and Install_Draft1_Charles_edited
Elizabeth Wilcox
 
Developing service component architecture applications using rational applica...
Developing service component architecture applications using rational applica...Developing service component architecture applications using rational applica...
Developing service component architecture applications using rational applica...
Bill Duncan
 
Installing community surveys in connections 5.5
Installing community surveys in connections 5.5Installing community surveys in connections 5.5
Installing community surveys in connections 5.5
Roberto Boccadoro
 
Part 3 web development
Part 3 web developmentPart 3 web development
Part 3 web development
techbed
 
Sharepoint 2007 Install Best Practice Phase 1
Sharepoint 2007 Install Best Practice  Phase 1Sharepoint 2007 Install Best Practice  Phase 1
Sharepoint 2007 Install Best Practice Phase 1
LiquidHub
 
WLS
WLSWLS
WLS
Bebo Yu
 
LoadUI web performance testing tool
LoadUI web performance testing toolLoadUI web performance testing tool
LoadUI web performance testing tool
Milind Rupchandani
 
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Vishal Parekh
 
R12 d49656 gc10-apps dba 02
R12 d49656 gc10-apps dba 02R12 d49656 gc10-apps dba 02
R12 d49656 gc10-apps dba 02
zeesniper
 
Testing and deploying Hats Application on apache Geronimo Server 1.1
Testing and deploying Hats Application on apache Geronimo Server 1.1Testing and deploying Hats Application on apache Geronimo Server 1.1
Testing and deploying Hats Application on apache Geronimo Server 1.1
Royal Cyber Inc.
 
Chapter2 j2ee
Chapter2 j2eeChapter2 j2ee
Chapter2 j2ee
Jafar Nesargi
 
Active directory installation on windows server 2012
Active directory installation on windows server 2012Active directory installation on windows server 2012
Active directory installation on windows server 2012
Ricardo Solís
 
OFM SOA Suite 11g - Quick Start Guide
OFM SOA Suite 11g - Quick Start GuideOFM SOA Suite 11g - Quick Start Guide
OFM SOA Suite 11g - Quick Start Guide
Sreenivasa Setty
 
New ThousandEyes Product Features and Release Highlights: March 2023
New ThousandEyes Product Features and Release Highlights: March 2023New ThousandEyes Product Features and Release Highlights: March 2023
New ThousandEyes Product Features and Release Highlights: March 2023
ThousandEyes
 
12c weblogic installation steps for Windows
12c weblogic installation steps for Windows12c weblogic installation steps for Windows
12c weblogic installation steps for Windows
Cognizant
 
Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows
webservicesm
 
Glassfish JEE Server Administration - Module 4 Load Balancer
Glassfish JEE Server Administration - Module 4 Load BalancerGlassfish JEE Server Administration - Module 4 Load Balancer
Glassfish JEE Server Administration - Module 4 Load Balancer
Danairat Thanabodithammachari
 
Writing simple web services in java using eclipse editor
Writing simple web services in java using eclipse editorWriting simple web services in java using eclipse editor
Writing simple web services in java using eclipse editor
Santosh Kumar Kar
 
Deploying Cloud ServicesDeploying Cloud Services.pptx
Deploying Cloud ServicesDeploying Cloud Services.pptxDeploying Cloud ServicesDeploying Cloud Services.pptx
Deploying Cloud ServicesDeploying Cloud Services.pptx
mloga861
 
1 app 2 developers 3 servers
1 app 2 developers 3 servers1 app 2 developers 3 servers
1 app 2 developers 3 servers
Mark Myers
 
ELW_Symantec_SD 7 1 Upgrade and Install_Draft1_Charles_edited
ELW_Symantec_SD 7 1 Upgrade and Install_Draft1_Charles_editedELW_Symantec_SD 7 1 Upgrade and Install_Draft1_Charles_edited
ELW_Symantec_SD 7 1 Upgrade and Install_Draft1_Charles_edited
Elizabeth Wilcox
 
Developing service component architecture applications using rational applica...
Developing service component architecture applications using rational applica...Developing service component architecture applications using rational applica...
Developing service component architecture applications using rational applica...
Bill Duncan
 
Installing community surveys in connections 5.5
Installing community surveys in connections 5.5Installing community surveys in connections 5.5
Installing community surveys in connections 5.5
Roberto Boccadoro
 
Part 3 web development
Part 3 web developmentPart 3 web development
Part 3 web development
techbed
 
Sharepoint 2007 Install Best Practice Phase 1
Sharepoint 2007 Install Best Practice  Phase 1Sharepoint 2007 Install Best Practice  Phase 1
Sharepoint 2007 Install Best Practice Phase 1
LiquidHub
 
LoadUI web performance testing tool
LoadUI web performance testing toolLoadUI web performance testing tool
LoadUI web performance testing tool
Milind Rupchandani
 
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
Vishal Parekh
 
R12 d49656 gc10-apps dba 02
R12 d49656 gc10-apps dba 02R12 d49656 gc10-apps dba 02
R12 d49656 gc10-apps dba 02
zeesniper
 
Testing and deploying Hats Application on apache Geronimo Server 1.1
Testing and deploying Hats Application on apache Geronimo Server 1.1Testing and deploying Hats Application on apache Geronimo Server 1.1
Testing and deploying Hats Application on apache Geronimo Server 1.1
Royal Cyber Inc.
 
Active directory installation on windows server 2012
Active directory installation on windows server 2012Active directory installation on windows server 2012
Active directory installation on windows server 2012
Ricardo Solís
 
OFM SOA Suite 11g - Quick Start Guide
OFM SOA Suite 11g - Quick Start GuideOFM SOA Suite 11g - Quick Start Guide
OFM SOA Suite 11g - Quick Start Guide
Sreenivasa Setty
 
New ThousandEyes Product Features and Release Highlights: March 2023
New ThousandEyes Product Features and Release Highlights: March 2023New ThousandEyes Product Features and Release Highlights: March 2023
New ThousandEyes Product Features and Release Highlights: March 2023
ThousandEyes
 
12c weblogic installation steps for Windows
12c weblogic installation steps for Windows12c weblogic installation steps for Windows
12c weblogic installation steps for Windows
Cognizant
 
Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows Weblogic 12c Graphical Mode installation steps in Windows
Weblogic 12c Graphical Mode installation steps in Windows
webservicesm
 
Glassfish JEE Server Administration - Module 4 Load Balancer
Glassfish JEE Server Administration - Module 4 Load BalancerGlassfish JEE Server Administration - Module 4 Load Balancer
Glassfish JEE Server Administration - Module 4 Load Balancer
Danairat Thanabodithammachari
 
Ad

More from techbed (20)

1456.base boot
1456.base boot1456.base boot
1456.base boot
techbed
 
1455.ata atapi standards - 1-7
1455.ata atapi standards - 1-71455.ata atapi standards - 1-7
1455.ata atapi standards - 1-7
techbed
 
1454.ata features
1454.ata features1454.ata features
1454.ata features
techbed
 
1432.encoding concepts
1432.encoding concepts1432.encoding concepts
1432.encoding concepts
techbed
 
Flash cs4 tutorials_2009
Flash cs4 tutorials_2009Flash cs4 tutorials_2009
Flash cs4 tutorials_2009
techbed
 
Photoshop tut
Photoshop tutPhotoshop tut
Photoshop tut
techbed
 
Part 6 debugging and testing java applications
Part 6 debugging and testing java applicationsPart 6 debugging and testing java applications
Part 6 debugging and testing java applications
techbed
 
Lab 7b) test a web application
Lab 7b) test a web applicationLab 7b) test a web application
Lab 7b) test a web application
techbed
 
Lab 7a) debug a web application
Lab 7a) debug a web applicationLab 7a) debug a web application
Lab 7a) debug a web application
techbed
 
What is struts_en
What is struts_enWhat is struts_en
What is struts_en
techbed
 
Part 7 packaging and deployment
Part 7 packaging and deploymentPart 7 packaging and deployment
Part 7 packaging and deployment
techbed
 
Lab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee applicationLab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee application
techbed
 
Lab 5b) create a java server faces application
Lab 5b) create a java server faces applicationLab 5b) create a java server faces application
Lab 5b) create a java server faces application
techbed
 
Lab 5a) create a struts application
Lab 5a) create a struts applicationLab 5a) create a struts application
Lab 5a) create a struts application
techbed
 
First java-server-faces-tutorial-en
First java-server-faces-tutorial-enFirst java-server-faces-tutorial-en
First java-server-faces-tutorial-en
techbed
 
Part 5 running java applications
Part 5 running java applicationsPart 5 running java applications
Part 5 running java applications
techbed
 
Part 4 working with databases
Part 4 working with databasesPart 4 working with databases
Part 4 working with databases
techbed
 
Lab 4) working with databases
Lab 4) working with databasesLab 4) working with databases
Lab 4) working with databases
techbed
 
Lab 3) create a web application
Lab 3) create a web applicationLab 3) create a web application
Lab 3) create a web application
techbed
 
Part 2 java development
Part 2 java developmentPart 2 java development
Part 2 java development
techbed
 
1456.base boot
1456.base boot1456.base boot
1456.base boot
techbed
 
1455.ata atapi standards - 1-7
1455.ata atapi standards - 1-71455.ata atapi standards - 1-7
1455.ata atapi standards - 1-7
techbed
 
1454.ata features
1454.ata features1454.ata features
1454.ata features
techbed
 
1432.encoding concepts
1432.encoding concepts1432.encoding concepts
1432.encoding concepts
techbed
 
Flash cs4 tutorials_2009
Flash cs4 tutorials_2009Flash cs4 tutorials_2009
Flash cs4 tutorials_2009
techbed
 
Photoshop tut
Photoshop tutPhotoshop tut
Photoshop tut
techbed
 
Part 6 debugging and testing java applications
Part 6 debugging and testing java applicationsPart 6 debugging and testing java applications
Part 6 debugging and testing java applications
techbed
 
Lab 7b) test a web application
Lab 7b) test a web applicationLab 7b) test a web application
Lab 7b) test a web application
techbed
 
Lab 7a) debug a web application
Lab 7a) debug a web applicationLab 7a) debug a web application
Lab 7a) debug a web application
techbed
 
What is struts_en
What is struts_enWhat is struts_en
What is struts_en
techbed
 
Part 7 packaging and deployment
Part 7 packaging and deploymentPart 7 packaging and deployment
Part 7 packaging and deployment
techbed
 
Lab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee applicationLab 6) package and deploy a j2 ee application
Lab 6) package and deploy a j2 ee application
techbed
 
Lab 5b) create a java server faces application
Lab 5b) create a java server faces applicationLab 5b) create a java server faces application
Lab 5b) create a java server faces application
techbed
 
Lab 5a) create a struts application
Lab 5a) create a struts applicationLab 5a) create a struts application
Lab 5a) create a struts application
techbed
 
First java-server-faces-tutorial-en
First java-server-faces-tutorial-enFirst java-server-faces-tutorial-en
First java-server-faces-tutorial-en
techbed
 
Part 5 running java applications
Part 5 running java applicationsPart 5 running java applications
Part 5 running java applications
techbed
 
Part 4 working with databases
Part 4 working with databasesPart 4 working with databases
Part 4 working with databases
techbed
 
Lab 4) working with databases
Lab 4) working with databasesLab 4) working with databases
Lab 4) working with databases
techbed
 
Lab 3) create a web application
Lab 3) create a web applicationLab 3) create a web application
Lab 3) create a web application
techbed
 
Part 2 java development
Part 2 java developmentPart 2 java development
Part 2 java development
techbed
 

5) running applications

  • 1. Vikas Manoria IT Specialist – IBM Academic Initiative [email_address] Section - 5) Running Applications
  • 2. Section 5 - Running Applications (9%) Use WebSphere Application Server to run J2EE applications Create and configure data sources Add and remove projects from the server Run stand-alone Java applications
  • 3. Deploying and Testing in WebSphere V6.1 Deployment, testing, and administration is identical for all V6.1 Servers Test environment Separate BASE or ND environments Configuration through administration console IBM Rational Application Developer WebSphere Application Server V6.1 WebSphere Application Server V6.1 Stand-alone Installation Cell Node WAS 6.1 WAS 6.1 Node Agent Network Deployment (ND) J2EE Enterprise Application Properties Node WAS 6.1 WAS 6.1 Node Agent Deployment Manager Components Components Resources
  • 4. Creating a New Server (1 of 2) In Rational Application Developer, create a new server in the Servers view. Create a new profile with the Profile Management tool.
  • 5. Creating a New Server (2 of 2) Select the profile from the drop-down list
  • 6. Adding Applications to the Server Adding projects to a server creates a relationship between the project and the server A project is published after you add the project, you add it using the Add and Remove projects menu item Rational Application Developer publishes the application to the server when you start the server from the Servers view You can manually publish any projects you have added by selecting the Publish to the server icon in the Servers view toolbar
  • 7. Considerations for Adding Applications The actual location of application binaries depends on publishing settings: Run server with resources within the workspace Certain types of changes you make to applications are automatically applied A server has orphaned applications if a workspace with applications was deleted Run server with resources on server Changes to applications must be published in order to take effect
  • 8. Editing Server Resource Settings (1 of 2) 1 2 3
  • 9. Editing Server Resource Settings (2 of 2) 1 2 4 3
  • 10. Controlling Servers in the Servers View With a server selected in the Servers view: Start the server in one of three modes Start to run applications normally Debug to step through application execution Profile to monitor application performance Console view displays server log and error messages Double-click a server to edit its configuration Start server in Debug mode Start server in Profiling mode Start server in Normal mode Restart the server Stop the server Publish projects to server
  • 11. Examining Server Status The Servers view displays the current status of all the servers. The Status column indicates whether or not a server has been started. The following lists the possible server status: Stopped Started in profile mode Started Stopping Started in debug mode Starting
  • 12. Web Application Deployment in WebSphere Deployment, Testing, and Administration is identical for all WebSphere v6.1 servers Test Environment Separate BASE or Network Deployment (ND) Environment Applications can also be exported and installed through the Admin console or wsadmin The Admin console can be accessed through the server in the Rational Application Developer Servers view
  • 14. Administrative Console Navigation Tree Choose an action: Help with Activities Administer application and Web servers Administer and install applications Administer resource providers (JDBC, JMS) Enable and configure security Configure virtual hosts, variables Administer the Administration Console Administer Users and Groups Configure Performance Monitoring Configure Logs and Tracing Configure SOA elements Configure UDDI nodes
  • 16. Applications: Installation (1 of 2) Specify the application (EAR file) or stand-alone module (JAR or WAR file) to install If installing a Web module, specify the context root
  • 17. Applications: Installation (2 of 2) Remaining steps involve Selecting installation options Mapping modules to servers Mapping virtual hosts for web modules Once the application has been installed, you must save the master configuration
  • 18. Resources: JDBC DataSources In addition to General Properties , you can set Connection pool properties using this form
  • 19. Guided Activities: Connecting to a Database This guided activity leads you through a set of steps to configure database access for an application using JDBC Datasources.
  • 20. Checkpoint When is the Rational Agent Controller required to be installed? How can you add projects to a server directly from Rational Application Developer? How can you remove them? The universal test client will not start; what might be the problem? How many server profiles can be created? What is the purpose of the TCP/IP monitor?
  • 21. Checkpoint answers For profiling applications. Via the Add and Remove Projects dialog, server context menu, or by choosing Run/Debug/Profile on server from the Project Explorer context menu. Same as adding, or through the administrative console. Note: Simply deleting the project in the workbench will not remove it from the server. In the Server Overview dialog, Enable universal test client might be unchecked. [There are several other answers, of course! This is the one that was given in this unit] As many as required. To intercepts and relays data on a particular port.
  • 22. Lab Create Server Instance Add/remove projects Configure Server Start/stop Server Server Console
  • 23. Japanese Hebrew Thank You English Merci French Russian Danke German Grazie Italian Gracias Spanish Obrigado Portuguese Arabic Simplified Chinese Traditional Chinese Thai Korean