Failed to find parameter: scriptSessionId

View: New views
12 Messages — Rating Filter:   Alert me  

Failed to find parameter: scriptSessionId

by Dhafir Moussa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I searched the mailing list about This issue but couldn't find any.
I started to get the following Java crash upon certain operation which involves closing the browser window and firing  an Ajax request to the server saying goodbye.
 
Error msg:
Failed to find parameter: scriptSessionId
I am not enabling reverse Ajax ( activeReverseAjaxEnabledand = false) and I didn't have this issue before. I am using DWR 3.0 RC1.
Any hint on what could cause this crash?

Thanks to all,
 
Daniel

Re: Failed to find parameter: scriptSessionId

by Dhafir Moussa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here is the stack trace:

14:05:39,379 WARN BaseCallHandler : Exception while processing batch

java.lang.IllegalArgumentException

: Failed to find parameter: scriptSessionId

at org.directwebremoting.dwrp.Batch.extractParameter(

Batch.java:91)

at org.directwebremoting.dwrp.Batch.<init>(

Batch.java:59)

at org.directwebremoting.dwrp.CallBatch.<init>(

CallBatch.java:46)

at org.directwebremoting.dwrp.BaseCallHandler.handle(

BaseCallHandler.java:72)

at org.directwebremoting.servlet.UrlProcessor.handle(

UrlProcessor.java:120)

at org.directwebremoting.servlet.DwrServlet.doPost(

DwrServlet.java:141)

at javax.servlet.http.HttpServlet.service(

HttpServlet.java:710)

at javax.servlet.http.HttpServlet.service(

HttpServlet.java:803)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

ApplicationFilterChain.java:269)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(

ApplicationFilterChain.java:188)

at org.apache.catalina.core.StandardWrapperValve.invoke(

StandardWrapperValve.java:210)

at org.apache.catalina.core.StandardContextValve.invoke(

StandardContextValve.java:174)

at org.apache.catalina.core.StandardHostValve.invoke(

StandardHostValve.java:127)

at org.apache.catalina.valves.ErrorReportValve.invoke(

ErrorReportValve.java:117)

at org.apache.catalina.core.StandardEngineValve.invoke(

StandardEngineValve.java:108)

at org.apache.catalina.connector.CoyoteAdapter.service(

CoyoteAdapter.java:151)

at org.apache.coyote.http11.Http11Processor.process(

Http11Processor.java:870)

at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(

Http11BaseProtocol.java:665)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(

PoolTcpEndpoint.java:528)

at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(

LeaderFollowerWorkerThread.java:81)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(

ThreadPool.java:685)

at java.lang.Thread.run(Unknown Source)



On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa <dhafir.moussa@...> wrote:
Hi all,
I searched the mailing list about This issue but couldn't find any.
I started to get the following Java crash upon certain operation which involves closing the browser window and firing  an Ajax request to the server saying goodbye.
 
Error msg:
Failed to find parameter: scriptSessionId
I am not enabling reverse Ajax ( activeReverseAjaxEnabledand = false) and I didn't have this issue before. I am using DWR 3.0 RC1.
Any hint on what could cause this crash?

Thanks to all,
 
Daniel



--

Dhafir Moussa

Re: Failed to find parameter: scriptSessionId

by Dhafir Moussa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Readable version of the stack:
 
14:05:39,379 WARN BaseCallHandler : Exception while processing batch
java.lang.IllegalArgumentException: Failed to find parameter: scriptSessionId
at org.directwebremoting.dwrp.Batch.extractParameter(Batch.java:91)
at org.directwebremoting.dwrp.Batch.<init>(Batch.java:59)
at org.directwebremoting.dwrp.CallBatch.<init>(CallBatch.java:46)
at org.directwebremoting.dwrp.BaseCallHandler.handle(BaseCallHandler.java:72)
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:120)
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:141)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
 


 
On Tue, Oct 13, 2009 at 2:07 PM, Dhafir Moussa <dhafir.moussa@...> wrote:
Here is the stack trace:

14:05:39,379 WARN BaseCallHandler : Exception while processing batch

java.lang.IllegalArgumentException

: Failed to find parameter: scriptSessionId

at org.directwebremoting.dwrp.Batch.extractParameter(

Batch.java:91)

at org.directwebremoting.dwrp.Batch.<init>(

Batch.java:59)

at org.directwebremoting.dwrp.CallBatch.<init>(

CallBatch.java:46)

at org.directwebremoting.dwrp.BaseCallHandler.handle(

BaseCallHandler.java:72)

at org.directwebremoting.servlet.UrlProcessor.handle(

UrlProcessor.java:120)

at org.directwebremoting.servlet.DwrServlet.doPost(

DwrServlet.java:141)

at javax.servlet.http.HttpServlet.service(

HttpServlet.java:710)

at javax.servlet.http.HttpServlet.service(

HttpServlet.java:803)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

ApplicationFilterChain.java:269)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(

ApplicationFilterChain.java:188)

at org.apache.catalina.core.StandardWrapperValve.invoke(

StandardWrapperValve.java:210)

at org.apache.catalina.core.StandardContextValve.invoke(

StandardContextValve.java:174)

at org.apache.catalina.core.StandardHostValve.invoke(

StandardHostValve.java:127)

at org.apache.catalina.valves.ErrorReportValve.invoke(

ErrorReportValve.java:117)

at org.apache.catalina.core.StandardEngineValve.invoke(

StandardEngineValve.java:108)

at org.apache.catalina.connector.CoyoteAdapter.service(

CoyoteAdapter.java:151)

at org.apache.coyote.http11.Http11Processor.process(

Http11Processor.java:870)

at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(

Http11BaseProtocol.java:665)

at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(

PoolTcpEndpoint.java:528)

at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(

LeaderFollowerWorkerThread.java:81)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(

ThreadPool.java:685)

at java.lang.Thread.run(Unknown Source)



On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa <dhafir.moussa@...> wrote:
Hi all,
I searched the mailing list about This issue but couldn't find any.
I started to get the following Java crash upon certain operation which involves closing the browser window and firing  an Ajax request to the server saying goodbye.
 
Error msg:
Failed to find parameter: scriptSessionId
I am not enabling reverse Ajax ( activeReverseAjaxEnabledand = false) and I didn't have this issue before. I am using DWR 3.0 RC1.
Any hint on what could cause this crash?

Thanks to all,
 
Daniel



--

Dhafir Moussa



--

Dhafir Moussa

Re: Re: Failed to find parameter: scriptSessionId

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Send us the Javascript where you are making the remote call.

Dhafir Moussa wrote:

> Readable version of the stack:
>  
> 14:05:39,379 WARN BaseCallHandler : Exception while processing batch
> _java.lang.IllegalArgumentException_: Failed to find parameter:
> scriptSessionId
> at org.directwebremoting.dwrp.Batch.extractParameter(_Batch.java:91_)
> at org.directwebremoting.dwrp.Batch.<init>(_Batch.java:59_)
> at org.directwebremoting.dwrp.CallBatch.<init>(_CallBatch.java:46_)
> at
> org.directwebremoting.dwrp.BaseCallHandler.handle(_BaseCallHandler.java:72_)
> at
> org.directwebremoting.servlet.UrlProcessor.handle(_UrlProcessor.java:120_)
> at org.directwebremoting.servlet.DwrServlet.doPost(_DwrServlet.java:141_)
> at javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
> at javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:269_)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:188_)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:210_)
> at
> org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:174_)
> at
> org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:127_)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:117_)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:108_)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:151_)
> at
> org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:870_)
> at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
> _Http11BaseProtocol.java:665_)
> at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoint.java:528_)
> at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollowerWorkerThread.java:81_)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPool.java:685_)
> at java.lang.Thread.run(Unknown Source)
>  
>
>
>  
> On Tue, Oct 13, 2009 at 2:07 PM, Dhafir Moussa
> <dhafir.moussa@... <mailto:dhafir.moussa@...>> wrote:
>
>     Here is the stack trace:
>
>     14:05:39,379 WARN BaseCallHandler : Exception while processing batch
>
>     _
>
>     java.lang.IllegalArgumentException
>
>     _: Failed to find parameter: scriptSessionId
>
>     at org.directwebremoting.dwrp.Batch.extractParameter(
>
>     _Batch.java:91_)
>
>     at org.directwebremoting.dwrp.Batch.<init>(
>
>     _Batch.java:59_)
>
>     at org.directwebremoting.dwrp.CallBatch.<init>(
>
>     _CallBatch.java:46_)
>
>     at org.directwebremoting.dwrp.BaseCallHandler.handle(
>
>     _BaseCallHandler.java:72_)
>
>     at org.directwebremoting.servlet.UrlProcessor.handle(
>
>     _UrlProcessor.java:120_)
>
>     at org.directwebremoting.servlet.DwrServlet.doPost(
>
>     _DwrServlet.java:141_)
>
>     at javax.servlet.http.HttpServlet.service(
>
>     _HttpServlet.java:710_)
>
>     at javax.servlet.http.HttpServlet.service(
>
>     _HttpServlet.java:803_)
>
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>
>     _ApplicationFilterChain.java:269_)
>
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>
>     _ApplicationFilterChain.java:188_)
>
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
>
>     _StandardWrapperValve.java:210_)
>
>     at org.apache.catalina.core.StandardContextValve.invoke(
>
>     _StandardContextValve.java:174_)
>
>     at org.apache.catalina.core.StandardHostValve.invoke(
>
>     _StandardHostValve.java:127_)
>
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
>
>     _ErrorReportValve.java:117_)
>
>     at org.apache.catalina.core.StandardEngineValve.invoke(
>
>     _StandardEngineValve.java:108_)
>
>     at org.apache.catalina.connector.CoyoteAdapter.service(
>
>     _CoyoteAdapter.java:151_)
>
>     at org.apache.coyote.http11.Http11Processor.process(
>
>     _Http11Processor.java:870_)
>
>     at
>     org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
>
>     _Http11BaseProtocol.java:665_)
>
>     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
>
>     _PoolTcpEndpoint.java:528_)
>
>     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
>
>     _LeaderFollowerWorkerThread.java:81_)
>
>     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
>
>     _ThreadPool.java:685_)
>
>     at java.lang.Thread.run(Unknown Source)
>
>
>
>     On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa
>     <dhafir.moussa@... <mailto:dhafir.moussa@...>> wrote:
>
>         Hi all,
>         I searched the mailing list about This issue but couldn't find
>         any.
>         I started to get the following Java crash upon certain
>         operation which involves closing the browser window and
>         firing  an Ajax request to the server saying goodbye.
>          
>         Error msg:
>         Failed to find parameter: scriptSessionId
>         I am not enabling reverse Ajax ( activeReverseAjaxEnabledand =
>         false) and I didn't have this issue before. I am using DWR 3.0
>         RC1.
>         Any hint on what could cause this crash?
>
>         Thanks to all,
>          
>         Daniel
>
>
>
>
>     --
>
>     Dhafir Moussa
>
>
>
>
> --
>
> Dhafir Moussa



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4501 (20091012) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Re: Failed to find parameter: scriptSessionId

by Dhafir Moussa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

well, it is wrapped inside a utility gets evaluated to the following:
try
{
   eval(JaveRemoteServer.unloadPage(pageInfo, {callback : function(){}, async : true} ) );
 
}catch(err)
{  
   //- something wrong! 
}

 
Thanks,
Daniel
 

 
On Tue, Oct 13, 2009 at 2:15 PM, David Marginian <david@...> wrote:
Send us the Javascript where you are making the remote call.

Dhafir Moussa wrote:
Readable version of the stack:
 14:05:39,379 WARN BaseCallHandler : Exception while processing batch
_java.lang.IllegalArgumentException_: Failed to find parameter: scriptSessionId
at org.directwebremoting.dwrp.Batch.extractParameter(_Batch.java:91_)
at org.directwebremoting.dwrp.Batch.<init>(_Batch.java:59_)
at org.directwebremoting.dwrp.CallBatch.<init>(_CallBatch.java:46_)
at org.directwebremoting.dwrp.BaseCallHandler.handle(_BaseCallHandler.java:72_)
at org.directwebremoting.servlet.UrlProcessor.handle(_UrlProcessor.java:120_)
at org.directwebremoting.servlet.DwrServlet.doPost(_DwrServlet.java:141_)
at javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
at javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:269_)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:188_)
at org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:210_)
at org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:174_)
at org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:127_)
at org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:117_)
at org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:108_)
at org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:151_)
at org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:870_)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection _Http11BaseProtocol.java:665_)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoint.java:528_)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollowerWorkerThread.java:81_)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPool.java:685_)
at java.lang.Thread.run(Unknown Source)
 

 On Tue, Oct 13, 2009 at 2:07 PM, Dhafir Moussa <dhafir.moussa@... <mailto:dhafir.moussa@...>> wrote:

   Here is the stack trace:

   14:05:39,379 WARN BaseCallHandler : Exception while processing batch

   _

   java.lang.IllegalArgumentException

   _: Failed to find parameter: scriptSessionId

   at org.directwebremoting.dwrp.Batch.extractParameter(

   _Batch.java:91_)

   at org.directwebremoting.dwrp.Batch.<init>(

   _Batch.java:59_)

   at org.directwebremoting.dwrp.CallBatch.<init>(

   _CallBatch.java:46_)

   at org.directwebremoting.dwrp.BaseCallHandler.handle(

   _BaseCallHandler.java:72_)

   at org.directwebremoting.servlet.UrlProcessor.handle(

   _UrlProcessor.java:120_)

   at org.directwebremoting.servlet.DwrServlet.doPost(

   _DwrServlet.java:141_)

   at javax.servlet.http.HttpServlet.service(

   _HttpServlet.java:710_)

   at javax.servlet.http.HttpServlet.service(

   _HttpServlet.java:803_)

   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

   _ApplicationFilterChain.java:269_)

   at org.apache.catalina.core.ApplicationFilterChain.doFilter(

   _ApplicationFilterChain.java:188_)

   at org.apache.catalina.core.StandardWrapperValve.invoke(

   _StandardWrapperValve.java:210_)

   at org.apache.catalina.core.StandardContextValve.invoke(

   _StandardContextValve.java:174_)

   at org.apache.catalina.core.StandardHostValve.invoke(

   _StandardHostValve.java:127_)

   at org.apache.catalina.valves.ErrorReportValve.invoke(

   _ErrorReportValve.java:117_)

   at org.apache.catalina.core.StandardEngineValve.invoke(

   _StandardEngineValve.java:108_)

   at org.apache.catalina.connector.CoyoteAdapter.service(

   _CoyoteAdapter.java:151_)

   at org.apache.coyote.http11.Http11Processor.process(

   _Http11Processor.java:870_)

   at
   org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(

   _Http11BaseProtocol.java:665_)

   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(

   _PoolTcpEndpoint.java:528_)

   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(

   _LeaderFollowerWorkerThread.java:81_)

   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(

   _ThreadPool.java:685_)

   at java.lang.Thread.run(Unknown Source)



   On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa
   <dhafir.moussa@... <mailto:dhafir.moussa@...>> wrote:

       Hi all,
       I searched the mailing list about This issue but couldn't find
       any.
       I started to get the following Java crash upon certain
       operation which involves closing the browser window and
       firing  an Ajax request to the server saying goodbye.
               Error msg:
       Failed to find parameter: scriptSessionId
       I am not enabling reverse Ajax ( activeReverseAjaxEnabledand =
       false) and I didn't have this issue before. I am using DWR 3.0
       RC1.
       Any hint on what could cause this crash?

       Thanks to all,
               Daniel




   --
   Dhafir Moussa




--

Dhafir Moussa



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4501 (20091012) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...




--

Dhafir Moussa

Re: Re: Failed to find parameter: scriptSessionId

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

And that is called when?  What exactly is the eval for, I see no need
for that (in fact I only see it causing issues since the asynchronous
DWR call will always be null - thus you will eval'ing null)?  Please
send us the actual JavaScript from the utility class and the call to the
utility class.

Dhafir Moussa wrote:

> *
> well, it is wrapped inside a utility gets evaluated to the following:
> try
> *{
>    eval(JaveRemoteServer.unloadPage(pageInfo, {callback :
> *function*(){}, async : true} ) );
>  
> }*catch*(err)
> {  
>    //- something wrong!
> }
>
>  
> Thanks,
> Daniel
>  
>
>  
> On Tue, Oct 13, 2009 at 2:15 PM, David Marginian <david@...
> <mailto:david@...>> wrote:
>
>     Send us the Javascript where you are making the remote call.
>
>     Dhafir Moussa wrote:
>
>         Readable version of the stack:
>          14:05:39,379 WARN BaseCallHandler : Exception while
>         processing batch
>         _java.lang.IllegalArgumentException_: Failed to find
>         parameter: scriptSessionId
>         at
>         org.directwebremoting.dwrp.Batch.extractParameter(_Batch.java:91_)
>         at org.directwebremoting.dwrp.Batch.<init>(_Batch.java:59_)
>         at
>         org.directwebremoting.dwrp.CallBatch.<init>(_CallBatch.java:46_)
>         at
>         org.directwebremoting.dwrp.BaseCallHandler.handle(_BaseCallHandler.java:72_)
>         at
>         org.directwebremoting.servlet.UrlProcessor.handle(_UrlProcessor.java:120_)
>         at
>         org.directwebremoting.servlet.DwrServlet.doPost(_DwrServlet.java:141_)
>         at javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
>         at javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
>         at
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:269_)
>         at
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:188_)
>         at
>         org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:210_)
>         at
>         org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:174_)
>         at
>         org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:127_)
>         at
>         org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:117_)
>         at
>         org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:108_)
>         at
>         org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:151_)
>         at
>         org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:870_)
>         at
>         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
>         _Http11BaseProtocol.java:665_)
>         at
>         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoint.java:528_)
>         at
>         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollowerWorkerThread.java:81_)
>         at
>         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPool.java:685_)
>         at java.lang.Thread.run(Unknown Source)
>          
>
>          On Tue, Oct 13, 2009 at 2:07 PM, Dhafir Moussa
>         <dhafir.moussa@... <mailto:dhafir.moussa@...>
>         <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>> wrote:
>
>            Here is the stack trace:
>
>            14:05:39,379 WARN BaseCallHandler : Exception while
>         processing batch
>
>            _
>
>            java.lang.IllegalArgumentException
>
>            _: Failed to find parameter: scriptSessionId
>
>            at org.directwebremoting.dwrp.Batch.extractParameter(
>
>            _Batch.java:91_)
>
>            at org.directwebremoting.dwrp.Batch.<init>(
>
>            _Batch.java:59_)
>
>            at org.directwebremoting.dwrp.CallBatch.<init>(
>
>            _CallBatch.java:46_)
>
>            at org.directwebremoting.dwrp.BaseCallHandler.handle(
>
>            _BaseCallHandler.java:72_)
>
>            at org.directwebremoting.servlet.UrlProcessor.handle(
>
>            _UrlProcessor.java:120_)
>
>            at org.directwebremoting.servlet.DwrServlet.doPost(
>
>            _DwrServlet.java:141_)
>
>            at javax.servlet.http.HttpServlet.service(
>
>            _HttpServlet.java:710_)
>
>            at javax.servlet.http.HttpServlet.service(
>
>            _HttpServlet.java:803_)
>
>            at
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>
>            _ApplicationFilterChain.java:269_)
>
>            at org.apache.catalina.core.ApplicationFilterChain.doFilter(
>
>            _ApplicationFilterChain.java:188_)
>
>            at org.apache.catalina.core.StandardWrapperValve.invoke(
>
>            _StandardWrapperValve.java:210_)
>
>            at org.apache.catalina.core.StandardContextValve.invoke(
>
>            _StandardContextValve.java:174_)
>
>            at org.apache.catalina.core.StandardHostValve.invoke(
>
>            _StandardHostValve.java:127_)
>
>            at org.apache.catalina.valves.ErrorReportValve.invoke(
>
>            _ErrorReportValve.java:117_)
>
>            at org.apache.catalina.core.StandardEngineValve.invoke(
>
>            _StandardEngineValve.java:108_)
>
>            at org.apache.catalina.connector.CoyoteAdapter.service(
>
>            _CoyoteAdapter.java:151_)
>
>            at org.apache.coyote.http11.Http11Processor.process(
>
>            _Http11Processor.java:870_)
>
>            at
>          
>          org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
>
>            _Http11BaseProtocol.java:665_)
>
>            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
>
>            _PoolTcpEndpoint.java:528_)
>
>            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
>
>            _LeaderFollowerWorkerThread.java:81_)
>
>            at
>         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
>
>            _ThreadPool.java:685_)
>
>            at java.lang.Thread.run(Unknown Source)
>
>
>
>            On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa
>            <dhafir.moussa@... <mailto:dhafir.moussa@...>
>         <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>> wrote:
>
>                Hi all,
>                I searched the mailing list about This issue but
>         couldn't find
>                any.
>                I started to get the following Java crash upon certain
>                operation which involves closing the browser window and
>                firing  an Ajax request to the server saying goodbye.
>                        Error msg:
>                Failed to find parameter: scriptSessionId
>                I am not enabling reverse Ajax (
>         activeReverseAjaxEnabledand =
>                false) and I didn't have this issue before. I am using
>         DWR 3.0
>                RC1.
>                Any hint on what could cause this crash?
>
>                Thanks to all,
>                        Daniel
>
>
>
>
>            --
>            Dhafir Moussa
>
>
>
>
>         --
>
>         Dhafir Moussa
>
>
>
>
>     __________ Information from ESET NOD32 Antivirus, version of virus
>     signature database 4501 (20091012) __________
>
>     The message was checked by ESET NOD32 Antivirus.
>
>     http://www.eset.com <http://www.eset.com/>
>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@...
>     <mailto:users-unsubscribe@...>
>     For additional commands, e-mail: users-help@...
>     <mailto:users-help@...>
>
>
>
>
> --
>
> Dhafir Moussa



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4501 (20091012) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Re: Failed to find parameter: scriptSessionId

by Dhafir Moussa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It does a lot. This application been running in production for the last two years using this eval without a problem, and still works.
 
The utility is big and complicated to be explained in few lines, but imagine a utility called "DwrServer". It has a function called "execute()" - with no parameters.
 
The function works out the parameters from the intrinsic "argument" array variable, so that:
argument[0]  - the remote function call
argument[1]  - the 1st parameter
argument[2]  - the 2nd parameter
...
argument[n-1]  - the (n-1) parameter
argument[n]  - the callback function - last argument
 
then it will basically call:
eval( argument[0] ( argument[1], argument[2], ...,argument[n-1], argument[n]) )
 
 
So, the way we call it is like this:

var javeServer =

new DwrServer();
javeServer.execute(MenuService.unloadPage, pageInfo, function(){});
 
This basically calling a function called "unloadPage(PageInfo pageInfo)"
 
 


 
On Tue, Oct 13, 2009 at 2:31 PM, David Marginian <david@...> wrote:
And that is called when?  What exactly is the eval for, I see no need for that (in fact I only see it causing issues since the asynchronous DWR call will always be null - thus you will eval'ing null)?  Please send us the actual JavaScript from the utility class and the call to the utility class.

Dhafir Moussa wrote:
*

well, it is wrapped inside a utility gets evaluated to the following:
try
*{
  eval(JaveRemoteServer.unloadPage(pageInfo, {callback : *function*(){}, async : true} ) );
 }*catch*(err)
{     //- something wrong! }

 Thanks,
Daniel
 
 On Tue, Oct 13, 2009 at 2:15 PM, David Marginian <david@... <mailto:david@...>> wrote:

   Send us the Javascript where you are making the remote call.

   Dhafir Moussa wrote:

       Readable version of the stack:
        14:05:39,379 WARN BaseCallHandler : Exception while
       processing batch
       _java.lang.IllegalArgumentException_: Failed to find
       parameter: scriptSessionId
       at
       org.directwebremoting.dwrp.Batch.extractParameter(_Batch.java:91_)
       at org.directwebremoting.dwrp.Batch.<init>(_Batch.java:59_)
       at
       org.directwebremoting.dwrp.CallBatch.<init>(_CallBatch.java:46_)
       at
       org.directwebremoting.dwrp.BaseCallHandler.handle(_BaseCallHandler.java:72_)
       at
       org.directwebremoting.servlet.UrlProcessor.handle(_UrlProcessor.java:120_)
       at
       org.directwebremoting.servlet.DwrServlet.doPost(_DwrServlet.java:141_)
       at javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
       at javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
       at
       org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:269_)
       at
       org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:188_)
       at
       org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:210_)
       at
       org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:174_)
       at
       org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:127_)
       at
       org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:117_)
       at
       org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:108_)
       at
       org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:151_)
       at
       org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:870_)
       at
       org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
       _Http11BaseProtocol.java:665_)
       at
       org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoint.java:528_)
       at
       org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollowerWorkerThread.java:81_)
       at
       org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPool.java:685_)
       at java.lang.Thread.run(Unknown Source)
       
        On Tue, Oct 13, 2009 at 2:07 PM, Dhafir Moussa
       <dhafir.moussa@... <mailto:dhafir.moussa@...>
       <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>> wrote:

          Here is the stack trace:

          14:05:39,379 WARN BaseCallHandler : Exception while
       processing batch

          _

          java.lang.IllegalArgumentException

          _: Failed to find parameter: scriptSessionId

          at org.directwebremoting.dwrp.Batch.extractParameter(

          _Batch.java:91_)

          at org.directwebremoting.dwrp.Batch.<init>(

          _Batch.java:59_)

          at org.directwebremoting.dwrp.CallBatch.<init>(

          _CallBatch.java:46_)

          at org.directwebremoting.dwrp.BaseCallHandler.handle(

          _BaseCallHandler.java:72_)

          at org.directwebremoting.servlet.UrlProcessor.handle(

          _UrlProcessor.java:120_)

          at org.directwebremoting.servlet.DwrServlet.doPost(

          _DwrServlet.java:141_)

          at javax.servlet.http.HttpServlet.service(

          _HttpServlet.java:710_)

          at javax.servlet.http.HttpServlet.service(

          _HttpServlet.java:803_)

          at
       org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

          _ApplicationFilterChain.java:269_)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(

          _ApplicationFilterChain.java:188_)

          at org.apache.catalina.core.StandardWrapperValve.invoke(

          _StandardWrapperValve.java:210_)

          at org.apache.catalina.core.StandardContextValve.invoke(

          _StandardContextValve.java:174_)

          at org.apache.catalina.core.StandardHostValve.invoke(

          _StandardHostValve.java:127_)

          at org.apache.catalina.valves.ErrorReportValve.invoke(

          _ErrorReportValve.java:117_)

          at org.apache.catalina.core.StandardEngineValve.invoke(

          _StandardEngineValve.java:108_)

          at org.apache.catalina.connector.CoyoteAdapter.service(

          _CoyoteAdapter.java:151_)

          at org.apache.coyote.http11.Http11Processor.process(

          _Http11Processor.java:870_)

          at
                org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(

          _Http11BaseProtocol.java:665_)

          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(

          _PoolTcpEndpoint.java:528_)

          at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(

          _LeaderFollowerWorkerThread.java:81_)

          at
       org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(

          _ThreadPool.java:685_)

          at java.lang.Thread.run(Unknown Source)



          On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa
          <dhafir.moussa@... <mailto:dhafir.moussa@...>
       <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>> wrote:

              Hi all,
              I searched the mailing list about This issue but
       couldn't find
              any.
              I started to get the following Java crash upon certain
              operation which involves closing the browser window and
              firing  an Ajax request to the server saying goodbye.
                      Error msg:
              Failed to find parameter: scriptSessionId
              I am not enabling reverse Ajax (
       activeReverseAjaxEnabledand =
              false) and I didn't have this issue before. I am using
       DWR 3.0
              RC1.
              Any hint on what could cause this crash?

              Thanks to all,
                      Daniel




          --
          Dhafir Moussa




       --
       Dhafir Moussa




   __________ Information from ESET NOD32 Antivirus, version of virus
   signature database 4501 (20091012) __________

   The message was checked by ESET NOD32 Antivirus.

   http://www.eset.com <http://www.eset.com/>




   ---------------------------------------------------------------------
   To unsubscribe, e-mail: users-unsubscribe@...
   <mailto:users-unsubscribe@...>

   For additional commands, e-mail: users-help@...
   <mailto:users-help@...>




--

Dhafir Moussa



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4501 (20091012) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...




--

Dhafir Moussa

Re: Re: Failed to find parameter: scriptSessionId

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Where are you calling the function from, from the window.onunload event
handler?  If that is the case than the error you are getting would make
sense to me.  The page is probably half way unloaded when the call is
made which is not good.  If this is the cause try using the
onbeforeunload handler instead.

Dhafir Moussa wrote:

> It does a lot. This application been running in production for the
> last two years using this eval without a problem, and still works.
>  
> The utility is big and complicated to be explained in few lines, but
> imagine a utility called "DwrServer". It has a function called
> "execute()" - with no parameters.
>  
> The function works out the parameters from the intrinsic "argument"
> array variable, so that:
> argument[0]  - the remote function call
> argument[1]  - the 1st parameter
> argument[2]  - the 2nd parameter
> ...
> argument[n-1]  - the (n-1) parameter
> argument[n]  - the callback function - last argument
>  
> then it will basically call:
> eval( *argument[0]* ( argument[1], argument[2], ...,argument[n-1],
> argument[n]) )
>  
>  
> So, the way we call it is like this:
>
> var javeServer =
>
> *new* DwrServer();
> javeServer.execute(MenuService.unloadPage, pageInfo, function(){});
>  
> This basically calling a function called "unloadPage(PageInfo pageInfo)"
>  
>  
>
>
>  
> On Tue, Oct 13, 2009 at 2:31 PM, David Marginian <david@...
> <mailto:david@...>> wrote:
>
>     And that is called when?  What exactly is the eval for, I see no
>     need for that (in fact I only see it causing issues since the
>     asynchronous DWR call will always be null - thus you will eval'ing
>     null)?  Please send us the actual JavaScript from the utility
>     class and the call to the utility class.
>
>     Dhafir Moussa wrote:
>
>         *
>
>         well, it is wrapped inside a utility gets evaluated to the
>         following:
>         try
>         *{
>           eval(JaveRemoteServer.unloadPage(pageInfo, {callback :
>         *function*(){}, async : true} ) );
>          }*catch*(err)
>         {     //- something wrong! }
>
>          Thanks,
>         Daniel
>          
>          On Tue, Oct 13, 2009 at 2:15 PM, David Marginian
>         <david@... <mailto:david@...>
>         <mailto:david@... <mailto:david@...>>> wrote:
>
>            Send us the Javascript where you are making the remote call.
>
>            Dhafir Moussa wrote:
>
>                Readable version of the stack:
>                 14:05:39,379 WARN BaseCallHandler : Exception while
>                processing batch
>                _java.lang.IllegalArgumentException_: Failed to find
>                parameter: scriptSessionId
>                at
>              
>          org.directwebremoting.dwrp.Batch.extractParameter(_Batch.java:91_)
>                at org.directwebremoting.dwrp.Batch.<init>(_Batch.java:59_)
>                at
>              
>          org.directwebremoting.dwrp.CallBatch.<init>(_CallBatch.java:46_)
>                at
>              
>          org.directwebremoting.dwrp.BaseCallHandler.handle(_BaseCallHandler.java:72_)
>                at
>              
>          org.directwebremoting.servlet.UrlProcessor.handle(_UrlProcessor.java:120_)
>                at
>              
>          org.directwebremoting.servlet.DwrServlet.doPost(_DwrServlet.java:141_)
>                at
>         javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
>                at
>         javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
>                at
>              
>          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:269_)
>                at
>              
>          org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:188_)
>                at
>              
>          org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:210_)
>                at
>              
>          org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:174_)
>                at
>              
>          org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:127_)
>                at
>              
>          org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:117_)
>                at
>              
>          org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:108_)
>                at
>              
>          org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:151_)
>                at
>              
>          org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:870_)
>                at
>              
>          org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
>                _Http11BaseProtocol.java:665_)
>                at
>              
>          org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoint.java:528_)
>                at
>              
>          org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollowerWorkerThread.java:81_)
>                at
>              
>          org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPool.java:685_)
>                at java.lang.Thread.run(Unknown Source)
>                
>                 On Tue, Oct 13, 2009 at 2:07 PM, Dhafir Moussa
>                <dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>         <mailto:dhafir.moussa@... <mailto:dhafir.moussa@...>>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>> wrote:
>
>                   Here is the stack trace:
>
>                   14:05:39,379 WARN BaseCallHandler : Exception while
>                processing batch
>
>                   _
>
>                   java.lang.IllegalArgumentException
>
>                   _: Failed to find parameter: scriptSessionId
>
>                   at org.directwebremoting.dwrp.Batch.extractParameter(
>
>                   _Batch.java:91_)
>
>                   at org.directwebremoting.dwrp.Batch.<init>(
>
>                   _Batch.java:59_)
>
>                   at org.directwebremoting.dwrp.CallBatch.<init>(
>
>                   _CallBatch.java:46_)
>
>                   at org.directwebremoting.dwrp.BaseCallHandler.handle(
>
>                   _BaseCallHandler.java:72_)
>
>                   at org.directwebremoting.servlet.UrlProcessor.handle(
>
>                   _UrlProcessor.java:120_)
>
>                   at org.directwebremoting.servlet.DwrServlet.doPost(
>
>                   _DwrServlet.java:141_)
>
>                   at javax.servlet.http.HttpServlet.service(
>
>                   _HttpServlet.java:710_)
>
>                   at javax.servlet.http.HttpServlet.service(
>
>                   _HttpServlet.java:803_)
>
>                   at
>              
>          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>
>                   _ApplicationFilterChain.java:269_)
>
>                   at
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(
>
>                   _ApplicationFilterChain.java:188_)
>
>                   at org.apache.catalina.core.StandardWrapperValve.invoke(
>
>                   _StandardWrapperValve.java:210_)
>
>                   at org.apache.catalina.core.StandardContextValve.invoke(
>
>                   _StandardContextValve.java:174_)
>
>                   at org.apache.catalina.core.StandardHostValve.invoke(
>
>                   _StandardHostValve.java:127_)
>
>                   at org.apache.catalina.valves.ErrorReportValve.invoke(
>
>                   _ErrorReportValve.java:117_)
>
>                   at org.apache.catalina.core.StandardEngineValve.invoke(
>
>                   _StandardEngineValve.java:108_)
>
>                   at org.apache.catalina.connector.CoyoteAdapter.service(
>
>                   _CoyoteAdapter.java:151_)
>
>                   at org.apache.coyote.http11.Http11Processor.process(
>
>                   _Http11Processor.java:870_)
>
>                   at
>                        
>         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
>
>                   _Http11BaseProtocol.java:665_)
>
>                   at
>         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
>
>                   _PoolTcpEndpoint.java:528_)
>
>                   at
>         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
>
>                   _LeaderFollowerWorkerThread.java:81_)
>
>                   at
>              
>          org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
>
>                   _ThreadPool.java:685_)
>
>                   at java.lang.Thread.run(Unknown Source)
>
>
>
>                   On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa
>                   <dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>         <mailto:dhafir.moussa@... <mailto:dhafir.moussa@...>>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>> wrote:
>
>                       Hi all,
>                       I searched the mailing list about This issue but
>                couldn't find
>                       any.
>                       I started to get the following Java crash upon
>         certain
>                       operation which involves closing the browser
>         window and
>                       firing  an Ajax request to the server saying
>         goodbye.
>                               Error msg:
>                       Failed to find parameter: scriptSessionId
>                       I am not enabling reverse Ajax (
>                activeReverseAjaxEnabledand =
>                       false) and I didn't have this issue before. I am
>         using
>                DWR 3.0
>                       RC1.
>                       Any hint on what could cause this crash?
>
>                       Thanks to all,
>                               Daniel
>
>
>
>
>                   --
>                   Dhafir Moussa
>
>
>
>
>                --
>                Dhafir Moussa
>
>
>
>
>            __________ Information from ESET NOD32 Antivirus, version
>         of virus
>            signature database 4501 (20091012) __________
>
>            The message was checked by ESET NOD32 Antivirus.
>
>            http://www.eset.com <http://www.eset.com/>
>         <http://www.eset.com/>
>
>
>
>
>          
>          ---------------------------------------------------------------------
>            To unsubscribe, e-mail: users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>            <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>
>
>            For additional commands, e-mail:
>         users-help@... <mailto:users-help@...>
>            <mailto:users-help@...
>         <mailto:users-help@...>>
>
>
>
>
>         --
>
>         Dhafir Moussa
>
>
>
>
>     __________ Information from ESET NOD32 Antivirus, version of virus
>     signature database 4501 (20091012) __________
>
>     The message was checked by ESET NOD32 Antivirus.
>
>     http://www.eset.com <http://www.eset.com/>
>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@...
>     <mailto:users-unsubscribe@...>
>     For additional commands, e-mail: users-help@...
>     <mailto:users-help@...>
>
>
>
>
> --
>
> Dhafir Moussa



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4501 (20091012) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Re: Failed to find parameter: scriptSessionId

by Dhafir Moussa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes it has been always called from unload without issues. I 'll change it to onbeforeunload and see.
 
Thanks David.
 
Daniel,

On Tue, Oct 13, 2009 at 2:57 PM, David Marginian <david@...> wrote:
Where are you calling the function from, from the window.onunload event handler?  If that is the case than the error you are getting would make sense to me.  The page is probably half way unloaded when the call is made which is not good.  If this is the cause try using the onbeforeunload handler instead.

Dhafir Moussa wrote:
It does a lot. This application been running in production for the last two years using this eval without a problem, and still works.
 The utility is big and complicated to be explained in few lines, but imagine a utility called "DwrServer". It has a function called "execute()" - with no parameters.
 The function works out the parameters from the intrinsic "argument" array variable, so that:
argument[0]  - the remote function call
argument[1]  - the 1st parameter
argument[2]  - the 2nd parameter
...
argument[n-1]  - the (n-1) parameter
argument[n]  - the callback function - last argument
 then it will basically call:
eval( *argument[0]* ( argument[1], argument[2], ...,argument[n-1], argument[n]) )
  So, the way we call it is like this:

var javeServer =

*new* DwrServer();
javeServer.execute(MenuService.unloadPage, pageInfo, function(){});
 This basically calling a function called "unloadPage(PageInfo pageInfo)"
  

 On Tue, Oct 13, 2009 at 2:31 PM, David Marginian <david@... <mailto:david@...>> wrote:

   And that is called when?  What exactly is the eval for, I see no
   need for that (in fact I only see it causing issues since the
   asynchronous DWR call will always be null - thus you will eval'ing
   null)?  Please send us the actual JavaScript from the utility
   class and the call to the utility class.

   Dhafir Moussa wrote:

       *

       well, it is wrapped inside a utility gets evaluated to the
       following:
       try
       *{
         eval(JaveRemoteServer.unloadPage(pageInfo, {callback :
       *function*(){}, async : true} ) );
        }*catch*(err)
       {     //- something wrong! }

        Thanks,
       Daniel
                On Tue, Oct 13, 2009 at 2:15 PM, David Marginian
       <david@... <mailto:david@...>
       <mailto:david@... <mailto:david@...>>> wrote:

          Send us the Javascript where you are making the remote call.

          Dhafir Moussa wrote:

              Readable version of the stack:
               14:05:39,379 WARN BaseCallHandler : Exception while
              processing batch
              _java.lang.IllegalArgumentException_: Failed to find
              parameter: scriptSessionId
              at
                    org.directwebremoting.dwrp.Batch.extractParameter(_Batch.java:91_)
              at org.directwebremoting.dwrp.Batch.<init>(_Batch.java:59_)
              at
                    org.directwebremoting.dwrp.CallBatch.<init>(_CallBatch.java:46_)
              at
                    org.directwebremoting.dwrp.BaseCallHandler.handle(_BaseCallHandler.java:72_)
              at
                    org.directwebremoting.servlet.UrlProcessor.handle(_UrlProcessor.java:120_)
              at
                    org.directwebremoting.servlet.DwrServlet.doPost(_DwrServlet.java:141_)
              at
       javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
              at
       javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
              at
                    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:269_)
              at
                    org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:188_)
              at
                    org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:210_)
              at
                    org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:174_)
              at
                    org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:127_)
              at
                    org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:117_)
              at
                    org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:108_)
              at
                    org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:151_)
              at
                    org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:870_)
              at
                    org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
              _Http11BaseProtocol.java:665_)
              at
                    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoint.java:528_)
              at
                    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollowerWorkerThread.java:81_)
              at
                    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPool.java:685_)
              at java.lang.Thread.run(Unknown Source)
                             On Tue, Oct 13, 2009 at 2:07 PM, Dhafir Moussa
              <dhafir.moussa@...
       <mailto:dhafir.moussa@...>
       <mailto:dhafir.moussa@... <mailto:dhafir.moussa@...>>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>>> wrote:

                 Here is the stack trace:

                 14:05:39,379 WARN BaseCallHandler : Exception while
              processing batch

                 _

                 java.lang.IllegalArgumentException

                 _: Failed to find parameter: scriptSessionId

                 at org.directwebremoting.dwrp.Batch.extractParameter(

                 _Batch.java:91_)

                 at org.directwebremoting.dwrp.Batch.<init>(

                 _Batch.java:59_)

                 at org.directwebremoting.dwrp.CallBatch.<init>(

                 _CallBatch.java:46_)

                 at org.directwebremoting.dwrp.BaseCallHandler.handle(

                 _BaseCallHandler.java:72_)

                 at org.directwebremoting.servlet.UrlProcessor.handle(

                 _UrlProcessor.java:120_)

                 at org.directwebremoting.servlet.DwrServlet.doPost(

                 _DwrServlet.java:141_)

                 at javax.servlet.http.HttpServlet.service(

                 _HttpServlet.java:710_)

                 at javax.servlet.http.HttpServlet.service(

                 _HttpServlet.java:803_)

                 at
                    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

                 _ApplicationFilterChain.java:269_)

                 at
       org.apache.catalina.core.ApplicationFilterChain.doFilter(

                 _ApplicationFilterChain.java:188_)

                 at org.apache.catalina.core.StandardWrapperValve.invoke(

                 _StandardWrapperValve.java:210_)

                 at org.apache.catalina.core.StandardContextValve.invoke(

                 _StandardContextValve.java:174_)

                 at org.apache.catalina.core.StandardHostValve.invoke(

                 _StandardHostValve.java:127_)

                 at org.apache.catalina.valves.ErrorReportValve.invoke(

                 _ErrorReportValve.java:117_)

                 at org.apache.catalina.core.StandardEngineValve.invoke(

                 _StandardEngineValve.java:108_)

                 at org.apache.catalina.connector.CoyoteAdapter.service(

                 _CoyoteAdapter.java:151_)

                 at org.apache.coyote.http11.Http11Processor.process(

                 _Http11Processor.java:870_)

                 at
                             org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(

                 _Http11BaseProtocol.java:665_)

                 at
       org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(

                 _PoolTcpEndpoint.java:528_)

                 at
       org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(

                 _LeaderFollowerWorkerThread.java:81_)

                 at
                    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(

                 _ThreadPool.java:685_)

                 at java.lang.Thread.run(Unknown Source)



                 On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa
                 <dhafir.moussa@...
       <mailto:dhafir.moussa@...>
       <mailto:dhafir.moussa@... <mailto:dhafir.moussa@...>>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>>> wrote:

                     Hi all,
                     I searched the mailing list about This issue but
              couldn't find
                     any.
                     I started to get the following Java crash upon
       certain
                     operation which involves closing the browser
       window and
                     firing  an Ajax request to the server saying
       goodbye.
                             Error msg:
                     Failed to find parameter: scriptSessionId
                     I am not enabling reverse Ajax (
              activeReverseAjaxEnabledand =
                     false) and I didn't have this issue before. I am
       using
              DWR 3.0
                     RC1.
                     Any hint on what could cause this crash?

                     Thanks to all,
                             Daniel




                 --
                 Dhafir Moussa




              --
              Dhafir Moussa




          __________ Information from ESET NOD32 Antivirus, version
       of virus
          signature database 4501 (20091012) __________

          The message was checked by ESET NOD32 Antivirus.

          http://www.eset.com <http://www.eset.com/>
       <http://www.eset.com/>




                ---------------------------------------------------------------------
          To unsubscribe, e-mail: users-unsubscribe@...
       <mailto:users-unsubscribe@...>
          <mailto:users-unsubscribe@...
       <mailto:users-unsubscribe@...>>

          For additional commands, e-mail:
       users-help@... <mailto:users-help@...>
          <mailto:users-help@...
       <mailto:users-help@...>>




       --
       Dhafir Moussa




   __________ Information from ESET NOD32 Antivirus, version of virus
   signature database 4501 (20091012) __________

   The message was checked by ESET NOD32 Antivirus.

   http://www.eset.com <http://www.eset.com/>



   ---------------------------------------------------------------------
   To unsubscribe, e-mail: users-unsubscribe@...
   <mailto:users-unsubscribe@...>
   For additional commands, e-mail: users-help@...
   <mailto:users-help@...>




--

Dhafir Moussa



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4501 (20091012) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...




--

Dhafir Moussa

Re: Re: Failed to find parameter: scriptSessionId

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So when did you start seeing this, when you upgraded to 3.0RC1?

Dhafir Moussa wrote:

> Yes it has been always called from unload without issues. I 'll change
> it to onbeforeunload and see.
>  
> Thanks David.
>  
> Daniel,
>
> On Tue, Oct 13, 2009 at 2:57 PM, David Marginian <david@...
> <mailto:david@...>> wrote:
>
>     Where are you calling the function from, from the window.onunload
>     event handler?  If that is the case than the error you are getting
>     would make sense to me.  The page is probably half way unloaded
>     when the call is made which is not good.  If this is the cause try
>     using the onbeforeunload handler instead.
>
>     Dhafir Moussa wrote:
>
>         It does a lot. This application been running in production for
>         the last two years using this eval without a problem, and
>         still works.
>          The utility is big and complicated to be explained in few
>         lines, but imagine a utility called "DwrServer". It has a
>         function called "execute()" - with no parameters.
>          The function works out the parameters from the intrinsic
>         "argument" array variable, so that:
>         argument[0]  - the remote function call
>         argument[1]  - the 1st parameter
>         argument[2]  - the 2nd parameter
>         ...
>         argument[n-1]  - the (n-1) parameter
>         argument[n]  - the callback function - last argument
>          then it will basically call:
>         eval( *argument[0]* ( argument[1], argument[2],
>         ...,argument[n-1], argument[n]) )
>           So, the way we call it is like this:
>
>         var javeServer =
>
>         *new* DwrServer();
>         javeServer.execute(MenuService.unloadPage, pageInfo,
>         function(){});
>          This basically calling a function called "unloadPage(PageInfo
>         pageInfo)"
>          
>
>          On Tue, Oct 13, 2009 at 2:31 PM, David Marginian
>         <david@... <mailto:david@...>
>         <mailto:david@... <mailto:david@...>>> wrote:
>
>            And that is called when?  What exactly is the eval for, I
>         see no
>            need for that (in fact I only see it causing issues since the
>            asynchronous DWR call will always be null - thus you will
>         eval'ing
>            null)?  Please send us the actual JavaScript from the utility
>            class and the call to the utility class.
>
>            Dhafir Moussa wrote:
>
>                *
>
>                well, it is wrapped inside a utility gets evaluated to the
>                following:
>                try
>                *{
>                  eval(JaveRemoteServer.unloadPage(pageInfo, {callback :
>                *function*(){}, async : true} ) );
>                 }*catch*(err)
>                {     //- something wrong! }
>
>                 Thanks,
>                Daniel
>                         On Tue, Oct 13, 2009 at 2:15 PM, David Marginian
>                <david@... <mailto:david@...>
>         <mailto:david@... <mailto:david@...>>
>                <mailto:david@...
>         <mailto:david@...> <mailto:david@...
>         <mailto:david@...>>>> wrote:
>
>                   Send us the Javascript where you are making the
>         remote call.
>
>                   Dhafir Moussa wrote:
>
>                       Readable version of the stack:
>                        14:05:39,379 WARN BaseCallHandler : Exception while
>                       processing batch
>                       _java.lang.IllegalArgumentException_: Failed to find
>                       parameter: scriptSessionId
>                       at
>                            
>         org.directwebremoting.dwrp.Batch.extractParameter(_Batch.java:91_)
>                       at
>         org.directwebremoting.dwrp.Batch.<init>(_Batch.java:59_)
>                       at
>                            
>         org.directwebremoting.dwrp.CallBatch.<init>(_CallBatch.java:46_)
>                       at
>                            
>         org.directwebremoting.dwrp.BaseCallHandler.handle(_BaseCallHandler.java:72_)
>                       at
>                            
>         org.directwebremoting.servlet.UrlProcessor.handle(_UrlProcessor.java:120_)
>                       at
>                            
>         org.directwebremoting.servlet.DwrServlet.doPost(_DwrServlet.java:141_)
>                       at
>              
>          javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
>                       at
>              
>          javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
>                       at
>                            
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:269_)
>                       at
>                            
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:188_)
>                       at
>                            
>         org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:210_)
>                       at
>                            
>         org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:174_)
>                       at
>                            
>         org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:127_)
>                       at
>                            
>         org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:117_)
>                       at
>                            
>         org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:108_)
>                       at
>                            
>         org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:151_)
>                       at
>                            
>         org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:870_)
>                       at
>                            
>         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
>                       _Http11BaseProtocol.java:665_)
>                       at
>                            
>         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoint.java:528_)
>                       at
>                            
>         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollowerWorkerThread.java:81_)
>                       at
>                            
>         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPool.java:685_)
>                       at java.lang.Thread.run(Unknown Source)
>                                      On Tue, Oct 13, 2009 at 2:07 PM,
>         Dhafir Moussa
>                       <dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>         <mailto:dhafir.moussa@... <mailto:dhafir.moussa@...>>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>>> wrote:
>
>                          Here is the stack trace:
>
>                          14:05:39,379 WARN BaseCallHandler : Exception
>         while
>                       processing batch
>
>                          _
>
>                          java.lang.IllegalArgumentException
>
>                          _: Failed to find parameter: scriptSessionId
>
>                          at
>         org.directwebremoting.dwrp.Batch.extractParameter(
>
>                          _Batch.java:91_)
>
>                          at org.directwebremoting.dwrp.Batch.<init>(
>
>                          _Batch.java:59_)
>
>                          at org.directwebremoting.dwrp.CallBatch.<init>(
>
>                          _CallBatch.java:46_)
>
>                          at
>         org.directwebremoting.dwrp.BaseCallHandler.handle(
>
>                          _BaseCallHandler.java:72_)
>
>                          at
>         org.directwebremoting.servlet.UrlProcessor.handle(
>
>                          _UrlProcessor.java:120_)
>
>                          at
>         org.directwebremoting.servlet.DwrServlet.doPost(
>
>                          _DwrServlet.java:141_)
>
>                          at javax.servlet.http.HttpServlet.service(
>
>                          _HttpServlet.java:710_)
>
>                          at javax.servlet.http.HttpServlet.service(
>
>                          _HttpServlet.java:803_)
>
>                          at
>                            
>         org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>
>                          _ApplicationFilterChain.java:269_)
>
>                          at
>                org.apache.catalina.core.ApplicationFilterChain.doFilter(
>
>                          _ApplicationFilterChain.java:188_)
>
>                          at
>         org.apache.catalina.core.StandardWrapperValve.invoke(
>
>                          _StandardWrapperValve.java:210_)
>
>                          at
>         org.apache.catalina.core.StandardContextValve.invoke(
>
>                          _StandardContextValve.java:174_)
>
>                          at
>         org.apache.catalina.core.StandardHostValve.invoke(
>
>                          _StandardHostValve.java:127_)
>
>                          at
>         org.apache.catalina.valves.ErrorReportValve.invoke(
>
>                          _ErrorReportValve.java:117_)
>
>                          at
>         org.apache.catalina.core.StandardEngineValve.invoke(
>
>                          _StandardEngineValve.java:108_)
>
>                          at
>         org.apache.catalina.connector.CoyoteAdapter.service(
>
>                          _CoyoteAdapter.java:151_)
>
>                          at
>         org.apache.coyote.http11.Http11Processor.process(
>
>                          _Http11Processor.java:870_)
>
>                          at
>                                    
>          org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
>
>                          _Http11BaseProtocol.java:665_)
>
>                          at
>                org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
>
>                          _PoolTcpEndpoint.java:528_)
>
>                          at
>              
>          org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
>
>                          _LeaderFollowerWorkerThread.java:81_)
>
>                          at
>                            
>         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
>
>                          _ThreadPool.java:685_)
>
>                          at java.lang.Thread.run(Unknown Source)
>
>
>
>                          On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa
>                          <dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>         <mailto:dhafir.moussa@... <mailto:dhafir.moussa@...>>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>>> wrote:
>
>                              Hi all,
>                              I searched the mailing list about This
>         issue but
>                       couldn't find
>                              any.
>                              I started to get the following Java crash
>         upon
>                certain
>                              operation which involves closing the browser
>                window and
>                              firing  an Ajax request to the server saying
>                goodbye.
>                                      Error msg:
>                              Failed to find parameter: scriptSessionId
>                              I am not enabling reverse Ajax (
>                       activeReverseAjaxEnabledand =
>                              false) and I didn't have this issue
>         before. I am
>                using
>                       DWR 3.0
>                              RC1.
>                              Any hint on what could cause this crash?
>
>                              Thanks to all,
>                                      Daniel
>
>
>
>
>                          --
>                          Dhafir Moussa
>
>
>
>
>                       --
>                       Dhafir Moussa
>
>
>
>
>                   __________ Information from ESET NOD32 Antivirus,
>         version
>                of virus
>                   signature database 4501 (20091012) __________
>
>                   The message was checked by ESET NOD32 Antivirus.
>
>                   http://www.eset.com <http://www.eset.com/>
>         <http://www.eset.com/>
>                <http://www.eset.com/>
>
>
>
>
>                        
>         ---------------------------------------------------------------------
>                   To unsubscribe, e-mail:
>         users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>                <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>
>                   <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>                <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>>
>
>                   For additional commands, e-mail:
>                users-help@...
>         <mailto:users-help@...>
>         <mailto:users-help@...
>         <mailto:users-help@...>>
>                   <mailto:users-help@...
>         <mailto:users-help@...>
>                <mailto:users-help@...
>         <mailto:users-help@...>>>
>
>
>
>
>                --
>                Dhafir Moussa
>
>
>
>
>            __________ Information from ESET NOD32 Antivirus, version
>         of virus
>            signature database 4501 (20091012) __________
>
>            The message was checked by ESET NOD32 Antivirus.
>
>            http://www.eset.com <http://www.eset.com/>
>         <http://www.eset.com/>
>
>
>
>          
>          ---------------------------------------------------------------------
>            To unsubscribe, e-mail: users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>            <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>
>            For additional commands, e-mail:
>         users-help@... <mailto:users-help@...>
>            <mailto:users-help@...
>         <mailto:users-help@...>>
>
>
>
>
>         --
>
>         Dhafir Moussa
>
>
>
>
>     __________ Information from ESET NOD32 Antivirus, version of virus
>     signature database 4501 (20091012) __________
>
>     The message was checked by ESET NOD32 Antivirus.
>
>     http://www.eset.com <http://www.eset.com/>
>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@...
>     <mailto:users-unsubscribe@...>
>     For additional commands, e-mail: users-help@...
>     <mailto:users-help@...>
>
>
>
>
> --
>
> Dhafir Moussa



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4501 (20091012) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Re: Failed to find parameter: scriptSessionId

by Dhafir Moussa :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
I upgraded late may 09. It is only the last few days I noticed this stack trace happening when closing certain windows (not all windows suffer from this).  I didn't quite understand what the message means? Why would the server complains about a a scriptsessionId if the Page is half disappearing ? Previously we had problem on the client if it fires a a request to the server upon closing, we had a JavaScript alert saying blablabla, but never a server crash.
 
I am still testing the new change.
 
Daniel,

On Tue, Oct 13, 2009 at 3:11 PM, David Marginian <david@...> wrote:
So when did you start seeing this, when you upgraded to 3.0RC1?

Dhafir Moussa wrote:
Yes it has been always called from unload without issues. I 'll change it to onbeforeunload and see.
 Thanks David.
 Daniel,

On Tue, Oct 13, 2009 at 2:57 PM, David Marginian <david@... <mailto:david@...>> wrote:

   Where are you calling the function from, from the window.onunload
   event handler?  If that is the case than the error you are getting
   would make sense to me.  The page is probably half way unloaded
   when the call is made which is not good.  If this is the cause try
   using the onbeforeunload handler instead.

   Dhafir Moussa wrote:

       It does a lot. This application been running in production for
       the last two years using this eval without a problem, and
       still works.
        The utility is big and complicated to be explained in few
       lines, but imagine a utility called "DwrServer". It has a
       function called "execute()" - with no parameters.
        The function works out the parameters from the intrinsic
       "argument" array variable, so that:
       argument[0]  - the remote function call
       argument[1]  - the 1st parameter
       argument[2]  - the 2nd parameter
       ...
       argument[n-1]  - the (n-1) parameter
       argument[n]  - the callback function - last argument
        then it will basically call:
       eval( *argument[0]* ( argument[1], argument[2],
       ...,argument[n-1], argument[n]) )
         So, the way we call it is like this:

       var javeServer =

       *new* DwrServer();
       javeServer.execute(MenuService.unloadPage, pageInfo,
       function(){});
        This basically calling a function called "unloadPage(PageInfo
       pageInfo)"
         
        On Tue, Oct 13, 2009 at 2:31 PM, David Marginian
       <david@... <mailto:david@...>
       <mailto:david@... <mailto:david@...>>> wrote:

          And that is called when?  What exactly is the eval for, I
       see no
          need for that (in fact I only see it causing issues since the
          asynchronous DWR call will always be null - thus you will
       eval'ing
          null)?  Please send us the actual JavaScript from the utility
          class and the call to the utility class.

          Dhafir Moussa wrote:

              *

              well, it is wrapped inside a utility gets evaluated to the
              following:
              try
              *{
                eval(JaveRemoteServer.unloadPage(pageInfo, {callback :
              *function*(){}, async : true} ) );
               }*catch*(err)
              {     //- something wrong! }

               Thanks,
              Daniel
                       On Tue, Oct 13, 2009 at 2:15 PM, David Marginian
              <david@... <mailto:david@...>
       <mailto:david@... <mailto:david@...>>
              <mailto:david@...
       <mailto:david@...> <mailto:david@...
       <mailto:david@...>>>> wrote:

                 Send us the Javascript where you are making the
       remote call.

                 Dhafir Moussa wrote:

                     Readable version of the stack:
                      14:05:39,379 WARN BaseCallHandler : Exception while
                     processing batch
                     _java.lang.IllegalArgumentException_: Failed to find
                     parameter: scriptSessionId
                     at
                                 org.directwebremoting.dwrp.Batch.extractParameter(_Batch.java:91_)
                     at
       org.directwebremoting.dwrp.Batch.<init>(_Batch.java:59_)
                     at
                                 org.directwebremoting.dwrp.CallBatch.<init>(_CallBatch.java:46_)
                     at
                                 org.directwebremoting.dwrp.BaseCallHandler.handle(_BaseCallHandler.java:72_)
                     at
                                 org.directwebremoting.servlet.UrlProcessor.handle(_UrlProcessor.java:120_)
                     at
                                 org.directwebremoting.servlet.DwrServlet.doPost(_DwrServlet.java:141_)
                     at
                    javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
                     at
                    javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
                     at
                                 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:269_)
                     at
                                 org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:188_)
                     at
                                 org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:210_)
                     at
                                 org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:174_)
                     at
                                 org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:127_)
                     at
                                 org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:117_)
                     at
                                 org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:108_)
                     at
                                 org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:151_)
                     at
                                 org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:870_)
                     at
                                 org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
                     _Http11BaseProtocol.java:665_)
                     at
                                 org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoint.java:528_)
                     at
                                 org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollowerWorkerThread.java:81_)
                     at
                                 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPool.java:685_)
                     at java.lang.Thread.run(Unknown Source)
                                    On Tue, Oct 13, 2009 at 2:07 PM,
       Dhafir Moussa
                     <dhafir.moussa@...
       <mailto:dhafir.moussa@...>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>
       <mailto:dhafir.moussa@... <mailto:dhafir.moussa@...>>>
                     <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>
                     <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>>>> wrote:

                        Here is the stack trace:

                        14:05:39,379 WARN BaseCallHandler : Exception
       while
                     processing batch

                        _

                        java.lang.IllegalArgumentException

                        _: Failed to find parameter: scriptSessionId

                        at
       org.directwebremoting.dwrp.Batch.extractParameter(

                        _Batch.java:91_)

                        at org.directwebremoting.dwrp.Batch.<init>(

                        _Batch.java:59_)

                        at org.directwebremoting.dwrp.CallBatch.<init>(

                        _CallBatch.java:46_)

                        at
       org.directwebremoting.dwrp.BaseCallHandler.handle(

                        _BaseCallHandler.java:72_)

                        at
       org.directwebremoting.servlet.UrlProcessor.handle(

                        _UrlProcessor.java:120_)

                        at
       org.directwebremoting.servlet.DwrServlet.doPost(

                        _DwrServlet.java:141_)

                        at javax.servlet.http.HttpServlet.service(

                        _HttpServlet.java:710_)

                        at javax.servlet.http.HttpServlet.service(

                        _HttpServlet.java:803_)

                        at
                                 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(

                        _ApplicationFilterChain.java:269_)

                        at
              org.apache.catalina.core.ApplicationFilterChain.doFilter(

                        _ApplicationFilterChain.java:188_)

                        at
       org.apache.catalina.core.StandardWrapperValve.invoke(

                        _StandardWrapperValve.java:210_)

                        at
       org.apache.catalina.core.StandardContextValve.invoke(

                        _StandardContextValve.java:174_)

                        at
       org.apache.catalina.core.StandardHostValve.invoke(

                        _StandardHostValve.java:127_)

                        at
       org.apache.catalina.valves.ErrorReportValve.invoke(

                        _ErrorReportValve.java:117_)

                        at
       org.apache.catalina.core.StandardEngineValve.invoke(

                        _StandardEngineValve.java:108_)

                        at
       org.apache.catalina.connector.CoyoteAdapter.service(

                        _CoyoteAdapter.java:151_)

                        at
       org.apache.coyote.http11.Http11Processor.process(

                        _Http11Processor.java:870_)

                        at
                                          org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(

                        _Http11BaseProtocol.java:665_)

                        at
              org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(

                        _PoolTcpEndpoint.java:528_)

                        at
                    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(

                        _LeaderFollowerWorkerThread.java:81_)

                        at
                                 org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(

                        _ThreadPool.java:685_)

                        at java.lang.Thread.run(Unknown Source)



                        On Tue, Oct 13, 2009 at 1:17 PM, Dhafir Moussa
                        <dhafir.moussa@...
       <mailto:dhafir.moussa@...>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>
       <mailto:dhafir.moussa@... <mailto:dhafir.moussa@...>>>
                     <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>
                     <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>
              <mailto:dhafir.moussa@...
       <mailto:dhafir.moussa@...>>>>> wrote:

                            Hi all,
                            I searched the mailing list about This
       issue but
                     couldn't find
                            any.
                            I started to get the following Java crash
       upon
              certain
                            operation which involves closing the browser
              window and
                            firing  an Ajax request to the server saying
              goodbye.
                                    Error msg:
                            Failed to find parameter: scriptSessionId
                            I am not enabling reverse Ajax (
                     activeReverseAjaxEnabledand =
                            false) and I didn't have this issue
       before. I am
              using
                     DWR 3.0
                            RC1.
                            Any hint on what could cause this crash?

                            Thanks to all,
                                    Daniel




                        --
                        Dhafir Moussa




                     --
                     Dhafir Moussa




                 __________ Information from ESET NOD32 Antivirus,
       version
              of virus
                 signature database 4501 (20091012) __________

                 The message was checked by ESET NOD32 Antivirus.

                 http://www.eset.com <http://www.eset.com/>
       <http://www.eset.com/>
              <http://www.eset.com/>




                             ---------------------------------------------------------------------
                 To unsubscribe, e-mail:
       users-unsubscribe@...
       <mailto:users-unsubscribe@...>
              <mailto:users-unsubscribe@...
       <mailto:users-unsubscribe@...>>
                 <mailto:users-unsubscribe@...
       <mailto:users-unsubscribe@...>
              <mailto:users-unsubscribe@...
       <mailto:users-unsubscribe@...>>>

                 For additional commands, e-mail:
              users-help@...
       <mailto:users-help@...>
       <mailto:users-help@...
       <mailto:users-help@...>>
                 <mailto:users-help@...
       <mailto:users-help@...>
              <mailto:users-help@...
       <mailto:users-help@...>>>




              --
              Dhafir Moussa




          __________ Information from ESET NOD32 Antivirus, version
       of virus
          signature database 4501 (20091012) __________

          The message was checked by ESET NOD32 Antivirus.

          http://www.eset.com <http://www.eset.com/>
       <http://www.eset.com/>



                ---------------------------------------------------------------------
          To unsubscribe, e-mail: users-unsubscribe@...
       <mailto:users-unsubscribe@...>
          <mailto:users-unsubscribe@...
       <mailto:users-unsubscribe@...>>
          For additional commands, e-mail:
       users-help@... <mailto:users-help@...>
          <mailto:users-help@...
       <mailto:users-help@...>>




       --
       Dhafir Moussa




   __________ Information from ESET NOD32 Antivirus, version of virus
   signature database 4501 (20091012) __________

   The message was checked by ESET NOD32 Antivirus.

   http://www.eset.com <http://www.eset.com/>



   ---------------------------------------------------------------------
   To unsubscribe, e-mail: users-unsubscribe@...
   <mailto:users-unsubscribe@...>
   For additional commands, e-mail: users-help@...
   <mailto:users-help@...>




--

Dhafir Moussa



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4501 (20091012) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...




--

Dhafir Moussa

Re: Re: Failed to find parameter: scriptSessionId

by davidmarginian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You were lucky you weren't seeing this earlier - strictly a timing
issue.  The scriptSesssionId is passed to and required by the server.  
You are only seeing this occasionally because it is a timing issue with
your call not initiating before the page has closed - resulting in a
scriptSessionId not being passed - resulting in an error from the
server.  It becomes clear when you look at the server code (Batch.java):

 public Batch(HttpServletRequest request) throws ServerException
    {
        get = "GET".equals(request.getMethod());
        if (get)
        {
            extraParameters = parseGet(request);
        }
        else
        {
            extraParameters = parsePost(request);
        }

        scriptSessionId =
extractParameter(ProtocolConstants.INBOUND_KEY_SCRIPT_SESSIONID, null);
        httpSessionId =
extractParameter(ProtocolConstants.INBOUND_KEY_HTTP_SESSIONID, THROW);
        page =
LocalUtil.urlDecode(extractParameter(ProtocolConstants.INBOUND_KEY_PAGE,
THROW));
        windowName =
extractParameter(ProtocolConstants.INBOUND_KEY_WINDOWNAME, THROW);
    }

    /**
     * Initialize the batch from a set of pre-parsed parameters
     */
    public Batch(Map<String, FormField> allParameters, boolean get)
    {
        this.extraParameters = allParameters;
        this.get = get;

        scriptSessionId =
extractParameter(ProtocolConstants.INBOUND_KEY_SCRIPT_SESSIONID, null);
        httpSessionId =
extractParameter(ProtocolConstants.INBOUND_KEY_HTTP_SESSIONID, THROW);
        page = extractParameter(ProtocolConstants.INBOUND_KEY_PAGE, THROW);
        windowName =
extractParameter(ProtocolConstants.INBOUND_KEY_WINDOWNAME, THROW);
    }

Dhafir Moussa wrote:

>  
> I upgraded late may 09. It is only the last few days I noticed this
> stack trace happening when closing certain windows (not all windows
> suffer from this).  I didn't quite understand what the message means?
> Why would the server complains about a a scriptsessionId if the Page
> is half disappearing ? Previously we had problem on the client if it
> fires a a request to the server upon closing, we had a JavaScript
> alert saying blablabla, but never a server crash.
>  
> I am still testing the new change.
>  
> Daniel,
>
> On Tue, Oct 13, 2009 at 3:11 PM, David Marginian <david@...
> <mailto:david@...>> wrote:
>
>     So when did you start seeing this, when you upgraded to 3.0RC1?
>
>     Dhafir Moussa wrote:
>
>         Yes it has been always called from unload without issues. I
>         'll change it to onbeforeunload and see.
>          Thanks David.
>          Daniel,
>
>         On Tue, Oct 13, 2009 at 2:57 PM, David Marginian
>         <david@... <mailto:david@...>
>         <mailto:david@... <mailto:david@...>>> wrote:
>
>            Where are you calling the function from, from the
>         window.onunload
>            event handler?  If that is the case than the error you are
>         getting
>            would make sense to me.  The page is probably half way unloaded
>            when the call is made which is not good.  If this is the
>         cause try
>            using the onbeforeunload handler instead.
>
>            Dhafir Moussa wrote:
>
>                It does a lot. This application been running in
>         production for
>                the last two years using this eval without a problem, and
>                still works.
>                 The utility is big and complicated to be explained in few
>                lines, but imagine a utility called "DwrServer". It has a
>                function called "execute()" - with no parameters.
>                 The function works out the parameters from the intrinsic
>                "argument" array variable, so that:
>                argument[0]  - the remote function call
>                argument[1]  - the 1st parameter
>                argument[2]  - the 2nd parameter
>                ...
>                argument[n-1]  - the (n-1) parameter
>                argument[n]  - the callback function - last argument
>                 then it will basically call:
>                eval( *argument[0]* ( argument[1], argument[2],
>                ...,argument[n-1], argument[n]) )
>                  So, the way we call it is like this:
>
>                var javeServer =
>
>                *new* DwrServer();
>                javeServer.execute(MenuService.unloadPage, pageInfo,
>                function(){});
>                 This basically calling a function called
>         "unloadPage(PageInfo
>                pageInfo)"
>                  
>                 On Tue, Oct 13, 2009 at 2:31 PM, David Marginian
>                <david@... <mailto:david@...>
>         <mailto:david@... <mailto:david@...>>
>                <mailto:david@...
>         <mailto:david@...> <mailto:david@...
>         <mailto:david@...>>>> wrote:
>
>                   And that is called when?  What exactly is the eval
>         for, I
>                see no
>                   need for that (in fact I only see it causing issues
>         since the
>                   asynchronous DWR call will always be null - thus you
>         will
>                eval'ing
>                   null)?  Please send us the actual JavaScript from
>         the utility
>                   class and the call to the utility class.
>
>                   Dhafir Moussa wrote:
>
>                       *
>
>                       well, it is wrapped inside a utility gets
>         evaluated to the
>                       following:
>                       try
>                       *{
>                         eval(JaveRemoteServer.unloadPage(pageInfo,
>         {callback :
>                       *function*(){}, async : true} ) );
>                        }*catch*(err)
>                       {     //- something wrong! }
>
>                        Thanks,
>                       Daniel
>                                On Tue, Oct 13, 2009 at 2:15 PM, David
>         Marginian
>                       <david@...
>         <mailto:david@...> <mailto:david@...
>         <mailto:david@...>>
>                <mailto:david@...
>         <mailto:david@...> <mailto:david@...
>         <mailto:david@...>>>
>                       <mailto:david@...
>         <mailto:david@...>
>                <mailto:david@...
>         <mailto:david@...>> <mailto:david@...
>         <mailto:david@...>
>                <mailto:david@...
>         <mailto:david@...>>>>> wrote:
>
>                          Send us the Javascript where you are making the
>                remote call.
>
>                          Dhafir Moussa wrote:
>
>                              Readable version of the stack:
>                               14:05:39,379 WARN BaseCallHandler :
>         Exception while
>                              processing batch
>                              _java.lang.IllegalArgumentException_:
>         Failed to find
>                              parameter: scriptSessionId
>                              at
>                                        
>          org.directwebremoting.dwrp.Batch.extractParameter(_Batch.java:91_)
>                              at
>                org.directwebremoting.dwrp.Batch.<init>(_Batch.java:59_)
>                              at
>                                        
>          org.directwebremoting.dwrp.CallBatch.<init>(_CallBatch.java:46_)
>                              at
>                                        
>          org.directwebremoting.dwrp.BaseCallHandler.handle(_BaseCallHandler.java:72_)
>                              at
>                                        
>          org.directwebremoting.servlet.UrlProcessor.handle(_UrlProcessor.java:120_)
>                              at
>                                        
>          org.directwebremoting.servlet.DwrServlet.doPost(_DwrServlet.java:141_)
>                              at
>                            
>         javax.servlet.http.HttpServlet.service(_HttpServlet.java:710_)
>                              at
>                            
>         javax.servlet.http.HttpServlet.service(_HttpServlet.java:803_)
>                              at
>                                        
>          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(_ApplicationFilterChain.java:269_)
>                              at
>                                        
>          org.apache.catalina.core.ApplicationFilterChain.doFilter(_ApplicationFilterChain.java:188_)
>                              at
>                                        
>          org.apache.catalina.core.StandardWrapperValve.invoke(_StandardWrapperValve.java:210_)
>                              at
>                                        
>          org.apache.catalina.core.StandardContextValve.invoke(_StandardContextValve.java:174_)
>                              at
>                                        
>          org.apache.catalina.core.StandardHostValve.invoke(_StandardHostValve.java:127_)
>                              at
>                                        
>          org.apache.catalina.valves.ErrorReportValve.invoke(_ErrorReportValve.java:117_)
>                              at
>                                        
>          org.apache.catalina.core.StandardEngineValve.invoke(_StandardEngineValve.java:108_)
>                              at
>                                        
>          org.apache.catalina.connector.CoyoteAdapter.service(_CoyoteAdapter.java:151_)
>                              at
>                                        
>          org.apache.coyote.http11.Http11Processor.process(_Http11Processor.java:870_)
>                              at
>                                        
>          org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection
>                              _Http11BaseProtocol.java:665_)
>                              at
>                                        
>          org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(_PoolTcpEndpoint.java:528_)
>                              at
>                                        
>          org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(_LeaderFollowerWorkerThread.java:81_)
>                              at
>                                        
>          org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(_ThreadPool.java:685_)
>                              at java.lang.Thread.run(Unknown Source)
>                                             On Tue, Oct 13, 2009 at
>         2:07 PM,
>                Dhafir Moussa
>                              <dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>         <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>>
>                              <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>
>                              <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>>>> wrote:
>
>                                 Here is the stack trace:
>
>                                 14:05:39,379 WARN BaseCallHandler :
>         Exception
>                while
>                              processing batch
>
>                                 _
>
>                                 java.lang.IllegalArgumentException
>
>                                 _: Failed to find parameter:
>         scriptSessionId
>
>                                 at
>                org.directwebremoting.dwrp.Batch.extractParameter(
>
>                                 _Batch.java:91_)
>
>                                 at
>         org.directwebremoting.dwrp.Batch.<init>(
>
>                                 _Batch.java:59_)
>
>                                 at
>         org.directwebremoting.dwrp.CallBatch.<init>(
>
>                                 _CallBatch.java:46_)
>
>                                 at
>                org.directwebremoting.dwrp.BaseCallHandler.handle(
>
>                                 _BaseCallHandler.java:72_)
>
>                                 at
>                org.directwebremoting.servlet.UrlProcessor.handle(
>
>                                 _UrlProcessor.java:120_)
>
>                                 at
>                org.directwebremoting.servlet.DwrServlet.doPost(
>
>                                 _DwrServlet.java:141_)
>
>                                 at javax.servlet.http.HttpServlet.service(
>
>                                 _HttpServlet.java:710_)
>
>                                 at javax.servlet.http.HttpServlet.service(
>
>                                 _HttpServlet.java:803_)
>
>                                 at
>                                        
>          org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
>
>                                 _ApplicationFilterChain.java:269_)
>
>                                 at
>                      
>         org.apache.catalina.core.ApplicationFilterChain.doFilter(
>
>                                 _ApplicationFilterChain.java:188_)
>
>                                 at
>                org.apache.catalina.core.StandardWrapperValve.invoke(
>
>                                 _StandardWrapperValve.java:210_)
>
>                                 at
>                org.apache.catalina.core.StandardContextValve.invoke(
>
>                                 _StandardContextValve.java:174_)
>
>                                 at
>                org.apache.catalina.core.StandardHostValve.invoke(
>
>                                 _StandardHostValve.java:127_)
>
>                                 at
>                org.apache.catalina.valves.ErrorReportValve.invoke(
>
>                                 _ErrorReportValve.java:117_)
>
>                                 at
>                org.apache.catalina.core.StandardEngineValve.invoke(
>
>                                 _StandardEngineValve.java:108_)
>
>                                 at
>                org.apache.catalina.connector.CoyoteAdapter.service(
>
>                                 _CoyoteAdapter.java:151_)
>
>                                 at
>                org.apache.coyote.http11.Http11Processor.process(
>
>                                 _Http11Processor.java:870_)
>
>                                 at
>                                                  
>         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
>
>                                 _Http11BaseProtocol.java:665_)
>
>                                 at
>                      
>         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(
>
>                                 _PoolTcpEndpoint.java:528_)
>
>                                 at
>                            
>         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(
>
>                                 _LeaderFollowerWorkerThread.java:81_)
>
>                                 at
>                                        
>          org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
>
>                                 _ThreadPool.java:685_)
>
>                                 at java.lang.Thread.run(Unknown Source)
>
>
>
>                                 On Tue, Oct 13, 2009 at 1:17 PM,
>         Dhafir Moussa
>                                 <dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>         <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>>
>                              <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>
>                              <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>
>                       <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>
>                <mailto:dhafir.moussa@...
>         <mailto:dhafir.moussa@...>>>>>> wrote:
>
>                                     Hi all,
>                                     I searched the mailing list about This
>                issue but
>                              couldn't find
>                                     any.
>                                     I started to get the following
>         Java crash
>                upon
>                       certain
>                                     operation which involves closing
>         the browser
>                       window and
>                                     firing  an Ajax request to the
>         server saying
>                       goodbye.
>                                             Error msg:
>                                     Failed to find parameter:
>         scriptSessionId
>                                     I am not enabling reverse Ajax (
>                              activeReverseAjaxEnabledand =
>                                     false) and I didn't have this issue
>                before. I am
>                       using
>                              DWR 3.0
>                                     RC1.
>                                     Any hint on what could cause this
>         crash?
>
>                                     Thanks to all,
>                                             Daniel
>
>
>
>
>                                 --
>                                 Dhafir Moussa
>
>
>
>
>                              --
>                              Dhafir Moussa
>
>
>
>
>                          __________ Information from ESET NOD32 Antivirus,
>                version
>                       of virus
>                          signature database 4501 (20091012) __________
>
>                          The message was checked by ESET NOD32 Antivirus.
>
>                          http://www.eset.com <http://www.eset.com/>
>         <http://www.eset.com/>
>                <http://www.eset.com/>
>                       <http://www.eset.com/>
>
>
>
>
>                                    
>          ---------------------------------------------------------------------
>                          To unsubscribe, e-mail:
>                users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>                <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>
>                       <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>                <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>>
>                          <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>                <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>
>                       <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>                <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>>>
>
>                          For additional commands, e-mail:
>                       users-help@...
>         <mailto:users-help@...>
>                <mailto:users-help@...
>         <mailto:users-help@...>>
>                <mailto:users-help@...
>         <mailto:users-help@...>
>                <mailto:users-help@...
>         <mailto:users-help@...>>>
>                          <mailto:users-help@...
>         <mailto:users-help@...>
>                <mailto:users-help@...
>         <mailto:users-help@...>>
>                       <mailto:users-help@...
>         <mailto:users-help@...>
>                <mailto:users-help@...
>         <mailto:users-help@...>>>>
>
>
>
>
>                       --
>                       Dhafir Moussa
>
>
>
>
>                   __________ Information from ESET NOD32 Antivirus,
>         version
>                of virus
>                   signature database 4501 (20091012) __________
>
>                   The message was checked by ESET NOD32 Antivirus.
>
>                   http://www.eset.com <http://www.eset.com/>
>         <http://www.eset.com/>
>                <http://www.eset.com/>
>
>
>
>                        
>         ---------------------------------------------------------------------
>                   To unsubscribe, e-mail:
>         users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>                <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>
>                   <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>                <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>>
>                   For additional commands, e-mail:
>                users-help@...
>         <mailto:users-help@...>
>         <mailto:users-help@...
>         <mailto:users-help@...>>
>                   <mailto:users-help@...
>         <mailto:users-help@...>
>                <mailto:users-help@...
>         <mailto:users-help@...>>>
>
>
>
>
>                --
>                Dhafir Moussa
>
>
>
>
>            __________ Information from ESET NOD32 Antivirus, version
>         of virus
>            signature database 4501 (20091012) __________
>
>            The message was checked by ESET NOD32 Antivirus.
>
>            http://www.eset.com <http://www.eset.com/>
>         <http://www.eset.com/>
>
>
>
>          
>          ---------------------------------------------------------------------
>            To unsubscribe, e-mail: users-unsubscribe@...
>         <mailto:users-unsubscribe@...>
>            <mailto:users-unsubscribe@...
>         <mailto:users-unsubscribe@...>>
>            For additional commands, e-mail:
>         users-help@... <mailto:users-help@...>
>            <mailto:users-help@...
>         <mailto:users-help@...>>
>
>
>
>
>         --
>
>         Dhafir Moussa
>
>
>
>
>     __________ Information from ESET NOD32 Antivirus, version of virus
>     signature database 4501 (20091012) __________
>
>     The message was checked by ESET NOD32 Antivirus.
>
>     http://www.eset.com <http://www.eset.com/>
>
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@...
>     <mailto:users-unsubscribe@...>
>     For additional commands, e-mail: users-help@...
>     <mailto:users-help@...>
>
>
>
>
> --
>
> Dhafir Moussa



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4501 (20091012) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...