List Info

Thread: Mimicking .NET Code-Behind for ColdFusion Controllers




Mimicking .NET Code-Behind for ColdFusion Controllers
user name
2006-11-30 09:52:00
You're betraying your roots Neil, it's "arse"
where I come from! 

-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:Neil.Robertson-Ravocsd.reedexpo.com] 
Sent: 30 November 2006 09:11
To: CF-Talk
Subject: Re: Mimicking .NET Code-Behind for ColdFusion
Controllers

Pain in the Ass







"This e-mail is from Reed Exhibitions (Gateway House,
28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of
Reed Business,
Registered in England, Number 678540.  It contains
information which is
confidential and may also be privileged.  It is for the
exclusive use of
the intended recipient(s).  If you are not the intended
recipient(s)
please note that any form of distribution, copying or use of
this
communication or the information in it is strictly
prohibited and may be
unlawful.  If you have received this communication in error
please
return it to the sender or call our switchboard on +44 (0)
20 89107910.
The opinions expressed within this communication are not
necessarily
those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Martin Thorpe
To: CF-Talk
Sent: Thu Nov 30 07:53:08 2006
Subject: Re: Mimicking .NET Code-Behind for ColdFusion
Controllers

So tell me, what does the acronym PITA stand for then?
Forgive my
ignorance.

>+1 to everything Dave said. Code-behind is a PITA.

cheers
Martin





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages
of hard-hitting,
up-to-date ColdFusion information by your peers, delivered
to your door four times a year.
http://www.f
usionauthority.com/quarterly

Archive: http://www.houseoffusion.com/groups/CF-T
alk/message.cfm/messageid:262181
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.c
fm
Unsubscribe: http://www.houseoffusion.com/cf_lists/un
subscribe.cfm?user=22184.15789.4
XCP - Yahoo transport invalid namespace
user name
2006-11-30 10:29:47
Need help!
My XCP Server can't connect to the yahoo-transport component running on a Jabberd-1.4.4 server via accept-connect with the following error message.
 
------
20061130T07:39:49: [warn] (yahoo-linker) Recv'd invalid namespace. Closing connection.
------
 
Can someone tell me what seems to be the problem?
 
Thanks,
 
Ardi
 


Everyone is raving about the all-new Yahoo! Mail beta.
XCP - Yahoo transport invalid namespace
user name
2006-11-30 10:48:36
Hi Ardi!

the_mucu schrieb:
> Need help!
> My XCP Server can't connect to the yahoo-transport
component running
> on a Jabberd-1.4.4 server via accept-connect with the
following error
> message.
>  
> ------
> 20061130T07:39:49: [warn] (yahoo-linker) Recv'd invalid
namespace.
> Closing connection.
> ------
>  
> Can someone tell me what seems to be the problem?

Where did you get this error message from? XCP or jabberd
1.4.4?
How are XCP and jabberd14 connected to each other?

For jabberd14 you get his message if an <accept/>
component is not
seeing a xmlns='jabber:component:accept' attribute on the
stream root
element (of the stream between XCP and jabberd). This
attribute normaly
should be there. - Therefore I expect, that you have an
error on the
setup of the connection between jabberd and XCP.

Are you trying to connect to jabberd with a client or with a
normal s2s
connection? This does not work.

Please tell us a bit more about your setup and
configuration. Else all
I'm writing can be just guesses what might have been done
wrong.


Tot kijk
    Matthias

-- 
Matthias Wimmer      Fon +49-700 77 00 77 70
Züricher Str. 243    Fax +49-89 95 89 91 56
81476 München        http://ma.tthias.eu/
_______________________________________________
JAdmin mailing list
JAdminjabber.org
http:/
/mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://ww
w.jabber.org/about/jadminfaq.shtml
_______________________________________________
XCP - Yahoo transport invalid namespace
user name
2006-12-05 03:56:23
Matthias Wimmer <mtthias.eu&gt; wrote:
Hi Ardi!

the_mucu schrieb:
&gt; Need help!
> My XCP Server can't connect to the yahoo-transport component running
&gt; on a Jabberd-1.4.4 server via accept-connect with the following error
> message.
&gt;
> ------
>; 20061130T07:39:49: [warn] (yahoo-linker) Recv'd invalid namespace.
> Closing connection.
> ------
>;
> Can someone tell me what seems to be the problem?

Where did you get this error message from? XCP or jabberd 1.4.4?
How are XCP and jabberd14 connected to each other?

For jabberd14 you get his message if an component is not
seeing a xmlns='jabber:component:accept' attribute on the stream root
element (of the stream between XCP and jabberd). This attribute normaly
should be there. - Therefore I expect, that you have an error on the
setup of the connection between jabberd and XCP.

Are you trying to connect to jabberd with a client or with a normal s2s
connection? This does not work.

Please tell us a bit more about your setup and configuration. Else all
I'm writing can be just guesses what might have been done wrong.


Tot kijk
Matthias
I got this message from jabberd14. My XCP server connect to jabberd14 through an OpenPort component by specifying the Router Outbound Connection to connect to the yahoo-transport component on jabberd14. I'm not trying to connect to jabberd14 with S2S connection. Thanks for the help.
Here is my jabberd14 configuration:
jabberd14
------------------------------------------
<jabber>
 &nbsp; <service id="sessions">
 &nbsp;  <host&gt;<jabberd:cmdline flag="h"&gt;jabberd&lt;/jabberd:cmdline></host&gt;
 &nbsp;  <jsm xmlns="jabber:config:jsm">
 &nbsp; &nbsp;  <vCard&gt;
 &nbsp;   ; &nbsp; <FN>Jabber Server</FN>
&nbsp; &nbsp; &nbsp;   <DESC&gt;A Jabber Server!<;/DESC>
  ; &nbsp; &nbsp;  <URL>;http://jabberd/</URL>
&nbsp; &nbsp; &nbsp; </vCard>
 &nbsp; &nbsp;  <register notify="yes">
&nbsp; &nbsp; &nbsp; &nbsp; <instructions>Choose a username and password.&lt;/instructions>
&nbsp;   ; &nbsp;  <name/&gt;
 &nbsp;   ; &nbsp; <email/>
   ; &nbsp; </register>
 &nbsp; &nbsp;  <welcome xml:lang='en'>
&nbsp; &nbsp; &nbsp;   <subject>Welcome!</subject>
&nbsp; &nbsp; &nbsp;   <body&gt;Welcome to the Jabber server at localhost.</body&gt;
 &nbsp; &nbsp;  </welcome>
 &nbsp; &nbsp; &nbsp;  <message to="yourhostname/announce/online">
 ; &nbsp; &nbsp; &nbsp; &nbsp; <body&gt;announcement here</body>
&nbsp; &nbsp; &nbsp;   </message>
 &nbsp; &nbsp; &nbsp;  <message to="yourhostname/announce/motd"&gt;
 &nbsp;   ; &nbsp; &nbsp; <body&gt;message&lt;/body>
 &nbsp; &nbsp; &nbsp;  </message>
 &nbsp; &nbsp;  <vcard2jud/>
 &nbsp; &nbsp;  <browse>
 &nbsp; &nbsp; &nbsp;  <service type="jud" jid="users.jabber.org" name="Jabber User Directory">
   ; &nbsp; &nbsp; &nbsp; <ns>jabber:iq:search</ns>
 ; &nbsp; &nbsp; &nbsp; &nbsp; <ns>jabber:iq:register</ns>
&nbsp; &nbsp; &nbsp;   </service>
 &nbsp; &nbsp; &nbsp;  <service type="yahoo" jid="yahoo.jabberd" name="Yahoo! Transport">
   <ns>jabber:iq:gateway</ns>
&nbsp; &nbsp; &nbsp; &nbsp;   <ns>jabber:iq:register</ns>
&nbsp;  <ns>jabber:iq:version</ns>
&nbsp;  <ns>jabber:iq:time</ns&gt;
 &nbsp;   ; &nbsp; </service>
 &nbsp; &nbsp;  </browse>
 &nbsp; &nbsp;  <disco&gt;
 &nbsp;   ; &nbsp; <identity category='services' type='jabber' name='Jabber 1.4 Server'/&gt;
 &nbsp; &nbsp;   ; <feature var='jabber:iq:browse'/>
&nbsp; &nbsp; &nbsp; &nbsp; <feature var='jabber:iq:agents'/>
&nbsp; &nbsp; &nbsp; &nbsp; <feature var='jabber:iq:register'/>
&nbsp; &nbsp;   ;  <feature var='jabber:iq:time'/>
   ; &nbsp; &nbsp; <feature var='jabber:iq:last'/>
   ; &nbsp; &nbsp; <feature var='jabber:iq:version'/>
&nbsp; &nbsp; &nbsp; </disco>
 &nbsp; &nbsp;  <mod_auth_crypt>;
 &nbsp; &nbsp; &nbsp;  <hash&gt;SHA1</hash>
&nbsp; &nbsp;   </mod_auth_crypt&gt;
 &nbsp; &nbsp;  <presence>
&nbsp; &nbsp; &nbsp; &nbsp;   <!-- <bcc>;component.example.com</bcc>; -->
&nbsp;  <!-- <presence2xdb/> -->
&nbsp; &nbsp; &nbsp; </presence>
 &nbsp;  </jsm&gt;
 &nbsp;  <load main="jsm">
   ; &nbsp; <jsm>;/usr/local/lib/libjabberdsm.so&lt;/jsm>
  ; &nbsp;  <mod_stat>/usr/local/lib/libjabberdsm.so</mod_stat>
&nbsp;   ;  <mod_echo>/usr/local/lib/libjabberdsm.so</mod_echo>
&nbsp;   ;  <mod_roster>/usr/local/lib/libjabberdsm.so</mod_roster&gt;
 &nbsp; &nbsp;  <mod_time>/usr/local/lib/libjabberdsm.so</mod_time>
&nbsp;   ;  <mod_vcard>/usr/local/lib/libjabberdsm.so</mod_vcard>
 &nbsp; &nbsp;  <mod_last>/usr/local/lib/libjabberdsm.so</mod_last>
&nbsp;   ;  <mod_version>/usr/local/lib/libjabberdsm.so</mod_version>
   ; &nbsp; <mod_announce>/usr/local/lib/libjabberdsm.so</mod_announce>
&nbsp; &nbsp; &nbsp; <mod_agents>/usr/local/lib/libjabberdsm.so</mod_agents&gt;
 &nbsp; &nbsp;  <mod_browse>/usr/local/lib/libjabberdsm.so</mod_browse&gt;
 &nbsp; &nbsp;  <mod_disco>/usr/local/lib/libjabberdsm.so</mod_disco>
 &nbsp; &nbsp;  <mod_admin>/usr/local/lib/libjabberdsm.so</mod_admin>
 &nbsp; &nbsp;  <mod_offline>/usr/local/lib/libjabberdsm.so</mod_offline>
   ; &nbsp; <mod_presence>/usr/local/lib/libjabberdsm.so</mod_presence>
&nbsp; &nbsp; &nbsp; <mod_auth_digest&gt;/usr/local/lib/libjabberdsm.so&lt;/mod_auth_digest>;
 &nbsp; &nbsp;  <mod_auth_plain>;/usr/local/lib/libjabberdsm.so&lt;/mod_auth_plain>
  ; &nbsp;  <mod_log>/usr/local/lib/libjabberdsm.so</mod_log>
&nbsp; &nbsp; &nbsp; <mod_register>/usr/local/lib/libjabberdsm.so</mod_register>
&nbsp; &nbsp; &nbsp; <mod_xml>/usr/local/lib/libjabberdsm.so</mod_xml>
&nbsp; &nbsp; </load&gt;
  </service>
  <xdb id="xdb"&gt;
 &nbsp;  <host/&gt;
 &nbsp; 
 &nbsp;  <ns/>;
 &nbsp; 
 &nbsp;  <load&gt;
 &nbsp; &nbsp;  <xdb_file>/usr/local/lib/libjabberdxdbfile.so<;/xdb_file&gt;
 &nbsp;  </load&gt;
 &nbsp;  <xdb_file xmlns="jabber:configdb_file"&gt;
 &nbsp; &nbsp;  <spool&gt;<jabberd:cmdline flag='s'&gt;/usr/local/var/spool/jabberd<;/jabberd:cmdline>&lt;/spool&gt;
 &nbsp; &nbsp;  <timeout>3600&lt;/timeout&gt;
 &nbsp;   ; <sizelimit>500000</sizelimit>
&nbsp;   </xdb_file>
&nbsp; </xdb&gt;
  <service id="c2s"&gt;
 &nbsp;  <load&gt;
 &nbsp; &nbsp;  <pthsock_client>;/usr/local/lib/libjabberdpthsock.so</pthsock_client>
   ; </load&gt;
 &nbsp;  <pthcsock xmlns='jabber:config:pth-csock'&gt;
 &nbsp;   ; <authtime>120&lt;/authtime>
   ; &nbsp; <heartbeat>60&lt;/heartbeat>
 ; &nbsp; &nbsp; <karma&gt;
 &nbsp;   ; &nbsp; <init&gt;10</init>
&nbsp; &nbsp; &nbsp; &nbsp; <max>;10</max>
   ; &nbsp; &nbsp; <inc>;1</inc&gt;
 &nbsp;   ; &nbsp; <dec>;1</dec&gt;
 &nbsp;   ; &nbsp; <penalty>-6</penalty>;
 &nbsp; &nbsp; &nbsp;  <restore>10</restore>;
 &nbsp; &nbsp;  </karma>
 &nbsp; &nbsp;  <ip port="5222"/>
 &nbsp;  </pthcsock>
&nbsp; </service>
  <log id='elogger'>
&nbsp; &nbsp; <host/&gt;
 &nbsp;  <logtype/>
&nbsp; &nbsp; <format>%d: [%t] (%h): %s</format>
&nbsp; &nbsp; <file&gt;/usr/local/var/log/jabberd/error.log</file>
&nbsp; &nbsp; <stderr/>
 ; </log&gt;
  <log id='rlogger'>
&nbsp; &nbsp; <host/&gt;
 &nbsp;  <logtype>record</logtype>
 ; &nbsp; <format>%d %h %s</format>
&nbsp; &nbsp; <file&gt;/usr/local/var/log/jabberd/record.log</file>
&nbsp; </log&gt;
  <service id="dnsrv">
   ; <host/&gt;
 &nbsp;  <load&gt;
 &nbsp; &nbsp;  <dnsrv&gt;/usr/local/lib/libjabberddnsrv.so</dnsrv>
&nbsp; &nbsp; </load&gt;
 &nbsp;  <dnsrv xmlns="jabber:config:dnsrv">
  ;   <resend service="_xmpp-server._tcp">s2s</resend>
 &nbsp;   <resend service="_jabber._tcp">s2s<;/resend>;
 &nbsp;   <resend>s2s</resend>
&nbsp; &nbsp; </dnsrv>
  </service>
  <service id="s2s"&gt;
 &nbsp;  <load&gt;
 &nbsp; &nbsp;  <dialback>/usr/local/lib/libjabberddialback.so&lt;/dialback>
   ; </load&gt;
 &nbsp;  <dialback xmlns='jabber:config:dialback'&gt;
 &nbsp; &nbsp;  <ip port="5269"/>
&nbsp; &nbsp; &nbsp; <karma&gt;
 &nbsp;   ; &nbsp; <init&gt;50</init>
&nbsp; &nbsp; &nbsp; &nbsp; <max>;50</max>
   ; &nbsp; &nbsp; <inc>;4</inc&gt;
 &nbsp;   ; &nbsp; <dec>;1</dec&gt;
 &nbsp;   ; &nbsp; <penalty>-5</penalty>;
 &nbsp; &nbsp; &nbsp;  <restore>50</restore>;
 &nbsp; &nbsp;  </karma>
   ; </dialback>
&nbsp; </service>
  <service id="update.jabber.org">
 ; &nbsp; <host&gt;update.jabber.org<;/host>
  ;  <null/&gt;
  </service>
  <service id="yahoo-linker">
 &nbsp;  <host&gt;yahoo.jabberd</host>
 &nbsp;  <accept>
   ; &nbsp; <ip>192.9.200.101</ip&gt;
 &nbsp; &nbsp;  <port&gt;7392</port>
&nbsp; &nbsp;   <secret>secret&lt;/secret&gt;
 &nbsp;  </accept>
 ; </service>
 
  <service id="yahoo.jabberd">;
  <load&gt;<yahoo_transport&gt;/usr/local/jabberd-1.4.4/yahoo/yahoo-transport.so<;/yahoo_transport>&lt;/load>;
  <config xmlns="jabber:config:yahoo">
  ;  <vCard&gt;<NAME>Yahoo! GAteway<;/NAME>&lt;/vCard&gt;
 &nbsp;  <instructions>Insert Y! username and password&lt;/instructions>
&nbsp; &nbsp; <server>scs.msg.yahoo.com&lt;/server&gt;
 &nbsp;  <port&gt;5050</port>
&nbsp; &nbsp; <charmap>CP1252</charmap>
 ; </config>
 ; </service>
  <io>
 &nbsp;  <rate points="5" time="25"/>
   ; <streamconf>
&nbsp; &nbsp;   <default type='s2s'>
   ; &nbsp; &nbsp; <stream-from/>
  ; &nbsp;  </default>
&nbsp; &nbsp; </streamconf>
&nbsp;   <bounce>http://www.example.com/</bounce>
&nbsp; </io>;
  <debug&gt;
 &nbsp;   ; <mask&gt;0</mask>
 ; </debug>
  <pidfile>/usr/local/var/run/jabberd/jabber.pid&lt;/pidfile&gt;

</jabber>
-------------------------------------------------


Have a burning question? Go to Yahoo! Answers and get answers from real people who know.
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )