RE: [flexcoders] Flex / Jrun Instability? [SOLVED]

2005-11-17 Thread Steve Cox











Rawdy + anyone else interested:



Finally found the problem, IIS had http-keep-alive
option selected, which seemed to cause IE only to screw up.



Removing this sorted the problem, now all
is working as expected. Yippeee



-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Steve Cox
Sent: 16 November 2005 08:55
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex /
Jrun Instability?



Thanks
for the links Ill have a look through them.



I found
the IIS setup appauling if Im honest. The fact weve spent such a
large amount of money on the app, yet the IIS connector appears
to be unreliable is just not on. With a mixture of fiddling and luck we got it
working for the majority of the time, just not 100% of the time, especially if
a user is using IE and refreshes. Unless its 100% it just cannot go
live.



If
anyone else has any similar experiences or fixes Id appreciate them.
Ive emailed macromedia using the support package we have, but as yet (20
hours later) heard nothing. Will let you know if I find anything out.



Ta



Steve





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Rawdyn
Sent: 15 November 2005 21:25
To: flexcoders@yahoogroups.com
Subject: FW: [flexcoders] Flex /
Jrun Instability?



Hi Steve,



I have come across this in my own
setup (using JRun4, ColdFusioin and IIS).



Here is a post from the MACR forum
about the lc_id

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=346threadid=1056843

If you search the forums
(particularly the CF one) there are more threads.



I can't guarantee the info is 100%
so if anyone has more on the subject lets hear it.



Steve, how did you go with the IIS
setup at large? At the time I was doing mine I had enormous trouble (and indeed
couldn't) get it to what I considered a production level. See thread below.

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=346threadid=1065342



If anyone has any good articles on
configuring JRun4 and IIS I'd be glad to read them.







Rawdy







































From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox
Sent: Tuesday, 15 November 2005 11:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex / Jrun
Instability?

Guys  Girls,

Seem to be having an odd problem with getting and keeping a
Jrun server stable.

The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action="">/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex / Jrun Instability?

2005-11-16 Thread Steve Cox











Thanks for the links Ill have a
look through them.



I found the IIS setup appauling if Im
honest. The fact weve spent such a large amount of money on the app, yet
the IIS connector appears to be unreliable is just
not on. With a mixture of fiddling and luck we got it working for the majority
of the time, just not 100% of the time, especially if a user is using IE and
refreshes. Unless its 100% it just cannot go live.



If anyone else has any similar experiences
or fixes Id appreciate them. Ive emailed macromedia using the
support package we have, but as yet (20 hours later) heard nothing. Will let
you know if I find anything out.



Ta



Steve





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Rawdyn
Sent: 15 November 2005 21:25
To: flexcoders@yahoogroups.com
Subject: FW: [flexcoders] Flex /
Jrun Instability?



Hi Steve,



I have come across this in my own
setup (using JRun4, ColdFusioin and IIS).



Here is a post from the MACR forum
about the lc_id

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=346threadid=1056843

If you search the forums
(particularly the CF one) there are more threads.



I can't guarantee the info is 100%
so if anyone has more on the subject lets hear it.



Steve, how did you go with the IIS
setup at large? At the time I was doing mine I had enormous trouble (and indeed
couldn't) get it to what I considered a production level. See thread below.

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=346threadid=1065342



If anyone has any good articles on
configuring JRun4 and IIS I'd be glad to read them.







Rawdy



































From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox
Sent: Tuesday, 15 November 2005 11:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex / Jrun
Instability?

Guys  Girls,

Seem to be having an odd problem with getting and keeping a
Jrun server stable.

The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action="">/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex / Jrun Instability?

2005-11-15 Thread Matt Horn





You can use the sniffer tool to find out if the history 
code is being returned properly. (It's in the bin 
directory.)

That request (/flex/flex-internal?action="" 
should return something that looks like this:


--begin
HTTP/1.0 200 OK

Date: Tue, 15 Nov 2005 15:03:36 GMT

Expires: Thu, 01 Jan 1970 00:00:01 GMT

Content-Type: application/x-_javascript_

Content-Length: 1244

Server: JRun Web Server



// $Revision: 1.49 $// VarsVars = function(qStr) 
{this.numVars = 0;if(qStr != null) {var 
nameValue, name;var pairs = 
qStr.split('');var pairLen = 
pairs.length;for(var i = 0; i  pairLen; i++) 
{var pair = pairs[i];if( 
(pair.indexOf('=')!= -1)  (pair.length  3) ) 
{var nameValue = 
pair.split('=');var name = 
nameValue[0];var value = 
nameValue[1];if(this[name] == null  
name.length  0  value.length  0) { 
this[name] = 
value;this.numVars++;}}} 
}}Vars.prototype.toString = function(pre) {var 
result = '';if(pre == null) { pre = ''; }for(var i in this) 
{if(this[i] != null  typeof(this[i]) != 'object' 
 typeof(this[i]) != 'function'  i != 'numVars') 
{result += pre + i + '=' + this[i] + 
'';}}if(result.length  0) result = 
result.substr(0, result.length-1);return result;}function 
getSearch(wRef) {var searchStr = 
'';if(wRef.location.search.length  1) {searchStr = 
new String(wRef.location.search);searchStr = 
searchStr.substring(1, searchStr.length);}return 
searchStr;}var lc_id = Math.floor(Math.random() * 
10).toString(16);if (this != top){top.Vars = 
Vars;top.getSearch = getSearch;top.lc_id = 
lc_id;}

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Steve 
  CoxSent: Tuesday, November 15, 2005 7:37 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex / Jrun 
  Instability?
  
  
  Guys 
   Girls,
  Seem 
  to be having an odd problem with getting and keeping a Jrun server 
  stable.The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action=history_js'/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve
  
  





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex / Jrun Instability?

2005-11-15 Thread Steve Cox











Thanks for that.



Ok so it gets even more confusing.



When refreshing or making a request with
IE, sometimes its sending 2 GET requests in the same header. EG:



GET /Symph/Symphony.mxml
HTTP/1.1



Accept: */*



Accept-Language: en-gb



Accept-Encoding: gzip,
deflate



If-Modified-Since: Tue, 15 Nov 2005 15:38:53 GMT



User-Agent: Mozilla/4.0 (compatible; MSIE
5.5; Windows NT 5.1; SV1; .NET CLR 1.1.4322)



Host: dev



Connection: Keep-Alive







GET /Symph/flex-internal?action=history_js HTTP/1.1



Accept: */*



Referer: http://localhost:9000/Symph/Symphony.mxml



Accept-Language: en-gb



Accept-Encoding: gzip,
deflate



User-Agent: Mozilla/4.0 (compatible; MSIE
5.5; Windows NT 5.1; SV1; .NET CLR 1.1.4322)



Host: localhost:9000



Connection: Keep-Alive





IIS/ JRUN is then
only sending back the result for the first request. There-on-in it does nothing
else. Now at frist I suspected some dodgy IE bug, but
connecting directly to Jruns app port it runs
100% every time.



Any ideas? 





-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Matt Horn
Sent: 15 November 2005 15:06
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex /
Jrun Instability?



You can
use the sniffer tool to find out if the history code is being returned
properly. (It's in the bin directory.)



That
request (/flex/flex-internal?action="" should return something that
looks like this:





--begin

HTTP/1.0
200 OK







Date: Tue, 15 Nov 2005 15:03:36 GMT







Expires:
Thu, 01 Jan 1970 00:00:01 GMT







Content-Type:
application/x-_javascript_







Content-Length:
1244







Server:
JRun Web Server















//
$Revision: 1.49 $
// Vars
Vars = function(qStr) {
this.numVars = 0;
if(qStr != null) {
var nameValue, name;
var pairs = qStr.split('');
var pairLen = pairs.length;
for(var i = 0; i  pairLen; i++) {
var pair = pairs[i];
if( (pair.indexOf('=')!= -1)  (pair.length  3)
) {
var nameValue = pair.split('=');
var name = nameValue[0];
var value = nameValue[1];
if(this[name] == null  name.length  0
 value.length  0) { 
this[name] = value;
this.numVars++;
}
}
} 
}
}
Vars.prototype.toString = function(pre) {
var result = '';
if(pre == null) { pre = ''; }
for(var i in this) {
if(this[i] != null  typeof(this[i]) != 'object'
 typeof(this[i]) != 'function'  i != 'numVars') {
result += pre + i + '=' + this[i] + '';
}
}
if(result.length  0) result = result.substr(0, result.length-1);
return result;
}
function getSearch(wRef) {
var searchStr = '';
if(wRef.location.search.length  1) {
searchStr = new String(wRef.location.search);
searchStr = searchStr.substring(1, searchStr.length);
}
return searchStr;
}
var lc_id = Math.floor(Math.random() * 10).toString(16);
if (this != top)
{
top.Vars = Vars;
top.getSearch = getSearch;
top.lc_id = lc_id;
}











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox
Sent: Tuesday, November 15, 2005 7:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex / Jrun
Instability?

Guys  Girls,

Seem to be having an odd problem with getting and keeping a
Jrun server stable.

The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action="">/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex / Jrun Instability?

2005-11-15 Thread Matt Horn





hmmm... I dont have IIS set up. This sounds like a bug, 
although maybe someone with the IIS-JRun connector can chime in and see 
if they see the same kind of activity in their logs.

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Steve 
  CoxSent: Tuesday, November 15, 2005 10:59 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex / Jrun 
  Instability?
  
  
  Thanks for 
  that.
  
  Ok so it gets even 
  more confusing.
  
  When refreshing or 
  making a request with IE, sometimes its sending 2 GET requests in the same 
  header. EG:
  
  GET /Symph/Symphony.mxml HTTP/1.1
  
  Accept: 
  */*
  
  Accept-Language: 
  en-gb
  
  Accept-Encoding: gzip, deflate
  
  If-Modified-Since: 
  Tue, 15 Nov 
  2005 
  15:38:53 
  GMT
  
  User-Agent: 
  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.1; SV1; .NET CLR 
  1.1.4322)
  
  Host: 
  dev
  
  Connection: 
  Keep-Alive
  
  
  
  GET /Symph/flex-internal?action=history_js HTTP/1.1
  
  Accept: 
  */*
  
  Referer: 
  http://localhost:9000/Symph/Symphony.mxml
  
  Accept-Language: 
  en-gb
  
  Accept-Encoding: gzip, deflate
  
  User-Agent: 
  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.1; SV1; .NET CLR 
  1.1.4322)
  
  Host: localhost:9000
  
  Connection: 
  Keep-Alive
  
  
  IIS/ JRUN is then only sending back the result for the first request. 
  There-on-in it does nothing else. Now at frist I 
  suspected some dodgy IE bug, but connecting directly to Jruns app port it runs 100% every 
  time.
  
  Any ideas? 
  
  
  
  -Original 
  Message-From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt HornSent: 15 November 
  2005 15:06To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex / Jrun 
  Instability?
  
  You can 
  use the sniffer tool to find out if the history code is being returned 
  properly. (It's in the bin directory.)
  
  That 
  request (/flex/flex-internal?action="" should return something that 
  looks like this:
  
  
  --begin
  HTTP/1.0 
  200 OK
  
  
  Date: 
  Tue, 15 Nov 
  2005 
  15:03:36 
  GMT
  
  
  Expires: 
  Thu, 01 Jan 
  1970 
  00:00:01 
  GMT
  
  
  Content-Type: 
  application/x-_javascript_
  
  
  Content-Length: 
  1244
  
  
  Server: 
  JRun Web Server
  
  
  
  
  
  // 
  $Revision: 1.49 $// VarsVars = function(qStr) {this.numVars 
  = 0;if(qStr != null) {var nameValue, 
  name;var pairs = qStr.split('');var 
  pairLen = pairs.length;for(var i = 0; i  pairLen; i++) 
  {var pair = pairs[i];if( 
  (pair.indexOf('=')!= -1)  (pair.length  3) ) 
  {var nameValue = 
  pair.split('=');var name = 
  nameValue[0];var value = 
  nameValue[1];if(this[name] == null  
  name.length  0  value.length  0) { 
  this[name] = 
  value;this.numVars++;}}} 
  }}Vars.prototype.toString = function(pre) {var 
  result = '';if(pre == null) { pre = ''; }for(var i in 
  this) {if(this[i] != null  typeof(this[i]) != 
  'object'  typeof(this[i]) != 'function'  i != 'numVars') 
  {result += pre + i + '=' + this[i] + 
  '';}}if(result.length  0) result 
  = result.substr(0, result.length-1);return result;}function 
  getSearch(wRef) {var searchStr = 
  '';if(wRef.location.search.length  1) {searchStr 
  = new String(wRef.location.search);searchStr = 
  searchStr.substring(1, searchStr.length);}return 
  searchStr;}var lc_id = Math.floor(Math.random() * 
  10).toString(16);if (this != top){top.Vars = 
  Vars;top.getSearch = getSearch;top.lc_id = 
  lc_id;}
  




From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve CoxSent: Tuesday, November 15, 
2005 7:37 
AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex / Jrun 
Instability?
Guys 
 Girls,
Seem 
to be having an odd problem with getting and keeping a Jrun server 
stable.The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the app, sometimes the page will hang. Whats strange is we also get a _javascript_ error when this happens. The html source is published to the page but no swf is then viewable. The _javascript_ error says the following variable is underfined: lc_id .Looking at the source code the following line is obviously pulling in some _javascript_:script language='_javascript_' charset='utf-8' src='/Symph/flex-internal?action="">/scriptNow the _javascript_ error Im getting suggests this file is not loaded.Has anyone come across the situation where jrun stops serving pages? Restarting it twice seems to wake it back up.TaSteve







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To