After spending all day on this I finally got it to work.
The issue that you are describing is where the problem was. I was specifying localhost, and then context.root, instead of hardcoding the server name.
But to me this is a very bad solution. This means that whenever you prepare a war file, it must be targeted at a specific server. If there is no way around this then that really sucks from a deployment perspective. The whole concept of a portable WAR file goes out the window. But it cant really work that way. They must have figured out a way to do it. They just havent told us yet!
Regards
Hank
On 7/19/06, KOMON Kazuya <[EMAIL PROTECTED]> wrote:
Hank,
I see. So it seems not to be caused by some exception...
How about flex-services.xml?
If you difined the original gateway in <channels> - <channel-definition> tag
or hard code(ex. <endpoint uri=" http://yourserver:8080/flex2_example/gateway"),
you should change to fit to your environment.
I have some experience which everything is working.
Kazuya
--- In message ---
2006/07/20 09:27
"hank williams <[EMAIL PROTECTED]>" wrote:
> Well, there is no error on the server side. There are no messages on the
> server side which indicates that the flex app cant speak to the server.
> Obviously there must be an error on the flash side, but all I see is a
> failure to connect. It just sits there. I wish I could see what it was
> sending so I could figure out why it was failing.
>
> Hank
>
> On 7/19/06, KOMON Kazuya <[EMAIL PROTECTED]> wrote:
> >
> > Hank,
> >
> > Is there any error messages when your flex app is speaking to the server ?
> >
> > Kazuya
> >
> > --- In message ---
> > 2006/07/20 08:42
> > "hank williams < [EMAIL PROTECTED]>" wrote:
> >
> > > No, I'm not using ant.
> > >
> > > I am sure that for some reason my app is not reaching the server. I am
> > > wondering if there is way to remotely debug so I can see what is going
> > on. I
> > > know the client is not reaching the server because there is no activity
> > on
> > > the console but I dont know why.
> > >
> > > Regards
> > > Hank
> > >
> > > On 7/19/06, Allen Riddle <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Are you doing your deployment through Ant? If you are, make sure you
> > pass
> > > > the compiler all of you DS config files. If you look at
> > > > Project->Properties->Flex Compiler, you'll see that the config files
> > get
> > > > passed in. We are using Ant and doing the above, and everything is
> > working.
> > > >
> > > >
> > > > ------------------------------
> > > >
> > > > *From:* [email protected] [mailto:[email protected]]
> > *On
> > > > Behalf Of *hank williams
> > > > *Sent:* Wednesday, July 19, 2006 4:28 PM
> > > > *To:* [email protected]
> > > > *Subject:* [flexcoders] FDS deployment issue
> > > >
> > > >
> > > >
> > > > I have been developing and testing on one machine that is both client
> > and
> > > > server. In other words, my tomcat installation is at localhost, not
> > some
> > > > remote server.
> > > >
> > > > Now I am trying to deploy my war file and when I run it, The flex app
> > is
> > > > not speaking to the server. I am wondering if there is some
> > configuration
> > > > that is getting compiled into the swf that tells it where the FDS
> > server is?
> > > > I know I set some properties as to where the flex server is, using the
> > > > eclipse property window. Is this a parameter that gets built into the
> > swf
> > > > using a compiler command line? I cant think of how else it could work,
> > but
> > > > if this is the case I would like to know more about it. I am sure
> > there are
> > > > docs on this but I havent seen them. Anyway, unless I use ant, that
> > would
> > > > suggest I need to change this parameter and recompile before building
> > a WAR
> > > > file. Is that right?
> > > >
> > > > Any insight greatly appreciated.
> > > >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
-----------------------------------------
KAZUYA KOMON <[EMAIL PROTECTED] >
System Technologies Center
Business Development & Control Division
ISI- Dentsu, Ltd.
Tel +81 (0)3 6713 6075
Fax +81 (0)3 6713 9923
-----------------------------------------
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
__._,_.___
--
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.

