Re: wotaskd password
I will give it another try over the next few days and see if maybe it was some other problem I was having. Frank On Apr 16, 2009, at 3:20 PM, Mark Ritchie wrote: On 16-Apr-09, at 2:54 PM, Chuck Hill wrote: You might also be thinking of this (unrelated) section in /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf # To enable the WOAdaptorInfo page with restricted access, # uncomment the next two lines and set the user and password # To access the WOAdaptorInfo page with restricted access, # use a URL like: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password . # WebObjectsAdminUsername user # WebObjectsAdminPassword password Hey Chuck! That's a good point! Perhaps Frank is mixing them up? Either way, enabling the WOAdaptorInfo page and turning on adaptor logging are vital to tracking down why it's not working! For example, on that solaris problem with Apache2 and Apache2.2, turned out that Apache2.2 required fqdn for the app servers where as Apache2 did not. Weird shit but then there were multiple virtual hosts and external vs internal addresses so were lots of opportunity for confusion. It was resolved by looking at the adaptor logs which clearly show'd the problem. Regards, M. __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/frank.cobia%40f2technology.com This email sent to frank.co...@f2technology.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
wotaskd password
I have seen in the documentation that when you set a password in JavaMonitor it also sets a password in wotaskd. All the documentation I can find says that when wotaskd has a password you have to set the password for the Apache adaptor to communicate with wotaskd. Unfortunately I cannot find anything about how to set the password for the apache adaptor. The only password I can find is for the statistics. How can I set the password for the apache adaptor to use? Thanks, Frank Cobia ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On 16-Apr-09, at 12:10 PM, Mr. Frank Cobia wrote: ... when wotaskd has a password you have to set the password for the Apache adaptor to communicate with wotaskd ... Hrm... Where did you read that? Thanks! Mark ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
I found it in several of the documents on Apple's website. It is basically a warning in every document that deals with deployment, wotaskd or JavaMonitor. I have verified that it is true, because I set the password in JavaMonitor and then I could no longer connect to my app through apache, but when I removed the password I was able to connect again. Frank On Apr 16, 2009, at 12:56 PM, Mark Ritchie wrote: On 16-Apr-09, at 12:10 PM, Mr. Frank Cobia wrote: ... when wotaskd has a password you have to set the password for the Apache adaptor to communicate with wotaskd ... Hrm... Where did you read that? Thanks! Mark ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On 16-Apr-09, at 2:14 PM, Mr. Frank Cobia wrote: I found it in several of the documents on Apple's website. It is basically a warning in every document that deals with deployment, wotaskd or JavaMonitor. I have verified that it is true, because I set the password in JavaMonitor and then I could no longer connect to my app through apache, but when I removed the password I was able to connect again. Hey Frank! Yeah, what I was after was an actual link to where you were reading... Google seems to have pointed me to one instance. Sure hope it's where you were looking. :-( On this page there's a note about direct access to the wotaskd information is blocked when a password is set: http://developer.apple.com/documentation/WebObjects/Deployment/Deploying_Applications/Deployment/Deployment.html Specifically, it says: On password-protected sites, you have to use JavaMonitor to view an application host’s configuration. And while this is true for accessing the full information about the configuration, it's not true about all of it. As I recall, with a password set, you can still see the configuration information if you use the URL as it appears on the WOAdaptorInfo page. After all, that's how the WOAdaptor is getting the information. It should be something like this and yes, you need to use the entire url to gain access when the password is set: appserver.mydomain.ca:1085/WebObjects/wotaskd.woa/wa/woconfig For what should be obvious reasons, you must do this from a machine which can connect to the app server. One that is not blocked by say a firewall as is so common in a deployment situation. When I taught the deployment course I used to cover this part in extra detail because it's so useful when there are deployment problems. Good luck! Mark __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On Apr 16, 2009, at 11:37 AM, Mark Ritchie wrote: On 16-Apr-09, at 2:14 PM, Mr. Frank Cobia wrote: I found it in several of the documents on Apple's website. It is basically a warning in every document that deals with deployment, wotaskd or JavaMonitor. I have verified that it is true, because I set the password in JavaMonitor and then I could no longer connect to my app through apache, but when I removed the password I was able to connect again. Hey Frank! Yeah, what I was after was an actual link to where you were reading... Google seems to have pointed me to one instance. Sure hope it's where you were looking. :-( On this page there's a note about direct access to the wotaskd information is blocked when a password is set: http://developer.apple.com/documentation/WebObjects/Deployment/Deploying_Applications/Deployment/Deployment.html Specifically, it says: On password-protected sites, you have to use JavaMonitor to view an application host’s configuration. And while this is true for accessing the full information about the configuration, it's not true about all of it. As I recall, with a password set, you can still see the configuration information if you use the URL as it appears on the WOAdaptorInfo page. After all, that's how the WOAdaptor is getting the information. It should be something like this and yes, you need to use the entire url to gain access when the password is set: appserver.mydomain.ca:1085/WebObjects/wotaskd.woa/wa/woconfig For what should be obvious reasons, you must do this from a machine which can connect to the app server. One that is not blocked by say a firewall as is so common in a deployment situation. When I taught the deployment course I used to cover this part in extra detail because it's so useful when there are deployment problems. You might also be thinking of this (unrelated) section in /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf # To enable the WOAdaptorInfo page with restricted access, # uncomment the next two lines and set the user and password # To access the WOAdaptorInfo page with restricted access, # use a URL like: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password . # WebObjectsAdminUsername user # WebObjectsAdminPassword password Good luck! Mark __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On 16-Apr-09, at 2:54 PM, Chuck Hill wrote: You might also be thinking of this (unrelated) section in /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf # To enable the WOAdaptorInfo page with restricted access, # uncomment the next two lines and set the user and password # To access the WOAdaptorInfo page with restricted access, # use a URL like: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password . # WebObjectsAdminUsername user # WebObjectsAdminPassword password Hey Chuck! That's a good point! Perhaps Frank is mixing them up? Either way, enabling the WOAdaptorInfo page and turning on adaptor logging are vital to tracking down why it's not working! For example, on that solaris problem with Apache2 and Apache2.2, turned out that Apache2.2 required fqdn for the app servers where as Apache2 did not. Weird shit but then there were multiple virtual hosts and external vs internal addresses so were lots of opportunity for confusion. It was resolved by looking at the adaptor logs which clearly show'd the problem. Regards, M. __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On Apr 16, 2009, at 12:20 PM, Mark Ritchie wrote: On 16-Apr-09, at 2:54 PM, Chuck Hill wrote: You might also be thinking of this (unrelated) section in /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf # To enable the WOAdaptorInfo page with restricted access, # uncomment the next two lines and set the user and password # To access the WOAdaptorInfo page with restricted access, # use a URL like: http://webserver/cgi-bin/WebObjects/WOAdaptorInfo?user+password . # WebObjectsAdminUsername user # WebObjectsAdminPassword password Hey Chuck! That's a good point! Perhaps Frank is mixing them up? Either way, enabling the WOAdaptorInfo page and turning on adaptor logging are vital to tracking down why it's not working! For example, on that solaris problem with Apache2 and Apache2.2, turned out that Apache2.2 required fqdn for the app servers where as Apache2 did not. Weird shit but then there were multiple virtual hosts and external vs internal addresses so were lots of opportunity for confusion. It was resolved by looking at the adaptor logs which clearly show'd the problem. That gives me a headache just reading it. :-) I agree completely: knowing how to enable and interpret the adaptor logs is central to sorting out any problem like this. Chuck Regards, M. __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: wotaskd password
On 16-Apr-09, at 3:45 PM, Chuck Hill wrote: That gives me a headache just reading it. :-) LOL! I'm just glad that it's resolved! I agree completely: knowing how to enable and interpret the adaptor logs is central to sorting out any problem like this. And having the source code and dev docs for the relevant platform is often useful as well!! ;-) Best! M. __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com