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: Protecting images

2008-06-14 Thread Mike Kear
Sorry Bobby, but i thought the original question and the comment about copyright was yours. I stand corrected. 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 On

Re: Extending Application.cfc

2008-06-14 Thread Mike Kear
Wim, I played around with this same problem one way and another for ages.If I understand it correctly, the problem stems from the fact that IIS as it is in XPPro only allows one site per machine, and if you want multiple sites, you either have to do somthing smart with Application.cfc or keep

OT - Apache Mod Rewrite

2008-06-14 Thread marc --
Hello, This question is about an Apache configuration problem I have recently. I hope someone can help here! In order to view the websites I develop locally easily I set up Apache mod rewrite to map a url to a directory on the local filesystem. This way I do not have to make a Virtual

Re: Coldfusion and Java...

2008-06-14 Thread Adam Haskell
3 posts necessary? Anyrate that's beyong the point :) Have you restarted your app server, I'll assume you are using Jrun so have you restarted jrun? Adam Haskell On Sat, Jun 14, 2008 at 3:01 AM, Varun Dixit [EMAIL PROTECTED] wrote: I have a Java SDK which has some JAR files and a Class

RE: JVM Tuning and cthreads... I'm Back

2008-06-14 Thread Mark Kruger
Ian, I have tried and I cannot reproduce your results. Using your code I seem to be able to spawn any number of threads and they all terminate gracefully. One thing that comes to mind is that errors thrown inside of the thread are not thrown back to the request. So they occur silently inside the

RE: JVM Tuning and cthreads... I'm Back

2008-06-14 Thread Mark Kruger
One more thought. Your code sets variables in the threads without var'ing them. Possibly this could lead conditions where threads are competing. So your simple example might be better if you did: cfloop index = i from=1 to=50 cfset threadList = listAppend(threadList,batchRenew_thread#i#)

Re: Yet another validating email addresses question

2008-06-14 Thread Will Tomlinson
So, the questions are: 1. What would isValid have done with [EMAIL PROTECTED]? 2. What would it have done with [EMAIL PROTECTED]@somewhere.com.rpost.org? cfset email1 = [EMAIL PROTECTED] cfset email2 = [EMAIL PROTECTED]@somewhere.com.rpost.org cfset validate1 = isValid(email, email1) cfset

RE: many sites, one codebase

2008-06-14 Thread Jim Davis
-Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2008 7:13 PM To: CF-Talk Subject: RE: many sites, one codebase Jim, I'd like to know more about this. It's all fairly new to me since I've only been with CF 8 for about 3 months now and I

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

Case Sensitive Form Field Names

2008-06-14 Thread Bobby Hartsfield
Probably a lost cause but does anyone know of any method(s) to preserve the case of form field names through a POST? I'm submitting a form to capture the input and generate some XML to pass to a remote web service. The form field names correspond with the required XML node names since the plan was

RE: Issues Deploying Java SDK in ColdFusion

2008-06-14 Thread Eric Roberts
as long as it's compatible with the JVM that your version of CF uses and you have it in the classpath in administratorjust restart CF and you should be fine. Just make sure your JAR files are in either the folder you specified in the classpath or in one that is already in the classpath. Eric

Re: Case Sensitive Form Field Names

2008-06-14 Thread Barney Boisvert
You can use the HttpServletRequest object (getPageContext().getRequest()) to pull an enumeration of case-sensitive parameter names. cheers, barneyb On Sat, Jun 14, 2008 at 9:13 AM, Bobby Hartsfield [EMAIL PROTECTED] wrote: Probably a lost cause but does anyone know of any method(s) to preserve

Re: OT - Apache Mod Rewrite

2008-06-14 Thread marc --
Ok, I found it. Somehow the local system account was removed from the list of accounts having access to D:. After adding it everything worked as before. A clue was given by Perfectdisk who reported You appear to have lost a disk. Thanks

RE: many sites, one codebase

2008-06-14 Thread Rick Faircloth
Wow, Jim! Thanks for all the info! Rick -Original Message- From: Jim Davis [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2008 10:58 AM To: CF-Talk Subject: RE: many sites, one codebase -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent:

RE: Case Sensitive Form Field Names

2008-06-14 Thread Bobby Hartsfield
Barney to the rescue again! Thanks man, works like a champ. For the sake of the archives, here is a working example: cfif cgi.request_method is post cfset paramNames = getPageContext().getRequest().getHttpRequest().getParameterNames() / cfscript

Need 'ExampleApps' datasource...

2008-06-14 Thread Rick Faircloth
Ok, so I *finally* decided to learn how to use CFCs and I'm working through Ben Forta's intro, but I realize that I don't have the 'exampleapps' datasource. Neither can I find it *anywhere* that I can download. Does anyone have a copy of it I can get? It should be in a CFMX 7 installation in

RE: Case Sensitive Form Field Names

2008-06-14 Thread Mark Kruger
Bobby and Barney, I liked this solution so well that I wrote a blog post on it. Good stuff: http://www.coldfusionmuse.com/index.cfm/2008/6/14/form.case.insensitive#more -mk -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2008 12:48 PM To:

Re: Using Java in ColdFusion

2008-06-14 Thread Dominic Watson
When using java classes before, I have had to restart ColdFusion for changes to take effect. I imagine / hope, there is a better way to do it - but try that if you can and haven't HTH Dominic On 14/06/2008, Varun Dixit [EMAIL PROTECTED] wrote: Sorry about 3 posts, my internet connection died

Re: Need 'ExampleApps' datasource...

2008-06-14 Thread Will Tomlinson
Ok, so I *finally* decided to learn how to use CFCs and I'm working through Ben Forta's intro, but I realize that I don't have the 'exampleapps' datasource. Neither can I find it *anywhere* that I can download. My god son. I dunno where to start! They should've installed with your CF8 install.

RE: Need 'ExampleApps' datasource...

2008-06-14 Thread Rick Faircloth
Nevermind... moved on to another CFC tutorial... -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2008 3:17 PM To: CF-Talk Subject: Need 'ExampleApps' datasource... Ok, so I *finally* decided to learn how to use CFCs and I'm working

Re: Using Java in ColdFusion

2008-06-14 Thread James Holmes
If you don't want to restart CF to use a new class/jar, you can use a classloader: http://javaloader.riaforge.org/ On Sun, Jun 15, 2008 at 4:42 AM, Dominic Watson [EMAIL PROTECTED] wrote: When using java classes before, I have had to restart ColdFusion for changes to take effect. I imagine /

Re: Yet another validating email addresses question

2008-06-14 Thread Rizal Firmansyah
isValid only validates the string format, it doesn't check whether the domain, or the email address really exists. To do that, you need to check DNS MX record and perform SMTP check. Or you can also use cfmail without spooling and trap the error to decide whether the email address is ok or