Le 2012-11-09 à 12:53, Chuck Hill <[email protected]> a écrit :
> > On 2012-11-09, at 9:17 AM, Pascal Robert wrote: > >> >> Le 2012-11-09 à 12:08, Chuck Hill <[email protected]> a écrit : >> >>> Is there a JavaMonitor password set on that machine? >> >> Yes. >> >>> Or is it different that the machine you are on? >> >> No. The only difference is that the 10.5 machine is running the Apple >> version of wotaskd and Monitor, and the 10.7 is running the Wonder version. >> But I don't remember changes about password encoding in there? > > I don't remember that either. It might be an exception related to the > difference that is getting incorrectly reported as an invalid password? I just replicated the issue by installing wotaskd on a 10.5 VM and a CentOS 5.6 VM. By looking at the request made by Monitor (thank you tcpflow!), I saw that wotaskd send the encrypted password: POST /cgi-bin/WebObjects/wotaskd.woa/wa/monitorRequest HTTP/1.0 password: 126B90318055BAEFFEDF7BBCA5FF4E5E0XXX cookie: content-length: 106 <monitorRequest type="NSDictionary"> <queryWotaskd type="NSString">HOST</queryWotaskd> </monitorRequest> But even if the password was the same on both wotaskd installations, the encrypted version is not the same! I modified the encrypted password in SiteConfig.xml to match the request, and bingo! it works. > > > Chuck > > >> >>> >>> Chuck >>> >>> >>> On 2012-11-09, at 7:06 AM, Pascal Robert wrote: >>> >>>> Hi guys, >>>> >>>> I'm trying to add an another wotaskd host in JavaMonitor but I get: >>>> >>>> Server1.local: Invalid Password - Access Denied >>>> >>>> Both hosts are running OS X (Monitor/first wotaskd on 10.7, second wotaskd >>>> on 10.5). Funny thing: I just tried to do the exact same thing on two >>>> CentOS 6 boxes, and it's working great. >>>> >>>> >>>> _______________________________________________ >>>> Do not post admin requests to the list. They will be ignored. >>>> Webobjects-dev mailing list ([email protected]) >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >>>> >>>> This email sent to [email protected] >>> >>> -- >>> 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/gvc/practical_webobjects >>> >>> Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest >>> Growing Companies in B.C! >>> Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of >>> Canada’s Fastest-Growing Companies by PROFIT Magazine! >>> >>> >>> >>> >>> >>> >>> >>> >> > > -- > 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/gvc/practical_webobjects > > Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing > Companies in B.C! > Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of > Canada’s Fastest-Growing Companies by PROFIT Magazine! > > > > > > > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
