Absolutely Stumped - Reallu Urgent

2008-10-23 Thread Toby King
Hi there

I have a really tricky task to try and complete.

I have been handed an application to build an integration from the CF 
application to a CRM application.

Basically here is what I am trying to do


Basically I have a form which has been created

Collects data from a user - namely First Name, Postcode, Email Address, 
Favourite Hair Colour with four possible selections, and also a check box - Do 
you like icecream (yep I know very complicate.

I want to capture this information and integrate the answers with the CRM.

I have some sample code (from .Net I think but have no idea what it is trying 
to do.

Hoping someone might be able to shed some light onto how I convert the .Net 
code to CF.

Here is the code below:

Imports Traction.Integration
Imports Traction.Integration.DataObjects
Imports Traction.Integration.Result
Imports Traction.Integration.TractionTypes.CustomerAttributes
Imports Traction.Integration.TractionTypes.CustomerAttributes.Default
Imports Traction.Integration.Result.Errors


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As 
System.EventArgs) Handles Button1.Click
'instantiate a new SurveyDataObject using the web.config configuration 
MySurvey1
Dim SurveyResponse As New SurveyDataObject(MySurvey1)

With SurveyResponse

'customer details
With .Customer
'default attributes
.FirstName.Value = txtFirstName.Text
.Email.Value = txtEmail.Text

'custom attributes are pre-defined in the web.config 
configuration;
'in this case there is only one custom attribute (postcode), 
which is a text attribute
CType(.CustomAttributes(0), TextCustomerAttribute).Value = 
txtPostcode.Text

'validate and handle any errors before posting to Traction
If .Validate.Length  0 Then
'pre-post error handling if the Validate method returns any 
errors
End If

End With


'match key is email
.MatchKey = 
TractionTypes.Enumerations.Traction_MatchKeyEnumeration.E
.MatchValue = txtEmail.Text

'survey responses:

'list boxes and dropdown boxes should return the sequential option 
number per Traction,
'not the option text
.Questions(0).Answer = lbxHairColour.SelectedValue  'e.g. 2, not 
Brunette

'check boxes should return the string representation of the Checked 
boolean property
.Questions(1).Answer = cbxIceCream.Checked.ToString 'e.g. True

End With

'perform the post
Dim MyResult As SurveyResult = Post.SurveyPost(SurveyResponse)

'examine the result
If MyResult.Success Then
lblResult.Text = Thanks for entering!
Else
'handle error conditions
End If

End Sub



Thanking anyone who replies.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314284
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Invoke a Web Service - Return value = List of lists

2008-10-23 Thread Bosky, Dave
I'm invoking a webservice method which returns a List of Lists and CF is
generating an error message about 'marshalling data...?
All my other methods that return a String value work perfect. How can I
get this to work properly in CF? It works ok in Java.

= CF ERROR MSG ===
Cannot perform web service invocation itemDetail.  
The fault returned when invoking the web service operation is:
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
 faultSubcode: 
 faultString: Marshalling Error: class java.util.ArrayList nor any of
its super class is known to this context.
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace:Marshalling Error: class
java.util.ArrayList nor any of its super class is known to this context.
at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.ja
va:221)
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.jav
a:128)
at
org.apache.axis.encoding.DeserializationContext.endElement(Deserializati
onContext.java:1087)
at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
===
 
= WEB SERVICE METHOD that returns a List containing multiple
Lists. ===
public ListObject itemDetail(String itemName) {

ListString statusMsgs = new ArrayListString();
ListError errorList = new ArrayListError();
ListSubscriber itemList = new ArrayListSubscriber();
ListSubscriberAttribute itemTypeList = new
ArrayListSubscriberAttribute();
ListIpAssignment itemStockList = new
ArrayListIpAssignment();
ListObject returnList = new ArrayListObject();

(* POPULATE EACH LIST HERE - blah blah*)

returnList.add(errorList);
returnList.add(itemList);
returnList.add(itemTypeList);
returnList.add(itemStockList);
returnList.add(statusMsgs);

return returnList;
}
===

Thanks,
 
Dave Bosky | Information Services | HTC | direct:  843-369-8613 | fax:
843-369-7178 | [EMAIL PROTECTED]

**
HTC Disclaimer:  The information contained in this message may be privileged 
and confidential and protected from disclosure. If the reader of this message 
is not the intended recipient, or an employee or agent responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.  If you have received this communication in error, please notify us 
immediately by replying to the message and deleting it from your computer.  
Thank you.
**


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314285
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: After migrating from CFMX 6.1 to CF8 server grinds to halt within a minute

2008-10-23 Thread Justin Hansen
Try down grading your JVM to 1.5.x.

http://www.mkville.com/blog/index.cfm/2008/2/4/ColdFusion-8-Random-Slowness-Downgrade-the-JVM

Justin

-Original Message-
From: Markus Wollny [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2008 1:24 PM
To: cf-talk
Subject: After migrating from CFMX 6.1 to CF8 server grinds to halt within a 
minute

Hi!

We're currently in the process of migrating our ColdFusion MX 6.1 (32-bit) 
servers to ColdFusion 8 (64-bit). When testing our websites without load on the 
server, everything is working fine. As soon as we switch to production mode and 
let the users surf the sites, the proxy service denies requests and users get 
an ugly 500 server error message. The jrun logs however do not show any 
problems. We used a standalone-server configuration with CFMX 6.1 and switched 
to multiserver with two instances. Immediately after starting Apache, I always 
get a few pages delivered, but after roundabout 40-60 seconds, the apache error 
logs spawn lots and lots of the following messages:

[Wed Oct 22 18:53:55 2008] [notice] jrApache[22743: 45316]  127.0.0.1:51000 
connect failed[122]: 110 110 Connection timed out
[Wed Oct 22 18:53:55 2008] [notice] jrApache[22743: 45316]  Couldn't initialize 
from remote server, JRun server(s) probably down.

Testing was done by simply changing the Apache port from 80/443 to something 
that's not accessible from the internet; nothing else has been touched. The 
machine is the very same that used to run CFMX 6.1 without any such trouble 
before, though we used the standalone server configuration.

OS is Debian Etch, with libc6 2.7-14 from Debian Lenny (along with the 
dependencies). I tried the JRE that came with CF8, as well as jdk1.6.0_10 and 
jdk1.5.0_16, neither resolved the issue at hand. Kernel is 2.6.18-6-amd64 SMP, 
the machine has currently got 4GB RAM and two AMD Opteron 275 totalling four 
cores.

This is my current jvm.config:

java.home=/opt/jrun4/jdk1.5.0_16
java.args=-server -Xmx1024m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m 
-XX:+UseParallelGC -Xbatch -Djava.awt.headless=true 
-Dcoldfusion.rootDir={application.home}/ 
-Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/coldfusion.policy
 
-Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/neo_jaas.policy
 -Duser.timezone=Europe/Berlin
java.ext.dirs={jre.home}/lib/ext
java.library.path={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib
system.path.first=false
java.user.dir={application.home}/../lib
java.class.path={application.home}/servers/lib,{application.home}/lib,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/lib

Apache is version 2.2.3-4+etch5; here's the general config for ColdFusion:

# JRun Settings
LoadModule jrun_module /opt/jrun4/lib/wsconfig/1/mod_jrun22.so
IfModule mod_jrun22.c
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig ProxyRetryInterval 600
JRunConfig ConnectTimeout 5
AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
/IfModule

This is my include for the virtual hosts of the first instance WEB-01-CYNAMITE:
IfModule mod_jrun22.c
JRunConfig Verbose false
JRunConfig Serverstore /opt/jrun4/lib/wsconfig/cynamite/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51002
Alias /CFIDE 
/opt/jrun4/servers/WEB-01-CYNAMITE/cfusion.ear/cfusion.war/CFIDE
Directory 
/opt/jrun4/servers/WEB-01-CYNAMITE/cfusion.ear/cfusion.war/CFIDE
AllowOverride All
Order allow,deny
Allow from all
/Directory

This is my include for the virtual host of the second instance named WEB-01-CIA:

IfModule mod_jrun22.c
JRunConfig Verbose false
JRunConfig Serverstore /opt/jrun4/lib/wsconfig/cia/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51000
Alias /CFIDE /opt/jrun4/servers/WEB-01-CIA/cfusion.ear/cfusion.war/CFIDE
Directory /opt/jrun4/servers/WEB-01-CIA/cfusion.ear/cfusion.war/CFIDE
AllowOverride All
Order allow,deny
Allow from all
/Directory
/IfModule

The non-instance server has got the following include:
IfModule mod_jrun22.c
JRunConfig Serverstore /opt/jrun4/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51020
/IfModule

I made sure that the jrunserver.store-files are present and accessible; the 
ports are correct too (otherwise the whole lot wouldn't be working in the test 
scenario). The Proxy-Services are started alright according to the CF-logs.

I edited the ./servers/[instancename]/SERVER-INF/jrun.xml files; this is the 
section concerning the ProxyService:

service class=jrun.servlet.jrpp.JRunProxyService name=ProxyService
attribute name=activeHandlerThreads80/attribute
attribute name=backlog500/attribute
attribute name=deactivatedfalse/attribute
attribute 

application.cfc and session structure

2008-10-23 Thread Chad Gray
What is the safest way to dump the session variables in the onError function of 
Application.cfc?

Thanks
Chad





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314287
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: application.cfc and session structure

2008-10-23 Thread Mike Chabot
If you are referring to something that will run in production as
opposed to some limited debugging in a development environment, then I
prefer dumping the error details to a database table or inside of an
email.

-Mike Chabot

On Thu, Oct 23, 2008 at 9:27 AM, Chad Gray [EMAIL PROTECTED] wrote:
 What is the safest way to dump the session variables in the onError function 
 of Application.cfc?

 Thanks
 Chad





 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314288
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Absolutely Stumped - Reallu Urgent

2008-10-23 Thread Mike Chabot
There is no easy way to convert .NET code to CF code. They are
entirely different frameworks that use different approaches to
creating Web pages. Rewriting that small sample of code in CF could
take a couple of hours even if you were skilled in both technologies.

-Mike Chabot

On Thu, Oct 23, 2008 at 8:37 AM, Toby King [EMAIL PROTECTED] wrote:
 Hi there

 I have a really tricky task to try and complete.

 I have been handed an application to build an integration from the CF 
 application to a CRM application.

 Basically here is what I am trying to do


 Basically I have a form which has been created

 Collects data from a user - namely First Name, Postcode, Email Address, 
 Favourite Hair Colour with four possible selections, and also a check box - 
 Do you like icecream (yep I know very complicate.

 I want to capture this information and integrate the answers with the CRM.

 I have some sample code (from .Net I think but have no idea what it is trying 
 to do.

 Hoping someone might be able to shed some light onto how I convert the .Net 
 code to CF.

 Here is the code below:

 Imports Traction.Integration
 Imports Traction.Integration.DataObjects
 Imports Traction.Integration.Result
 Imports Traction.Integration.TractionTypes.CustomerAttributes
 Imports Traction.Integration.TractionTypes.CustomerAttributes.Default
 Imports Traction.Integration.Result.Errors

 
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As 
 System.EventArgs) Handles Button1.Click
'instantiate a new SurveyDataObject using the web.config configuration 
 MySurvey1
Dim SurveyResponse As New SurveyDataObject(MySurvey1)

With SurveyResponse

'customer details
With .Customer
'default attributes
.FirstName.Value = txtFirstName.Text
.Email.Value = txtEmail.Text

'custom attributes are pre-defined in the web.config 
 configuration;
'in this case there is only one custom attribute (postcode), 
 which is a text attribute
CType(.CustomAttributes(0), TextCustomerAttribute).Value = 
 txtPostcode.Text

'validate and handle any errors before posting to Traction
If .Validate.Length  0 Then
'pre-post error handling if the Validate method returns 
 any errors
End If

End With


'match key is email
.MatchKey = 
 TractionTypes.Enumerations.Traction_MatchKeyEnumeration.E
.MatchValue = txtEmail.Text

'survey responses:

'list boxes and dropdown boxes should return the sequential option 
 number per Traction,
'not the option text
.Questions(0).Answer = lbxHairColour.SelectedValue  'e.g. 2, not 
 Brunette

'check boxes should return the string representation of the 
 Checked boolean property
.Questions(1).Answer = cbxIceCream.Checked.ToString 'e.g. True

End With

'perform the post
Dim MyResult As SurveyResult = Post.SurveyPost(SurveyResponse)

'examine the result
If MyResult.Success Then
lblResult.Text = Thanks for entering!
Else
'handle error conditions
End If

End Sub



 Thanking anyone who replies.



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314290
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Updater 8.0.1 crashes CF8

2008-10-23 Thread AJ Mercer
Hi Gert,

Did you stop the CF services before doing the update?


On Thu, Oct 23, 2008 at 9:54 PM, Gert Franz [EMAIL PROTECTED] wrote:

 Hi all,

 yes I am using CF8. We need to test some of our Railo examples under CF8
 as well. So here's what happened. I had an old version of CF8 8.0.0.1x
 and wanted to update it to CF8.0.1. Now after the update I only recieve
 the error:

 java.lang.NullPointerException
at
 jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285)
at
 jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at
 jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at
 jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at
 jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

 Any thoughts?

 --
 Greetings from Switzerland
 Gert Franz
 Railo Technologies GmbH
 [EMAIL PROTECTED]
 www.railo.ch

 Join our Mailing List
 german:http://de.groups.yahoo.com/group/railo/
 english:   http://groups.yahoo.com/group/railo_talk/
 linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314291
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Updater 8.0.1 crashes CF8

2008-10-23 Thread Gert Franz
Hi all,

yes I am using CF8. We need to test some of our Railo examples under CF8 
as well. So here's what happened. I had an old version of CF8 8.0.0.1x 
and wanted to update it to CF8.0.1. Now after the update I only recieve 
the error:

java.lang.NullPointerException
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Any thoughts?

-- 
Greetings from Switzerland
Gert Franz
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List
german:http://de.groups.yahoo.com/group/railo/
english:   http://groups.yahoo.com/group/railo_talk/
linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314289
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Updater 8.0.1 crashes CF8

2008-10-23 Thread Gert Franz
Yes I did, took tree minutes but I watched it...

Gert

AJ Mercer schrieb:
 Hi Gert,

 Did you stop the CF services before doing the update?


 On Thu, Oct 23, 2008 at 9:54 PM, Gert Franz [EMAIL PROTECTED] wrote:

   
 Hi all,

 yes I am using CF8. We need to test some of our Railo examples under CF8
 as well. So here's what happened. I had an old version of CF8 8.0.0.1x
 and wanted to update it to CF8.0.1. Now after the update I only recieve
 the error:

 java.lang.NullPointerException
at
 jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285)
at
 jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at
 jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at
 jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at
 jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

 Any thoughts?

 --
 Greetings from Switzerland
 Gert Franz
 Railo Technologies GmbH
 [EMAIL PROTECTED]
 www.railo.ch

 Join our Mailing List
 german:http://de.groups.yahoo.com/group/railo/
 english:   http://groups.yahoo.com/group/railo_talk/
 linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1




 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314292
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Absolutely Stumped - Reallu Urgent

2008-10-23 Thread Rob Parkhill
Toby,
To me, who is a novice at .NET, it looks like that code is doing a simple
lookup and insert into the db using the information from the form.  It is
using the e-mail as the item to match on and then inserting the answers from
the survey into the DB using the methods written in .NET (this is just a
sub-sample of the entire application as it is calling some other methods)

But what it is clearly stating, is that it is expecting either a 0 or a 1
for whether or not the respondent likes ice cream, and that the numerical
values for hair color need to be inserted instead of the actual name.  Also
looks to be validating and formating the Postal Code correctly, but all in
all pretty straight forward stuff.  Do you need to write CF to interact with
the .NET or just to replace what it is doing?

Rob

On Thu, Oct 23, 2008 at 8:37 AM, Toby King [EMAIL PROTECTED] wrote:

 Hi there

 I have a really tricky task to try and complete.

 I have been handed an application to build an integration from the CF
 application to a CRM application.

 Basically here is what I am trying to do


 Basically I have a form which has been created

 Collects data from a user - namely First Name, Postcode, Email Address,
 Favourite Hair Colour with four possible selections, and also a check box -
 Do you like icecream (yep I know very complicate.

 I want to capture this information and integrate the answers with the CRM.

 I have some sample code (from .Net I think but have no idea what it is
 trying to do.

 Hoping someone might be able to shed some light onto how I convert the .Net
 code to CF.

 Here is the code below:

 Imports Traction.Integration
 Imports Traction.Integration.DataObjects
 Imports Traction.Integration.Result
 Imports Traction.Integration.TractionTypes.CustomerAttributes
 Imports Traction.Integration.TractionTypes.CustomerAttributes.Default
 Imports Traction.Integration.Result.Errors

 
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
 System.EventArgs) Handles Button1.Click
'instantiate a new SurveyDataObject using the web.config
 configuration MySurvey1
Dim SurveyResponse As New SurveyDataObject(MySurvey1)

With SurveyResponse

'customer details
With .Customer
'default attributes
.FirstName.Value = txtFirstName.Text
.Email.Value = txtEmail.Text

'custom attributes are pre-defined in the web.config
 configuration;
'in this case there is only one custom attribute (postcode),
 which is a text attribute
CType(.CustomAttributes(0), TextCustomerAttribute).Value =
 txtPostcode.Text

'validate and handle any errors before posting to Traction
If .Validate.Length  0 Then
'pre-post error handling if the Validate method returns
 any errors
End If

End With


'match key is email
.MatchKey =
 TractionTypes.Enumerations.Traction_MatchKeyEnumeration.E
.MatchValue = txtEmail.Text

'survey responses:

'list boxes and dropdown boxes should return the sequential
 option number per Traction,
'not the option text
.Questions(0).Answer = lbxHairColour.SelectedValue  'e.g. 2,
 not Brunette

'check boxes should return the string representation of the
 Checked boolean property
.Questions(1).Answer = cbxIceCream.Checked.ToString 'e.g. True

End With

'perform the post
Dim MyResult As SurveyResult = Post.SurveyPost(SurveyResponse)

'examine the result
If MyResult.Success Then
lblResult.Text = Thanks for entering!
Else
'handle error conditions
End If

End Sub



 Thanking anyone who replies.



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314293
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: After migrating from CFMX 6.1 to CF8 server grinds to halt within a minute

2008-10-23 Thread Cutter (CFRelated)
We've had exceptional progress with this. Downgrading the JVM was 
definitely the way to go for us, and we found the Garbage Collection to 
be much better as well, though we're not 64-bit.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Justin Hansen wrote:
 Try down grading your JVM to 1.5.x.
 
 http://www.mkville.com/blog/index.cfm/2008/2/4/ColdFusion-8-Random-Slowness-Downgrade-the-JVM
 
 Justin


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314294
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


AW: After migrating from CFMX 6.1 to CF8 server grinds to halt within a minute

2008-10-23 Thread Markus Wollny
Hi!

Justin Hansen wrote:
 Try down grading your JVM to 1.5.x.

Already tried that. Apparently this was not the issue; the problem persists 
with jdk1.5.0_16.

 I tried the JRE that came with CF8, as well as
 jdk1.6.0_10 and jdk1.5.0_16, neither resolved the issue at hand.

I'll try a standalone configuration next, I think it's probably better to take 
smaller steps with this beast. I'll downgrade the server to CFMX 6.1 for the 
weekend and have another go at it next week.

BTW - has anybody experienced errors like these in their apache error logs and 
found out what it takes to resolve that?

[Thu Oct 23 16:46:39 2008] [notice] jrApache[21772: 30469]  can't persist 
servers, no serverstore specified.

We have already tried uninstalling and re-installing the webserver connectors 
multiple times for each instance, also varied the installation sequence, but 
that didn't help either. It's probably not much of an issue for me at this 
point of time as I expect that to go away with a fresh CF8 standalone install, 
but that multiserver-config is still on my agenda, even if I'll now gather some 
performance tuning experience with the standalone variant first.

Kind regards
 
  Markus


 


Computec Media AG
Sitz der Gesellschaft und Registergericht: Fürth (HRB 8818)
Vorstandsmitglieder: Johannes S. Gözalan (Vorsitzender) und Rainer Rosenbusch
Vorsitzender des Aufsichtsrates: Jürg Marquard 
Umsatzsteuer-Identifikationsnummer: DE 812 575 276



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314295
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: AW: After migrating from CFMX 6.1 to CF8 server grinds to halt within a minute

2008-10-23 Thread Cutter (CFRelated)
That serverstore error is typically in creating additional CF instances 
with the Enterprise Manager without first adding instance folders within 
JRun/lib/wsconfig. If you don't manually create these folders first, 
naming them exactly as you will name your instances, then the Apache 
connectors get fubarred.

http://blog.cutterscrossing.com/index.cfm/2007/7/23/Local-Development-Setup-Pt-2-Multiple-ColdFusion-Instances

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Markus Wollny wrote:
 Hi!
 
 Justin Hansen wrote:
 Try down grading your JVM to 1.5.x.
 
 Already tried that. Apparently this was not the issue; the problem persists 
 with jdk1.5.0_16.
 
 I tried the JRE that came with CF8, as well as
 jdk1.6.0_10 and jdk1.5.0_16, neither resolved the issue at hand.
 
 I'll try a standalone configuration next, I think it's probably better to 
 take smaller steps with this beast. I'll downgrade the server to CFMX 6.1 for 
 the weekend and have another go at it next week.
 
 BTW - has anybody experienced errors like these in their apache error logs 
 and found out what it takes to resolve that?
 
 [Thu Oct 23 16:46:39 2008] [notice] jrApache[21772: 30469]  can't persist 
 servers, no serverstore specified.
 
 We have already tried uninstalling and re-installing the webserver connectors 
 multiple times for each instance, also varied the installation sequence, but 
 that didn't help either. It's probably not much of an issue for me at this 
 point of time as I expect that to go away with a fresh CF8 standalone 
 install, but that multiserver-config is still on my agenda, even if I'll now 
 gather some performance tuning experience with the standalone variant first.
 
 Kind regards
  
   Markus
 
 
  
 
 
 Computec Media AG
 Sitz der Gesellschaft und Registergericht: Fürth (HRB 8818)
 Vorstandsmitglieder: Johannes S. Gözalan (Vorsitzender) und Rainer Rosenbusch
 Vorsitzender des Aufsichtsrates: Jürg Marquard 
 Umsatzsteuer-Identifikationsnummer: DE 812 575 276
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314296
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc and session structure

2008-10-23 Thread Chad Gray
Right I want to email the session variables.  Should I do an inDefined first to 
see if they exists?  I don't want an error in my error function is what I am 
getting at.

Chad


 -Original Message-
 From: Mike Chabot [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 23, 2008 9:50 AM
 To: cf-talk
 Subject: Re: application.cfc and session structure
 
 If you are referring to something that will run in production as
 opposed to some limited debugging in a development environment, then I
 prefer dumping the error details to a database table or inside of an
 email.
 
 -Mike Chabot
 
 On Thu, Oct 23, 2008 at 9:27 AM, Chad Gray [EMAIL PROTECTED] wrote:
  What is the safest way to dump the session variables in the onError
 function of Application.cfc?
 
  Thanks
  Chad
 
 
 
 
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314297
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: application.cfc and session structure

2008-10-23 Thread Mike Chabot
Yes, you should use isdefined or try/catch to help prevent errors
inside of your error handler.

-Mike Chabot

On Thu, Oct 23, 2008 at 11:22 AM, Chad Gray [EMAIL PROTECTED] wrote:
 Right I want to email the session variables.  Should I do an inDefined first 
 to see if they exists?  I don't want an error in my error function is what I 
 am getting at.

 Chad


 -Original Message-
 From: Mike Chabot [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 23, 2008 9:50 AM
 To: cf-talk
 Subject: Re: application.cfc and session structure

 If you are referring to something that will run in production as
 opposed to some limited debugging in a development environment, then I
 prefer dumping the error details to a database table or inside of an
 email.

 -Mike Chabot

 On Thu, Oct 23, 2008 at 9:27 AM, Chad Gray [EMAIL PROTECTED] wrote:
  What is the safest way to dump the session variables in the onError
 function of Application.cfc?
 
  Thanks
  Chad
 
 
 
 
 
 



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314298
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFLDAP to Update altRecipient in Active Directoy / Exchange

2008-10-23 Thread Dennis Hughes
I am totally stumped on how I can update the altRecipient field that is present 
within our Active Directory Contacts through the General Exchange tab.  I can 
toggle on and off the deliverAndRedirect check box, but I am unable to add 
anything to the altRecipient field (which should be the DN of the mail enabled 
contact that was created)

Current Code:

cfldap action=modify
dn=#thisDN#
attributes=altRecipient=#forwardDN#,deliverAndRedirect=TRUE
modifytype=add
server=#this.adServer# 
username=#adAdminUserNameDN#
password=#adAdminPassword#


I am using similar code to create a Mail Enabled User, and the permissions are 
set to allow for updating of the exchange and AD components.

Any help would be great. 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314299
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFCHART

2008-10-23 Thread Khaled SAIDI
Hi everybody !
I'm running Coldfusion 6.1
I would like to know if it si possible to display the value of a bar above this 
bar?
For example, xAxis is day of month, yAxis is percent. The first day i have 20%. 
So the bar of my graph will indicate 20% and i would like to have 20% written 
above the bar.

Thanx a lot for your help.

Khaled 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314300
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: After migrating from CFMX 6.1 to CF8 server grinds to halt within a minute

2008-10-23 Thread Wil Genovese
Lets address your java.rgs settings.  I also see that the jvm.config file is
pointing to the version 5 of java.  You may not need to fall back to that
version.  We've been using jvm.1.6_x with few issues on 5 high load servers.

You have this:
*java.args=-server -Xmx1024m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Djava.awt.headless=true
-Dcoldfusion.rootDir={**application.home}/ -Djava.security.policy={**
application.home}/servers/**cfusion/cfusion-ear/cfusion-**
war/WEB-INF/cfusion/lib/**coldfusion.policy -Djava.security.auth.policy={**
application.home}/servers/**cfusion/cfusion-ear/cfusion-**
war/WEB-INF/cfusion/lib/neo_**jaas.policy -Duser.timezone=Europe/Berlin
java.ext.dirs={jre.home}/lib/**ext
java.library.path={**application.home}/servers/**
cfusion/cfusion-ear/cfusion-**war/WEB-INF/cfusion/lib
system.path.first=false
java.user.dir={application.**home}/../lib
java.class.path={application.**home}/servers/lib,{**application.home}/lib,{*
*application.home}/servers/**cfusion/cfusion-ear/cfusion-**war/WEB-INF/lib
*
Lets try a few different settings.  (backup your file)

java.args=-server -Xmx1*536*m *-Xms1536m* -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=*256*m *-XX:PermSize=256m -XX:+UseParallelGC
-Dsun.rmi.dgc.client.gcInterval=60 *-Dsun.rmi.dgc.server.gcInterval=60
-Djava.awt.headless=true -Dcoldfusion.rootDir={application.home}/
-Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/coldfusion.policy
-Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/neo_jaas.policy
-Duser.timezone=Europe/Berlin
java.ext.dirs={jre.home}/lib/ext
java.library.path={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib
system.path.first=false
java.user.dir={application.home}/../lib
java.class.path={application.home}/servers/lib,{application.home}/lib,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/lib

Here's what I did.

Setting the heap size larger and making the min and max heap size equal.
This prevents the JVM from trying to auto grow the JVM heap from the min to
max as needed.  Just set it up to the max size all the time.

Next I increased the MaxPermSize to 256m and added the setting Permsize set
to 256M,  These are the setting for the perm gen memory.  With larger heaps
it is sometimes needed to have more Perm Gen memory available.

Then I setup the GC interval.  The Default Garbage Collection interval never
cut it for us.  We found that setting the GC to 10 minutes really made
things work fast and smooth.

We've been running with these settings on CF8 since we installed CF8 in
August.   We've also been working with very similar settings with version
CF7 (with lower memory settings of course) and we had our servers serving
very large amounts of load.

A glimpse of our stats for last month.
Total Page Views 59,141,956  Average Page Views per Day 1,971,398
Our sys admin and I have been researching and testing JVM settings for the
past two years to come up with a very high availability setup.  These
settings that I modified for you may work perfectly.  However, every
situation is different and you may have to spend some time experimenting
with the settings and optimizing memory sizes and GC times.  Based on our
experience with JVM 1.6 I would go back to using it instead of JVM 1.5.

I hope this helps,

Wil Genovese
Sr. Web Application Developer
Wolfnet Technologies, LLC


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314301
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFLDAP to Update altRecipient in Active Directoy / Exchange

2008-10-23 Thread Dawson, Michael
Instead of altRecipient, try altRecipientBL.

mike 

-Original Message-
From: Dennis Hughes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2008 11:23 AM
To: cf-talk
Subject: CFLDAP to Update altRecipient in Active Directoy / Exchange

I am totally stumped on how I can update the altRecipient field that is
present within our Active Directory Contacts through the General
Exchange tab.  I can toggle on and off the deliverAndRedirect check box,
but I am unable to add anything to the altRecipient field (which should
be the DN of the mail enabled contact that was created)

Current Code:

cfldap action=modify
dn=#thisDN#
attributes=altRecipient=#forwardDN#,deliverAndRedirect=TRUE
modifytype=add
server=#this.adServer# 
username=#adAdminUserNameDN#
password=#adAdminPassword#


I am using similar code to create a Mail Enabled User, and the
permissions are set to allow for updating of the exchange and AD
components.

Any help would be great. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314302
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFCHART

2008-10-23 Thread C S
 Hi everybody !
 I'm running Coldfusion 6.1
 I would like to know if it si possible to display the value of a bar 
 above this bar?


It is possible with MX7. You can create a custom style, with a dataLabel 
pattern $(value)%.  

http://livedocs.adobe.com/coldfusion/7/htmldocs/1431.htm

But I do not know what support (if any) 6.1 has for custom styles. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314303
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFLDAP to Update altRecipient in Active Directoy / Exchange

2008-10-23 Thread Dennis Hughes
I just tried the altRecipientBL and ended up with the similar LDAP 19 error 
that I was getting before.

Error is:

An error has occured while trying to execute modify :[LDAP: error code 19 - 
20B1: AtrErr: DSID-030F0C1A, #1: 0: 20B1: DSID-030F0C1A, problem 1005 
(CONSTRAINT_ATT_TYPE), data 0, Att 20126 (altRecipientBL) ].  
One or more of the required attributes may be missing or incorrect or you do 
not have permissions to execute this operation on the server.  



Instead of altRecipient, try altRecipientBL.

mike 

I am totally stumped on how I can update the altRecipient field that is
present within our Active Directory Contacts through the General
Exchange tab.  I can toggle on and off the deliverAndRedirect check box,
but I am unable to add anything to the altRecipient field (which should
be the DN of the mail enabled contact that was created)

Current Code:

cfldap action=modify
   dn=#thisDN#
   attributes=altRecipient=#forwardDN#,deliverAndRedirect=TRUE
   modifytype=add
   server=#this.adServer# 
   username=#adAdminUserNameDN#
   password=#adAdminPassword#


I am using similar code to create a Mail Enabled User, and the
permissions are set to allow for updating of the exchange and AD
components.

Any help would be great. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314304
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Absolutely Stumped - Reallu Urgent

2008-10-23 Thread Matthew Small
A simple thing to do would be to write a .NET webservice that takes a number of 
parameters that matches the set of properties that the SurveyDataObject 
requires, create a SurveyDataObject, sets its properties to the parameters, and 
then submit it to the Post.SurveyPost() method.  After it's written, call that 
webservice from CF after getting the correct values from a CF form.  It's not 
necessary to understand the internals of the .NET code if you can access its 
methods.


Toby,
To me, who is a novice at .NET, it looks like that code is doing a simple
lookup and insert into the db using the information from the form.  It is
using the e-mail as the item to match on and then inserting the answers from
the survey into the DB using the methods written in .NET (this is just a
sub-sample of the entire application as it is calling some other methods)

But what it is clearly stating, is that it is expecting either a 0 or a 1
for whether or not the respondent likes ice cream, and that the numerical
values for hair color need to be inserted instead of the actual name.  Also
looks to be validating and formating the Postal Code correctly, but all in
all pretty straight forward stuff.  Do you need to write CF to interact with
the .NET or just to replace what it is doing?

Rob

On Thu, Oct 23, 2008 at 8:37 AM, Toby King [EMAIL PROTECTED] wrote:

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CFLDAP to Update altRecipient in Active Directoy / Exchange

2008-10-23 Thread Dawson, Michael
I think it may be the commas in your DN that you are passing to the
altRecipientBL attribute.

For exampe: CN=username,OU=Users,DC=domain,DC=com

Use the DELIMITER attribute and set it to something uncommon like a
vertical pipe (|) or a tab character #chr(9)#.  If DELIMITER doesn't
work, try SEPARATOR.  (I can never remember which one does what.)  ;^)

Heck, go ahead and set both DELIMITER and SEPARATOR to a tab.  It
doesn't hurt a thing.

Mike

-Original Message-
From: Dennis Hughes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2008 12:36 PM
To: cf-talk
Subject: Re: CFLDAP to Update altRecipient in Active Directoy / Exchange

I just tried the altRecipientBL and ended up with the similar LDAP 19
error that I was getting before.

Error is:

An error has occured while trying to execute modify :[LDAP: error code
19 - 20B1: AtrErr: DSID-030F0C1A, #1: 0: 20B1: DSID-030F0C1A,
problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 20126 (altRecipientBL)
].  
One or more of the required attributes may be missing or incorrect or
you do not have permissions to execute this operation on the server.  


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314306
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: AW: After migrating from CFMX 6.1 to CF8 server grinds to halt within a minute

2008-10-23 Thread Al Musella, DPM
This might be a long shot, but it is so easy to check...
   check the size of the log files .. not just the ones in the /logs 
directory. Do a search on the entire cold fusion directory.I had 
some huge log files in there causing this same problem. Deleting them 
fixed everything



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314307
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFLDAP to Update altRecipient in Active Directoy / Exchange

2008-10-23 Thread Dennis Hughes
Just gave this a shot and getting the same error.  I changed the code so that I 
am only dealing with the altRecipientBL now and not trying to complicate 
things.  Tried both the Pike and the Tab - error results were the same.

Here is the updated code:

cfldap action=modify
dn=#thisDN#
attributes=altRecipientBL=#forwardDN#
modifytype=add
delimiter=| 
separator=|
server=#this.adServer# 
username=#adAdminUserNameDN#
password=#adAdminPassword#


I think it may be the commas in your DN that you are passing to the
altRecipientBL attribute.

For exampe: CN=username,OU=Users,DC=domain,DC=com

Use the DELIMITER attribute and set it to something uncommon like a
vertical pipe (|) or a tab character #chr(9)#.  If DELIMITER doesn't
work, try SEPARATOR.  (I can never remember which one does what.)  ;^)

Heck, go ahead and set both DELIMITER and SEPARATOR to a tab.  It
doesn't hurt a thing.

Mike

I just tried the altRecipientBL and ended up with the similar LDAP 19
error that I was getting before.

Error is:

An error has occured while trying to execute modify :[LDAP: error code
19 - 20B1: AtrErr: DSID-030F0C1A, #1: 0: 20B1: DSID-030F0C1A,
problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 20126 (altRecipientBL)
].  
One or more of the required attributes may be missing or incorrect or
you do not have permissions to execute this operation on the server. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314308
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Mail Spooler Woes

2008-10-23 Thread webmaster
I can send 5k emails to my CF8 servers and they each deliver about 1
piece of mail to my mail server every 3 seconds.

 

I can send 5k emails to 1 of my CF7 servers and it sends out the all 5k
email to my mail server in about 30 seconds.

 

Does anyone have a suggestion as to where I can look to fix this problem
or explain why CF7 is sending the mail from the cf spooler so much
faster than my CF8 servers?

 

All servers are Standard edition.

 

 

 

 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314309
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFLDAP to Update altRecipient in Active Directoy / Exchange

2008-10-23 Thread Dennis Hughes
I have it now ...

Changed the delimiter and separator to ; for the altRecipientBL add, then 
used a second cfldap modify to update the deliverAndRedirect but instead of the 
modifytype being add it needed to be Replace.  I used the delimiter as ; and 
the separator as , for that call.

Thanks for all your help on this and getting me pointed in the correct 
direction with the delimiter and separator calls.


 Just gave this a shot and getting the same error.  I changed the code 
 so that I am only dealing with the altRecipientBL now and not trying 
 to complicate things.  Tried both the Pike and the Tab - error results 
 were the same.
 
 Here is the updated code:
 
 cfldap action=modify
   dn=#thisDN#
   attributes=altRecipientBL=#forwardDN#
   modifytype=add
   delimiter=| 
   separator=|
   server=#this.adServer# 
   username=#adAdminUserNameDN#
   password=#adAdminPassword#
 
 
 I think it may be the commas in your DN that you are passing to the
 altRecipientBL attribute.
 
 For exampe: CN=username,OU=Users,DC=domain,DC=com
 
 Use the DELIMITER attribute and set it to something uncommon like a
 vertical pipe (|) or a tab character #chr(9)#.  If DELIMITER doesn't
 work, try SEPARATOR.  (I can never remember which one does what.)  
 ;^)
 
 Heck, go ahead and set both DELIMITER and SEPARATOR to a tab.  It
 doesn't hurt a thing.
 
 Mike
 
 I just tried the altRecipientBL and ended up with the similar LDAP 
 19
 error that I was getting before.
 
 Error is:
 
 An error has occured while trying to execute modify :[LDAP: error 
 code
 19 - 20B1: AtrErr: DSID-030F0C1A, #1: 0: 20B1: DSID-030F0C1A,
 
 problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 20126 
 (altRecipientBL)
 ].  
 One or more of the required attributes may be missing or incorrect 
 or
 you do not have permissions to execute this operation on the server. 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314310
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CFLDAP to Update altRecipient in Active Directoy / Exchange

2008-10-23 Thread Dawson, Michael
Good catch.  Glad to help.

Mike

-Original Message-
From: Dennis Hughes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2008 1:35 PM
To: cf-talk
Subject: Re: CFLDAP to Update altRecipient in Active Directoy / Exchange

I have it now ...

Changed the delimiter and separator to ; for the altRecipientBL add,
then used a second cfldap modify to update the deliverAndRedirect but
instead of the modifytype being add it needed to be Replace.  I used the
delimiter as ; and the separator as , for that call.

Thanks for all your help on this and getting me pointed in the correct
direction with the delimiter and separator calls.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314311
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Mail Spooler Woes

2008-10-23 Thread Mike Chabot
You really need to find out where the bottleneck is. I listed possible
bottlenecks in prior emails, but it is unclear if you have performed
even cursory diagnostic checks yet. Have you already analyzed the
network packets going between the CF server and the mail server, and
if so what did you observe and how does this contrast to that
equivalent network activity on the fast server?

-Mike Chabot

On Thu, Oct 23, 2008 at 2:26 PM,  [EMAIL PROTECTED] wrote:
 I can send 5k emails to my CF8 servers and they each deliver about 1
 piece of mail to my mail server every 3 seconds.



 I can send 5k emails to 1 of my CF7 servers and it sends out the all 5k
 email to my mail server in about 30 seconds.



 Does anyone have a suggestion as to where I can look to fix this problem
 or explain why CF7 is sending the mail from the cf spooler so much
 faster than my CF8 servers?



 All servers are Standard edition.











 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314312
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Mail Spooler Woes

2008-10-23 Thread webmaster
These 3 servers are on the same network. Using the same mail server. I
don't see how network traffic (since they are on the same network using
the same router etc.) would make any difference. The only difference I
can see if the version of the CF server. I am not seeing any bottlenecks
just difference in the version of software.


-Original Message-
From: Mike Chabot [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2008 2:57 PM
To: cf-talk
Subject: Re: Mail Spooler Woes

You really need to find out where the bottleneck is. I listed possible
bottlenecks in prior emails, but it is unclear if you have performed
even cursory diagnostic checks yet. Have you already analyzed the
network packets going between the CF server and the mail server, and
if so what did you observe and how does this contrast to that
equivalent network activity on the fast server?

-Mike Chabot

On Thu, Oct 23, 2008 at 2:26 PM,  [EMAIL PROTECTED] wrote:
 I can send 5k emails to my CF8 servers and they each deliver about 1
 piece of mail to my mail server every 3 seconds.



 I can send 5k emails to 1 of my CF7 servers and it sends out the all
5k
 email to my mail server in about 30 seconds.



 Does anyone have a suggestion as to where I can look to fix this
problem
 or explain why CF7 is sending the mail from the cf spooler so much
 faster than my CF8 servers?



 All servers are Standard edition.











 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314313
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Developers Rank Best Application Servers: Cold Fusion, Apache Geronimo Top List

2008-10-23 Thread Rick Mason
Gerald,

I do wonder if their editorial staffs talk to each other?  One publication
says it is the single best choice for an application server.  The other
publication says it is dead. Is that it in a nutshell?

I guess it's true what they say about the press, they're either building
you up or tearing you down ;)!


Rick Mason

On Wed, Oct 22, 2008 at 9:13 AM, Gerald Guido [EMAIL PROTECTED]wrote:

 Interesting. That was reported by an IDG publication. They put out
 InfoWorld
 which is part of my daily read. They also put out ComputerWorld which
 published the infamous CF is dead article.

 G

 On Wed, Oct 22, 2008 at 8:54 AM, Mike Chabot [EMAIL PROTECTED] wrote:

  Article: Developers Rank Best Application Servers: Cold Fusion, Apache
  Geronimo Top List
  http://www.cio.com/article/print/455845
 
  -Mike Chabot
 
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314314
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Update Query syntax

2008-10-23 Thread Ben Conner
Hi,

I have a simple update query that is throwing an error:
cfquery name=NewRec datasource=#Application.DSN#
update icitem
set lastchanged = '1/1/2008'
where itemno in (#itemnos#)
/cfquery

The itemnos variable has the value:
'1A703239', '1A703240', '1A703241', '1A703242', '1A703243'

If I paste that value in between the parens, it works.  I've also tried using 
double quotation marks.  The error I'm getting is:

 Error Executing Database Query.
[Macromedia][SQLServer JDBC Driver][SQLServer]Line 3: Incorrect syntax near '1'.
 
The error occurred in D:\sites\qcliving.com\htdocs\Admin\kludge.cfm: line 23

21 :update icitem
22 :set lastchanged = '1/1/2008'
23 :where itemno in (#itemnos#)
24 :/cfquery

SQLupdate icitem set lastchanged = '1/1/2008' where itemno in 
(''1A703239'', ''1A703240'', ''1A703241'', ''1A703242'', ''1A703243'')
DATASOURCEqcliving
VENDORERRORCODE   170
SQLSTATE  HY000

What am I missing here?

Thanks!

--Ben 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314315
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Update Query syntax

2008-10-23 Thread Charlie Griefer
WHERE itemno IN (#preserveSingleQuotes(itemnos)#)
or even better:

WHERE itemno IN (cfqueryparam value=#itemno# cfsqltype=cf_sql_char
list=true /)

On Thu, Oct 23, 2008 at 12:21 PM, Ben Conner [EMAIL PROTECTED] wrote:

 Hi,

 I have a simple update query that is throwing an error:
 cfquery name=NewRec datasource=#Application.DSN#
update icitem
set lastchanged = '1/1/2008'
where itemno in (#itemnos#)
 /cfquery

 The itemnos variable has the value:
 '1A703239', '1A703240', '1A703241', '1A703242', '1A703243'

 If I paste that value in between the parens, it works.  I've also tried
 using double quotation marks.  The error I'm getting is:

  Error Executing Database Query.
 [Macromedia][SQLServer JDBC Driver][SQLServer]Line 3: Incorrect syntax near
 '1'.

 The error occurred in D:\sites\qcliving.com\htdocs\Admin\kludge.cfm: line
 23

 21 :update icitem
 22 :set lastchanged = '1/1/2008'
 23 :where itemno in (#itemnos#)
 24 :/cfquery

 SQLupdate icitem set lastchanged = '1/1/2008' where itemno in
 (''1A703239'', ''1A703240'', ''1A703241'', ''1A703242'', ''1A703243'')
 DATASOURCEqcliving
 VENDORERRORCODE   170
 SQLSTATE  HY000

 What am I missing here?

 Thanks!

 --Ben

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314316
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Update Query syntax

2008-10-23 Thread Ben Conner
Thanks much, Charlie! 

--Ben

WHERE itemno IN (#preserveSingleQuotes(itemnos)#)
or even better:

WHERE itemno IN (cfqueryparam value=#itemno# cfsqltype=cf_sql_char
list=true /)


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314317
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Mail Spooler Woes

2008-10-23 Thread Mike Chabot
Your emails suggest that you don't know what information diagnostics
tools are able to give you (Hint: same network and same router are
nearly irrelevant and there is always a bottleneck). It is possible
for two servers with identical hardware, identical software, identical
configurations running on the same network to function completely
differently for reasons that would be impossible to determine without
running diagnostic checks. Although it is curious that you have a
router between your mail server and your ColdFusion server since that
reveals a bit about how the network is set up. Getting rid of the
router intermediary might help.

-Mike Chabot

On Thu, Oct 23, 2008 at 3:01 PM,  [EMAIL PROTECTED] wrote:
 These 3 servers are on the same network. Using the same mail server. I
 don't see how network traffic (since they are on the same network using
 the same router etc.) would make any difference. The only difference I
 can see if the version of the CF server. I am not seeing any bottlenecks
 just difference in the version of software.


 -Original Message-
 From: Mike Chabot [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 23, 2008 2:57 PM
 To: cf-talk
 Subject: Re: Mail Spooler Woes

 You really need to find out where the bottleneck is. I listed possible
 bottlenecks in prior emails, but it is unclear if you have performed
 even cursory diagnostic checks yet. Have you already analyzed the
 network packets going between the CF server and the mail server, and
 if so what did you observe and how does this contrast to that
 equivalent network activity on the fast server?

 -Mike Chabot

 On Thu, Oct 23, 2008 at 2:26 PM,  [EMAIL PROTECTED] wrote:
 I can send 5k emails to my CF8 servers and they each deliver about 1
 piece of mail to my mail server every 3 seconds.



 I can send 5k emails to 1 of my CF7 servers and it sends out the all
 5k
 email to my mail server in about 30 seconds.



 Does anyone have a suggestion as to where I can look to fix this
 problem
 or explain why CF7 is sending the mail from the cf spooler so much
 faster than my CF8 servers?



 All servers are Standard edition.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314318
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Proper Authentication with CFLDAP?

2008-10-23 Thread Marie Taylore
I just received this code as the proper way to bind someone during an
LDAP login to a ColdFusion App.  Is this really the right way?

cfset UserIsValid = 0
CFTRY
cfldap action=QUERY
name=Authenticate
start=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2#
attributes=cn
scope=SUBTREE
server=#OurServer#
username=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2#
password=#password#
cfif Authenticate.RecordCount GT 0
cfset UserIsValid = 1
cfelse
cfset UserIsValid = 0
/cfif
cfcatch type=Any
cfset UserIsValid = 0
!--- DEBUG CODE HERE ---
/cfcatch
/CFTRY

cfif UserIsValid EQ 0
Sorry, login failed.
cfabort
/cfif

If they pass the CFABORT above, they're authenticated to your app.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314319
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Proper Authentication with CFLDAP?

2008-10-23 Thread Shannon Peevey
Yes, this would let you know that they are authenticated.  It assumes that
you LDAP server allows users to read from the tree. I'm not sure about using
the full DN to the object with the start key.  I always use the people
container.  Here is my example:

  cfldap name=authenticate
  action=query
  server=#Application.ldapServer#
  port=389
  attributes=#userAttributes#
  start=#Application.peopleBasedn#
  scope=subtree
  filter=#Application.ldaploginobjectclass#=#Form.username#

username=#Application.ldaploginobjectclass#=#Form.username#,#Application.peopleBasedn#

  password=#Form.password#

Don't forget to authorize the user as well :)

speeves


On Thu, Oct 23, 2008 at 4:01 PM, Marie Taylore [EMAIL PROTECTED]wrote:

 I just received this code as the proper way to bind someone during an
 LDAP login to a ColdFusion App.  Is this really the right way?

 cfset UserIsValid = 0
 CFTRY
cfldap action=QUERY
name=Authenticate
start=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2#
attributes=cn
scope=SUBTREE
server=#OurServer#
username=uid=#username#,ou=#OurOU#,dc=#OurDC#,dc=#OurDC2#
password=#password#
cfif Authenticate.RecordCount GT 0
cfset UserIsValid = 1
cfelse
cfset UserIsValid = 0
/cfif
cfcatch type=Any
cfset UserIsValid = 0
!--- DEBUG CODE HERE ---
/cfcatch
 /CFTRY

 cfif UserIsValid EQ 0
Sorry, login failed.
cfabort
 /cfif

 If they pass the CFABORT above, they're authenticated to your app.


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314320
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Mail Spooler Woes

2008-10-23 Thread webmaster
They are all behind a router together. No routers in-between. I am
basically looking to see if anyone else has run into the situation with
CF8 Standard.




-Original Message-
From: Mike Chabot [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2008 5:05 PM
To: cf-talk
Subject: Re: Mail Spooler Woes

Your emails suggest that you don't know what information diagnostics
tools are able to give you (Hint: same network and same router are
nearly irrelevant and there is always a bottleneck). It is possible
for two servers with identical hardware, identical software, identical
configurations running on the same network to function completely
differently for reasons that would be impossible to determine without
running diagnostic checks. Although it is curious that you have a
router between your mail server and your ColdFusion server since that
reveals a bit about how the network is set up. Getting rid of the
router intermediary might help.

-Mike Chabot

On Thu, Oct 23, 2008 at 3:01 PM,  [EMAIL PROTECTED] wrote:
 These 3 servers are on the same network. Using the same mail server. I
 don't see how network traffic (since they are on the same network
using
 the same router etc.) would make any difference. The only difference I
 can see if the version of the CF server. I am not seeing any
bottlenecks
 just difference in the version of software.


 -Original Message-
 From: Mike Chabot [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 23, 2008 2:57 PM
 To: cf-talk
 Subject: Re: Mail Spooler Woes

 You really need to find out where the bottleneck is. I listed possible
 bottlenecks in prior emails, but it is unclear if you have performed
 even cursory diagnostic checks yet. Have you already analyzed the
 network packets going between the CF server and the mail server, and
 if so what did you observe and how does this contrast to that
 equivalent network activity on the fast server?

 -Mike Chabot

 On Thu, Oct 23, 2008 at 2:26 PM,  [EMAIL PROTECTED] wrote:
 I can send 5k emails to my CF8 servers and they each deliver about 1
 piece of mail to my mail server every 3 seconds.



 I can send 5k emails to 1 of my CF7 servers and it sends out the all
 5k
 email to my mail server in about 30 seconds.



 Does anyone have a suggestion as to where I can look to fix this
 problem
 or explain why CF7 is sending the mail from the cf spooler so much
 faster than my CF8 servers?



 All servers are Standard edition.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314321
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Updater 8.0.1 crashes CF8

2008-10-23 Thread Dave Watts
 yes I am using CF8. We need to test some of our Railo examples under CF8
 as well. So here's what happened. I had an old version of CF8 8.0.0.1x
 and wanted to update it to CF8.0.1. Now after the update I only recieve
 the error:

 java.lang.NullPointerException
at 
 jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:285)
at 
 jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at 
 jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
at 
 jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at 
 jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Delete the compiled classes in /WEB-INF/cfclasses.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314322
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Absolutely Stumped - Reallu Urgent

2008-10-23 Thread Dave Watts
 A simple thing to do would be to write a .NET webservice that takes a number 
 of parameters that matches the
 set of properties that the SurveyDataObject requires, create a 
 SurveyDataObject, sets its properties to the
 parameters, and then submit it to the Post.SurveyPost() method.  After it's 
 written, call that webservice from
 CF after getting the correct values from a CF form.  It's not necessary to 
 understand the internals of the .NET
 code if you can access its methods.

It needn't even be a web service - CF 8 can invoke .NET assemblies directly.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314323
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Mail Spooler Woes

2008-10-23 Thread Dave Watts
 They are all behind a router together. No routers in-between. I am
 basically looking to see if anyone else has run into the situation with
 CF8 Standard.

I think you're missing Mike's point. It isn't clear that this is a
problem with CF8 Standard, or with something else. Can you put CF7 and
CF8 on a single machine, and see how they compare for you?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314324
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Mail Spooler Woes

2008-10-23 Thread webmaster
It's funny you should suggest that. This one machine in particular had
CF7 on it and we upgraded to CF8. It used to send mail fine before. :(



-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2008 6:42 PM
To: cf-talk
Subject: Re: Mail Spooler Woes

 They are all behind a router together. No routers in-between. I am
 basically looking to see if anyone else has run into the situation
with
 CF8 Standard.

I think you're missing Mike's point. It isn't clear that this is a
problem with CF8 Standard, or with something else. Can you put CF7 and
CF8 on a single machine, and see how they compare for you?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314325
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Alternative to coldfusion8

2008-10-23 Thread Don L
Just ran a search for it and found two, of which one is well-known, that is, 
BlueDragon, the other contender is Smith, did a quick browse of features 
respectively, and noticed that some of 'hot-cake' CF8 features like cfajaxproxy 
and associated tags are not supported by neither of them (on these features, 
one IT vet even suggested that he/she would for CF platform just for that! hear 
that).  Am thinking totally loud here, why not combine resources to come up 
with some leading edge stuff, instead of being a follower (non-critical of 
neither products, just a comment)?


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314326
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Alternative to coldfusion8

2008-10-23 Thread James Holmes
You missed Railo in your search.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


2008/10/24 Don L [EMAIL PROTECTED]

 Just ran a search for it and found two, of which one is well-known, that
 is, BlueDragon, the other contender is Smith, did a quick browse of
 features respectively, and noticed that some of 'hot-cake' CF8 features like
 cfajaxproxy and associated tags are not supported by neither of them (on
 these features, one IT vet even suggested that he/she would for CF platform
 just for that! hear that).  Am thinking totally loud here, why not combine
 resources to come up with some leading edge stuff, instead of being a
 follower (non-critical of neither products, just a comment)?


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314327
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Alternative to coldfusion8

2008-10-23 Thread AJ Mercer
Add Railo to your search
http://railo-technologies.com/


On Fri, Oct 24, 2008 at 8:24 AM, Don L [EMAIL PROTECTED] wrote:

 Just ran a search for it and found two, of which one is well-known, that
 is, BlueDragon, the other contender is Smith, did a quick browse of
 features respectively, and noticed that some of 'hot-cake' CF8 features like
 cfajaxproxy and associated tags are not supported by neither of them (on
 these features, one IT vet even suggested that he/she would for CF platform
 just for that! hear that).  Am thinking totally loud here, why not combine
 resources to come up with some leading edge stuff, instead of being a
 follower (non-critical of neither products, just a comment)?


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314328
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Alternative to coldfusion8

2008-10-23 Thread Jordan Michaels
BlueDragon comes in two flavors. The commercial version, which is
commercially supported, and Open BlueDragon, which is supported by the
community. Their URL's are as follows:

BlueDragon Commercial version (focusing on their .NET version)
http://www.newatlanta.com/products/bluedragon/index.cfm

Open BlueDragon (open source and completely free under the GPLv3):
http://www.openbluedragon.org/

HTH!

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider


AJ Mercer wrote:
 Add Railo to your search
 http://railo-technologies.com/
 
 
 On Fri, Oct 24, 2008 at 8:24 AM, Don L [EMAIL PROTECTED] wrote:
 
 Just ran a search for it and found two, of which one is well-known, that
 is, BlueDragon, the other contender is Smith, did a quick browse of
 features respectively, and noticed that some of 'hot-cake' CF8 features like
 cfajaxproxy and associated tags are not supported by neither of them (on
 these features, one IT vet even suggested that he/she would for CF platform
 just for that! hear that).  Am thinking totally loud here, why not combine
 resources to come up with some leading edge stuff, instead of being a
 follower (non-critical of neither products, just a comment)?



 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314329
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Alternative to coldfusion8

2008-10-23 Thread Don L
Add Railo to your search
http://railo-technologies.com/

Thanks for the heads-up and the URL, however, unlike BD, it does not list tag 
comparison with cf8, hard to tell if it can support some of the great cf8 
features listed in my last post. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314330
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Alternative to coldfusion8

2008-10-23 Thread Don L
BlueDragon comes in two flavors. The commercial version, which is
commercially supported, and Open BlueDragon, which is supported by the
community. Their URL's are as follows:

BlueDragon Commercial version (focusing on their .NET version)
http://www.newatlanta.com/products/bluedragon/index.cfm

Open BlueDragon (open source and completely free under the GPLv3):
http://www.openbluedragon.org/

HTH!

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider

Thanks, but it seems that the latest BD is version 7... and the key features in 
cf8 that I would need are not there...


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314331
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Alternative to coldfusion8

2008-10-23 Thread James Holmes
Umm...

http://www.railo-technologies.com/en/index.cfm?treeID=107


mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/


2008/10/24 Don L [EMAIL PROTECTED]

 Add Railo to your search
 http://railo-technologies.com/

 Thanks for the heads-up and the URL, however, unlike BD, it does not list
 tag comparison with cf8, hard to tell if it can support some of the great
 cf8 features listed in my last post.


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314332
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Alternative to coldfusion8

2008-10-23 Thread Don L
Umm...

http://www.railo-technologies.com/en/index.cfm?treeID=107

Thanks for the URL.  It looks like an alternative could a road to he?? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314333
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Ben Forta for president?

2008-10-23 Thread Mike Kear
Is this true?   Ben Forta is running for President of the USA??

Bit of fun, but I'm really impressed with the video.   Have a look 

http://www.tsgnet.com/pres.php?id=370617altf=Cfoaltl=Gpsub


It's a bit of fun for Friday but i have serious tech question about
this - how do they do the video clip?   What technology are they using
to create the video on the fly?   I specially like the tattoo.   Is
this a flash application?

-- 
Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314334
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Ben Forta for president?

2008-10-23 Thread Dave Long
Great idea!

Somebody send me the PDF for some counterfeit voter registration forms and
we can start canvassing.

Dave

 -Original Message-
 From: Mike Kear [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, October 23, 2008 9:16 PM
 To: cf-talk
 Subject: Ben Forta for president?
 
 
 Is this true?   Ben Forta is running for President of the USA??
 
 Bit of fun, but I'm really impressed with the video.   Have a 
 look 
 
 http://www.tsgnet.com/pres.php?id=370617altf=Cfoaltl=Gpsub
 
 
 It's a bit of fun for Friday but i have serious tech question about
 this - how do they do the video clip?   What technology are they using
 to create the video on the fly?   I specially like the tattoo.   Is
 this a flash application?
 
 -- 
 Cheers
 Mike Kear
 Windsor, NSW, Australia
 Adobe Certified Advanced ColdFusion Developer
 AFP Webworks
 http://afpwebworks.com
 ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314335
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Still waiting to get paid? Help is here.

2008-10-23 Thread Scott Brady
What's funny is Michael JUST reminded people of the rules this morning / 
last night . . .

sharon nelson wrote:
 Hi Mike,
 
 I couldn't help but notice your concerns about when my client pays I pay 
 you 
 regarding your 1099 projects. We've all been there.  However, there is a 
 remedy 
 for this.  SoftEx Systems offers full back office support for Programmers and 
 other IT Professionals, including advanced funding for your invoices.  Check 
 out 
 this link to learn more: http://www.softexconsulting.com/backoffice.cfm



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4073
Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11