What channel are you using? Every destination in BlazeDS has to use a
channel. You define channels in services-config.xml and you use them
in the destination configuration. So I suggest you take a look in your
services-config.xml and see what channels you have. Then, pick one of
those channels and use them in your remoting destination. For example
if the channel you picked had id as my-amf, you would modify your
destination as follows:

<destination id="warehouse" channels="my-amf"> 
  <properties>  
<source>com.fuxiontechnologies.accounting.dataaccess.WarehouseDAO</source>
</properties>
</destination>

You also need to make sure that Tomcat starts up fine with BlazeDS.
Check out the Tomcat logs to make sure.

-Mete

--- In flexcoders@yahoogroups.com, "Fidel Viegas" <[EMAIL PROTECTED]>
wrote:
>
> Hi p,
> 
> I have tried the samples and they all work fine. I have created a
> class of my own that accesses a firebird database. I have created some
> classes which I call from some webservices and they all work fine.
> Now, I have added the destination to the remoting-config.xml file, and
> my Flex app is unable to connect to it, saying that my destination is
> unknow. I have checked the samples, and my destination seems ok as
> well. I checked the logs, and I haven't seen any errors. If the
> problem was with my class files, I should get some exceptions thrown
> and I would be able to see those in the log files.
> 
> I have tried to configure my Tomcat server with the binary distro of
> BlazeDS, but since I was unable to make it work, I installed the
> BlazeDS with integrated Tomcat. I have ran all the demos without any
> problems, but I am unable to even connect to my destination. Here is
> what I added to the remoting-config.xml:
> 
>       <destination id="warehouse">
> 
>               <properties>
> 
>               
<source>com.fuxiontechnologies.accounting.dataaccess.WarehouseDAO</source>
> 
>               </properties>
> 
>       </destination>
> 
> The problem is with the connection, as my Flex App is unable to
> connect to it. I even included my classes in the samples webapp to see
> if it would work, but still I cannot manage to connect to the
> destination.
> 
> Do I need to configure my app in some other place?
> 
> Thanks in advance,
> 
> Fidel.
> 
> On Sun, Mar 2, 2008 at 9:46 AM, [p e r c e p t i c o n]
> <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> > Fidel...
> > BlazeDS has samples that you should try first...once you get the
remoting
> > sample to work..you can use this as a model for
> > configuring your project...if you still have questions you should
let us
> > know more specifics like what server you're using etc...
> >
> > regards
> > p
> >
> >
> >
> > On Sun, Mar 2, 2008 at 12:12 AM, Fidel Viegas <[EMAIL PROTECTED]>
> > wrote:
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hello folks,
> > >
> > > How do I use the RemoteObject to connect to a remote location? Do I
> > > need to configure anything on the server? Does anyone have an
example?
> > >
> > > I am using BlazeDS, and I was looking for some examples, but was
> > > unable to. I tried adding the endpoint, but still it didn't
work. So,
> > > I presume there is some server configuration to be done.
> > >
> > > Thanks in advance,
> > >
> > > Fidel.
> > >
> >
> >
>


Reply via email to