bernardsirius
11-10-2004, 03:52 AM
For a start, the dashboard demo video section doesn't work when lps runs on my machine. The online demo works great.
I've tried to make a very simple lzx to test video display, but it doesnt work either.
After a relatively long while (20 secs) of intense cpu work, lps is consistently issuing the following message in the Debug console:
«string#0| java.text.ParseException: Unparseable date: "Mon, 15 Mar 2004 16:57:42 GMT" : Exception stack: com.laszlosystems.utils.ChainedException: java.text.ParseException: Unparseable date: "Mon, 15 Mar 2004 16:57:42 GMT" at com.laszlosystems.utils.LZHttpUtils.getDate(LZHttp Utils.java:132) at com.laszlosystems.data.HTTPDataSource$HttpData.las tModified(HTTPDataSource.java:492) at com.laszlosystems.cache.RequestCache.getItemStream AsSWF(RequestCache.java:324) at com.laszlosystems.cache.RequestCache.getAsSWF(Requ estCache.java:132) at com.laszlosystems.servlets.responders.ResponderCac he.respondImpl(ResponderCache.java:362) at com.laszlosystems.servlets.responders.Responder.re spond(Responder.java:220) at com.laszlosystems.servlets.LZServlet._doGet(LZServ let.java:306) at com.laszlosystems.servlets.LZServlet.doGet(LZServl et.java:242) at javax.servlet.http.HttpServlet.service(HttpServlet .java:697) at javax.servlet.http.HttpServlet.service(HttpServlet .java:810) at org.apache.catalina.core.ApplicationFil...»
And indeed I have the same message in the lps server logs.
The incriminated lzx is as simple as this:
<canvas width="1000" height="710" title="Laszlo Dashboard" debug="true">
<!-- CONTAINER VIEW FOR VIDEO -->
<view id="videoviewer" play="true" clip="false" align="center" stretches="both"
height="240"
width="320">
<method event="onlastframe">
this.stop(1);
</method>
<method name="playMedia">
// Load the media into the player
Debug.write("playing video");
this.setSource("video.swf");
this.play();
</method>
<method event="oninit">
playMedia();
</method>
</view>
</canvas>
It does exactly the same when I try to load one of the videos shown in the online dashboard example at:
http://www.laszlosystems.com/lps/sample-apps/dashboard/media/video/jfk.swf
I've tried to make a very simple lzx to test video display, but it doesnt work either.
After a relatively long while (20 secs) of intense cpu work, lps is consistently issuing the following message in the Debug console:
«string#0| java.text.ParseException: Unparseable date: "Mon, 15 Mar 2004 16:57:42 GMT" : Exception stack: com.laszlosystems.utils.ChainedException: java.text.ParseException: Unparseable date: "Mon, 15 Mar 2004 16:57:42 GMT" at com.laszlosystems.utils.LZHttpUtils.getDate(LZHttp Utils.java:132) at com.laszlosystems.data.HTTPDataSource$HttpData.las tModified(HTTPDataSource.java:492) at com.laszlosystems.cache.RequestCache.getItemStream AsSWF(RequestCache.java:324) at com.laszlosystems.cache.RequestCache.getAsSWF(Requ estCache.java:132) at com.laszlosystems.servlets.responders.ResponderCac he.respondImpl(ResponderCache.java:362) at com.laszlosystems.servlets.responders.Responder.re spond(Responder.java:220) at com.laszlosystems.servlets.LZServlet._doGet(LZServ let.java:306) at com.laszlosystems.servlets.LZServlet.doGet(LZServl et.java:242) at javax.servlet.http.HttpServlet.service(HttpServlet .java:697) at javax.servlet.http.HttpServlet.service(HttpServlet .java:810) at org.apache.catalina.core.ApplicationFil...»
And indeed I have the same message in the lps server logs.
The incriminated lzx is as simple as this:
<canvas width="1000" height="710" title="Laszlo Dashboard" debug="true">
<!-- CONTAINER VIEW FOR VIDEO -->
<view id="videoviewer" play="true" clip="false" align="center" stretches="both"
height="240"
width="320">
<method event="onlastframe">
this.stop(1);
</method>
<method name="playMedia">
// Load the media into the player
Debug.write("playing video");
this.setSource("video.swf");
this.play();
</method>
<method event="oninit">
playMedia();
</method>
</view>
</canvas>
It does exactly the same when I try to load one of the videos shown in the online dashboard example at:
http://www.laszlosystems.com/lps/sample-apps/dashboard/media/video/jfk.swf