Pete,

Just thought I'd mention to you that the problem I was having was in the
CFX_JSocket.java code.  On line 36 this is what the code I downloaded from
CFDev.com has:

        Socket socket = new Socket(request.getAttribute("HOST"),
Integer.parseInt(
            request.getAttribute("T")));

I changed it to:

        Socket socket = new Socket(request.getAttribute("HOST"),
Integer.parseInt(
            request.getAttribute("PORT")));

Now everything is working.  I did not change anything originally so you might
want to check the code.

Thanks,

Kevin Cundick
Webmaster
Flying J Inc

-----Original Message-----
From: Pete Freitag [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 10:05 AM
To: CF-Talk
Subject: RE: CF > Java trouble.


That exception is cause because you are entering (or not entering) a tag
attribute that it is expecting to be a number, and it can't convert it to a
number.  See the tag docs to see which ones must be numbers (eg PORT).

+++++++++++++++++++++++++++++++++++++++++++++
Pete Freitag ([EMAIL PROTECTED])
CTO, CFDEV.COM
ColdFusion Developer Resources
http://www.cfdev.com/


-----Original Message-----
From: Kevin Cundick [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 11:55 AM
To: CF-Talk
Subject: RE: CF > Java trouble.


No it does not.  Here is the exact error:

Error Diagnostic Information
java.lang.NumberFormatException: . Java exception occurred in call to
method.

The error occurred while processing an element with a general identifier of
(CFX_JSOCKET), occupying document position (88:1) to (88:104) in the
template
file /opt/apache/htdocs/Java/jsocket.cfm.

-----Original Message-----
From: Zac Belado [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 12, 2001 9:45 AM
To: CF-Talk
Subject: RE: CF > Java trouble.


> > Can anyone give me any idea what I'm doing wrong?  I'm not sure
> > it matters, but we do run ColdFusion on Solaris.
>
> What version of Java are you running on your server?

And I also asked

"Does the error give a method name or class name in which the error occurs?
"

But the last line got cut off again. Is this the listserv's mail server
doing this or mine?










________________________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to