openmeetings-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baskar Rajendran <baskar.rajend...@gmail.com>
Subject Re: invitation link not workin
Date Fri, 16 Nov 2012 03:25:27 GMT
when i tried to append the swf file name main.as3.swf10.swf along with
the base url and hash  and language params it works fine

http://localhost:5080/openmeetings/main.as3.swf10.swf?invitationHash=e5f8bbc5cb86683180c13c5610a8ec73&language=1

should i go and change the base url to be
http://localhost:5080/openmeetings/main.as3.swf10.

now the question is to append swfmain.swf8.swf / main.as3.swf10.?? and
in client also see the belpw code  forming a base url for invitation
link is also based on the url that we used to access application
http://localhost:5080/openmeetings, so how do i append to this now?

                                               var urlObject =
lz.Browser.getBaseURL();
						this.baseUrl =
urlObject.protocol+"://"+urlObject.host+":"+port+urlObject.path;

-baskar

On Fri, Nov 16, 2012 at 1:51 AM, Baskar Rajendran
<baskar.rajendran@gmail.com> wrote:
> I found the hash code  '[Ljava.lang.String;@1f8d56' goes from client
> as  parameter instead of the right 'e5f8bbc5cb86683180c13c5610a8ec73'
> value
> hence the error " no invitation available for this invitation code"
>
> how client is sending wrong values for hashcode and language? in
> mainMethods.lzx this is not executed  i think
>
>
>  //Check for Invitation
>         var invitationHash = lz.Browser.getInitArg('invitationHash');
>
>         if ($debug) Debug.info("###################### -1 ");
>         if ($debug) Debug.info("invitationHash :: ",invitationHash);
>
>         if (invitationHash != undefined){
>             canvas.isinitRoomDirect = true;
>             canvas.invitationHash = invitationHash;
>
> 2)    var language = lz.Browser.getInitArg('language');
>         if (language != undefined) {
>                 if ($debug) Debug.write("browser language: ",language);
>             canvas.language_id = Number(language);
>         }
>
> Can you check these?
> -baskar
> On Thu, Nov 15, 2012 at 11:58 PM, Baskar Rajendran
> <baskar.rajendran@gmail.com> wrote:
>> attached screenshot without language param in querystring
>>
>> http://localhost:5080/openmeetings/?invitationHash=e5f8bbc5cb86683180c13c5610a8ec73
>>
>> It should show the the combo box to select the language_id but it shows the
>> error window  with msg "No invitation available for this invitation code"
>>
>> -baskar
>>
>>
>> On Thu, Nov 15, 2012 at 11:40 PM, Baskar Rajendran
>> <baskar.rajendran@gmail.com> wrote:
>>>
>>> Hi
>>>
>>> The invitation link not working in non - debug mode
>>>
>>> http://localhost:5080/openmeetings/?invitationHash=e5f8bbc5cb86683180c13c5610a8ec73&language=1
>>>
>>> the log is
>>>
>>> 2012-11-15 22:08:09,484 [http-nio-0.0.0.0-8088-exec-9] INFO
>>> o.r.s.n.r.codec.RTMPProtocolDecoder - Action connect
>>> 2012-11-15 22:08:09,492 [http-nio-0.0.0.0-8088-exec-9] INFO
>>> o.red5.server.net.rtmp.RTMPHandler - Connecting to: [Scope@127f782 Depth =
>>> 2, Path = '/default/openmeetings', Name = 'hibernate']
>>> 2012-11-15 22:08:09,493 [http-nio-0.0.0.0-8088-exec-9] INFO
>>> o.a.o.r.r.ScopeApplicationAdapter - W3C x-category:session x-event:connect
>>> c-ip:127.0.0.1 c-client-id:5
>>> 2012-11-15 22:08:09,493 [http-nio-0.0.0.0-8088-exec-9] INFO
>>> o.a.o.r.r.ScopeApplicationAdapter - W3C x-category:session x-event:connect
>>> c-ip:127.0.0.1 c-client-id:5
>>> 2012-11-15 22:08:09,692 [http-nio-0.0.0.0-8088-exec-10] INFO
>>> o.r.s.n.r.codec.RTMPProtocolDecoder - Action _result
>>> 2012-11-15 22:08:09,698 [http-nio-0.0.0.0-8088-exec-1] INFO
>>> o.r.s.n.r.codec.RTMPProtocolDecoder - Action xmlcrm.getsessiondata
>>> 2012-11-15 22:08:09,780 [http-nio-0.0.0.0-8088-exec-2] INFO
>>> o.r.s.n.r.codec.RTMPProtocolDecoder - Action getPublicSID
>>> 2012-11-15 22:08:09,848 [http-nio-0.0.0.0-8088-exec-3] INFO
>>> o.r.s.n.r.codec.RTMPProtocolDecoder - Action xmlcrm.getSIPModuleStatus
>>> 2012-11-15 22:08:09,917 [http-nio-0.0.0.0-8088-exec-4] INFO
>>> o.r.s.n.r.codec.RTMPProtocolDecoder - Action languageservice.getLanguages
>>> 2012-11-15 22:08:10,047 [http-nio-0.0.0.0-8088-exec-6] INFO
>>> o.r.s.n.r.codec.RTMPProtocolDecoder - Action
>>> languageservice.getDefaultLanguage
>>> 2012-11-15 22:08:10,124 [http-nio-0.0.0.0-8088-exec-7] INFO
>>> o.r.s.n.r.codec.RTMPProtocolDecoder - Action
>>> languageservice.getLanguageByIdAndMax
>>> 2012-11-15 22:08:10,126 [http-nio-0.0.0.0-8088-exec-7] ERROR
>>> o.r.server.service.ServiceInvoker - Error executing call: Service:
>>> languageservice Method: getLanguageByIdAndMax Num Params: 3 0: NaN 1: 0 2:
>>> 100
>>> java.lang.IllegalArgumentException: argument type mismatch
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> ~[na:1.6.0_17]
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> ~[na:1.6.0_17]
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> ~[na:1.6.0_17]
>>> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_17]
>>> at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:196)
>>> [red5.jar:na]
>>> at org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:115)
>>> [red5.jar:na]
>>> at org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:157)
>>> [red5.jar:na]
>>> at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:399)
>>> [red5.jar:na]
>>> at
>>> org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:130)
>>> [red5.jar:na]
>>> at
>>> org.red5.server.net.rtmpt.RTMPTHandler.messageReceived(RTMPTHandler.java:129)
>>> [red5.jar:na]
>>> at
>>> org.red5.server.net.rtmpt.RTMPTServlet.handleSend(RTMPTServlet.java:410)
>>> [red5.jar:na]
>>> at org.red5.server.net.rtmpt.RTMPTServlet.service(RTMPTServlet.java:488)
>>> [red5.jar:na]
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
>>> [tomcat-embed-core-jar-7.0.32.jar:7.0.32]
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>> [na:1.6.0_17]
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>> [na:1.6.0_17]
>>> at java.lang.Thread.run(Thread.java:619) [na:1.6.0_17]
>>>
>>> the param 0 for the method is going as NaN but it expected to be a number
>>> ( Long languageid),
>>>
>>> the only way to debug this is run the  laszlo client in debug mode But
>>> this one works fine without any issues
>>>
>>> http://localhost:5080/openmeetings/maindebug.as3.swf10.swf?invitationHash=e5f8bbc5cb86683180c13c5610a8ec73&language=1
>>>
>>> what's the difference ???
>>>
>>> -baskar
>>>
>>

Mime
View raw message