For my own project I am creating a war, and I don't need to hardcode anything. I have deployed it in 3 different servers including my local PC. You have to leave the default setting of {server.name} and it should work. No need to hardcode anything.
 
Perhaps you can post the file where you made the change and we can you what to correct.
 
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of hank williams
Sent: Wednesday, July 19, 2006 10:37 PM
To: [email protected]
Subject: Re: [flexcoders] FDS deployment issue

Thanks Kazuya.

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/





AVIS IMPORTANT

WARNING

Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.

This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender.

__._,_.___

--
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




__,_._,___

Reply via email to