CF-Talk-list@houseoffusion.com

2002-11-28 Thread Stephen Richards
| Subject: RE: CF server hangng with unresponsive threads
|
|
| Stephen, are you using Application, Server and/or Session
| scoped variables in your application?
|
| Kind Regards - Mike Brunt, CTO
| Webapper

We are using Session variables, but they are all safely written and read
under lock.


-
Stephen Richards
020 7903 3226
--




Re: CFJava - SOLVED!! (maybe)

2002-11-28 Thread Dick Applebaum
Rob

Your latest code, and the first example both contained:

manager.registerScriptingEngine("javascript","com.ibm.bsf.engines.javasc 
ript
JavaScriptEngine",extensions);

This was supposed to be a single line with a (.) separating the 2  
wrapped
portions, the statement is:

manager.registerScriptingEngine

("javascript","com.ibm.bsf.engines.javascript.JavaScriptEngine",extensio 
ns);

Once this was fixed, both examples run fine!

I should have taken more time to actually read the code...Doh!


So, with BSF, we can run inline Srever-Side JavaScript, and  
(apparently) a few other scripting languages!

This is good!

Can this be used to run inline Java -- I will do some reading.

I did a table of contents dump of the bsf.jar file & it included the  
following classes that look promising:

  com/ibm/bsf/engines/java/JavaEngine$1.class
  com/ibm/bsf/engines/java/JavaEngine$GeneratedFile.class
  com/ibm/bsf/engines/java/JavaEngine.class
  com/ibm/bsf/engines/javaclass/JavaClassEngine.class

Dick


On Wednesday, November 27, 2002, at 04:45 PM, Rob Rohan wrote:

> Lastly (then I'll stop and wait till I get home) when I do this
>
>  (see fun sample code  
> below)
>
> I show com.ibm.bsf.engines.javascript.JavaScriptEngine Which seem to
> indicate it is *not* a com object. :) So after some Linux tests I'll  
> write
> back.
>
> to be continued...
>
>
> Rob

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Re: about cfTransactions

2002-11-28 Thread Jochem van Dieten
Brian Scandale wrote:

> What are others doing to work across multiple pages in a runtime 
> determined order.

The only thing we can: redesign.

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



OT :CF4.5 + multiple java.exe processes on port 2525

2002-11-28 Thread webguy
Hi,

I have a CF4.5  server /win2k , which seems to multiple java.exe processes
running on port 2525. (task manager + psview) The are no java calls in the
CF, the are no java cfxs, and the jvm is not set to start on server start.

Anyone got any ideas?  How does one check what program is creating the java
processes?

I'll recycle the cfserver processes and see what happens.

wg

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Request Timeout

2002-11-28 Thread Brook Davies
If you are using CFMX, you would put this is your application file or 
individual template:



I think this is a much better implementation of the timeout setting than 
prior versions of CF.

Brook

At 11:03 PM 27/11/02 -0800, you wrote:
>You can do this up to CF 5.  You cannot do this using CFMX.
>
>
>Paul Kenney
>[EMAIL PROTECTED]
>
>
> > -Original Message-
> > From: Dave Carabetta [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 27, 2002 10:49 PM
> > To: CF-Talk
> > Subject: Re: Request Timeout
> >
> >
> > > How do I set application wide though without updating
> > hundreds of these
> > > darned includes...etccan't I set something in
> > application file as
> > > this is a shared hosting account and cant set administratively.
> > >
> >
> > This is off the top of my head, but could you do a check for a
> > cgi.query_string length in the Application.cfm and append the
> > RequestTimeout
> > there, like so:
> >
> > 
> >   
> > 
> >   
> > 
> >
> > cgi.query_string is available on every page, so that should
> > work. Haven't
> > tested it though.
> >
> > Hope this helps,
> > Dave.
> >
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Studio (RDS)

2002-11-28 Thread Shahzad.Butt
I've added FTP Server (RUNNING COLDFUSION MX) with Visual Foxpro
Datasource on my Coldfusion Studio. When I go to Databases from my
Coldfusion Studio (4.5). It gives me all tables for each DSN but when I
try to open the table to see columns it gives MX Error in dialog box
saying 'Table fields could not be retrieved due to error1
occurred..'. 

If on same studio I add FTP Server (RUNNING COLDFUSION 5.0), it works
perfect upto column level as well.

Any suggetions?


Shaz


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Ideas for improving this script?

2002-11-28 Thread Ian Vaughan
Hi

Does anybody have any ideas on how to add a third select box to the current
code below which only deals with two select boxes at the moment.  The code
below is taken from
http://www.webtricks.com/sourcecode/source_code.cfm?CodeID=18

It is using Javascript and Coldfusion to build the arrays and would be
interested to know if a third select can be added with the necessary
Coldfusion to add the dynamic capabilities the code below has




SELECT S.State, S.StateCode, AC.AreaCode
  FROM States S, AreaCodes AC
 WHERE S.StateCode=AC.StateCode
 ORDER BY S.State, AC.AreaCode




SELECT AreaCode
  FROM AreaCodes
 ORDER BY AreaCode









   
  State
  Area Code
   
   
  
 
Select State

   #State#

 
  
   
  
 Select Area Code
 
#AreaCode#
 
  
   
   





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Ideas for improving this script?

2002-11-28 Thread webguy
Look at qForms, there is  n-related javascript functions

http://www.pengoworks.com/qForms/docs/examples/n-related_selectboxes.htm

WG

> -Original Message-
> From: Ian Vaughan [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 14:09
> To: CF-Talk
> Subject: Ideas for improving this script?
>
>
> Hi
>
> Does anybody have any ideas on how to add a third select box to
> the current
> code below which only deals with two select boxes at the moment.  The code
> below is taken from
> http://www.webtricks.com/sourcecode/source_code.cfm?CodeID=18
>
> It is using Javascript and Coldfusion to build the arrays and would be
> interested to know if a third select can be added with the necessary
> Coldfusion to add the dynamic capabilities the code below has
>
>
> 
> 
> SELECT S.State, S.StateCode, AC.AreaCode
>   FROM States S, AreaCodes AC
>  WHERE S.StateCode=AC.StateCode
>  ORDER BY S.State, AC.AreaCode
> 
>
> 
> 
> SELECT AreaCode
>   FROM AreaCodes
>  ORDER BY AreaCode
> 
>
> 
> 
> 
>
> 
> 
> 
>
>   State
>   Area Code
>
>
>   
>  
> Select State
> 
>#State#
> 
>  
>   
>
>   
>  Select Area Code
>  
> #AreaCode#
>  
>   
>
>
> 
> 
> 
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: Ideas for improving this script?

2002-11-28 Thread Ian Vaughan
Yes, I can see that, but if you look at Selene's script the actual arrays
etc are generated dynamically from the database using Coldfusion.  That is
what I meant by impoving the script , how would you add that functionality
into it?




- Original Message -
From: "webguy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 2:16 PM
Subject: RE: Ideas for improving this script?


> Look at qForms, there is  n-related javascript functions
>
> http://www.pengoworks.com/qForms/docs/examples/n-related_selectboxes.htm
>
> WG
>
> > -Original Message-
> > From: Ian Vaughan [mailto:[EMAIL PROTECTED]]
> > Sent: 28 November 2002 14:09
> > To: CF-Talk
> > Subject: Ideas for improving this script?
> >
> >
> > Hi
> >
> > Does anybody have any ideas on how to add a third select box to
> > the current
> > code below which only deals with two select boxes at the moment.  The
code
> > below is taken from
> > http://www.webtricks.com/sourcecode/source_code.cfm?CodeID=18
> >
> > It is using Javascript and Coldfusion to build the arrays and would be
> > interested to know if a third select can be added with the necessary
> > Coldfusion to add the dynamic capabilities the code below has
> >
> >
> > 
> > 
> > SELECT S.State, S.StateCode, AC.AreaCode
> >   FROM States S, AreaCodes AC
> >  WHERE S.StateCode=AC.StateCode
> >  ORDER BY S.State, AC.AreaCode
> > 
> >
> > 
> > 
> > SELECT AreaCode
> >   FROM AreaCodes
> >  ORDER BY AreaCode
> > 
> >
> > 
> > 
> > 
> >
> > 
> > 
> > 
> >
> >   State
> >   Area Code
> >
> >
> >   
> >  
> > Select State
> > 
> >#State#
> > 
> >  
> >   
> >
> >   
> >  Select Area Code
> >  
> > #AreaCode#
> >  
> >   
> >
> >
> > 
> > 
> > 
> >
> >
> >
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: CFMX Server Crash #4 for the day..

2002-11-28 Thread Jochem van Dieten
Jochem van Dieten wrote:
> 
> Another option would be to try and limit the amount of connections to 
> the database to something less as the restart threshold. Then you would 
> start to see timeouts from queries not being able to get a database 
> connection before the server actually crashes.

To answer this one myself: limit database connections does not function 
correctly. I set it to 3, point the browser to a URL where the query 
takes a few seconds, keep my finger on the refresh button for a while, 
and suddenly I have 10 database connections running. If I understand the 
model correctly, connection pooling is implemented in the J2EE 
Application Server, so that would imply a bug in JRUN.

The scary thing is that everybody who is running a shared database with 
limited client access licenses is easily DoS'ed because 1 customer can 
eat all the licenses. And the only thing you can do about it is lower 
the number of simultaneous running threads, because that will limit the 
number of database connections, but that simply moves the point that 
gets DoS'ed from the database server to the CF MX server.

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Ideas for improving this script?

2002-11-28 Thread webguy
There is a 3 selects related tag on macromedia.com


WG

> -Original Message-
> From: Ian Vaughan [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 14:28
> To: CF-Talk
> Subject: Re: Ideas for improving this script?
>
>
> Yes, I can see that, but if you look at Selene's script the actual arrays
> etc are generated dynamically from the database using Coldfusion.  That is
> what I meant by impoving the script , how would you add that functionality
> into it?
>
>
>
>
> - Original Message -
> From: "webguy" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Thursday, November 28, 2002 2:16 PM
> Subject: RE: Ideas for improving this script?
>
>
> > Look at qForms, there is  n-related javascript functions
> >
> > http://www.pengoworks.com/qForms/docs/examples/n-related_selectboxes.htm
> >
> > WG
> >
> > > -Original Message-
> > > From: Ian Vaughan [mailto:[EMAIL PROTECTED]]
> > > Sent: 28 November 2002 14:09
> > > To: CF-Talk
> > > Subject: Ideas for improving this script?
> > >
> > >
> > > Hi
> > >
> > > Does anybody have any ideas on how to add a third select box to
> > > the current
> > > code below which only deals with two select boxes at the moment.  The
> code
> > > below is taken from
> > > http://www.webtricks.com/sourcecode/source_code.cfm?CodeID=18
> > >
> > > It is using Javascript and Coldfusion to build the arrays and would be
> > > interested to know if a third select can be added with the necessary
> > > Coldfusion to add the dynamic capabilities the code below has
> > >
> > >
> > > 
> > > 
> > > SELECT S.State, S.StateCode, AC.AreaCode
> > >   FROM States S, AreaCodes AC
> > >  WHERE S.StateCode=AC.StateCode
> > >  ORDER BY S.State, AC.AreaCode
> > > 
> > >
> > > 
> > > 
> > > SELECT AreaCode
> > >   FROM AreaCodes
> > >  ORDER BY AreaCode
> > > 
> > >
> > > 
> > > 
> > > 
> > >
> > > 
> > > 
> > > 
> > >
> > >   State
> > >   Area Code
> > >
> > >
> > >   
> > >  
> > > Select State
> > > 
> > >#State#
> > > 
> > >  
> > >   
> > >
> > >   
> > >  Select Area Code
> > >  
> > > #AreaCode#
> > >  
> > >   
> > >
> > >
> > > 
> > > 
> > > 
> > >
> > >
> > >
> >
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



CFMX Service Account permissions

2002-11-28 Thread Brook Davies
I have a question about running the CFMX Service under a non-system 
account. When I try this, I get a Type 2 error and the service will not 
start. The account has log on as a service prvs, access to the CFMX 
directory and the windows directory.

What other permissions do I need to assign? FYI, this is a clean install of 
win2k/sp3.

Brook


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: CFMX Service Account permissions

2002-11-28 Thread Jochem van Dieten
Brook Davies wrote:
> I have a question about running the CFMX Service under a non-system 
> account. When I try this, I get a Type 2 error and the service will not 
> start. The account has log on as a service prvs, access to the CFMX 
> directory and the windows directory.
> 
> What other permissions do I need to assign? FYI, this is a clean install of 
> win2k/sp3.

I'm curently running with:
RX on c:\ (cascading)
FC on %cfusionroot% (cascading)
Change on the webroot (cascading)

I'm sure it can be set tighter though, so it is somewhere in between 
this and what you have.

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: CFMX Server Crash #4 for the day..

2002-11-28 Thread Mike Chambers
Brook,

below is a suggestion passed on to me:

--
Since they are using SQL the timeout attribute is supported in
, it's not in oracle. They should add a timeout to all their
queries. That way if SQL is caught in a deadlock situation SQL will use
that timeout attribute as a timer, and if the query waits that long SQL
will throw and error back to CF, and more important it will hand the
thread back to CF so it can continue handling request.
--

have you tried this?

Also, have you contacted support? I don't want to restart the whole
support thread, but you should get a little more prompt / escelated
support from them.

mike chambers

[EMAIL PROTECTED]


> -Original Message-
> From: Brook Davies [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, November 27, 2002 6:20 PM
> To: CF-Talk
> Subject: Re: CFMX Server Crash #4 for the day..
> 
> 
> I wish it was, but we have only one app on the server, and it 
> does not use 
> session variables and the application var usage has been thoroughly 
> reviewed and the locks appear correct.
> 
> The application vars used by the app are refreshed 
> essentially once a day 
> or when they do not exist (isdefined), these locks would not 
> have been in 
> effect at the time of these crashed. The application vars 
> would have been 
> being read but not written. This is the case throughout the 
> site with no 
> exceptions.
> 
> There are several 3rd party calls, and I had thought 
> initially that this 
> was the problem. But I am not alone with this problem as it 
> seems Tyler is 
> with his "Success" stories. Tyler, do you think every one in 
> this thread 
> has some application issues and that we should all stop 
> blaming CFMX and 
> use your limited success as proof that CFMX works under load?
> 
> http://webforums.macromedia.com/coldfusion/messageview.cfm?cat
> id=143&threadi 
> d=468954
> 
> Brook
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: CFMX Server Crash #4 for the day..

2002-11-28 Thread Brook Davies
I'll try this today and see if it helps - thank you.

At 10:35 AM 28/11/02 -0500, you wrote:
>Brook,
>
>below is a suggestion passed on to me:
>
>--
>Since they are using SQL the timeout attribute is supported in
>, it's not in oracle. They should add a timeout to all their
>queries. That way if SQL is caught in a deadlock situation SQL will use
>that timeout attribute as a timer, and if the query waits that long SQL
>will throw and error back to CF, and more important it will hand the
>thread back to CF so it can continue handling request.
>--
>
>have you tried this?
>
>Also, have you contacted support? I don't want to restart the whole
>support thread, but you should get a little more prompt / escelated
>support from them.
>
>mike chambers
>
>[EMAIL PROTECTED]
>
>
> > -Original Message-
> > From: Brook Davies [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, November 27, 2002 6:20 PM
> > To: CF-Talk
> > Subject: Re: CFMX Server Crash #4 for the day..
> >
> >
> > I wish it was, but we have only one app on the server, and it
> > does not use
> > session variables and the application var usage has been thoroughly
> > reviewed and the locks appear correct.
> >
> > The application vars used by the app are refreshed
> > essentially once a day
> > or when they do not exist (isdefined), these locks would not
> > have been in
> > effect at the time of these crashed. The application vars
> > would have been
> > being read but not written. This is the case throughout the
> > site with no
> > exceptions.
> >
> > There are several 3rd party calls, and I had thought
> > initially that this
> > was the problem. But I am not alone with this problem as it
> > seems Tyler is
> > with his "Success" stories. Tyler, do you think every one in
> > this thread
> > has some application issues and that we should all stop
> > blaming CFMX and
> > use your limited success as proof that CFMX works under load?
> >
> > http://webforums.macromedia.com/coldfusion/messageview.cfm?cat
> > id=143&threadi
> > d=468954
> >
> > Brook
> >
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



CFMX and Multipart Mail

2002-11-28 Thread Brook Davies
Has any one been able to get CFMAIL to send multi-part messages with CFMX. 
I had this working with CF4.5, but the code broke in MX. I have tried 
several different approaches including the one below supplied by Matt 
Robertson of MSB Designs. The other script I had has been posted to this 
list several times and used the same type of setup to send the multi-part 
message:




variables.CleanOutput=ReplaceNoCase(attributes.TaggedInput,"","-","a
ll");
variables.CleanOutput=ReplaceNoCase(variables.CleanOutput,"&","and",
"all");
variables.CleanOutput=ReplaceNoCase(variables.CleanOutput," ","
","all");
variables.CleanOutput=ReplaceNoCase(variables.CleanOutput,"#chr(13)
##chr(10)#","#chr(13)##chr(10)#","all");
variables.CleanOutput=Replace(variables.CleanOutput,"","#chr(13)##ch
r(10)#","all");
variables.CleanOutput=Replace(variables.CleanOutput,"#chr(13)##chr(10)#"
,"#chr(13)##chr(10)##chr(13)##chr(10)#","all");
variables.CleanOutput=ReplaceNoCase(variables.CleanOutput,"","#chr(
13)##chr(10)#","all");
variables.CleanOutput=ReplaceNoCase(variables.CleanOutput,"","#chr(1
3)##chr(10)#","all");
variables.CleanOutput=REReplace(variables.CleanOutput,"<[^>]+>","","all"
);
variables.CleanOutput=REReplace(variables.CleanOutput,"[[:space:]]*#chr(
13)##chr(10)#[[:space:]]*#chr(13)##chr(10)#","#chr(13)##chr(10)##chr(13)
##chr(10)#","all");
variables.Boundary=Replace(CreateUUID(), "-", "", 'all');
variables.ContentType="multipart/alternative; boundary=""#boundary#""";



--#variables.Boundary#
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
#variables.CleanOutput#
--#variables.Boundary#
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
#attributes.TaggedInput#
--#variables.Boundary#--










~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: CFMX Server Crash #4 for the day..

2002-11-28 Thread Jochem van Dieten
Mike Chambers wrote:
> 
> --
> Since they are using SQL the timeout attribute is supported in
> , it's not in oracle. They should add a timeout to all their
> queries. That way if SQL is caught in a deadlock situation SQL will use
> that timeout attribute as a timer, and if the query waits that long SQL
> will throw and error back to CF, and more important it will hand the
> thread back to CF so it can continue handling request.
> --

And how would one do that for the queries for client variables (which 
are handled by CF in the background)?

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: CFMX Server Crash #4 for the day..

2002-11-28 Thread Brook Davies
Ahh, very good question/observation. Because , I have seen a page with no 
queries cause hung threads, and since we are using client var / database 
storage, this could be the culprit.

At 04:40 PM 28/11/02 +0100, you wrote:
>Mike Chambers wrote:
> >
> > --
> > Since they are using SQL the timeout attribute is supported in
> > , it's not in oracle. They should add a timeout to all their
> > queries. That way if SQL is caught in a deadlock situation SQL will use
> > that timeout attribute as a timer, and if the query waits that long SQL
> > will throw and error back to CF, and more important it will hand the
> > thread back to CF so it can continue handling request.
> > --
>
>And how would one do that for the queries for client variables (which
>are handled by CF in the background)?
>
>Jochem
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: CFMX and Multipart Mail

2002-11-28 Thread Howie Hamlin
What do you mean by broken?  Do you get an error or is the email not properly 
formatted?

Regards,

Howie

- Original Message - 
From: "Brook Davies" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 10:39 AM
Subject: CFMX and Multipart Mail


> Has any one been able to get CFMAIL to send multi-part messages with CFMX. 
> I had this working with CF4.5, but the code broke in MX. I have tried 
> several different approaches including the one below supplied by Matt 
> Robertson of MSB Designs. The other script I had has been posted to this 
> list several times and used the same type of setup to send the multi-part 
> message:
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Request Timeout

2002-11-28 Thread Eric Hoffman
On CF 5,  this is the error I get:

An error occurred while evaluating the expression: 


 cgi.query_string = cgi.query_string & "&RequestTimeout=3600"



Error near line 6, column 9.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: CFMX and Multipart Mail

2002-11-28 Thread Brook Davies
Here's my original post which has 2 scripts I tried, both of which worked 
with earlier versions. I also explained briefly what the error results were:

Repost:

Has any one been able to get CFMAIL to send mult-part messages with CFMX? 
MY script was working fine prior to mx, but no more. I've tried the 
following code and neither version works. I end up a jumbled mess in my 
email box with the second script and the mime boundary, text and html 
message displayed in the 1st script. The first script here seems to work a 
bit better than the 2nd - it doesn't complete mangle the content. The 2nd 
one creates many line breaks and seems to also duplicate lines...

BTW, I believe both of these work with earlier versions of CF.

Script 1 (doesn't work - almost...)











#myPlainMsgTop#
#Attributes.body#


#myHTMLMsgTop#
#attributes.html#





Script 2 (really doesn't work)






--#variables.Boundary#
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

#Attributes.body#

--#variables.Boundary#
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

#attributes.html#

--#variables.Boundary#--






~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: CFMX and Multipart Mail

2002-11-28 Thread Howie Hamlin
Yeah, I see - but you don't go into any details - for example, do you get the mail and 
it's not properly formatted?  If
so, then maybe you can post the source of the email...

Regards,

Howie

- Original Message -
From: "Brook Davies" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 11:30 AM
Subject: Re: CFMX and Multipart Mail


> Here's my original post which has 2 scripts I tried, both of which worked
> with earlier versions. I also explained briefly what the error results were:
>
> Repost:


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Parsing for hyperlinks

2002-11-28 Thread Ryan Mitchell
Hello all!

Im looking to parse through a string of text and turn any
http://whatever.com into http://whatever.com";>http://whatever.com, if you know what I
mean!!

Are there any ways to do this?

Ryan

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Request Timeout

2002-11-28 Thread Eric Hoffman
Okay, that last one got cut off...to finish:


Invalid attempt to set a Web parameter


An attempt was made to assign a value to a read-only web parameter.


Any ideas...thanks!

Regards,

Eric J Hoffman
DataStream Connexion
www.datastreamconnexion.com
Delivering Creative Data Solutions 

-Original Message-
From: Eric Hoffman [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 28, 2002 10:22 AM
To: CF-Talk
Subject: RE: Request Timeout


On CF 5,  this is the error I get:

An error occurred while evaluating the expression: 


 cgi.query_string = cgi.query_string & "&RequestTimeout=3600"



Error near line 6, column 9.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Request Timeout

2002-11-28 Thread Brook Davies
You got this error because your were trying to "set" the cgi.query_string 
var - you can not do this. I think you may have to append the 
requesttimeout=500 to each link in your app. You could create a variable 
that contained "requesttimeout=500", and then append that variable to ALL 
of your links...


At 11:01 AM 28/11/02 -0600, you wrote:
>Okay, that last one got cut off...to finish:
>
>
>Invalid attempt to set a Web parameter
>
>
>An attempt was made to assign a value to a read-only web parameter.
>
>
>Any ideas...thanks!
>
>Regards,
>
>Eric J Hoffman
>DataStream Connexion
>www.datastreamconnexion.com
>Delivering Creative Data Solutions
>
>-Original Message-
>From: Eric Hoffman [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 28, 2002 10:22 AM
>To: CF-Talk
>Subject: RE: Request Timeout
>
>
>On CF 5,  this is the error I get:
>
>An error occurred while evaluating the expression:
>
>
>  cgi.query_string = cgi.query_string & "&RequestTimeout=3600"
>
>
>
>Error near line 6, column 9.
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Request Timeout

2002-11-28 Thread Eric Hoffman
I understand...I guess there is no way other than to goto each darned
link in this mess and add the requesttimeout.  G   

Regards,

Eric J Hoffman
DataStream Connexion
www.datastreamconnexion.com
Delivering Creative Data Solutions 

-Original Message-
From: Brook Davies [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 28, 2002 11:08 AM
To: CF-Talk
Subject: RE: Request Timeout


You got this error because your were trying to "set" the
cgi.query_string 
var - you can not do this. I think you may have to append the 
requesttimeout=500 to each link in your app. You could create a variable

that contained "requesttimeout=500", and then append that variable to
ALL 
of your links...


At 11:01 AM 28/11/02 -0600, you wrote:
>Okay, that last one got cut off...to finish:
>
>
>Invalid attempt to set a Web parameter
>
>
>An attempt was made to assign a value to a read-only web parameter.
>
>
>Any ideas...thanks!
>
>Regards,
>
>Eric J Hoffman
>DataStream Connexion
>www.datastreamconnexion.com
>Delivering Creative Data Solutions
>
>-Original Message-
>From: Eric Hoffman [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 28, 2002 10:22 AM
>To: CF-Talk
>Subject: RE: Request Timeout
>
>
>On CF 5,  this is the error I get:
>
>An error occurred while evaluating the expression:
>
>
>  cgi.query_string = cgi.query_string & "&RequestTimeout=3600"
>
>
>
>Error near line 6, column 9.
>
>
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Parsing for hyperlinks

2002-11-28 Thread webguy
There is tag at macromedia.com for this. Its call GetLinks or something
similar. Uses a regex to parse the file.


Also you can use wget to dump the links.

WG

> -Original Message-
> From: Ryan Mitchell [mailto:[EMAIL PROTECTED]]
> Sent: 28 November 2002 17:01
> To: CF-Talk
> Subject: Parsing for hyperlinks
>
>
> Hello all!
>
> Im looking to parse through a string of text and turn any
> http://whatever.com into  href="http://whatever.com";>http://whatever.com, if you know what I
> mean!!
>
> Are there any ways to do this?
>
> Ryan
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



CF support

2002-11-28 Thread Stephen Richards
I have this problem with the CF server hanging three or four time per day.

A couple of you have suggested that unlocked session variables might be the
issue,  and although I'm pretty sure they are all securely locked for
reading and writing I will go through and check them all again.


If that is not the problem. what are the support options for UK based
customers?
-
Stephen Richards
020 7903 3226
--




Re: about cfTransactions

2002-11-28 Thread Brian Scandale
Ouch!
Actually I wasn't clear enough... I meant includes... not pages... and I think I 
worked out a way last night.

At 01:45 AM 11/28/02, you wrote:
>Brian Scandale wrote:
>
>> What are others doing to work across multiple pages in a runtime 
>> determined order.
>
>The only thing we can: redesign.
>
>Jochem
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: CF support

2002-11-28 Thread Michael Dinowitz
Besides MM there are consultants you can call about this. The first thing that a
consultant will probably do is look through your logs to see what templates are
running long (if that option is turned on for your system) and if there are any
errors in the time frame your talking about.
For example, I have a digest function for the lists that runs every hour. I
started getting a machine hang because I was running 36 of them at the same
time. Not smart. I altered it to be staggered and now no problem. You may have a
template or group of templates that take up all of the machine resources at
times as well.


> I have this problem with the CF server hanging three or four time per day.
>
> A couple of you have suggested that unlocked session variables might be the
> issue,  and although I'm pretty sure they are all securely locked for
> reading and writing I will go through and check them all again.
>
>
> If that is not the problem. what are the support options for UK based
> customers?
> -
> Stephen Richards
> 020 7903 3226
> --
>
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: CFMX Service Account permissions

2002-11-28 Thread Lee Fuller
Brook,

I think you need to make sure that the account that you're running under
has full permissions on the \bin directory.  I vaguely
remember having this be an issue with these consequences before.

Of course, as always, I may be wrong! ;)



| -Original Message-
| From: Brook Davies [mailto:[EMAIL PROTECTED]] 
| Sent: Thursday, November 28, 2002 6:46 AM
| To: CF-Talk
| Subject: CFMX Service Account permissions
| 
| 
| I have a question about running the CFMX Service under a non-system 
| account. When I try this, I get a Type 2 error and the 
| service will not 
| start. The account has log on as a service prvs, access to the CFMX 
| directory and the windows directory.
| 
| What other permissions do I need to assign? FYI, this is a 
| clean install of 
| win2k/sp3.
| 
| Brook
| 
| 
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



RE: Request Timeout

2002-11-28 Thread Matt Robertson
Well, you can try this, but its a little crazy.  I'd only pull this if you're 
desperate:

Do what was suggested earlier with regard to auto-building the string... except build 
a *new* one.  Then cflocation ( or, uh, meta-refresh) to that new url.

I haven't spent time considering the ramifications of this, but I know they're 
there just thunk up a way to bypass the read-only var issue.  Some testing would 
definitely be in order.

---
Matt Robertson, MSB Designs, Inc.
http://mysecretbase.com - Retail
http://foohbar.org - ColdFusion Tools
---


-- Original Message --
from: "Eric Hoffman" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Thu, 28 Nov 2002 11:13:38 -0600

>I understand...I guess there is no way other than to goto each darned
>link in this mess and add the requesttimeout.  G   
>
>Regards,
>
>Eric J Hoffman
>DataStream Connexion
>www.datastreamconnexion.com
>Delivering Creative Data Solutions 
>
>-Original Message-
>From: Brook Davies [mailto:[EMAIL PROTECTED]] 
>Sent: Thursday, November 28, 2002 11:08 AM
>To: CF-Talk
>Subject: RE: Request Timeout
>
>
>You got this error because your were trying to "set" the
>cgi.query_string 
>var - you can not do this. I think you may have to append the 
>requesttimeout=500 to each link in your app. You could create a variable
>
>that contained "requesttimeout=500", and then append that variable to
>ALL 
>of your links...
>
>
>At 11:01 AM 28/11/02 -0600, you wrote:
>>Okay, that last one got cut off...to finish:
>>
>>
>>Invalid attempt to set a Web parameter
>>
>>
>>An attempt was made to assign a value to a read-only web parameter.
>>
>>
>>Any ideas...thanks!
>>
>>Regards,
>>
>>Eric J Hoffman
>>DataStream Connexion
>>www.datastreamconnexion.com
>>Delivering Creative Data Solutions
>>
>>-Original Message-
>>From: Eric Hoffman [mailto:[EMAIL PROTECTED]]
>>Sent: Thursday, November 28, 2002 10:22 AM
>>To: CF-Talk
>>Subject: RE: Request Timeout
>>
>>
>>On CF 5,  this is the error I get:
>>
>>An error occurred while evaluating the expression:
>>
>>
>>  cgi.query_string = cgi.query_string & "&RequestTimeout=3600"
>>
>>
>>
>>Error near line 6, column 9.
>>
>>
>>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFMX Server Crash #4 for the day..

2002-11-28 Thread Lee Fuller
Mike,

We have been working with Mike Collins on this.  He has COMPLETE access
to one of our servers that has been experiencing these problems, and is
quite familiar with how we have things setup there.

Just FYI.

Lee


| -Original Message-
| From: Mike Chambers [mailto:[EMAIL PROTECTED]] 
| Sent: Thursday, November 28, 2002 7:35 AM
| To: CF-Talk
| Subject: RE: CFMX Server Crash #4 for the day..
| 
| 
| Brook,
| 
| below is a suggestion passed on to me:
| 
| --
| Since they are using SQL the timeout attribute is supported 
| in , it's not in oracle. They should add a timeout 
| to all their queries. That way if SQL is caught in a deadlock 
| situation SQL will use that timeout attribute as a timer, and 
| if the query waits that long SQL will throw and error back to 
| CF, and more important it will hand the thread back to CF so 
| it can continue handling request.
| --
| 
| have you tried this?
| 
| Also, have you contacted support? I don't want to restart the 
| whole support thread, but you should get a little more prompt 
| / escelated support from them.
| 
| mike chambers
| 
| [EMAIL PROTECTED]
| 
| 
| > -Original Message-
| > From: Brook Davies [mailto:[EMAIL PROTECTED]]
| > Sent: Wednesday, November 27, 2002 6:20 PM
| > To: CF-Talk
| > Subject: Re: CFMX Server Crash #4 for the day..
| > 
| > 
| > I wish it was, but we have only one app on the server, and it
| > does not use 
| > session variables and the application var usage has been thoroughly 
| > reviewed and the locks appear correct.
| > 
| > The application vars used by the app are refreshed
| > essentially once a day 
| > or when they do not exist (isdefined), these locks would not 
| > have been in 
| > effect at the time of these crashed. The application vars 
| > would have been 
| > being read but not written. This is the case throughout the 
| > site with no 
| > exceptions.
| > 
| > There are several 3rd party calls, and I had thought
| > initially that this 
| > was the problem. But I am not alone with this problem as it 
| > seems Tyler is 
| > with his "Success" stories. Tyler, do you think every one in 
| > this thread 
| > has some application issues and that we should all stop 
| > blaming CFMX and 
| > use your limited success as proof that CFMX works under load?
| > 
| > http://webforums.macromedia.com/coldfusion/messageview.cfm?cat
| > id=143&threadi
| > d=468954
| > 
| > Brook
| > 
| 
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFMX Server Crash #4 for the day..

2002-11-28 Thread Lee Fuller
Exactly.  I was just thinking of that after I responded to Mike's
comment.

REALITY:

- CFMX quite simply does not monitor itself and it's
connectivity thoroughly enough.
- It can be easily killed, with improper programming.
- It has less control (via the admin panel) than previous
versions, where it comes to dealing with things like, for example, this
SQL timeout issue.
- They now know about it, and are (more than likely) working
hard now to recode some things, add a few features and tweak yet others
to make the next SP release handle some of this.



AGAIN: (And I repeat this for the benefit of those who see only my
response to one of the many threads on this topic and don't clearly
realize where I, and many others, stand on this issue)  I cannot stress
enough that I am NOT bashing CFMX.  I'm simply pointing out reality, in
the hope that we can continue to utilize this fantastic product in a
true production environment without running the risk of having our
servers die every 10 minutes -- WHICH HAS HAPPENED MANY TIMES.



| And how would one do that for the queries for client variables (which 
| are handled by CF in the background)?

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: CFMX and Multipart Mail

2002-11-28 Thread Matt Robertson
bah.  One of the things I haven't tried yet is mailing under CFMX.  Looks like I 
better add this to the to-do list.  Today, if possible.

---
Matt Robertson, MSB Designs, Inc.
http://mysecretbase.com
---
 
 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: CFMX Server Crash #4 for the day..

2002-11-28 Thread Jochem van Dieten
Lee Fuller wrote:
> 
>   - It has less control (via the admin panel) than previous
> versions, where it comes to dealing with things like, for example, this
> SQL timeout issue.

What could you control in previous versions that you can't control anymore?

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



CFMail (MX Bug)

2002-11-28 Thread Shahzad.Butt
I think it is bug in CF MX. When I try sending mail from PORT 25 it
works but when I specify any other port it doesn't work.
 
It does work with my test server (CF5.0) with any PORT.
 
So I presume its something wrong with MX


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFMail (MX Bug)

2002-11-28 Thread Mike Townend
It's a known issue

http://www.macromedia.com/v1/handlers/index.cfm?ID=23464&Method=Full

HTH



-Original Message-
From: Shahzad.Butt [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 28, 2002 18:02
To: CF-Talk
Subject: CFMail (MX Bug)


I think it is bug in CF MX. When I try sending mail from PORT 25 it
works but when I specify any other port it doesn't work.
 
It does work with my test server (CF5.0) with any PORT.
 
So I presume its something wrong with MX


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the
system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: CFMail (MX Bug)

2002-11-28 Thread Jochem van Dieten
Shahzad.Butt wrote:
> I think it is bug in CF MX. When I try sending mail from PORT 25 it
> works but when I specify any other port it doesn't work.
>  
> It does work with my test server (CF5.0) with any PORT.
>  
> So I presume its something wrong with MX

You forgot to check the list of known issues:
http://www.macromedia.com/v1/Handlers/index.cfm?ID=23464&Method=Full

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFMX Server Crash #4 for the day..

2002-11-28 Thread Lee Fuller
Actually.. I should rephrase that statement... Thanks Jochem.  (I need
to remember to be careful when I state things this way -- since it may
give the wrong impression.)

What I should have said is:

It has more features, yet it does not have the control that is should
over these new features.  Things like monitoring "non-dying" or "out of
control" threads, etc.  Also, vars -- there we a few things in the var
controls on previous versions that is not there now.  I'd have to go
back over my notes to find them.  But there were posts about these not
too long ago.

Sorry for the confusion, and thanks for pointing it out.



| -Original Message-
| From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] 
| Sent: Thursday, November 28, 2002 9:57 AM
| To: CF-Talk
| Subject: Re: CFMX Server Crash #4 for the day..
| 
| 
| Lee Fuller wrote:
| > 
| > - It has less control (via the admin panel) than 
| previous versions, 
| > where it comes to dealing with things like, for example, this SQL 
| > timeout issue.
| 
| What could you control in previous versions that you can't 
| control anymore?
| 
| Jochem
| 
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: Parsing for hyperlinks

2002-11-28 Thread Gyrus
- Original Message -
From: "Ryan Mitchell" <[EMAIL PROTECTED]>
> Im looking to parse through a string of text and turn any
> http://whatever.com into  href="http://whatever.com";>http://whatever.com, if you know what I
> mean!!
---

Try this:


string = REReplace(string,
"(http://[[:alnum:]]+\.[[:alnum:]:;%-_\.\?/=]+)", "\1",
"ALL");


If your mail client underlines that http:// bit of the regexp, it might look
a little confusing. Then again, it might be really confusing anyway! That
string means:

- Find the characters "http://";,
- followed by any number of alphanumeric characters ([[:alnum:]]+),
- followed by a period (\. - the backslash escapes as "." means "any
character" in regexp)
- followed by any number of characters that can be alphanumeric ([:alnum:]),
colons or semicolons, percent signs, dashes, underscores (which might be
masked by mail client underlining), periods (escaped), question marks
(escaped), forward slashes, or equals signs (all the legal URL characters
basically).

Then the backreference \1 is used to repeat the matched URL in the replace
string.

HTH,

Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
PGP key available

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: CFMail (MX Bug)

2002-11-28 Thread Sean A Corfield
On Thursday, Nov 28, 2002, at 10:01 US/Pacific, Shahzad.Butt wrote:
> I think it is bug in CF MX. When I try sending mail from PORT 25 it
> works but when I specify any other port it doesn't work.
>
> It does work with my test server (CF5.0) with any PORT.
>
> So I presume its something wrong with MX

As others noted, it's a known issue. I checked the bugbase and it's 
fixed in the codebase now and looks to be scheduled for release in the 
next updater.

Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.corfield.org/blog/

Introducing Macromedia Contribute. Web publishing for everyone.
Learn more at http://www.macromedia.com/contribute

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: CFMail (MX Bug)

2002-11-28 Thread Brook Davies
I'm trying to set up CFMX and it is not co operating. I have reinstalled it 
3 times already.

I'm running Win2k Sp3 and IIS5.0.

I am getting this error "A dynamic link library (DLL) initialization 
routine failed." when accessing cfm files or I get "500 Internal Server Error".

When I try to remove the connectors (using the bat file), I get this error:

Removed virtual directory JRunScripts for web site "www.lfemail.com" (1)
G e t M D R e c o r d ( E n u m D a t a ) :   e r r o r   i s   E R R O R _ 
P AT H _ N O T _ F O U N D
Removed JRun Connector Filter for web site "www.lfemail.com" (1)
P u t M D R e c o r d ( S e t D a t a ) :   e r r o r   i s   E R R O R _ I 
N VA L I D _ P A R A M E T E R
deleting IIS script maps .cfm,.cfc,.cfml,.jsp,.jws from web site 
"www.lfemail.com" (1)
Press any key to continue . . .

And when I try to install the connectors I get this message:

Found JRun server default at 127.0.0.1:2901
verbose: false
apialloc: false
useIISFilter: true
Internet Information Server (IIS) 5.0 is supported
web server: IIS
useIISFilter: true
web server: IIS
useIISFilter: true
This web server is already configured for JRun.
Press any key to continue . . .

Even though IIS does not have the JrunScripts Dir or the CFM script 
mappings. These errors have happened to me on two different installations 
of the OS (win2k) and 3 installs of CFMX. I'm a little bit at a loss as to 
what is happening here. This is a barnd new server with almost nothing else 
installed on it.

Brook


At 10:30 AM 28/11/02 -0800, you wrote:
>On Thursday, Nov 28, 2002, at 10:01 US/Pacific, Shahzad.Butt wrote:
> > I think it is bug in CF MX. When I try sending mail from PORT 25 it
> > works but when I specify any other port it doesn't work.
> >
> > It does work with my test server (CF5.0) with any PORT.
> >
> > So I presume its something wrong with MX
>
>As others noted, it's a known issue. I checked the bugbase and it's
>fixed in the codebase now and looks to be scheduled for release in the
>next updater.
>
>Sean A Corfield -- Director, Architecture
>Web Technology Group -- Macromedia, Inc.
>tel: (415) 252-2287 -- cell: (415) 717-8473
>aim: seancorfield -- http://www.macromedia.com
>An Architect's View -- http://www.corfield.org/blog/
>
>Introducing Macromedia Contribute. Web publishing for everyone.
>Learn more at http://www.macromedia.com/contribute
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



CFMX Install help needed..

2002-11-28 Thread Brook Davies
One other thing:

I have the website site up and I have given the jrun.dll file permissions 
for the Internet Guest Account. When I do this, I can access a cfm file 
with no login prompt but the server returns a "500 Internal Server Error". 
If I remove the Internet Guest Account from the Jrun.dll, I get a login 
prompt and if I log in as a user, the CFM page executed properly.

I guess the Internet Guest Account must be lacking some permissions 
somewhere. I think I am confused how this works. When I log in as a user, 
does CF still execute within the context of the account the service is 
configured to run under?

Brook


At 11:11 AM 28/11/02 -0800, you wrote:
>I'm trying to set up CFMX and it is not co operating. I have reinstalled it
>3 times already.
>
>I'm running Win2k Sp3 and IIS5.0.
>
>I am getting this error "A dynamic link library (DLL) initialization
>routine failed." when accessing cfm files or I get "500 Internal Server 
>Error".
>
>When I try to remove the connectors (using the bat file), I get this error:
>
>Removed virtual directory JRunScripts for web site "www.lfemail.com" (1)
>G e t M D R e c o r d ( E n u m D a t a ) :   e r r o r   i s   E R R O R _
>P AT H _ N O T _ F O U N D
>Removed JRun Connector Filter for web site "www.lfemail.com" (1)
>P u t M D R e c o r d ( S e t D a t a ) :   e r r o r   i s   E R R O R _ I
>N VA L I D _ P A R A M E T E R
>deleting IIS script maps .cfm,.cfc,.cfml,.jsp,.jws from web site
>"www.lfemail.com" (1)
>Press any key to continue . . .
>
>And when I try to install the connectors I get this message:
>
>Found JRun server default at 127.0.0.1:2901
>verbose: false
>apialloc: false
>useIISFilter: true
>Internet Information Server (IIS) 5.0 is supported
>web server: IIS
>useIISFilter: true
>web server: IIS
>useIISFilter: true
>This web server is already configured for JRun.
>Press any key to continue . . .
>
>Even though IIS does not have the JrunScripts Dir or the CFM script
>mappings. These errors have happened to me on two different installations
>of the OS (win2k) and 3 installs of CFMX. I'm a little bit at a loss as to
>what is happening here. This is a barnd new server with almost nothing else
>installed on it.
>
>Brook
>
>
>At 10:30 AM 28/11/02 -0800, you wrote:
> >On Thursday, Nov 28, 2002, at 10:01 US/Pacific, Shahzad.Butt wrote:
> > > I think it is bug in CF MX. When I try sending mail from PORT 25 it
> > > works but when I specify any other port it doesn't work.
> > >
> > > It does work with my test server (CF5.0) with any PORT.
> > >
> > > So I presume its something wrong with MX
> >
> >As others noted, it's a known issue. I checked the bugbase and it's
> >fixed in the codebase now and looks to be scheduled for release in the
> >next updater.
> >
> >Sean A Corfield -- Director, Architecture
> >Web Technology Group -- Macromedia, Inc.
> >tel: (415) 252-2287 -- cell: (415) 717-8473
> >aim: seancorfield -- http://www.macromedia.com
> >An Architect's View -- http://www.corfield.org/blog/
> >
> >Introducing Macromedia Contribute. Web publishing for everyone.
> >Learn more at http://www.macromedia.com/contribute
> >
> >
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: CFMX Install help needed..

2002-11-28 Thread Brook Davies
I really do not understand what is happening here. I was getting the "500 
Internal Server error" when I tried access a cfm file with the Internet 
Guest Account. I was not getting a prompt or an ACL denied message.

I removed the "Internet User Guest Account" permissions from the Jrun.dll 
file - and now I get a prompt as expected. When I log in as a user (the 
user account has the same permissions on the Jrun.dll as does the Internet 
Guest Account), the cfm page executed correctly.

I then added the "internet Guest account" back to the Jrun.dll - and now I 
get a prompt when I try to access a cfm page! The cfm file itself had the 
Internet Guest Account permissions established and so does the Jrun.dll 
file. I even restarted the CFMX Service.

I've tried practically everything - I've given the Internet Guest Account 
access to the entire CFMX Directory and the entire C Drive. I am at a loss 
as to why this is not working Guess I'll reboot again..

Brook






At 11:19 AM 28/11/02 -0800, you wrote:
>One other thing:
>
>I have the website site up and I have given the jrun.dll file permissions
>for the Internet Guest Account. When I do this, I can access a cfm file
>with no login prompt but the server returns a "500 Internal Server Error".
>If I remove the Internet Guest Account from the Jrun.dll, I get a login
>prompt and if I log in as a user, the CFM page executed properly.
>
>I guess the Internet Guest Account must be lacking some permissions
>somewhere. I think I am confused how this works. When I log in as a user,
>does CF still execute within the context of the account the service is
>configured to run under?
>
>Brook
>
>
>At 11:11 AM 28/11/02 -0800, you wrote:
> >I'm trying to set up CFMX and it is not co operating. I have reinstalled it
> >3 times already.
> >
> >I'm running Win2k Sp3 and IIS5.0.
> >
> >I am getting this error "A dynamic link library (DLL) initialization
> >routine failed." when accessing cfm files or I get "500 Internal Server
> >Error".
> >
> >When I try to remove the connectors (using the bat file), I get this error:
> >
> >Removed virtual directory JRunScripts for web site "www.lfemail.com" (1)
> >G e t M D R e c o r d ( E n u m D a t a ) :   e r r o r   i s   E R R O R _
> >P AT H _ N O T _ F O U N D
> >Removed JRun Connector Filter for web site "www.lfemail.com" (1)
> >P u t M D R e c o r d ( S e t D a t a ) :   e r r o r   i s   E R R O R _ I
> >N VA L I D _ P A R A M E T E R
> >deleting IIS script maps .cfm,.cfc,.cfml,.jsp,.jws from web site
> >"www.lfemail.com" (1)
> >Press any key to continue . . .
> >
> >And when I try to install the connectors I get this message:
> >
> >Found JRun server default at 127.0.0.1:2901
> >verbose: false
> >apialloc: false
> >useIISFilter: true
> >Internet Information Server (IIS) 5.0 is supported
> >web server: IIS
> >useIISFilter: true
> >web server: IIS
> >useIISFilter: true
> >This web server is already configured for JRun.
> >Press any key to continue . . .
> >
> >Even though IIS does not have the JrunScripts Dir or the CFM script
> >mappings. These errors have happened to me on two different installations
> >of the OS (win2k) and 3 installs of CFMX. I'm a little bit at a loss as to
> >what is happening here. This is a barnd new server with almost nothing else
> >installed on it.
> >
> >Brook
> >
> >
> >At 10:30 AM 28/11/02 -0800, you wrote:
> > >On Thursday, Nov 28, 2002, at 10:01 US/Pacific, Shahzad.Butt wrote:
> > > > I think it is bug in CF MX. When I try sending mail from PORT 25 it
> > > > works but when I specify any other port it doesn't work.
> > > >
> > > > It does work with my test server (CF5.0) with any PORT.
> > > >
> > > > So I presume its something wrong with MX
> > >
> > >As others noted, it's a known issue. I checked the bugbase and it's
> > >fixed in the codebase now and looks to be scheduled for release in the
> > >next updater.
> > >
> > >Sean A Corfield -- Director, Architecture
> > >Web Technology Group -- Macromedia, Inc.
> > >tel: (415) 252-2287 -- cell: (415) 717-8473
> > >aim: seancorfield -- http://www.macromedia.com
> > >An Architect's View -- http://www.corfield.org/blog/
> > >
> > >Introducing Macromedia Contribute. Web publishing for everyone.
> > >Learn more at http://www.macromedia.com/contribute
> > >
> > >
> >
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Cannot Connect to Mail Server CF 5

2002-11-28 Thread Paul Giesenhagen
I don't know what has happened, but I have been working on an app that sends out a 
notification (cfmail) and it was running just fine and then all of a sudden, the mail 
stopped coming ...  So I checked into it and the log files say that CF Server can't 
connect to the mail server...

I then went into the CF Admin and verified the mail server and it says it can't 
connect ...  I then put in the mail servers IP address and it connected ... does 
anyone have any ideas why this would all of a sudden stop working when minutes before 
it was working correctly ... (I haven't made any changes to server settings, just 
working on a cf template).

I have also rebooted the machine to just make sure it didn't gack on something.

Any help would be appreciated!

Thank you
Paul Giesenhagen
QuillDesign



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: CFMX Install help needed..

2002-11-28 Thread Brook Davies
I think I may have found the problem. It seems that quite often the 
permissions on files on Windows 2K need to be completely reset, even though 
they appear to have the correct permissions. Resetting permissions may have 
fixed this problem...


At 11:34 AM 28/11/02 -0800, you wrote:
>I really do not understand what is happening here. I was getting the "500
>Internal Server error" when I tried access a cfm file with the Internet
>Guest Account. I was not getting a prompt or an ACL denied message.
>
>I removed the "Internet User Guest Account" permissions from the Jrun.dll
>file - and now I get a prompt as expected. When I log in as a user (the
>user account has the same permissions on the Jrun.dll as does the Internet
>Guest Account), the cfm page executed correctly.
>
>I then added the "internet Guest account" back to the Jrun.dll - and now I
>get a prompt when I try to access a cfm page! The cfm file itself had the
>Internet Guest Account permissions established and so does the Jrun.dll
>file. I even restarted the CFMX Service.
>
>I've tried practically everything - I've given the Internet Guest Account
>access to the entire CFMX Directory and the entire C Drive. I am at a loss
>as to why this is not working Guess I'll reboot again..
>
>Brook
>
>
>
>
>
>
>At 11:19 AM 28/11/02 -0800, you wrote:
> >One other thing:
> >
> >I have the website site up and I have given the jrun.dll file permissions
> >for the Internet Guest Account. When I do this, I can access a cfm file
> >with no login prompt but the server returns a "500 Internal Server Error".
> >If I remove the Internet Guest Account from the Jrun.dll, I get a login
> >prompt and if I log in as a user, the CFM page executed properly.
> >
> >I guess the Internet Guest Account must be lacking some permissions
> >somewhere. I think I am confused how this works. When I log in as a user,
> >does CF still execute within the context of the account the service is
> >configured to run under?
> >
> >Brook
> >
> >
> >At 11:11 AM 28/11/02 -0800, you wrote:
> > >I'm trying to set up CFMX and it is not co operating. I have 
> reinstalled it
> > >3 times already.
> > >
> > >I'm running Win2k Sp3 and IIS5.0.
> > >
> > >I am getting this error "A dynamic link library (DLL) initialization
> > >routine failed." when accessing cfm files or I get "500 Internal Server
> > >Error".
> > >
> > >When I try to remove the connectors (using the bat file), I get this 
> error:
> > >
> > >Removed virtual directory JRunScripts for web site "www.lfemail.com" (1)
> > >G e t M D R e c o r d ( E n u m D a t a ) :   e r r o r   i s   E R R 
> O R _
> > >P AT H _ N O T _ F O U N D
> > >Removed JRun Connector Filter for web site "www.lfemail.com" (1)
> > >P u t M D R e c o r d ( S e t D a t a ) :   e r r o r   i s   E R R O 
> R _ I
> > >N VA L I D _ P A R A M E T E R
> > >deleting IIS script maps .cfm,.cfc,.cfml,.jsp,.jws from web site
> > >"www.lfemail.com" (1)
> > >Press any key to continue . . .
> > >
> > >And when I try to install the connectors I get this message:
> > >
> > >Found JRun server default at 127.0.0.1:2901
> > >verbose: false
> > >apialloc: false
> > >useIISFilter: true
> > >Internet Information Server (IIS) 5.0 is supported
> > >web server: IIS
> > >useIISFilter: true
> > >web server: IIS
> > >useIISFilter: true
> > >This web server is already configured for JRun.
> > >Press any key to continue . . .
> > >
> > >Even though IIS does not have the JrunScripts Dir or the CFM script
> > >mappings. These errors have happened to me on two different installations
> > >of the OS (win2k) and 3 installs of CFMX. I'm a little bit at a loss as to
> > >what is happening here. This is a barnd new server with almost nothing 
> else
> > >installed on it.
> > >
> > >Brook
> > >
> > >
> > >At 10:30 AM 28/11/02 -0800, you wrote:
> > > >On Thursday, Nov 28, 2002, at 10:01 US/Pacific, Shahzad.Butt wrote:
> > > > > I think it is bug in CF MX. When I try sending mail from PORT 25 it
> > > > > works but when I specify any other port it doesn't work.
> > > > >
> > > > > It does work with my test server (CF5.0) with any PORT.
> > > > >
> > > > > So I presume its something wrong with MX
> > > >
> > > >As others noted, it's a known issue. I checked the bugbase and it's
> > > >fixed in the codebase now and looks to be scheduled for release in the
> > > >next updater.
> > > >
> > > >Sean A Corfield -- Director, Architecture
> > > >Web Technology Group -- Macromedia, Inc.
> > > >tel: (415) 252-2287 -- cell: (415) 717-8473
> > > >aim: seancorfield -- http://www.macromedia.com
> > > >An Architect's View -- http://www.corfield.org/blog/
> > > >
> > > >Introducing Macromedia Contribute. Web publishing for everyone.
> > > >Learn more at http://www.macromedia.com/contribute
> > > >
> > > >
> > >
> >
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?me

RE: Cannot Connect to Mail Server CF 5

2002-11-28 Thread Lofback, Chris
Sounds like a DNS problem.  For just this reason, I always use an IP address
for the mail server in CF Admin.

Chris Lofback
Sr. Web Developer

TRX Integration
28051 US 19 N., Ste. C
Clearwater, FL  33761
www.trxi.com


> -Original Message-
> From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 28, 2002 2:44 PM
> To: CF-Talk
> Subject: Cannot Connect to Mail Server CF 5
> 
> 
> I don't know what has happened, but I have been working on an 
> app that sends out a notification (cfmail) and it was running 
> just fine and then all of a sudden, the mail stopped coming 
> ...  So I checked into it and the log files say that CF 
> Server can't connect to the mail server...
> 
> I then went into the CF Admin and verified the mail server 
> and it says it can't connect ...  I then put in the mail 
> servers IP address and it connected ... does anyone have any 
> ideas why this would all of a sudden stop working when 
> minutes before it was working correctly ... (I haven't made 
> any changes to server settings, just working on a cf template).
> 
> I have also rebooted the machine to just make sure it didn't 
> gack on something.
> 
> Any help would be appreciated!
> 
> Thank you
> Paul Giesenhagen
> QuillDesign
> 
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Cannot Connect to Mail Server CF 5

2002-11-28 Thread Jeff Beer
If you get connected with IP and not with machine or domain name, it's a DNS
or WINS error.  You can add an entry into localhosts so it will always
resolve.  Just be sure to update it if that machine's IP ever changes.



-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 2:44 PM
To: CF-Talk
Subject: Cannot Connect to Mail Server CF 5


I don't know what has happened, but I have been working on an app that sends
out a notification (cfmail) and it was running just fine and then all of a
sudden, the mail stopped coming ...  So I checked into it and the log files
say that CF Server can't connect to the mail server...

I then went into the CF Admin and verified the mail server and it says it
can't connect ...  I then put in the mail servers IP address and it
connected ... does anyone have any ideas why this would all of a sudden stop
working when minutes before it was working correctly ... (I haven't made any
changes to server settings, just working on a cf template).

I have also rebooted the machine to just make sure it didn't gack on
something.

Any help would be appreciated!

Thank you
Paul Giesenhagen
QuillDesign




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



CF/PERL Intergration

2002-11-28 Thread David Adams
Does anyone have any good information on working with both CF and PERL?
 
Dave Adams
CFUG Ottawa
 
 
 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFJava - SOLVED!! (maybe)

2002-11-28 Thread Erik Yowell
I think the new home for BSF is at Jakarta

http://jakarta.apache.org/bsf/index.html

Personally, I can't wait to dig into this a bit more.  For instance:
some sort of customizable, basic business rule engine for a CF eCommerce
or CMS app. Recently found some benchmarks that may be of interest to
others, as well:

http://www.javaworld.com/javaworld/jw-04-2002/jw-0405-scripts_p.html

So I guess if you want rock solid performance, Jython or TCL scripts
would be your best bet.

Cheers,

Erik Yowell
[EMAIL PROTECTED]
http://www.shortfusemedia.com


-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, November 27, 2002 7:36 PM
To: CF-Talk
Subject: Re: CFJava - SOLVED!! (maybe)

So CF now has a server side Javascript implementation? :) Taking a look
at the BSF site, it look like the last release was in January of 01
though, or am I looking in the wrong place?

http://www-124.ibm.com/developerworks/projects/bsf

My mind boggles at the possibilities...

-- 
jon
mailto:[EMAIL PROTECTED]

Wednesday, November 27, 2002, 7:45:10 PM, you wrote:

RR> Lastly (then I'll stop and wait till I get home) when I do this

RR>  (see fun sample code
below)

RR> I show com.ibm.bsf.engines.javascript.JavaScriptEngine Which seem to
RR> indicate it is *not* a com object. :) So after some Linux tests I'll
write
RR> back.

RR> to be continued...


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Cannot Connect to Mail Server CF 5

2002-11-28 Thread Jeff Beer
hmm.. I probably should have asked if he's running Windows or *nix before
mentioning wins or localhosts...



-Original Message-
From: Jeff Beer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 2:57 PM
To: CF-Talk
Subject: RE: Cannot Connect to Mail Server CF 5


If you get connected with IP and not with machine or domain name, it's a DNS
or WINS error.  You can add an entry into localhosts so it will always
resolve.  Just be sure to update it if that machine's IP ever changes.



-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 2:44 PM
To: CF-Talk
Subject: Cannot Connect to Mail Server CF 5


I don't know what has happened, but I have been working on an app that sends
out a notification (cfmail) and it was running just fine and then all of a
sudden, the mail stopped coming ...  So I checked into it and the log files
say that CF Server can't connect to the mail server...

I then went into the CF Admin and verified the mail server and it says it
can't connect ...  I then put in the mail servers IP address and it
connected ... does anyone have any ideas why this would all of a sudden stop
working when minutes before it was working correctly ... (I haven't made any
changes to server settings, just working on a cf template).

I have also rebooted the machine to just make sure it didn't gack on
something.

Any help would be appreciated!

Thank you
Paul Giesenhagen
QuillDesign





~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



[SOT] JavaScript interfacing Java methods

2002-11-28 Thread Dick Applebaum
This is indirectly related to CFMX in several ways, here's one.

The CFMX administrator uses a Java applet in several places to browse 
the file structure, for example, mappings.  The applet seems to work 
OK, displaying the directory tree and expanding/collapsing folders.

However, when you hit the "Apply" button to chose the selected 
Directory path, you get the following JavaScript error:

   Error: document.TreeControl.currentPath is not a function
   Source File: 
http://127.0.0.1:8500/CFIDE/administrator/settings/mappings.cfm
   Line: 132

I have shown all the pieces, below.

The trouble does not appear to be with the applet.  Rather, it appears 
that JavaScript is not treating
the method:

   currentPath

in the Java applet as a function.

Since I don't have the source for MM's Java applet, I tried a similar 
construct with Java applets downloaded from several sites (where I did 
have the source).

They all failed on 3 different browsers;  IE 5.2, NN 7.0, Chimera 0.6 
(Mac OS X).

The error is similar to the error in the CFMX Administrator.  
appletname.methodname is not a function.

The method that the JavaScript was trying to invoke was defined in the 
applet similar to (from one applet):

   public void changeString(String aString) {
sText = aString;
repaint();
   }

And the JavaScript statement, causing the error, similar to:

   appletname.changeString('Hello There');

   (where applet was the name from the applet tag).

Apparently, JavaScript has a bug -- but on three different browsers?

Any help will be greatly appreciated!

Dick

Below is the code from the CFMX Administrator Mappings frame.

The relevant parts of the source code are:

The JavaScript function -- the first  statemement in the function 
causes the JavaScript error (unterlined)
 

Re: CF/PERL Intergration

2002-11-28 Thread Dick Applebaum
Have a look at the recent thread:

   CFJava - SOLVED!! (maybe)

On windows, you can communicate between PerlScript, TCL, Python,  
Javascript and Java -- and Bob Rohan appears to have found a way to  
incorporate this into CFMX programs.

HTH

Dick

On Thursday, November 28, 2002, at 12:15 PM, David Adams wrote:

> Does anyone have any good information on working with both CF and PERL?
>
> Dave Adams
> CFUG Ottawa
>
>
>
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



CFX_IMAGE

2002-11-28 Thread Bryan Stevenson
Hey All,

Does anyone have a code snippet showing how to add an image to an existing
image using CFX_IMAGE?

TIA

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: CFJava - SOLVED!! (maybe)

2002-11-28 Thread Dick Applebaum
Mmmm

I just did the strangest thing, and I don't understand all I know about  
it yet.

I was playing around with Rob's technique -- So, I thought I would see  
if I could find some other examples, of BSF.

I found one that uses JavaScript to create a Java Frame (window) with a  
Java button and a Java listener.
When the Java Button is clicked, the Java listener closes the Java  
Frame and writes a message to the console.

So, I incorporated this into a CFMX template using Rob's technique.

I am on a developer CFMX system, so I went to another machine (other  
than the CFMX server) and ran the template.

Sure enough, running the template on the remote client browser, caused  
a Java Frame to open on the Server.

Strangely (at least to me), this Java Frame seemed to belong to the  
CFMX process running on the server.

When I clicked the Java Button in this Java Frame (on the server) it  
terminated CFMX and wrote a message to the CFMX Console log.

I am intrigued!

I was able to run a Java program on the Server, from within CFMX (using  
JavaScript as a surrogate).

And, you can change the JavaScript/Java and it works without recycling  
CFMX.

Anyway, below is the complete program.

Dick

The program - watch for wraps

 
===

f = new java.awt.Frame("JavaScript running in BSF");
bsf.addEventListener (f, "window", "windowClosing",
  "java.lang.System.exit (0);");
b1 = new java.awt.Button("Quit Program!");
bsf.addEventListener(b1, "action", null,
  "quit('JavaScript program says goodbye')");

f.add(b1);
f.pack();
f.show();
f.toFront();

function quit( s ) {
  java.lang.System.out.println( s );
  java.lang.System.exit(0);
}



manager = createObject("java","com.ibm.bsf.BSFManager");

extensions = arrayNew(1);
extensions[1]="js";

   manager.registerScriptingEngine
   ("javascript",
   "com.ibm.bsf.engines.javascript.JavaScriptEngine",extensions);

//Load Javascript engine
jEngine = manager.loadScriptingEngine("javascript");

//Execute an expression.
result = manager.eval("javascript", "testString", 0, 0, cfjava);


Running!

 
=== I think the new home for BSF is at Jakarta
>
> http://jakarta.apache.org/bsf/index.html
>
> Personally, I can't wait to dig into this a bit more.  For instance:
> some sort of customizable, basic business rule engine for a CF  
> eCommerce
> or CMS app. Recently found some benchmarks that may be of interest to
> others, as well:
>
> http://www.javaworld.com/javaworld/jw-04-2002/jw-0405-scripts_p.html
>
> So I guess if you want rock solid performance, Jython or TCL scripts
> would be your best bet.
>
> Cheers,
>
> Erik Yowell
> [EMAIL PROTECTED]
> http://www.shortfusemedia.com
>
>
> -Original Message-
> From: Jon Hall [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 7:36 PM
> To: CF-Talk
> Subject: Re: CFJava - SOLVED!! (maybe)
>
> So CF now has a server side Javascript implementation? :) Taking a look
> at the BSF site, it look like the last release was in January of 01
> though, or am I looking in the wrong place?
>
> http://www-124.ibm.com/developerworks/projects/bsf
>
> My mind boggles at the possibilities...
>
> -- 
> jon
> mailto:[EMAIL PROTECTED]
>
> Wednesday, November 27, 2002, 7:45:10 PM, you wrote:
>
> RR> Lastly (then I'll stop and wait till I get home) when I do this
>
> RR>  (see fun sample code
> below)
>
> RR> I show com.ibm.bsf.engines.javascript.JavaScriptEngine Which seem  
> to
> RR> indicate it is *not* a com object. :) So after some Linux tests  
> I'll
> write
> RR> back.
>
> RR> to be continued...
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



CFMX Install oddities

2002-11-28 Thread Brook Davies
Okay, everything was finally working. Then I changed the password the 
cfaccount is running under. And now all of the cfm pages return a page with 
only this:How did that happen? The request cfm template has code in it, 
but all I get is a blank page! Anyone seen this before? Brook

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



[Repost] Re: CFJava - SOLVED!! (maybe)

2002-11-28 Thread Dick Applebaum
Here's the code with out the extraneous characters:



   f = new java.awt.Frame("JavaScript running in BSF");
   bsf.addEventListener (f, "window", "windowClosing",
     "java.lang.System.exit (0);");
   b1 = new java.awt.Button("Quit Program!");
   bsf.addEventListener(b1, "action", null,
 "quit('JavaScript program says goodbye')");

   f.add(b1);
   f.pack();
   f.show();
   f.toFront();

   function quit( s ) {
 java.lang.System.out.println( s );
     java.lang.System.exit(0);
   }



   manager = createObject("java","com.ibm.bsf.BSFManager");

   extensions = arrayNew(1);
   extensions[1]="js";

   manager.registerScriptingEngine
   ("javascript",
   "com.ibm.bsf.engines.javascript.JavaScriptEngine",extensions);

   //Load Javascript engine
   jEngine = manager.loadScriptingEngine("javascript");

   //Execute an expression.
   result = manager.eval("javascript", "testString", 0, 0, cfjava);


Running!



On Thursday, November 28, 2002, at 01:49 PM, Dick Applebaum wrote:

> Mmmm
>
> I just did the strangest thing, and I don't understand all I know about
> it yet.
>
> I was playing around with Rob's technique -- So, I thought I would see
> if I could find some other examples, of BSF.
>
> I found one that uses JavaScript to create a Java Frame (window) with a
> Java button and a Java listener.
> When the Java Button is clicked, the Java listener closes the Java
> Frame and writes a message to the console.
>
> So, I incorporated this into a CFMX template using Rob's technique.
>
> I am on a developer CFMX system, so I went to another machine (other
> than the CFMX server) and ran the template.
>
> Sure enough, running the template on the remote client browser, caused
> a Java Frame to open on the Server.
>
> Strangely (at least to me), this Java Frame seemed to belong to the
> CFMX process running on the server.
>
> When I clicked the Java Button in this Java Frame (on the server) it
> terminated CFMX and wrote a message to the CFMX Console log.
>
> I am intrigued!
>
> I was able to run a Java program on the Server, from within CFMX (using
> JavaScript as a surrogate).
>
> And, you can change the JavaScript/Java and it works without recycling
> CFMX.
>
> Anyway, below is the complete program.
>
> Dick
>
> The program - watch for wraps
>
> === 
> =
> ===
> 
>
>   f = new java.awt.Frame("JavaScript running in BSF");
>   bsf.addEventListener (f, "window", "windowClosing",
>   ††"java.lang.System.exit (0);");
>   b1 = new java.awt.Button("Quit Program!");
>   bsf.addEventListener(b1, "action", null,
> "quit('JavaScript program says goodbye')");
>   
>   f.add(b1);
>   f.pack();
>   f.show();
>   f.toFront();
>   
>   function quit( s ) {
> java.lang.System.out.println( s );
>   ††java.lang.System.exit(0);
>   }
> 
>
> 
>   manager = createObject("java","com.ibm.bsf.BSFManager");
>
>   extensions = arrayNew(1);
>   extensions[1]="js";
>
>manager.registerScriptingEngine
>("javascript",
>"com.ibm.bsf.engines.javascript.JavaScriptEngine",extensions);
>
>   //Load Javascript engine
>   jEngine = manager.loadScriptingEngine("javascript");
>
>   //Execute an expression.
>   result = manager.eval("javascript", "testString", 0, 0, cfjava);
> 
> 
> Running!
>
> === 
> =
> ===
> On Thursday, November 28, 2002, at 12:23 PM, Erik Yowell wrote:
>
>> I think the new home for BSF is at Jakarta
>>
>> http://jakarta.apache.org/bsf/index.html
>>
>> Personally, I can't wait to dig into this a bit more.  For instance:
>> some sort of customizable, basic business rule engine for a CF
>> eCommerce
>> or CMS app. Recently found some benchmarks that may be of interest to
>> others, as well:
>>
>> http://www.javaworld.com/javaworld/jw-04-2002/jw-0405-scripts_p.html
>>
>> So I guess if you want rock solid performance, Jython or TCL scripts
>> would be your best bet.
>>
>> Cheers,
>>
>> Erik Yowell
>> [EMAIL PROTECTED]
>> http://www.shortfusemedia.com
>>
>>
>> -Original Message-
>> From: Jon Hall [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, November 27, 2002 7:36 PM
>> To: CF-Talk
>> Subject: Re: CFJava - SOLVED!! (maybe)
>>
>> So CF now has a server side Javascript implementation? :) Taking a  
>> look
>> at the BSF site, it look like the last release was in January of 01
>> though, or am I looking in the wrong place?
>>
>> http://www-124.ibm.com/developerworks/projects/bsf
>>
>> My mind boggles at the possibilities...
>>
>> -- 
>> jon
>> mailto:[EMAIL PROTECTED]
>>
>> Wednesday, November 27, 2002, 7:45:10 PM, you wrote:
>>
>> RR> Lastly (then I'll stop and wait till I get home) when I do this
>>
>> RR>  (see fun sample  
>> code
>> below)
>>
>> RR> I show com.ibm.bsf.engines.javascript.JavaScriptEngine Which seem
>

RE: CFJava - SOLVED!! (maybe)

2002-11-28 Thread Erik Yowell
I'll leave this for all before I go out and eat too much. Without
importation of the BSF Lib and your every day install of CFMX:


oContextObject = CreateObject("java","org.mozilla.javascript.Context");
oContextDump = oContextObject.init();



All sorts of little gems hidden in CFMX I believe.

Erik Yowell
[EMAIL PROTECTED]
http://www.shortfusemedia.com


-Original Message-
From: Dick Applebaum [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 28, 2002 1:49 PM
To: CF-Talk
Subject: Re: CFJava - SOLVED!! (maybe)

Mmmm

I just did the strangest thing, and I don't understand all I know about

it yet.

I was playing around with Rob's technique -- So, I thought I would see  
if I could find some other examples, of BSF.

I found one that uses JavaScript to create a Java Frame (window) with a

Java button and a Java listener.
When the Java Button is clicked, the Java listener closes the Java  
Frame and writes a message to the console.

So, I incorporated this into a CFMX template using Rob's technique.

I am on a developer CFMX system, so I went to another machine (other  
than the CFMX server) and ran the template.

Sure enough, running the template on the remote client browser, caused  
a Java Frame to open on the Server.

Strangely (at least to me), this Java Frame seemed to belong to the  
CFMX process running on the server.

When I clicked the Java Button in this Java Frame (on the server) it  
terminated CFMX and wrote a message to the CFMX Console log.

I am intrigued!

I was able to run a Java program on the Server, from within CFMX (using

JavaScript as a surrogate).

And, you can change the JavaScript/Java and it works without recycling  
CFMX.

Anyway, below is the complete program.

Dick

The program - watch for wraps



===

f = new java.awt.Frame("JavaScript running in BSF");
bsf.addEventListener (f, "window", "windowClosing",
  "java.lang.System.exit (0);");
b1 = new java.awt.Button("Quit Program!");
bsf.addEventListener(b1, "action", null,
  "quit('JavaScript program says goodbye')");

f.add(b1);
f.pack();
f.show();
f.toFront();

function quit( s ) {
  java.lang.System.out.println( s );
  java.lang.System.exit(0);
}



manager = createObject("java","com.ibm.bsf.BSFManager");

extensions = arrayNew(1);
extensions[1]="js";

   manager.registerScriptingEngine
   ("javascript",
   "com.ibm.bsf.engines.javascript.JavaScriptEngine",extensions);

//Load Javascript engine
jEngine = manager.loadScriptingEngine("javascript");

//Execute an expression.
result = manager.eval("javascript", "testString", 0, 0, cfjava);


Running!



=== I think the new home for BSF is at Jakarta
>
> http://jakarta.apache.org/bsf/index.html
>
> Personally, I can't wait to dig into this a bit more.  For instance:
> some sort of customizable, basic business rule engine for a CF  
> eCommerce
> or CMS app. Recently found some benchmarks that may be of interest to
> others, as well:
>
> http://www.javaworld.com/javaworld/jw-04-2002/jw-0405-scripts_p.html
>
> So I guess if you want rock solid performance, Jython or TCL scripts
> would be your best bet.
>
> Cheers,
>
> Erik Yowell
> [EMAIL PROTECTED]
> http://www.shortfusemedia.com
>
>
> -Original Message-
> From: Jon Hall [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 27, 2002 7:36 PM
> To: CF-Talk
> Subject: Re: CFJava - SOLVED!! (maybe)
>
> So CF now has a server side Javascript implementation? :) Taking a
look
> at the BSF site, it look like the last release was in January of 01
> though, or am I looking in the wrong place?
>
> http://www-124.ibm.com/developerworks/projects/bsf
>
> My mind boggles at the possibilities...
>
> -- 
> jon
> mailto:[EMAIL PROTECTED]
>
> Wednesday, November 27, 2002, 7:45:10 PM, you wrote:
>
> RR> Lastly (then I'll stop and wait till I get home) when I do this
>
> RR>  (see fun sample
code
> below)
>
> RR> I show com.ibm.bsf.engines.javascript.JavaScriptEngine Which seem

> to
> RR> indicate it is *not* a com object. :) So after some Linux tests  
> I'll
> write
> RR> back.
>
> RR> to be continued...
>
>
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: CFMX Install oddities

2002-11-28 Thread Jochem van Dieten
Brook Davies wrote:
> Okay, everything was finally working. Then I changed the password the 
> cfaccount is running under. And now all of the cfm pages return a page with 
> only this:How did that happen? The request cfm template has code in it, 
> but all I get is a blank page! Anyone seen this before?

Did you change the password in the services window as well?

Jochem

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



[Re-Repost] Re: CFJava - SOLVED!! (maybe)

2002-11-28 Thread Dick Applebaum
Sorry, one more time:



   f = new java.awt.Frame("JavaScript running in BSF");
   bsf.addEventListener (f, "window", "windowClosing",
 "java.lang.System.exit (0);");
   b1 = new java.awt.Button("Quit Program!");
   bsf.addEventListener(b1, "action", null,
 "quit('JavaScript program says goodbye')");

   f.add(b1);
   f.pack();
   f.show();
   f.toFront();

   function quit( s ) {
 java.lang.System.out.println( s );
     java.lang.System.exit(0);
   }



   manager = createObject("java","com.ibm.bsf.BSFManager");

   extensions = arrayNew(1);
   extensions[1]="js";

   manager.registerScriptingEngine
   ("javascript",
   "com.ibm.bsf.engines.javascript.JavaScriptEngine",extensions);

   //Load Javascript engine
   jEngine = manager.loadScriptingEngine("javascript");

   //Execute an expression.
   result = manager.eval("javascript", "testString", 0, 0, cfjava);


Running!

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



SOLVED: Re: CFX_IMAGE

2002-11-28 Thread Bryan Stevenson
Well...nobody responded, but I got it sorted out ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.com
-
Vancouver Island ColdFusion Users Group
Founder & Director
www.cfug-vancouverisland.com
- Original Message -
From: "Bryan Stevenson" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 1:30 PM
Subject: CFX_IMAGE


> Hey All,
>
> Does anyone have a code snippet showing how to add an image to an existing
> image using CFX_IMAGE?
>
> TIA
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> t. 250.920.8830
> e. [EMAIL PROTECTED]
>
> -
> Macromedia Associate Partner
> www.macromedia.com
> -
> Vancouver Island ColdFusion Users Group
> Founder & Director
> www.cfug-vancouverisland.com
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: CFMX Install oddities

2002-11-28 Thread Brook Davies
Yeah, the service is running and starts fine. Pages are return blank. What 
could possibly cause that I wonder?

At 11:07 PM 28/11/02 +0100, you wrote:
>Brook Davies wrote:
> > Okay, everything was finally working. Then I changed the password the
> > cfaccount is running under. And now all of the cfm pages return a page 
> with
> > only this:How did that happen? The request cfm template has code in 
> it,
> > but all I get is a blank page! Anyone seen this before?
>
>Did you change the password in the services window as well?
>
>Jochem
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: CFMX Install oddities

2002-11-28 Thread Brook Davies
BTW, even the cfadmin pages return this blank page...

At 03:18 PM 28/11/02 -0800, you wrote:
>Yeah, the service is running and starts fine. Pages are return blank. What
>could possibly cause that I wonder?
>
>At 11:07 PM 28/11/02 +0100, you wrote:
> >Brook Davies wrote:
> > > Okay, everything was finally working. Then I changed the password the
> > > cfaccount is running under. And now all of the cfm pages return a page
> > with
> > > only this:How did that happen? The request cfm template has code in
> > it,
> > > but all I get is a blank page! Anyone seen this before?
> >
> >Did you change the password in the services window as well?
> >
> >Jochem
> >
> >
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: CFMX Install oddities

2002-11-28 Thread Brook Davies
Okay - If I change the CF Service account back to localSystem - everything 
works. When I run it under the user account all I get are blank pages. Has 
anyone seen this before? Hows the Turkey?

At 03:21 PM 28/11/02 -0800, you wrote:
>BTW, even the cfadmin pages return this blank page...
>
>At 03:18 PM 28/11/02 -0800, you wrote:
> >Yeah, the service is running and starts fine. Pages are return blank. What
> >could possibly cause that I wonder?
> >
> >At 11:07 PM 28/11/02 +0100, you wrote:
> > >Brook Davies wrote:
> > > > Okay, everything was finally working. Then I changed the password the
> > > > cfaccount is running under. And now all of the cfm pages return a page
> > > with
> > > > only this:How did that happen? The request cfm template has code in
> > > it,
> > > > but all I get is a blank page! Anyone seen this before?
> > >
> > >Did you change the password in the services window as well?
> > >
> > >Jochem
> > >
> > >
> >
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: CFMX Install oddities

2002-11-28 Thread Dick Applebaum
On Thursday, November 28, 2002, at 03:43 PM, Brook Davies wrote:

> Okay - If I change the CF Service account back to localSystem - 
> everything
> works. When I run it under the user account all I get are blank pages. 
> Has
> anyone seen this before? Hows the Turkey?
>
>

It's just you and me, Brook -- an I opted for the traditional Mac & 
Cheese!

Have a good one!

Dick

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Re: CFMX Install oddities

2002-11-28 Thread Brook Davies
Wow - this list must be like 98% American eh? Did you catch that?

Brook

At 03:52 PM 28/11/02 -0800, you wrote:
>On Thursday, November 28, 2002, at 03:43 PM, Brook Davies wrote:
>
> > Okay - If I change the CF Service account back to localSystem -
> > everything
> > works. When I run it under the user account all I get are blank pages.
> > Has
> > anyone seen this before? Hows the Turkey?
> >
> >
>
>It's just you and me, Brook -- an I opted for the traditional Mac &
>Cheese!
>
>Have a good one!
>
>Dick
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



Re: CFMX Install oddities

2002-11-28 Thread Antony Sideropoulos
Sorry to rain on your parade, but there is an Aussie waiting for some CF 
inspiration...

BTW, time zones suck!  I arrive at work with 167 new CF-Talk messages to 
delete.  (I mean, read).

>
>Wow - this list must be like 98% American eh? Did you catch that?
>
>Brook
>
>At 03:52 PM 28/11/02 -0800, you wrote:
> >On Thursday, November 28, 2002, at 03:43 PM, Brook Davies wrote:
> >
> > > Okay - If I change the CF Service account back to localSystem -
> > > everything
> > > works. When I run it under the user account all I get are blank pages.
> > > Has
> > > anyone seen this before? Hows the Turkey?
> > >
> > >
> >
> >It's just you and me, Brook -- an I opted for the traditional Mac &
> >Cheese!
> >
> >Have a good one!
> >
> >Dick
> >
> >
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



RE: Parsing for hyperlinks

2002-11-28 Thread Ryan Mitchell
This is just what im looking for
Thank you!
Ryan

-Original Message-
From: Gyrus [mailto:[EMAIL PROTECTED]] 
Sent: 28 November 2002 18:16
To: CF-Talk
Subject: Re: Parsing for hyperlinks


- Original Message -
From: "Ryan Mitchell" <[EMAIL PROTECTED]>
> Im looking to parse through a string of text and turn any 
> http://whatever.com into  href="http://whatever.com";>http://whatever.com, if you know what I

> mean!!
---

Try this:


string = REReplace(string,
"(http://[[:alnum:]]+\.[[:alnum:]:;%-_\.\?/=]+)", "\1", "ALL"); 

If your mail client underlines that http:// bit of the regexp, it might
look a little confusing. Then again, it might be really confusing
anyway! That string means:

- Find the characters "http://";,
- followed by any number of alphanumeric characters ([[:alnum:]]+),
- followed by a period (\. - the backslash escapes as "." means "any
character" in regexp)
- followed by any number of characters that can be alphanumeric
([:alnum:]), colons or semicolons, percent signs, dashes, underscores
(which might be masked by mail client underlining), periods (escaped),
question marks (escaped), forward slashes, or equals signs (all the
legal URL characters basically).

Then the backreference \1 is used to repeat the matched URL in the
replace string.

HTH,

Gyrus
[EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
PGP key available


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: CFMX Install oddities RESOLVED

2002-11-28 Thread Brook Davies
I changed the password of the account the cfservice was running under and 
all hell broke loose. I ended up deleting the account and adding it back 
in. Re-applied the permissions and everything works. Go figure. That made 
no sense, but was pretty much in line with how my day was going

gooble,gooble





At 03:59 PM 28/11/02 -0800, you wrote:
>Wow - this list must be like 98% American eh? Did you catch that?
>
>Brook
>
>At 03:52 PM 28/11/02 -0800, you wrote:
> >On Thursday, November 28, 2002, at 03:43 PM, Brook Davies wrote:
> >
> > > Okay - If I change the CF Service account back to localSystem -
> > > everything
> > > works. When I run it under the user account all I get are blank pages.
> > > Has
> > > anyone seen this before? Hows the Turkey?
> > >
> > >
> >
> >It's just you and me, Brook -- an I opted for the traditional Mac &
> >Cheese!
> >
> >Have a good one!
> >
> >Dick
> >
> >
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Re: CFMX Install oddities

2002-11-28 Thread Dick Applebaum
Actually, it was Julia Child's famous French recipe for "Pasta Fromage"

Dick

On Thursday, November 28, 2002, at 03:59 PM, Brook Davies wrote:

> Wow - this list must be like 98% American eh? Did you catch that?
>
> Brook
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Random Item Selection

2002-11-28 Thread Scott Wolf
In my database, I have a single table that stores all of the individual items for sale 
on my website.  I have 20 or so different item categories and 6 different individual 
items for each category.  What I would like to do is find a way to have my frontpage 
randomly select an item from each category to display on the front page.  I was 
wondering if anyone knows of a way to do that.  Any help would be greatly appreciated. 
 Thanks!

Scott Wolf
http://www.eatshirt.com

---
WARNING! Some of the shirts on
eatshirt.com are highly offensive.
This is your official warning.  Sure,
you could say that you didn't see
it, but I can prove that I sent it and
that's all that matters legally.  You
now have no right to complain about
the site content. :P
---
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Random Item Selection

2002-11-28 Thread Lee Fuller
Sure..

- Generate a random number between 1 and the number of categories.
Store that in a var, say "myCatNum".
- Generate a random number between 1 and the number of items in the
randomly generated category.  Store that in a var, say "myItemNum"
- Identify (in your db) each category with a number, beginning with 1.
- Identify (in your db) each item in a category with a number, beginning
with 1.
- Create a query that pulls the appropriate item from the appropriate
category.  Something like:

SELECT  whateverfieldyouwant
FROMmyTable
WHERE   categorynumber = #myCatNum# and
itemnumber = #myItemNum#

This, of course, assumes that all items are stored in one table.. Not a
table for each category.

HTH

Lee


| -Original Message-
| From: Scott Wolf [mailto:[EMAIL PROTECTED]] 
| Sent: Thursday, November 28, 2002 5:16 PM
| To: CF-Talk
| Subject: Random Item Selection
| 
| 
| In my database, I have a single table that stores all of the 
| individual items for sale on my website.  I have 20 or so 
| different item categories and 6 different individual items 
| for each category.  What I would like to do is find a way to 
| have my frontpage randomly select an item from each category 
| to display on the front page.  I was wondering if anyone 
| knows of a way to do that.  Any help would be greatly 
| appreciated.  Thanks!
| 
| Scott Wolf
| http://www.eatshirt.com
| 
| ---
| WARNING! Some of the shirts on
| eatshirt.com are highly offensive.
| This is your official warning.  Sure,
| you could say that you didn't see
| it, but I can prove that I sent it and
| that's all that matters legally.  You
| now have no right to complain about
| the site content. :P
| ---
| 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: CFMX and Multipart Mail

2002-11-28 Thread Matt Robertson
There's definitely something in here that CFMX doesn't like.  The script works fine in 
other vers of CF, and I posted it as a freebie 

Below is a sample of what CFMX sends (the .cfmail source).

When viewing the received message on my webmail system, I get normal looking headers, 
with a new one added to the bottom:

Status: U Error Reading Message 

The rest of the message is blank.  When more messages come in (on my web mail system) 
I can't read them.  The next-previously-received msg in the sequence comes up instead. 
A bad terminating char?

I'll look at this further to see if one of my other cfmailparams is conflicting with 
cfmail... just a long shot.  If that doesn't do it I'd call this a bug in cfmail which 
kills multipart/alternative mail.

server:  mail.pacbell.net
port:  25
timeout:  60
from:  [EMAIL PROTECTED]
to:  [EMAIL PROTECTED]
cc:  
bcc:  
subject:  blah blah blah
type:  multipart/alternative
spoolenable:  true
body:  
body:  ---CD6B6C5801050BBB32E7E24F6AE7A765 
body:  Content-Type: text/plain; charset=us-ascii 
body:  Content-Transfer-Encoding: 7bit 
body:  
body:  This is a test.
body:  
body:  this is only a test. 
body:  
body:  ---CD6B6C5801050BBB32E7E24F6AE7A765 
body:  Content-Type: text/html; charset=us-ascii 
body:  Content-Transfer-Encoding: 7bit 
body:  
body:  This is a test.
body:  this is only a test. 
body:  
body:  ---CD6B6C5801050BBB32E7E24F6AE7A765 
mailerid:  ColdFusion MX Application Server


---
Matt Robertson, MSB Designs, Inc.
http://mysecretbase.com - Retail
---


-- Original Message --
from: "Matt Robertson" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
date: Thu, 28 Nov 2002 09:56:11 -0800

>bah.  One of the things I haven't tried yet is mailing under CFMX.  Looks like I 
>better add this to the to-do list.  Today, if possible.
>
>---
>Matt Robertson, MSB Designs, Inc.
>http://mysecretbase.com
>---
> 
> 
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: CFMX and Multipart Mail

2002-11-28 Thread Joel Nath
hi guys,

the following functions works fine.. you might take out the error handling
bit...

sorry about the copy and paste..

ok it works.. fine... BUT.. we have a slight problem in that... when the
user views the email they get a single line of or similar..

"--CD6B6C5801050BBB32E7E24F6AE7A765 "

at the end of the emai...

the way around this is to use the Java function thats available to send out
emails.. rather than you cfmail...:(











 












To: #arguments.to#
CC: #arguments.cc#
From: #arguments.from#
Subject: #arguments.subject#

 Text Message 
#arguments.TextMessage#

 HTML Message 
#arguments.HTMLMessage#

 




--#MIMEboundary#
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

#arguments.TextMessage#

--#MIMEboundary#
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

#arguments.HTMLMessage#

--#MIMEboundary#--















hth
joel

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



File Server and UNC path to cfm files...

2002-11-28 Thread Brook Davies
I'm looking at settings up a load balanced cluster which will read Data 
files from a central file server. I had planned on having the cfm codebase 
installed on both machines but I am wondering if it might make more sense 
to store the cfm files on the fileserver also and have IIS point to the 
networked server for the cfm files. I wonder how this would work. I guess 
CFMX would still generate the class files on the local machine, which would 
mean the central code base would only be used when it was changed. This 
would make it easier to maintain/sync the code across the cluster.

My thoughts are that this might work if I turned on trusted cache but may 
otherwise cause to much unnecessary network traffic. What do you Turkeys think?

Brook


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Posting XML

2002-11-28 Thread Frank Mamone
I am working on an R&D project using WCTP which is an XML specification. Apparently, I 
need to POST the XML using HTTP 1.0 or 1.1. I really don't know what they mean as the 
only posting I know how to do is through a HTML form.

I've read all the documentation and can't find an example of how it's done. Is there a 
way using CFMX or otherwise to post an XML document to a URL without using a form?

Thanks,

Frank


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



RE: Posting XML

2002-11-28 Thread Matthew Walker
Use something like:








> -Original Message-
> From: Frank Mamone [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 29 November 2002 4:33 p.m.
> To: CF-Talk
> Subject: Posting XML
> 
> 
> I am working on an R&D project using WCTP which is an XML 
> specification. Apparently, I need to POST the XML using HTTP 
> 1.0 or 1.1. I really don't know what they mean as the only 
> posting I know how to do is through a HTML form.
> 
> I've read all the documentation and can't find an example of 
> how it's done. Is there a way using CFMX or otherwise to post 
> an XML document to a URL without using a form?
> 
> Thanks,
> 
> Frank
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: Posting XML

2002-11-28 Thread Frank Mamone
Thanks. Works better than a simple form doing the same thing for some
reason!


- Original Message -
From: "Matthew Walker" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, November 28, 2002 10:37 PM
Subject: RE: Posting XML


> Use something like:
>
> 
> 
> 
>
>
>
>
> > -Original Message-
> > From: Frank Mamone [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, 29 November 2002 4:33 p.m.
> > To: CF-Talk
> > Subject: Posting XML
> >
> >
> > I am working on an R&D project using WCTP which is an XML
> > specification. Apparently, I need to POST the XML using HTTP
> > 1.0 or 1.1. I really don't know what they mean as the only
> > posting I know how to do is through a HTML form.
> >
> > I've read all the documentation and can't find an example of
> > how it's done. Is there a way using CFMX or otherwise to post
> > an XML document to a URL without using a form?
> >
> > Thanks,
> >
> > Frank
> >
> >
> >
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm



RE: Posting XML

2002-11-28 Thread Mark A. Kruger - CFG
Some things to watch out for here.  CF encodes form parameters
automatically - which means your content may not be well formed at the other
end.  In addition, this is going to deliver the "content" part of the HTTP
request as:

myXml=...xmlodoc body ... 

That's not well formed XML unless the post handler is expecting the XML to
be stored in the value of a form parameter.

CFMX provides an "xml" type for posting (in CF 5 you are out of luck).  In
my experience it still suffers from the encoding issue. That's why many
folks use other third part Java or COM objects to do XML posting.

-Mark


-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 28, 2002 9:38 PM
To: CF-Talk
Subject: RE: Posting XML


Use something like:








> -Original Message-
> From: Frank Mamone [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 29 November 2002 4:33 p.m.
> To: CF-Talk
> Subject: Posting XML
>
>
> I am working on an R&D project using WCTP which is an XML
> specification. Apparently, I need to POST the XML using HTTP
> 1.0 or 1.1. I really don't know what they mean as the only
> posting I know how to do is through a HTML form.
>
> I've read all the documentation and can't find an example of
> how it's done. Is there a way using CFMX or otherwise to post
> an XML document to a URL without using a form?
>
> Thanks,
>
> Frank
>
>
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: comparing with memofields in CF

2002-11-28 Thread Peter Mayer
Uwe,

you might want to add a trim to both strings so that additional spaces are 

excluded. On the other hand I think "is" or "compare" are working 
correctly, so I suggest you to  both strings in order to check 
out their content (maybe value_a is empty or such a thing).

Best regards,

Peter


Orginale Nachricht
Von: [EMAIL PROTECTED]
Betreff: comparing with memofields in CF
Datum/Zeit: Thursday, 28. November 2002 00:02:35 

> Hi list, is there a way to compare
> a memo field with another
> memo field or a plain textstring inside a databasetable's field ?
> We tried it like
> 
> But unfortunately it is never true.
> Uwe
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm