51
DEV-25: From Box to Development for WSA/AIA/WebSpeed using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

Embed Size (px)

Citation preview

Page 1: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

DEV-25: From Box to Development for WSA/AIA/WebSpeed™ using Tomcat

Matt HarrisonSenior Software Engineer,

Progress OpenEdge

Page 2: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation2 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Agenda

Overview Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A

Page 3: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation3 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Tomcat

Price is right Platform neutral Progress tests with Tomcat Tomcat is the Reference JSE Works great! No GUI management tools It’s a JSE not a web server

Apache’s Java Servlet Engine

Page 4: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation4 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA

Quickly gets your OpenEdge® application into the Web Services paradigm

Heterogeneous connectivity Language and platform independent Standard, well-defined, and flexible client

interface model

Web Services Adapter

Page 5: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation5 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

AIA

Provides Internet access for clients to access an AppServer™ or Sonic Adapter application

Only change to client code needed is the connection parameters

Safe and easy (HTTP and HTTPS support) Accessible to ABL client, .NET™ Open Client,

or Java™ Open Client.

AppServer Internet Adapter

Page 6: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation6 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed

Quickest way to build Web-based applications

Easy to Web-enable existing OpenEdge application

Highly extensible and familiar UI (web browser)

Many new technologies on the web (AJAX)

CGI Messenger

Page 7: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation7 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Agenda

Overview Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A

Page 8: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation8 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Installation of Tomcat

http://tomcat.apache.org/ Either zip file for Windows and tar.gz file for

Unix Download Tomcat 5.0.28 for 10.1B Download Tomcat 5.5.23 for 10.1C Older versions of Progress?

• 4.1.+ for 9.1+ and 10.0+

• YMMV

Page 9: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation9 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Installation of Tomcat

Add the JAVA_HOME to the <tomcat_InstallDir>\bin\catalina.bat (sh)

Start Tomcat JSE• Start Run

– <tomcat_InstallDir>\bin\catalina.bat start

• <tomcat_InstallDir>/bin/catalina.sh start

Test Tomcat • http://localhost:8080

Page 10: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation10 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Installation of Tomcat

Page 11: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation11 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Installation of Tomcat

Page 12: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation12 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Installing Tomcat

Page 13: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation13 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Agenda

Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A

Page 14: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation14 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA Configuration

Copy $DLC\servlets\wsa to <tomcat_InstallDir>\webapps

Modify the <tomcat_InstallDir>\ webapps\wsa\WEB-INF\web.xml• Be sure Admin authentication and

authorization is commented out

Turn off “Require Web Services Authorization”

Tomcat modifications:

Page 15: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation15 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA Configuration

Page 16: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation16 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA Configuration

Page 17: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation17 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA Configuration

Page 18: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation18 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA Administration

Page 19: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation19 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA Administration

Page 20: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation20 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA Administration

Page 21: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation21 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA Installation

Page 22: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation22 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WSA Demonstration

Page 23: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation23 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Agenda

Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A

Page 24: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation24 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

AIA Configuration

Add Progress environment variables to the catalina.bat (.sh) file• DLC

• WRKDIR

• Library Path (if UNIX, platform specific value)

Copy $DLC\servlets\aia <tomcat_InstallDir>\webapps

Turn off “HTTPS Enabled” Turn on “Internal Administrative Command”

Tomcat modifications:

Page 25: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation25 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

AIA Configuration

Page 26: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation26 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

AIA Configuration

Page 27: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation27 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

AIA Configuration

Page 28: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation28 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

AIA Configuration

Page 29: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation29 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

AIA Configuration

Page 30: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation30 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

AIA Configuration

Page 31: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation31 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

AIA Demonstration

Page 32: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation32 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Agenda

Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A

Page 33: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation33 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Add DLC and WRKDIR to catalina.bat (.sh) file Remove comments around CGI section of

<tomcat_InstallDir>\conf\web.xml Add passShellEnvironment parameter set to “true”

(Tomcat version 5.5+ only) Remove comments around CGI <servlet-mapping>

section Rename <tomcat_InstallDir>\server\lib\servlets-

cgi.renametojar to servlets-cgi.jar

Tomcat modifications:

Page 34: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation34 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Create CGI directory <tomcat_InstallDir>\webapps\ROOT\WEB-INF\cgi

Add messenger script to CGI directory (wspd_cgi.sh for Unix and quickcgi.pl for Windows)

Turn on “Allow Administration Command”

Tomcat modifications:

Page 35: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation35 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Page 36: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation36 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Page 37: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation37 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Page 38: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation38 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Page 39: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation39 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Page 40: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation40 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Page 41: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation41 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Page 42: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation42 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Page 43: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation43 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Configuration

Page 44: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation44 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

WebSpeed Demonstration

Page 45: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation45 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Agenda

Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A

Page 46: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation46 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Summary

WSA, AIA, and WebSpeed can enhance your OpenEdge application

Tomcat is easily available and is straight forward to use

Configuring the WSA, AIA, and WebSpeed for development is not difficult

Page 47: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation47 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

For More Information, go to…

Tomcat documentation• http://tomcat.apache.org/tomcat-5.5-doc/index.

html

Tomcat FAQ• http://tomcat.apache.org/faq/

Which version of Tomcat to choose• http://tomcat.apache.org/whichversion.html

Perl information• http://www.perl.org/

Page 48: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation48 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Agenda

Overviews Installation of Tomcat Configuring WSA Configuring AIA Configuring WebSpeed Summary Q & A

Page 49: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation49 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Questions?

Page 50: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation50 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat

Thank you foryour time

Page 51: DEV-25: From Box to Development for WSA/AIA/WebSpeed ™ using Tomcat Matt Harrison Senior Software Engineer, Progress OpenEdge

© 2007 Progress Software Corporation51 DEV-25: From Box to Developing WSA/AIA/WebSpeed Applications Using Tomcat