Loading Key from KeyStore

2011-08-22 Thread Varun Dixit
I am trying to load a key from the key store and have the following code below- Cfscript storePath = c:\coldfusion8\runtime\jre\lib\security\cacerts ; ksFile = CreateObject(java, java.io.File).init(storepath); inputStream = CreateObject(java, java.io.FileInputStream).init(ksFile); keyStoreClass =

Re: Loading Key from KeyStore

2011-08-22 Thread Varun Dixit
I am getting the error on initSign. Can you post the actual error message and stack trace? Could not initialize for signing with the given key. The error occurred in C:\Users\vdixit\workspace\test\testConnection.cfm: line 22 20 :signature = CreateObject(java, java.security.Signature);

cflock type for Application Scope variables

2011-08-16 Thread Varun Dixit
I have some code in front of me which is like this- cflock scope=application type=READONLY timeout=50 cfset application.myVar = myQuery.myCol /cflock It's a CF8 in a multi server environment and I was seeing some inconsistencies. I always thought that when writing to a scope the lock

CF8: CFChart (FLASH) to PDF issue.

2009-02-23 Thread Varun Dixit
I am trying to put chart being generated in Flash into a PDF file, but all I am getting is blank PDF, just with the watermark saying that its a developer edition. This problem is persistent for Flash only. My PNG chart looks great in PDF. Any thoughts? Am I missing something???

Re: CF8: CFChart (FLASH) to PDF issue.

2009-02-23 Thread Varun Dixit
Dave, I was thinking the same thing, till I read documentation about CF8-- CFChart tag, From CF8 live docs:- ColdFusion 8: Added support for embedding Flash charts within the cfdocument tag. http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_c_05.html So I think there is

Re: CF8: CFChart (FLASH) to PDF issue.

2009-02-23 Thread Varun Dixit
ouch There goes my 2 days of research into finding fix for this problem. I should have posted it right away on the listg Well, if that's the case than someone from CF team at Adobe should update the live docs so that it's not misleading. Varun Dixit wrote: I was thinking

Re: CF Log Viewer Question

2009-02-11 Thread Varun Dixit
Thanks Ray. Worked gr8. Use the AdminAPI: cfscript adminObj = createObject(component,cfide.adminapi.administrator); adminObj.login(admin); debugger = createObject(component, cfide.adminapi.debugging); logfolder = debugger.getLogProperty(logdirectory); /cfscript cfoutput#logfolder#/cfoutput

CF Log Viewer Question

2009-02-10 Thread Varun Dixit
I am writing a ColdFusion Log File viewer for a client, and can not figure out how to get the path of the directory where Cold Fusion logs file are stored. I see in CF Admin, Debugging Logging Logging Settings you can specify the where the log files are stored. Is there a variable or a

Re: CFPOP and Email gateway

2008-07-28 Thread Varun Dixit
Thanks for the info Dave. It's always good to know of alternate solutions, but, I was thinking more on the line of gateway which would continuously listen for emails (just like it would do for SMS messages), any thoughts on that? Is it possible to listen for emails at all? Varun, I forgot to

CFPOP and Email gateway

2008-07-24 Thread Varun Dixit
I have a CRM tool which uses CFPOP to pull the email from the mailbox, parses those email and connects them to an existing open tickets in the CRM tool for that email address. I have a scheduled task which runs every 15 minutes and does the pull,parse and append. I need to have this task run

Issues Deploying Java SDK in ColdFusion

2008-06-14 Thread Varun Dixit
I am new to deploying Java code in ColdFusion. I have a SDK which has Java file and few JAR files. I am interested in finding out how should i go about deploying the java code. As of now i have my JAR files seating in WEB-INF/lib folder and the class files in WEB-INF/Classes folder. I

Using Java in ColdFusion

2008-06-14 Thread Varun Dixit
I have a Java SDK which has some JAR files and a Class file. I need some help figuring out how to deploy the java code and than use it in ColdFusion. I have put jar files in WEB-INF/lib folder and class file in WEB-INF/classes folder. I created an object using createObject(java, myobject). It

Coldfusion and Java...

2008-06-14 Thread Varun Dixit
I have a Java SDK which has some JAR files and a Class file. I need some help figuring out how to deploy the java code and than use it in ColdFusion. I have put jar files in WEB-INF/lib folder and class file in WEB-INF/classes folder. I created an object using createObject(java, myobject). It

Re: Using Java in ColdFusion

2008-06-14 Thread Varun Dixit
Sorry about 3 posts, my internet connection died everyime i tried posting it I have a Java SDK which has some JAR files and a Class file. I need some help figuring out how to deploy the java code and than use it in ColdFusion. I have put jar files in WEB-INF/lib folder and class file in

Re: Issues Deploying Java SDK in ColdFusion

2008-06-14 Thread Varun Dixit
Sorry about 3 posts, my internet connection died everyime i tried posting it I am new to deploying Java code in ColdFusion. I have a SDK which has Java file and few JAR files. I am interested in finding out how should i go about deploying the java code. As of now i have my JAR files

PDF to HTML

2007-10-30 Thread Varun Dixit
Hi everyone, I have a PDF file which i would like to convert to HTML. If anyone could point me to a custom tag or a utlity for the conversion it would be great. Thanks in advance. ~| Download the latest ColdFusion 8 utilities

Wiki in Cold Fusion

2007-02-28 Thread Varun Dixit
Hey Guys, I am working on creating a new wiki, I was thinking may be if there are some designs and guidelines for creating wiki's somewhere. I have looked at Ray Camden's CanvasWiki already. But than as i said, I am more interested in the design and structuring it right. Any links or

Re: Combo Box in CF

2007-01-03 Thread Varun Dixit
Brian, Thanks for your reply. I came up with a combobox too yesterday, and its using javascript which as you said is indeed very reponsive. The was I have it set up is a text box seating on top of Select inside a DIV. Than, i got few javascript functions googling, and kinna of created a

Re: Combo Box in CF

2007-01-03 Thread Varun Dixit
://webfx.eae.net/dhtml/combobox/combobox.htm Russ -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: 03 January 2007 16:12 To: CF-Talk Subject: Re: Combo Box in CF Brian, Thanks for your reply. I came up with a combobox too yesterday, and its using javascript which

Re: Combo Box in CF

2007-01-03 Thread Varun Dixit
have and if anyone else wants they can sign up and we can do something with this. Varun, seems you and I have pretty much the same requirements. -Original Message- From: Varun Dixit [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 03, 2007 12:33 PM To: CF-Talk Subject: Re: Combo Box in CF

Combo Box in CF

2007-01-02 Thread Varun Dixit
I am working on making a true combox, which essentially would be a combination of Text box and Select. I would appreciate any pointes that would help me create one. ~| Create robust enterprise, web RIAs. Upgrade integrate

Re: Combo Box in CF

2007-01-02 Thread Varun Dixit
building one from scratch :) On 1/2/07, Varun Dixit [EMAIL PROTECTED] wrote: I am working on making a true combox, which essentially would be a combination of Text box and Select. I would appreciate any pointes that would help me create one

Re: Combo Box in CF

2007-01-02 Thread Varun Dixit
Brian, Apologies for not being clear. Here is what I would like it to do, --select a value from the provided drop-down list --type something that is in the list and have it try to autocomplete it. Thanks,Varun Varun, Can you be more specific by what you mean by a true combobox? Do you

Overwriting Printer Settings.

2006-11-30 Thread Varun Dixit
I am not quiet sure if this is a CSS issue or CF, but I have a template which when printed needs to have 0.5in margins on all side. But individual printer settings just screws up all the margins. Is there a way I could overwrite the individual printer settings using some code. Any suggestions

CF_SQL_INTEGER vs CF_SQL_NUMERIC in Oracle Database.

2006-10-09 Thread Varun Dixit
translates these data types. Thanks Varun Dixit ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http

Re: CF_SQL_INTEGER vs CF_SQL_NUMERIC in Oracle Database.

2006-10-09 Thread Varun Dixit
Thanks dave. On 10/9/06, Varun Dixit [EMAIL PROTECTED] wrote: I have been trying to figure out how does oracles translates those 20 odd data types supported in CFQUERYPARAM tag. But I have not had much luck finding anything, any help or pointers in this regard would be appreciated