ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 7th, 2005, 02:19 AM
djhmateer djhmateer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 10 djhmateer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 55 sec
Reputation Power: 0
Smile CF6.1 to CF7 ... second query fails

Hi

We are developing a Rich Internet App - http://www.lets-eat.co.nz

Our current working setup in on a shared server running CF6.1 and IIS.

We are testing CF7 running under Apache2 all on a WindowsXP Professional machine (we're going to a dedicated server).

We have a problem when one first opens the browser, that on the initial (or second) database call, the query always fails. If you refresh the page, or in Firefox, close the tab, then open the page again. It all works.

The query fails - nothing gets to the database. The database side of the application is locked up.

In the Flash IDE I get this (on first compile ):

Error opening URL "http://www.lets-eat.co.nz/flashservices/gateway;jsessionid=3c3067ac01bc$BDW0f$1"

then if I compile again, it works.

However:

CF6.1 + IIS - this works (ie everything)
CF7 + JRUN - this works (ie everything)
CF7 + Apache - this doesn't work
CF7 + IIS - this doesn't work

So this feels like CF not knowing the correct session initially, and it has to create the correct session. Then when it creates the session, and the session is still alive, everything works.

I've tried most of the session settings in CF7 admin ie Enable Session variables etc... everything is currently set to default. Nothing I changed make any difference.

Can't find any errors in CF logs, nor Database logs.

Any suggesions?

Regards

Dave.

Reply With Quote
  #2  
Old April 7th, 2005, 08:27 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,689 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 16 h 33 m 51 sec
Reputation Power: 53
At first glance I'm pretty sure this is not a valid URL:

http://www.lets-eat.co.nz/flashservices/gateway;jsessionid=3c3067ac01bc$BDW0f$1

Shouldn't it be something like:

http://www.lets-eat.co.nz/flashservices/gateway/index.cfm?jsessionid=3c3067ac01bc$BDW0f$1
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #3  
Old April 7th, 2005, 02:14 PM
djhmateer djhmateer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 10 djhmateer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 55 sec
Reputation Power: 0
hmmm

Quote:
Originally Posted by kiteless
At first glance I'm pretty sure this is not a valid URL:

http://www.lets-eat.co.nz/flashservices/gateway;jsessionid=3c3067ac01bc$BDW0f$1

Shouldn't it be something like:

http://www.lets-eat.co.nz/flashservices/gateway/index.cfm?jsessionid=3c3067ac01bc$BDW0f$1


Yes - that does look weird.. will have a look into it.

Cheers

Dave.

Reply With Quote
  #4  
Old April 7th, 2005, 09:25 PM
djhmateer djhmateer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 10 djhmateer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 55 sec
Reputation Power: 0
nailling the issue down - quite serious?

Hi

We have nailed the issue down to:

If you use Apache or IIS (but not JRUN) with CF7, and you call a swf from a wrapper swf, the second swf's remoting doesn't work.

We have a zip file of the test code, including source, and a sample access db on:

http://www.nqb8r.co.nz/testCF7.zip

create a datasource for your mdb called: lets-eatconz
change the www.lets-eat.co.nz to the IP address of your test server

Point your browser to wrapper.swf, and press the big red button. If 3 rows of data pop up it works. Be careful to clear you cache, and all cookies before doing this.

Regards

Dave.
dave AT nqb8r.co.nz

Reply With Quote
  #5  
Old April 8th, 2005, 05:49 PM
djhmateer djhmateer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 10 djhmateer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 55 sec
Reputation Power: 0
Found solution

Solution in:

http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=138&threadid=961362&enterthread=y

Dave


Quote:
Originally Posted by djhmateer
Hi

We have nailed the issue down to:

If you use Apache or IIS (but not JRUN) with CF7, and you call a swf from a wrapper swf, the second swf's remoting doesn't work.

We have a zip file of the test code, including source, and a sample access db on:

http://www.nqb8r.co.nz/testCF7.zip

create a datasource for your mdb called: lets-eatconz
change the www.lets-eat.co.nz to the IP address of your test server

Point your browser to wrapper.swf, and press the big red button. If 3 rows of data pop up it works. Be careful to clear you cache, and all cookies before doing this.

Regards

Dave.
dave AT nqb8r.co.nz

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > CF6.1 to CF7 ... second query fails


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT