you need to change 3)

from
3.call login URL with stored HASH  /openmeetings/?secureHash=
Prew.StoredHashCode
to
3.call login URL with stored HASH  /openmeetings/swf?secureHash=
Prew.StoredHashCode


On Sun, Jun 2, 2013 at 12:12 PM, Varga Balázs <join...@gmail.com> wrote:

>  Hello !
>
> I Try OM 3.0.0 843 dayli build from jenkins and have error on REST called
> room login.
>
> Main app is integrated website, AJAX+PHP backend call the OM server and
> get joining data - session and invitation hash.
> The called REST result set on IFRAME with FancyBox and the room panel
> loading into fancybox iframe with ajax.
>
> The oldest release (before om 3.0.0 463 2013-05-21_11_48_22) working good,
> the newest is always redirect the OM login page!
>
> REST In the logs: user getSession() ok, userLogin success, dump debug USER
> DATA, login correctly succesfull, and the Om WbAPP
> not detect login cookie! Cookie detection fail (in IFRAME) redirect page
> the signin/login page.
>
> Logs:
> DEBUG 06-02 06:26:59.860 o.a.o.u.c.ManageCryptStyle:43
> [http-bio-0.0.0.0-5080-exec-1] - configKeyCryptClassName:
> org.apache.openmeetings.utils.crypt.MD5Implementation
> DEBUG 06-02 06:26:59.865 o.a.o.d.b.SessiondataDao:200
> [http-bio-0.0.0.0-5080-exec-1] - updateUser User: 1 ||
> 1d0dc0c1a0d3631d3f7d6ca7222bd68c
> DEBUG 06-02 06:26:59.870 o.a.o.d.b.SessiondataDao:215
> [http-bio-0.0.0.0-5080-exec-1] - Found session to update:
> 1d0dc0c1a0d3631d3f7d6ca7222bd68c userId: 1
> DEBUG 06-02 06:26:59.875 o.a.o.d.u.UserManager:282
> [http-bio-0.0.0.0-5080-exec-1] - loginUser
> [org.apache.openmeetings.persistence.beans.domain.Organisation_Users@20,
> org.apache.openmeetings.persistence.beans.domain.Organisation_Users@21]
> DEBUG 06-02 06:26:59.876 o.a.o.d.u.UserManager:284
> [http-bio-0.0.0.0-5080-exec-1] - loginUser size 2
> DEBUG 06-02 06:26:59.929 o.a.o.a.s.UserWebService:891
> [http-bio-0.0.0.0-5080-exec-4] - username demo
> DEBUG 06-02 06:26:59.929 o.a.o.a.s.UserWebService:892
> [http-bio-0.0.0.0-5080-exec-4] - firstname Balázs
> DEBUG 06-02 06:26:59.929 o.a.o.a.s.UserWebService:893
> [http-bio-0.0.0.0-5080-exec-4] - lastname Varga
> DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:894
> [http-bio-0.0.0.0-5080-exec-4] - profilePictureUrl
> DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:895
> [http-bio-0.0.0.0-5080-exec-4] - email info%40magyarwebkonferencia.hu
> DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:896
> [http-bio-0.0.0.0-5080-exec-4] - externalUserId demo
> DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:897
> [http-bio-0.0.0.0-5080-exec-4] - externalUserType conference_pub
> DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:898
> [http-bio-0.0.0.0-5080-exec-4] - allowRecording 1
> DEBUG 06-02 06:26:59.939 o.a.o.a.s.UserWebService:905
> [http-bio-0.0.0.0-5080-exec-4] - xmlString
> <org.apache.openmeetings.persistence.beans.basic.RemoteSessionObject>
>   <username>demo</username>
>   <firstname>Balázs</firstname>
>   <lastname>Varga</lastname>
>   <pictureUrl></pictureUrl>
>   <email>info%40magyarwebkonferencia.hu</email>
>   <externalUserId>demo</externalUserId>
>   <externalUserType>conference_pub</externalUserType>
> </org.apache.openmeetings.persistence.beans.basic.RemoteSessionObject>
> DEBUG 06-02 06:26:59.940 o.a.o.d.b.SessiondataDao:314
> [http-bio-0.0.0.0-5080-exec-4] - updateUser User SID:
> 1d0dc0c1a0d3631d3f7d6ca7222bd68c
> DEBUG 06-02 06:27:00.011 o.a.o.u.c.ManageCryptStyle:38
> [http-bio-0.0.0.0-5080-exec-4] - getInstanceOfCrypt:
> org.apache.openmeetings.utils.crypt.ManageCryptStyle@15819341
> DEBUG 06-02 06:27:00.011 o.a.o.u.c.ManageCryptStyle:43
> [http-bio-0.0.0.0-5080-exec-4] - configKeyCryptClassName:
> org.apache.openmeetings.utils.crypt.MD5Implementation
> DEBUG 06-02 06:27:00.558 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/'
> DEBUG 06-02 06:27:00.642 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:00.642 o.a.w.p.PageAccessSynchronizer:100
> [http-bio-0.0.0.0-5080-exec-7] - 'http-bio-0.0.0.0-5080-exec-7' attempting
> to acquire lock to page with id '6'
> DEBUG 06-02 06:27:00.643 o.a.w.p.PageAccessSynchronizer:141
> [http-bio-0.0.0.0-5080-exec-7] - http-bio-0.0.0.0-5080-exec-7 acquired lock
> to page 6
> DEBUG 06-02 06:27:02.101 o.a.w.u.c.CookieUtils:266
> [http-bio-0.0.0.0-5080-exec-7] - Unable to find Cookie with name=LoggedIn
> and request URI=signin
> DEBUG 06-02 06:27:02.238 o.a.o.d.b.d.LdapConfigDao:245
> [http-bio-0.0.0.0-5080-exec-7] - selectMaxFromConfigurations
> DEBUG 06-02 06:27:02.279 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.304 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.304 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.304 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.395 o.a.o.u.m.MailHandler:241
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-2] -
> sendMails enter ...
> DEBUG 06-02 06:27:02.401 o.a.o.u.m.MailHandler:247
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-2] -
> ... sendMails done.
> DEBUG 06-02 06:27:02.546 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.546 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.547 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.547 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.580 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.581 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.581 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.581 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.762 o.a.w.p.PageAccessSynchronizer:100
> [http-bio-0.0.0.0-5080-exec-7] - 'http-bio-0.0.0.0-5080-exec-7' attempting
> to acquire lock to page with id '6'
> DEBUG 06-02 06:27:02.763 o.a.w.p.PageAccessSynchronizer:141
> [http-bio-0.0.0.0-5080-exec-7] - http-bio-0.0.0.0-5080-exec-7 acquired lock
> to page 6
> DEBUG 06-02 06:27:02.763 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.764 o.a.wicket.Page:860
> [http-bio-0.0.0.0-5080-exec-7] - ending request for page [Page class =
> org.apache.openmeetings.web.pages.auth.SignInPage, id = 6, render count =
> 1], request
> org.apache.wicket.protocol.http.servlet.ServletWebRequest@1480c43b
> DEBUG 06-02 06:27:02.764 o.a.wicket.Page:860
> [http-bio-0.0.0.0-5080-exec-7] - ending request for page [Page class =
> org.apache.openmeetings.web.pages.auth.SignInPage, id = 6, render count =
> 1], request
> org.apache.wicket.protocol.http.servlet.ServletWebRequest@1480c43b
> DEBUG 06-02 06:27:02.767 o.a.w.p.PageAccessSynchronizer:211
> [http-bio-0.0.0.0-5080-exec-7] - 'http-bio-0.0.0.0-5080-exec-7' released
> lock to page with id '6'
> DEBUG 06-02 06:27:02.767
> o.a.w.p.AsynchronousDataStore$PageSavingRunnable:354
> [Wicket-PageSavingThread] - Saving asynchronously: Entry
> [sessionId=3381CCEF6C6DA637C90F08218F0ED5C1, pageId=6]...
> DEBUG 06-02 06:27:02.767 o.a.w.p.PageAccessSynchronizer:219
> [http-bio-0.0.0.0-5080-exec-7] - 'http-bio-0.0.0.0-5080-exec-7' notifying
> blocked threads
> DEBUG 06-02 06:27:02.768 o.a.w.p.DiskDataStore:179
> [Wicket-PageSavingThread] - Storing data for page with id '6' in session
> with id '3381CCEF6C6DA637C90F08218F0ED5C1'
> DEBUG 06-02 06:27:02.768 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.768 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.768 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.769 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.857 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.857 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:02.858 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:04.418 o.a.w.p.h.s.ServletWebRequest:202
> [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from:
> context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin'
> DEBUG 06-02 06:27:04.419 o.a.w.p.PageAccessSynchronizer:100
> [http-bio-0.0.0.0-5080-exec-7] - 'http-bio-0.0.0.0-5080-exec-7' attempting
> to acquire lock to page with id '6'
> DEBUG 06-02 06:27:04.419 o.a.w.p.PageAccessSynchronizer:141
> [http-bio-0.0.0.0-5080-exec-7] - http-bio-0.0.0.0-5080-exec-7 acquired lock
> to page 6
> DEBUG 06-02 06:27:04.420 o.a.wicket.Page:860
> [http-bio-0.0.0.0-5080-exec-7] - ending request for page [Page class =
> org.apache.openmeetings.web.pages.auth.SignInPage, id = 6, render count =
> 1], request
> org.apache.wicket.protocol.http.servlet.ServletWebRequest@2b1eb67d
> DEBUG 06-02 06:27:04.420 o.a.wicket.Page:860
> [http-bio-0.0.0.0-5080-exec-7] - ending request for page [Page class =
> org.apache.openmeetings.web.pages.auth.SignInPage, id = 6, render count =
> 1], request
> org.apache.wicket.protocol.http.servlet.ServletWebRequest@2b1eb67d
> DEBUG 06-02 06:27:04.422 o.a.w.p.PageAccessSynchronizer:211
> [http-bio-0.0.0.0-5080-exec-7] - 'http-bio-0.0.0.0-5080-exec-7' released
> lock to page with id '6'
> DEBUG 06-02 06:27:04.422
> o.a.w.p.AsynchronousDataStore$PageSavingRunnable:354
> [Wicket-PageSavingThread] - Saving asynchronously: Entry
> [sessionId=3381CCEF6C6DA637C90F08218F0ED5C1, pageId=6]...
> DEBUG 06-02 06:27:04.423 o.a.w.p.PageAccessSynchronizer:219
> [http-bio-0.0.0.0-5080-exec-7] - 'http-bio-0.0.0.0-5080-exec-7' notifying
> blocked threads
> DEBUG 06-02 06:27:04.423 o.a.w.p.DiskDataStore:179
> [Wicket-PageSavingThread] - Storing data for page with id '6' in session
> with id '3381CCEF6C6DA637C90F08218F0ED5C1'
> DEBUG 06-02 06:28:07.329 o.a.o.d.b.SessiondataDao:410
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
> ****** clearSessionTable:
> DEBUG 06-02 06:28:07.335 o.a.o.d.b.SessiondataDao:414
> [org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-3] -
> clearSessionTable: 0
>
>
>
> The full logs hier: http://195.56.44.167:8080/openmeetings/log/
>
>
> Main service call flow:
>
> REST
> 1. getSession() as room user ->store SID
> 2.setUserObjectAndGenerateRoomHashByURLAndRecFlag() -> store result HASH
> code
> 3.call login URL with stored HASH
> /openmeetings/?secureHash=Prew.StoredHashCode
>
> The older release this works fine, new is not working....
>
> Pleas help me, howto fixit this!
>
>
>
> Balazs
>
>


-- 
WBR
Maxim aka solomax

Reply via email to