© copyright Janson Industries 2011 Installing to WAS Export application to C: Then install from C: Every server has an internal structure for storing stuff RAD builds the structure Appendix C © copyright Janson Industries 2011
Notice the MyWeb project folders: src/(default package) Web Content When exported app must maintain this internal structure Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Installing to WAS EAR: Enterprise Archive file WAR: Web Archive file Essentially, JARs that maintain the internal structure EAR more complicated Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Installing to WAS Select the project (MyWeb) Click export As always, many options for file type to export… Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 EAR or WAR will work Appendix C © copyright Janson Industries 2011
Usually you do not export source Appendix C © copyright Janson Industries 2011
Can only be accessed from on campus Installing to WAS Access the administrative console for the remote WS server from the browser Allows you to configure servers Also, install/delete/monitor applications https://yourWASlocation:port#/ibm/console/logon.jsp Ours is: http://sth-was.fscj.org:9060/ibm/console/ Can only be accessed from on campus Appendix C © copyright Janson Industries 2011
You may get a warning - ignore Appendix C © copyright Janson Industries 2011
http://sth-was.fscj.org:9060/ibm/console/ Anything can be specified for the User ID Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Creating a Server App Install the application Save the server configuration Start the application Access the page/servlet using the Context Root name not the WAR or EAR file name Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
Notice pre-compile performance option Lots of options Notice pre-compile performance option Scroll down and click Next Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
All class files still in folder with project name Context root is part of URL so be careful about specifying different name than project! All class files still in folder with project name Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
Step 5 just a summary. Scroll down and click Finish Appendix C © copyright Janson Industries 2011
Save to Master Configuration Appendix C © copyright Janson Industries 2011
Takes you back to first install page Appendix C © copyright Janson Industries 2011 Go to Enterprise Applications
Application is stopped, need to start Appendix C © copyright Janson Industries 2011 Click checkbox on left of app name then Start button
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
Ours is: http://sth-was.fscj.org:9080/MyWeb/Functions2.html Start the browser and go to the server address and, specify the port #/Context root/page name http://yourWASlocation:9080/MyWeb/Functions2.html Ours is: http://sth-was.fscj.org:9080/MyWeb/Functions2.html Remember you use the Context root (MyWeb) not necessarily the original project name Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Stuff will appear at: http://sth-was.fscj.org:9080/MyWeb/Functions2.html Appendix C © copyright Janson Industries 2011
Pick Sale and click Submit Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Enter some info Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Click Submit Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 Appendix C © copyright Janson Industries 2011
© copyright Janson Industries 2011 In Class Assg Copy your web project and add your initials to the new project name Export as WAR or EAR Install and start Test that you can access Appendix C © copyright Janson Industries 2011