RE: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Keith Purtell

I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a solution. We run CF5 on NT4 SP6a. It's a private server hosting
our intranet. I built a simple template that would use CFHTTP to go out
through our proxy server and test one of our public sites to make sure it
was up and running. If not, it notifies me. Then I scheduled the template to
run once an hour in the CF Admin. The template works fine if I use my
browser to access it. However, called my the Scheduler, this template always
fails to get past the proxy server, and instead returns 407 Proxy
Authentication Required. I have established a user account on the proxy
server and made sure to use the same username and password as I put in the
tag. I have also checked the username/password used inside the Scheduler,
and the username/password used by CF. The process only fails when the
Scheduler tries to call the template, and CFHTTP tries to get past the
proxy. There are a number of related threads on this in the Allaire forums.
But the only solutions people have found were to either write their own CFX,
or purchase the $150 Mabry HTTP/X and a related $50 custom tag. I can't do
either right now. I approached someone in the forum who had written their
own solution, but they didn't want to send me a copy. Just as frustrating, I
can't find any record of these failures in the proxy log! This particular
template is not mission critical, but if I can't make CFHTTP get past the
proxy, then I can't use it elsewhere. Comments?

CFHTTP
URL=http://www.domain.com/index.html;
METHOD=GET
RESOLVEURL=No
PROXYSERVER=ip.address.here
PROXYPORT=8080
USERNAME=username
PASSWORD=password
THROWONERROR=No
TIMEOUT=120

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Keith Purtell

I unzipped as required, then went into CF Admin JVM and Java Settings and
used the Browse Server button next to Class Path to arrive at
C:\jdk1.3.1_01\jre\lib\HTTPClient, then I clicked the Submit Changes
button at the bottom of the page. I have also tried stopping and restarting
the CF service. Perhaps I need to add this as a system variable not just in
CF?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


java.lang.ClassNotFoundException means that CF couldn't find the class
files...

One of two things have gone wrong:

1.  You didn't add the jre/lib path to the CFAdmin (make sure it's valid!)
2.  You didn't extract the .zip file into jre/lib/HTTPClient

Double-check these things.

--Daryl
- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:14 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a solution. We run CF5 on NT4 SP6a. It's a private server hosting
our intranet. I built a simple template that would use CFHTTP to go out
through our proxy server and test one of our public sites to make sure it
was up and running. If not, it notifies me. Then I scheduled the template to
run once an hour in the CF Admin. The template works fine if I use my
browser to access it. However, called my the Scheduler, this template always
fails to get past the proxy server, and instead returns 407 Proxy
Authentication Required. I have established a user account on the proxy
server and made sure to use the same username and password as I put in the
tag. I have also checked the username/password used inside the Scheduler,
and the username/password used by CF. The process only fails when the
Scheduler tries to call the template, and CFHTTP tries to get past the
proxy. There are a number of related threads on this in the Allaire forums.
But the only solutions people have found were to either write their own CFX,
or purchase the $150 Mabry HTTP/X and a related $50 custom tag. I can't do
either right now. I approached someone in the forum who had written their
own solution, but they didn't want to send me a copy. Just as frustrating, I
can't find any record of these failures in the proxy log! This particular
template is not mission critical, but if I can't make CFHTTP get past the
proxy, then I can't use it elsewhere. 

Re: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Daryl Banttari

Drop HTTPClient from the end of the lib path.

When you specify
class=HTTPClient.HTTPClient
the part before the period becomes a directory.

--Daryl

- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:42 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I unzipped as required, then went into CF Admin JVM and Java Settings and
used the Browse Server button next to Class Path to arrive at
C:\jdk1.3.1_01\jre\lib\HTTPClient, then I clicked the Submit Changes
button at the bottom of the page. I have also tried stopping and restarting
the CF service. Perhaps I need to add this as a system variable not just in
CF?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


java.lang.ClassNotFoundException means that CF couldn't find the class
files...

One of two things have gone wrong:

1.  You didn't add the jre/lib path to the CFAdmin (make sure it's valid!)
2.  You didn't extract the .zip file into jre/lib/HTTPClient

Double-check these things.

--Daryl
- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:14 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a solution. We run CF5 on NT4 SP6a. It's a private server hosting
our intranet. I built a simple template that would use CFHTTP to go out
through our proxy server and test one of our public sites to make sure it
was up and running. If not, it notifies me. Then I scheduled the template to
run once an hour in the CF Admin. The template works fine if I use my
browser to access it. However, called my the Scheduler, this template always
fails to get past the proxy server, and instead returns 407 Proxy
Authentication Required. I have established a user account on the proxy
server and made sure to use the same username and password as I put in the
tag. I have also checked the username/password used inside the Scheduler,
and the username/password used by CF. The process only fails when the
Scheduler tries to call the template, and CFHTTP tries to get past the
proxy. There are a number of related threads on this in the Allaire forums.
But the only solutions people have found were to either write their own CFX,
or purchase the $150 Mabry HTTP/X and a related $50 custom tag. I can't do
either 

RE: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Keith Purtell

Well that didn't do it, so I went ahead and added the class path at the
system level. Now the CFOBJECT runs without error. But instead of returning
the external Web page that is called in the contents, I get our generic
firewall message for people whose browsers are not properly configured. It's
not getting past our proxy. Is there some way to pass a username and
password in CFSCRIPT?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


Drop HTTPClient from the end of the lib path.

When you specify
class=HTTPClient.HTTPClient
the part before the period becomes a directory.

--Daryl

- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:42 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I unzipped as required, then went into CF Admin JVM and Java Settings and
used the Browse Server button next to Class Path to arrive at
C:\jdk1.3.1_01\jre\lib\HTTPClient, then I clicked the Submit Changes
button at the bottom of the page. I have also tried stopping and restarting
the CF service. Perhaps I need to add this as a system variable not just in
CF?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


java.lang.ClassNotFoundException means that CF couldn't find the class
files...

One of two things have gone wrong:

1.  You didn't add the jre/lib path to the CFAdmin (make sure it's valid!)
2.  You didn't extract the .zip file into jre/lib/HTTPClient

Double-check these things.

--Daryl
- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:14 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput

Voila!

(I wonder why the method is called Get(), instead of get()...)


- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: KCFusion (E-mail) [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 9:31 AM
Subject: [KCFusion] CFHTTP hopeless with proxy?


Before I give up on CFHTTP, I'll offer this description of my problem and
hope for a 

[KCFusion] Sending Email via CF problems

2002-01-14 Thread Chris Stallo


We have been sending e-mail through ColdFusion for
quite a while now.  Today it just stopped working. 
After talking with the people in charge of the
Exchange Server they said that our server was set up
with 'open relay' and this was shut off over the
weekend.

The message we are getting in the log files is 'Client
was not authenticated'.  

Has anyone experienced this before?  Any suggestions?

We are using Exchange 2000, CF Server 5.0, and Windows
2000 web server.  

Thanks,

Chris

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



Re: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Daryl Banttari

The full docs are at
http://www.innovation.ch/java/HTTPClient/api/HTTPClient/HTTPConnection.html

Look into the setProxyServer() and addBasicAuthorization methods...

--Daryl

- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 10:12 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


Well that didn't do it, so I went ahead and added the class path at the
system level. Now the CFOBJECT runs without error. But instead of returning
the external Web page that is called in the contents, I get our generic
firewall message for people whose browsers are not properly configured. It's
not getting past our proxy. Is there some way to pass a username and
password in CFSCRIPT?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


Drop HTTPClient from the end of the lib path.

When you specify
class=HTTPClient.HTTPClient
the part before the period becomes a directory.

--Daryl

- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:42 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I unzipped as required, then went into CF Admin JVM and Java Settings and
used the Browse Server button next to Class Path to arrive at
C:\jdk1.3.1_01\jre\lib\HTTPClient, then I clicked the Submit Changes
button at the bottom of the page. I have also tried stopping and restarting
the CF service. Perhaps I need to add this as a system variable not just in
CF?

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Monday, January 14, 2002 9:30 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


java.lang.ClassNotFoundException means that CF couldn't find the class
files...

One of two things have gone wrong:

1.  You didn't add the jre/lib path to the CFAdmin (make sure it's valid!)
2.  You didn't extract the .zip file into jre/lib/HTTPClient

Double-check these things.

--Daryl
- Original Message -
From: Keith Purtell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 9:14 AM
Subject: RE: [KCFusion] CFHTTP hopeless with proxy?


I installed this item as described and ran the code. I'm enclosing the error
message because I'm not familiar with Java ...

Diagnostics: Unhandled System exception !  java.lang.ClassNotFoundException:
ClassFormatError for class  HTTPClient.HTTPConnection. Java exception
occurred in call to method. The error occurred while processing an element
with a general identifier of (CFOBJECT), occupying document position (90:1)
to (95:2).

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Daryl Banttari
Sent: Friday, January 11, 2002 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?


I once got a Java http client working from within CF.

Here's what I did to get it working:
1.  Download the HTTPClient class files (.zip) from
http://www.innovation.ch/java/HTTPClient/
2.  Extract to C:\jdk1.3\jre\lib\HTTPClient
3.  Add C:\jdk1.3\jre\lib\ as Class Path in CF Admin
4.  Run following CF code:

cfobject action = Create type = Java
class = HTTPClient.HTTPConnection name = httpConn
cfscript
httpConn.init(www.windsorcs.com);
response=httpConn.Get(/);
content=response.getText();
/cfscript
cfoutput
#content#
/cfoutput


Re: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Girish_Kshirsagar


Keith,

Is this a http connection or https?  If https then you may need addtional
steps - such as security policy set up etc.

In general, firewall issues can be complex - in some cases you must work
with the ISP, and they are typically reluctant to divulge any information
that may breach security.

If you can divulge the URL, I may be able to do some remote tests myself.

Girish

 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] CFHTTP hopeless with proxy?

2002-01-14 Thread Keith Purtell

It's an HTTP connection, and I'm the administering the firewall, so I've got
a lot of control. I've done more testing using
HTTPConnection.setProxyServer, as recommended in the docs. But CF server
doesn't like that, and tells me it can't determine the value of the
parameter. A little bizarre, since it correctly processed the CFOBJECT and
then went on to correctly process the httpConn.init insided CFSCRIPT. Like I
said, I know nothing about Java, so it's likely I'm making a basic mistake.

Keith Purtell, Web/Network Administrator
VantageMed Operations (Kansas City)
Email:  [EMAIL PROTECTED]
Voice: (816) 801-5200
Fax:   (816) 880-4776
   (800) 525-1101

CONFIDENTIALITY NOTICE: This email message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 2:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [KCFusion] CFHTTP hopeless with proxy?



Keith,

Is this a http connection or https?  If https then you may need addtional
steps - such as security policy set up etc.

In general, firewall issues can be complex - in some cases you must work
with the ISP, and they are typically reluctant to divulge any information
that may breach security.

If you can divulge the URL, I may be able to do some remote tests myself.

Girish



 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]
 



RE: [KCFusion] string functions

2002-01-14 Thread Paul Smith

I thought one of you might know someone with these skills. We do pay
referral fee's. I am looking for a contractor with the following skills.
This position will be six months to a year. This more of a Java Architect
position then a Java Developer position. Must have strong design skills and
Unix experience.

Required skills:
*   8-10 years programming experience
*   Including 3-5 years of web development
*   Strong Java, EJB, servlets, CORBA, XML, XSLT, SOAP, DHTML, CSS,
HTML, javascript
*   Experience in begin-to-end project lifecycle (including, but not
limited to, system design, and development lead)
*   Unix, Solaris, Linux, JRun, iPlanet, Apache, Tomcat
*   Hands-on web administration - web servers, proxy, security
*   Works well in a team

Preferred skills:
*   Experience in other server side languages (ASP, etc) - in addition
to Java related
*   Web Portal design and development
*   Web Services design and development
*   SIP, WML, WAP, HDML, C++, Perl, CGI



Paul Smith
Solutions Point
Lighton Plaza 1
7300 College Blvd., Ste. 204
Overland Park, KS 66210
off: (913) 338-2515
pcs: (913) 486-8295
fax: (913) 338-0447
toll free: 888 522-1167
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Mark Kirkbride
Sent: Tuesday, December 04, 2001 4:02 PM
To: [EMAIL PROTECTED]
Subject: RE: [KCFusion] string functions

Thanks for the insight.  I'm just trying to compare to strings in an
CFIF statement, but sometimes get results that I don't want.  I think I
have a work around though.

Mark Kirkbride
Information System Specialist
FBD Consulting, Inc.
(913) 319-8836
[EMAIL PROTECTED]


-Original Message-
From:   Daryl Banttari [SMTP:[EMAIL PROTECTED]]
Sent:   Tuesday, December 04, 2001 3:55 PM
To: [EMAIL PROTECTED]
Subject:Re: [KCFusion] string functions

You could start here:

http://livedocs.allaire.com/cf50docs/CFML_Reference/Functions2.jsp#10998
87

Knowing what all of the string functions are (and what they do)
is the first
step.  I recommend reading the language reference
cover-to-cover, twice.
The point is not memorization, but the ability to later say,
Wasn't there a
built-in function that does that..?

After that, the tricks are mostly around:
- mastering regular expressions
- using creative delimiters with list functions (such as cr/lf
for looping
around a file, line by line)
- recognizing creative uses for list functions

Are you looking for something in particular?

If you'd like to see several string functions in action, check
out the
attached template, which will find opportunities for the use of
CFQUERYPARAM
and modify the code to use it (then save the altered template to
a new
file.)

--Daryl

- Original Message -
From: Mark Kirkbride [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 04, 2001 3:47 PM
Subject: [KCFusion] string functions


Anyone know of a web page with some info on String Functions?

Thanks,
Mark Kirkbride
Information System Specialist
FBD Consulting, Inc.
(913) 319-8836
[EMAIL PROTECTED]




__
The KCFusion.org list and website is hosted by Humankind
Systems, Inc.
List Archives
http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise..
mailto:[EMAIL PROTECTED]
To Subscribe
mailto:[EMAIL PROTECTED]
To Unsubscribe
mailto:[EMAIL PROTECTED]

  File: _parameterizeQueries.cfm 


__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]


 
 
__
The KCFusion.org list and website is hosted by Humankind Systems, Inc.
List Archives http://www.mail-archive.com/cf-list@kcfusion.org
Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED]
To Subscribe mailto:[EMAIL PROTECTED]
To Unsubscribe mailto:[EMAIL PROTECTED]