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

From version 6.1
edited by smmccraw
on 2007/07/08 09:45
Change comment: There is no comment for this version
To version 5.1
edited by Pascal Robert
on 2010/09/13 00:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Programming__WebObjects-Web Applications-Deployment-Standard Deployment
1 +Deployment-Standard Deployment
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.smmccraw
1 +XWiki.probert
Content
... ... @@ -1,4 +1,4 @@
1 -== Overview ==
1 +== Overview ==
2 2  
3 3  I begin by assuming that you have a compiled and built woa, say MyApp.woa.
4 4  
... ... @@ -8,29 +8,29 @@
8 8  
9 9  Now, find the WebServerResources directory inside the woa (MyApp.woa/Contents/WebServerResources). Copy this into the webserver's document root, under the WebObjects directory, //with the same path//. For example, given the above on OS X, I would copy the WebServerResources so that the final path was /Library/WebServer/Documents/WebObjects/MyApp.woa/Contents/WebServerResources).
10 10  
11 -== wotaskd ==
11 +== wotaskd ==
12 12  
13 -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
13 +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
14 14  
15 15  {{panel}}
16 16  
17 - /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
17 +/System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd
18 18  
19 19  {{/panel}}
20 20  
21 -== Java Monitor ==
21 +== Java Monitor ==
22 22  
23 23  Start Monitor
24 24  
25 25  {{panel}}
26 26  
27 - /System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
27 +/System/Library/WebObjects/JavaApplications/JavaMonitor.woa/JavaMonitor
28 28  
29 29  {{/panel}}
30 30  
31 -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
32 32  
33 -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]]), 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.
34 34  
35 35  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.
36 36  
... ... @@ -44,18 +44,18 @@
44 44  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
45 45  source for each type of adaptor (/Developer/Examples/WebObjects/Source/Adaptors/<type>/Installation.html).
46 46  
47 -== Really Quick Adaptor Setup for Apache on OSX and Solaris ==
47 +== Really Quick Adaptor Setup for Apache on OSX and Solaris ==
48 48  
49 49  Locate the apache.conf file, located in
50 50  /System/Library/WebObjects/Adaptors/Apache/ or
51 51  $NEXT//ROOT/Library/WebObjects/Adaptors/Apache. Look for the line
52 -"WebObjectsConfig http:~/~/localhost:1085 10". If you had the site
52 +"WebObjectsConfig [[http://localhost:1085]] 10". If you had the site
53 53  configuration from the Overview, you would change the line to say
54 -"WebObjectsConfig http:~/~/appserver1:1085,http:~/~/appserver2:1085 10".//
54 +"WebObjectsConfig [[http://appserver1:1085,http://appserver2:1085]] 10".//
55 55  
56 -== Really Quick Adaptor Setup for IIS on Win2K ==
56 +== Really Quick Adaptor Setup for IIS on Win2K ==
57 57  
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";. 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]]";. Note that we do not enter the trailing " 10" here, since it is a separate key/value (CONF//INTERVAL).//
59 59  
60 60  Save changes and restart the websever.
61 61  
... ... @@ -63,7 +63,7 @@
63 63  
64 64  {{panel}}
65 65  
66 - http://webserverhost/cgi-bin/WebObjects/MyApp.woa
66 + [http://webserverhost/cgi-bin/WebObjects/MyApp.woa]
67 67  
68 68  {{/panel}}
69 69  
... ... @@ -71,9 +71,6 @@
71 71  
72 72  {{panel}}
73 73  
74 -
75 - http://webserverhost/scripts/WebObjects.dll/MyApp.woa
74 + [http://webserverhost/scripts/WebObjects.dll/MyApp.woa]
76 76  
77 77  {{/panel}}
78 -
79 -Category:WebObjects