Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Some problem with remoting config
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jamie Jackson  
View profile  
 More options Jan 1 2009, 4:48 pm
From: Jamie Jackson <mySpa...@gmail.com>
Date: Thu, 1 Jan 2009 13:48:19 -0800 (PST)
Local: Thurs, Jan 1 2009 4:48 pm
Subject: Some problem with remoting config
Hey Mark,

Something's not working properly when doing the Conduit remoting call
from Flex. Please let me know if you spot the problem, so I can play
with Conduit.

Details follow.

Thanks,
Jamie

From Flex ###############################
Couldn't hit the service properly.[MessagingError message='Destination
'Conduit' either does not exist or the destination has no channels
defined (and the application does not define any default channels.)']

"Info" Debugging while starting CF instance
#####################################
01/01 16:42:25 user MessageBrokerServlet: init
[BlazeDS] Starting Adobe LiveCycle Data Services 2 Express
[BlazeDS] Adobe Flex Data Services Build: 184817
[BlazeDS] Endpoint java-secure-http created with security: None
at URL: https://{server.name}:{server.port}{context.root}/flex2gateway/httpsecure
[BlazeDS] Endpoint cf-polling-amf created with security: None
at URL: http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling
[BlazeDS] Endpoint my-cfamf created with security: None
at URL: http://{server.name}:{server.port}{context.root}/flex2gateway/
[BlazeDS] Endpoint my-cfamf-secure created with security: None
at URL: https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure
[BlazeDS] Endpoint java-http created with security: None
at URL: http://{server.name}:{server.port}{context.root}/flex2gateway/http
[BlazeDS] [CFEventGatewayAdapter] Configuring ColdFusion Event Gateway
adapter for destination ColdFusionGateway
[BlazeDS] Conduit: ColdFusion Adapter initialised. (0.1.a)
01/01 16:42:28 user CFFormGateway: init
01/01 16:42:28 user FlexMxmlServlet: init
01/01 16:42:28 INFO Loading configuration file /opt/jrun4/servers/
childwelfare_old/cfusion.ear/cfusion.war/WEB-INF/flex/flex-webtier-
config.xml
01/01 16:42:28 INFO Loading configuration file /opt/jrun4/servers/
childwelfare_old/cfusion.ear/cfusion.war/WEB-INF/flex/flex-config.xml
- Constructed GeneralCacheAdministrator()
- Creating new cache
01/01 16:42:28 user FlexMxmlServlet: Starting Adobe Flex Web Tier
Compiler
01/01 16:42:29 user FlexMxmlServlet: Adobe Flex Web Tier Compiler
Build: 184817
01/01 16:42:29 user CFInternalServlet: init
01/01 16:42:29 user FlexInternalServlet: init
01/01 16:42:29 info Recovering 2 session(s)

Conduit Jar ################################
/opt/jrun4/servers/childwelfare_old/cfusion.ear/cfusion.war/WEB-INF/
cfusion/lib/conduit.jar

Conduit CF Mapping ###############################
/conduit        /var/www/extensions/components/conduit_BER_source/conduit

/opt/jrun4/servers/childwelfare_old/cfusion.ear/cfusion.war/WEB-INF/
flex/remoting-config.xml
#####################################
<?xml version="1.0" encoding="UTF-8"?>
<service id="remoting-service"
    class="flex.messaging.services.RemotingService"
    messageTypes="flex.messaging.messages.RemotingMessage">

    <adapters>
        <adapter-definition id="cf-object"
class="coldfusion.flash.messaging.ColdFusionAdapter" default="true"/>
        <adapter-definition id="java-object"
class="flex.messaging.services.remoting.adapters.JavaAdapter"/>
                <adapter-definition id="conduit"
class="com.compoundtheory.conduit.adapters.ColdFusionAdapter" />
    </adapters>

    <default-channels>
        <channel ref="my-cfamf"/>
    </default-channels>

    <destination id="ColdFusion">
        <channels>
            <channel ref="my-cfamf"/>
        </channels>
        <properties>
            <source>*</source>
            <!-- define the resolution rules and access level of the
cfc being invoked -->
            <access>
                <!-- Use the ColdFusion mappings to find CFCs, by
default only CFC files under your webroot can be found. -->
                <use-mappings>true</use-mappings>
                <!-- allow "public and remote" or just "remote"
methods to be invoked -->
                <method-access-level>remote</method-access-level>
            </access>

            <property-case>
                <!-- cfc property names -->
                <force-cfc-lowercase>false</force-cfc-lowercase>
                <!-- Query column names -->
                <force-query-lowercase>false</force-query-lowercase>
                <!-- struct keys -->
                <force-struct-lowercase>false</force-struct-lowercase>
            </property-case>
        </properties>
    </destination>

        <destination id="Conduit">
                <channels>
                        <channel ref="my-cfamf" />
                </channels>
                <adapter ref="conduit" />
                <properties>
                        <source>*</source>
                        <cfcs>
                                <!--
                                Whether or not reload the CFCs below on each request.
                                Useful for debugging when building new invokers,serialisers
                                or deserialisers
                                -->
                                <reloadcfcs>true</reloadcfcs>
                                <!--
                                The CFC that invokes the remote method call
                                 -->
                                <invoker>conduit.core.CFCInvoker</invoker>
                                <!--
                                Translates CF=>AS3
                                 -->
                                <serialiser>conduit.core.CFSerialiser</serialiser>
                                <!--
                                Translates AS3=>CF
                                 -->
                                <deserialiser>conduit.core.CFDeserialiser</deserialiser>
                        </cfcs>
                        <access>
                                <!--
                                allow "public" (which is public or remote) or just "remote"
methods to be invoked.
                                If not specified, "remote" is the default
                                -->
                                <method-access-level>remote</method-access-level>
                        </access>

                </properties>
        </destination>

</service>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jamie Jackson  
View profile  
 More options Jan 1 2009, 10:50 pm
From: "Jamie Jackson" <myspa...@gmail.com>
Date: Thu, 1 Jan 2009 22:50:45 -0500
Local: Thurs, Jan 1 2009 10:50 pm
Subject: Re: Some problem with remoting config
Whoops, I neglected to install BlazeDS, so I think we can ignore this
post for now, but I'm about to start a new one about the BlazeDS
installation instructions, because I'm struggling with them...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jamie Jackson  
View profile  
 More options Jan 2 2009, 9:58 am
From: Jamie Jackson <mySpa...@gmail.com>
Date: Fri, 2 Jan 2009 06:58:58 -0800 (PST)
Local: Fri, Jan 2 2009 9:58 am
Subject: Re: Some problem with remoting config
Okay, I installed BlazeDS, but same problem.

I just sent you my config files, in case you feel like trying to spot
a problem...

Thanks,
Jamie

Here's the info debugging:
01/02 09:36:54 user MessageBrokerServlet: init
[BlazeDS]BlazeDS - Community Edition: 3.2.0.3978
[BlazeDS]Endpoint java-polling-amf created with security: None
at URL: http://{server.name}:{server.port}{context.root}/flex2gateway/amfpolling
[BlazeDS]Endpoint java-secure-http created with security: None
at URL: https://{server.name}:{server.port}{context.root}/flex2gateway/httpsecure
[BlazeDS]Endpoint cf-polling-amf created with security: None
at URL: http://{server.name}:{server.port}{context.root}/flex2gateway/cfamfpolling
[BlazeDS]Endpoint java-amf created with security: None
at URL: http://{server.name}:{server.port}{context.root}/flex2gateway/amf
[BlazeDS]Endpoint my-cfamf created with security: None
at URL: http://{server.name}:{server.port}{context.root}/flex2gateway/
[BlazeDS]Endpoint java-secure-amf created with security: None
at URL: https://{server.name}:{server.port}{context.root}/flex2gateway/amfsecure
[BlazeDS]Endpoint my-cfamf-secure created with security: None
at URL: https://{server.name}:{server.port}{context.root}/flex2gateway/cfamfsecure
[BlazeDS]Endpoint java-http created with security: None
at URL: http://{server.name}:{server.port}{context.root}/flex2gateway/http
[BlazeDS][CFEventGatewayAdapter] Configuring ColdFusion Event Gateway
adapter for destination ColdFusionGateway
[BlazeDS]Conduit: ColdFusion Adapter initialised. (0.1.a)
01/02 09:36:59 user CFFormGateway: init
01/02 09:36:59 user CFInternalServlet: init
01/02 09:37:00 info Recovering 2 session(s)

On Jan 1, 10:50 pm, "Jamie Jackson" <myspa...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Mandel  
View profile  
 More options Jan 2 2009, 6:30 pm
From: "Mark Mandel" <mark.man...@gmail.com>
Date: Sat, 3 Jan 2009 10:30:07 +1100
Local: Fri, Jan 2 2009 6:30 pm
Subject: Re: Some problem with remoting config
Jamie... what exactly is the 'problem'... I'm not seeing any error messages?

Mark

--
E: mark.man...@gmail.com
W: www.compoundtheory.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jamie Jackson  
View profile  
 More options Jan 3 2009, 12:14 pm
From: Jamie Jackson <mySpa...@gmail.com>
Date: Sat, 3 Jan 2009 09:14:57 -0800 (PST)
Local: Sat, Jan 3 2009 12:14 pm
Subject: Re: Some problem with remoting config
Hey Mark,

Happy New Year!

The error's the same as before, which is:

From Flex ###############################
Couldn't hit the service properly.[MessagingError
message='Destination
'Conduit' either does not exist or the destination has no channels
defined (and the application does not define any default channels.)']

Thanks,
Jamie

On Jan 2, 6:30 pm, "Mark Mandel" <mark.man...@gmail.com> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Mandel  
View profile  
 More options Jan 3 2009, 9:41 pm
From: "Mark Mandel" <mark.man...@gmail.com>
Date: Sun, 4 Jan 2009 13:41:12 +1100
Local: Sat, Jan 3 2009 9:41 pm
Subject: Re: Some problem with remoting config
Did you restart CF after editing it?

You may need to restart FlexBuilder after applying the chnages, so it
re-reads the remoting-config.xml

Mark

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jamie Jackson  
View profile  
 More options Jan 3 2009, 10:29 pm
From: Jamie Jackson <mySpa...@gmail.com>
Date: Sat, 3 Jan 2009 19:29:26 -0800 (PST)
Local: Sat, Jan 3 2009 10:29 pm
Subject: Re: Some problem with remoting config
On Jan 3, 9:41 pm, "Mark Mandel" <mark.man...@gmail.com> wrote:

> Did you restart CF after editing it?

Yeah, I did.

> You may need to restart FlexBuilder after applying the chnages, so it
> re-reads the remoting-config.xml

Ahhh, okay, I didn't know about that. It must be the ticket, because
it works today. (I've rebooted, etc., in the meantime.)

Okay, so I've got Conduit installed and running, FWIW. ;-)

Thanks,
Jamie

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Mandel  
View profile  
 More options Jan 4 2009, 12:17 am
From: "Mark Mandel" <mark.man...@gmail.com>
Date: Sun, 4 Jan 2009 16:17:42 +1100
Local: Sun, Jan 4 2009 12:17 am
Subject: Re: Some problem with remoting config
Cool.

Let me know if you run into any compatibility problems.

Mark

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »