RE: Java help - convert -D command line option to CF?

2007-12-08 Thread Hareni Venkatramanan
Perhaps, you can try to instantiate java.lang.System and set the system property in the coldfusion code? Something like, Hope that helps. Thanks, Hareni -Original Message- From: Ryan Stille [mailto:[EMAIL PROTECTED] Sent: 08 December 2007 04:19 To: CF-Talk Subject: Java help - conver

RE: Using custom java classes with MX 7

2007-12-06 Thread Hareni Venkatramanan
Hi Dave, You need to place the .class files in C:\CFusionMX7\wwwroot\WEB-INF\classes dir or add the path to the class file to the classpath specified on the JVM and Java Settings page in the ColdFusion MX Administrator. http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/ht ml

RE: fixing a piece of code

2007-10-30 Thread Hareni Venkatramanan
Hi Toby, There is an extra #) in the insert query inside your cfloop tag. If you remove it, it should work fine. Thanks, Hareni Adobe CF team -Original Message- From: Toby King [mailto:[EMAIL PROTECTED] Sent: 30 October 2007 18:48 To: CF-Talk Subject: fixing a piece of code Hi there I

RE: Coldfusion 8 Adminapi Datasource problem

2007-10-21 Thread Hareni Venkatramanan
Hi John, In the function myObj.setMSSQL(), the values of timeout and interval are specified in seconds ( pl. refer /CFIDE/adminapi/datasource.cfc for APIs), whereas in admin, the interval and timeout values are displayed in mins. Therefore, in your example (20/60) is rounded off to zero. Than

RE: error with ColdFusion 8 ODBC Agent

2007-10-03 Thread Hareni Venkatramanan
Hi Jim, Just a small check, in the line createObject("component","cfide.adminapi.administrator").login("admin") Instead of "admin", you need to provide your admin password. Is your admin password the same? Thanks, Hareni -Original Message- From: Jim Easterly [mailto:[EMAIL PROTECTED]

RE: HELP! RE: error with ColdFusion 8 ODBC Agent

2007-10-03 Thread Hareni Venkatramanan
n, since I have all the mappings, cf and cfx tags and browserhawk installed and running. Mark -Original Message----- From: Hareni Venkatramanan [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 22, 2007 2:17 AM To: CF-Talk Subject: RE: error with ColdFusion 8 ODBC Agent Hi Matthew, Som

RE: CF 8 Sample DBs

2007-09-26 Thread Hareni Venkatramanan
Hi, You can make use of the functions in CFIDE/adminapi/datasource to install the sample dbs. Run this script: datasource = createObject("component", "CFIDE.adminapi.datasource"); datasource.setDerbyEmbedded(name="cfdocexamples" , databa

RE: error with ColdFusion 8 ODBC Agent

2007-08-21 Thread Hareni Venkatramanan
Hi Matthew, Sometimes, it might happen that the ODBC services Coldfusion8 ODBC Agent and Coldfusion 8 ODBC Server do not get installed properly for new J2EE deployment and in services property the path keeps pointing to an old deployment directory and hence they do not start up. What you can do

RE: Formatting a Date for MSSQL

2007-08-21 Thread Hareni Venkatramanan
Hi Rob, I tried something like this and it worked fine for me: Here is my stored proc in sql 2000 which inserts a datetime value into a table testdate: CREATE procedure updatedate @startdate datetime as begin insert into testdate values (@startdate); end GO And here is the coldfusion code tha