Last modified by Pascal Robert on 2012/01/21 22:03

From version 12.1
edited by Pascal Robert
on 2012/01/21 22:03
Change comment: There is no comment for this version
To version 13.1
edited by Pascal Robert
on 2012/01/21 22:03
Change comment: Migrated to Confluence 4.0

Summary

Details

Page properties
Content
... ... @@ -14,12 +14,10 @@
14 14  
15 15  == wotaskd ==
16 16  
17 -Verify that wotaskd is running on each application server, by going to the URL [[http://appserverhost:1085]] ; and checking that the output begins with "Wotaskd for WebObjects 5: <appserverhost>". If it is not running, try running it by hand
17 +Verify that wotaskd is running on each application server, by going to the URL [[http:~~/~~/appserverhost:1085>>url:http://appserverhost:1085||shape="rect"]] ; and checking that the output begins with "Wotaskd for WebObjects 5: <appserverhost>". If it is not running, try running it by hand
18 18  
19 19  {{panel}}
20 -
21 21  /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
22 -
23 23  {{/panel}}
24 24  
25 25  == Java Monitor ==
... ... @@ -27,19 +27,17 @@
27 27  Start Monitor
28 28  
29 29  {{panel}}
30 -
31 31  /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
32 -
33 33  {{/panel}}
34 34  
35 -on one of the application servers. Note that Monitor //must// be run on one of the application servers
31 +on one of the application servers. Note that Monitor //must// be run on one of the application servers!
36 36  
37 -In Monitor ([[http://appserverhost:56789]]), go to the Site tab, and enter the HTTP Adaptor URL, based on your webserver hostname, the webserver itself, and the adaptor type. (See the earlier section on adaptors for example URLs). This URL doesn't affect configuration of the site at all - it is only used to generate URLs in Monitor itself, but we're filling it in for convenience later.
33 +In Monitor ([[http:~~/~~/appserverhost:56789>>url:http://appserverhost:56789||shape="rect"]]), go to the Site tab, and enter the HTTP Adaptor URL, based on your webserver hostname, the webserver itself, and the adaptor type. (See the earlier section on adaptors for example URLs). This URL doesn't affect configuration of the site at all - it is only used to generate URLs in Monitor itself, but we're filling it in for convenience later.
38 38  
39 39  Go to the Hosts tab, and add each of the application servers (you may enter IP addresses or hostnames). If you add localhost or 127.0.0.1, you must not add any more application servers (i.e. if localhost is a host, it must be the only host). Choose the correct type for each host.
40 40  
41 41  Go to the Applications tab, and add your application by name. You will be taken to the application configuration page. The only mandatory setting here is the Path - if you are deploying on multiple OSes, you may have to enter the path multiple times. The path should be the complete path to the application startup script (/Library/WebObjects/Application/MyApp.woa/MyApp or
42 -C:ppleocalibraryebObjectspplicationyApp.woayApp.cmd). At the bottom of the first section (New Instance Defaults), click the button "Update for New Instance Only". Click the button in the top right of the page that says "Detail View".
38 + C:\Apple\Local\Library\WebObjects\Application\MyApp.woa\MyApp.cmd). At the bottom of the first section (New Instance Defaults), click the button "Update for New Instance Only". Click the button in the top right of the page that says "Detail View".
43 43  
44 44  From the Detail View page, click the "Add" button to add instances of your application to various hosts (remember that an instance is a running copy of an application). Each instance should start automatically in about 30 seconds.
45 45  
... ... @@ -46,20 +46,20 @@
46 46  Once each application has started, check that they are running using Direct Connect - in the "Host-Port" column should be a hyperlink for each instance - click each link in turn and check that the instances are running properly.
47 47  
48 48  Now to set up the adaptor. This is different for each platform and each webserver. First, note that the default method for all the adaptors is to get the site configuration is Hostlist. Specifically, the list of hosts is actually only "localhost" - so only applications that are on the same machine as the webserver will get vended. If you have separate application server(s), the adaptors will have to be reconfigured - adding the hosts to Monitor isn't good enough. For details on adaptor installation and options, see the Installation.html pages in the adaptor
49 -source for each type of adaptor (/Developer/Examples/WebObjects/Source/Adaptors/<type>/Installation.html).
45 + source for each type of adaptor (/Developer/Examples/WebObjects/Source/Adaptors/<type>/Installation.html).
50 50  
51 51  == Really Quick Adaptor Setup for Apache on OSX and Solaris ==
52 52  
53 53  Locate the apache.conf file, located in
54 -/System/Library/WebObjects/Adaptors/Apache/ or
55 -$NEXT//ROOT/Library/WebObjects/Adaptors/Apache. Look for the line
56 -"WebObjectsConfig [[http://localhost:1085]] 10". If you had the site
57 -configuration from the Overview, you would change the line to say
58 -"WebObjectsConfig [[http://appserver1:1085,http://appserver2:1085]] 10".//
50 + /System/Library/WebObjects/Adaptors/Apache/ or
51 + $NEXT_ROOT/Library/WebObjects/Adaptors/Apache. Look for the line
52 + "WebObjectsConfig [[http:~~/~~/localhost:1085>>url:http://localhost:1085||shape="rect"]] 10". If you had the site
53 + configuration from the Overview, you would change the line to say
54 + "WebObjectsConfig [[http:~~/~~/appserver1:1085,http:~~/~~/appserver2:1085>>url:http://appserver1:1085,http://appserver2:1085||shape="rect"]] 10".
59 59  
60 60  == Really Quick Adaptor Setup for IIS on Win2K ==
61 61  
62 -Run regedit.exe. Locate "HKEY//LOCAL//MACHINE/SOFTWARE/Apple/WebObjects/Configuration/". Choose "Add Value" from the edit menu. Type in "CONF//URL"?; for the name and choose REG//SZ for the Data Type. Enter the URL you want to use for the value. The default URL is, as above, "http:~/~/localhost:1085";, but (for our example) should be entered as "http:~/~/appserver1:1085,[[http://appserver2:1085]]";. Note that we do not enter the trailing " 10" here, since it is a separate key/value (CONF//INTERVAL).//
58 +Run regedit.exe. Locate "HKEY_LOCAL_MACHINE/SOFTWARE/Apple/WebObjects/Configuration/". Choose "Add Value" from the edit menu. Type in "CONF_URL"?; for the name and choose REG_SZ for the Data Type. Enter the URL you want to use for the value. The default URL is, as above, "http:~/~/localhost:1085";, but (for our example) should be entered as "http:~/~/appserver1:1085,[[http:~~/~~/appserver2:1085>>url:http://appserver2:1085||shape="rect"]]";. Note that we do not enter the trailing " 10" here, since it is a separate key/value (CONF_INTERVAL).
63 63  
64 64  Save changes and restart the websever.
65 65  
... ... @@ -66,15 +66,11 @@
66 66  At this point, you should be able to connect to your application, by connecting to the appropriate URL
67 67  
68 68  {{panel}}
69 -
70 - [http://webserverhost/cgi-bin/WebObjects/MyApp.woa]
71 -
65 +[[http:~~/~~/webserverhost/cgi-bin/WebObjects/MyApp.woa>>url:http://webserverhost/cgi-bin/WebObjects/MyApp.woa||shape="rect"]]
72 72  {{/panel}}
73 73  
74 74  or perhaps
75 75  
76 76  {{panel}}
77 -
78 - [http://webserverhost/scripts/WebObjects.dll/MyApp.woa]
79 -
71 +[[http:~~/~~/webserverhost/scripts/WebObjects.dll/MyApp.woa>>url:http://webserverhost/scripts/WebObjects.dll/MyApp.woa||shape="rect"]]
80 80  {{/panel}}