Re: Could not instantiate stub objects
Hi Rob, Yeah, it is strange that it wouldn't generate the stubs on it's own. The Test environment and the production environment are setup up as identical as I can. They are both currently running jdk1.6.0_10. In checking the permissions, both servers are setup identically. The only real differences I can see is the hardware. OS versions are identical. The production server has more CPUs and more RAM. I can't see any other differences. Again, that you for working on this with me. What was done to get this working certainly isn't preferred because the problem hasn't really been solved. But at least the solution is running. Kevin Hi Kevin, Thanks for the update mate, sorry I disappeared last night, it was getting late and I was knackered. Well at least you have a working solution now, really very odd that it couldn't generate the stub objects. If the connection was fine from the server there shouldn't have been a problem. What JAVA versions are you running on the servers? Same on both? My only other thought is perhaps some form of permissions error, the cf server doesn't have permissions to write those stub files to the FS or something? Might be worth double checking. Whilst nothing has changed code wise, something configuration wise on the server may have changed, a windows update or something, who knows. Rob Hi Rob, I thought I'd let you know I got it working, albeit using a method that I'd prefer not to, but nonetheless it works. What I did was I went on to the Test server I told you about that works great with the web service. After removing the web service from the administrator and stopping the ColdFusion services, I went in and deleted out all the stub directories. I then started the server back up. I then copied all the stub .class files from the test server over to the production server. Then it came to life. Should've been easier than that. But after all the hours I put into this, I'll take it. Thanks for your assistance. Kevin ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321978 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Could not instantiate stub objects
Hi Rob, Thank you for suggestion. I did what you recommended and after I did that, I get this exception... Could not instantiate stub objects for web service invocation. I'm not sure why it would not be able to instantiate the class, it is there. So this has me stuck. Thank you again for your suggestion. Kevin Hi Kevin, You say that the webservice is listed in the CFADMIN? I'd try deleting it from the list and then the next time the code is called it should regenerate and hopefully solve your problem, have you tried that? Is this remote service your own? Or someone elses? Rob Hi All, I am having some trouble trying to call a web service that is currently setup in the ColdFusion administrator. I get the following exception each time I try... Error,jrpp-3,04/22/09,13:55:25,nutracorp,Could not instantiate stub objects for web service invocation.The rootcause was that: java.lang.reflect.InvocationTargetException The specific sequence of files included or processed is: D:\xxx\sites\xweb\search_.cfm, line: 40 coldfusion.xml.rpc.ServiceInfo$ServiceStubInstantiationException: Could not instantiate stub objects for web service invocation. Has anyone seen this before? It is running ColdFusion 7 on Windows Server 2003 (SP3). CF is utilizing Java's JDK1.6.0_10. Upgrading to ColdFusion 8 is not an option for me as I have been turned down upon many requests. So I'm stuck with CF 7. I know it is not supported to run JDK 1.6, but I need many of the features that come with that JDK so falling back also isn't an option. The weird thing is that this has worked for quite some time and then broke out of the blue without any changes being made. I would appreciate any suggestions on what could be going on. Thanks, Kevin ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321854 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Could not instantiate stub objects
I failed to mention that this remote service is someone else's. If I attempt the hit the WSDL by just pasting the URL in the browser it does come back successfully. Any further suggestions? I would appreciate it. Hi Rob, Thank you for suggestion. I did what you recommended and after I did that, I get this exception... Could not instantiate stub objects for web service invocation. I'm not sure why it would not be able to instantiate the class, it is there. So this has me stuck. Thank you again for your suggestion. Kevin Hi Kevin, You say that the webservice is listed in the CFADMIN? I'd try deleting it from the list and then the next time the code is called it should regenerate and hopefully solve your problem, have you tried that? Is this remote service your own? Or someone elses? Rob Hi All, I am having some trouble trying to call a web service that is currently setup in the ColdFusion administrator. I get the following exception each time I try... Error,jrpp-3,04/22/09,13:55:25,nutracorp,Could not instantiate stub objects for web service invocation.The rootcause was that: java.lang.reflect.InvocationTargetException The specific sequence of files included or processed is: D:\xxx\sites\xweb\search_.cfm, line: 40 coldfusion.xml.rpc.ServiceInfo$ServiceStubInstantiationException: Could not instantiate stub objects for web service invocation. Has anyone seen this before? It is running ColdFusion 7 on Windows Server 2003 (SP3). CF is utilizing Java's JDK1.6.0_10. Upgrading to ColdFusion 8 is not an option for me as I have been turned down upon many requests. So I'm stuck with CF 7. I know it is not supported to run JDK 1.6, but I need many of the features that come with that JDK so falling back also isn't an option. The weird thing is that this has worked for quite some time and then broke out of the blue without any changes being made. I would appreciate any suggestions on what could be going on. Thanks, Kevin ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321892 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Could not instantiate stub objects
Thank you Rob for your suggestions. In the admin panel if I click refresh next to the webservice it gives me this exception... Unable to refresh webservice. Could not instantiate stub objects for web service invocation. The rootcause was that: java.lang.reflect.InvocationTargetException When running the cfset you suggested below, I get the same exception as before. Thank you for your efforts! Hi Kevin, In the admin panel when you click 'refresh' next to the webservice, what happens then? Also, try running the following code in a CFM and see what exception is thrown: cfset CreateObject(java, coldfusion.server.ServiceFactory ).XmlRpcService.RefreshWebService('URL OF THE WSDL GOES HERE') / That will likely throw the exact same exception as before, my only thought if that doesn't work is that we can try and restart the cfusion service to clear any dud caches it might be storing but other than that I'm all out, unless the problem lies at the server end for whoever is publishing the service, it'll be worth speaking to them if none of these things help. Rob I failed to mention that this remote service is someone else's. If I attempt the hit the WSDL by just pasting the URL in the browser it does come back successfully. Any further suggestions? I would appreciate it. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321899 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Could not instantiate stub objects
Hi Rob, Yes, many hours have already gone into this and I haven't made much progress. ;) I attempted what you suggested with removing the web service from the administrator, stopping and starting the CF service. Unfortunately, no change. I have a test environment currently working. This test environment has no trouble running this Web Service. The code is exactly the same from production to test. Just makes this issue even more puzzling. This shows that the WSDL should still work. When I test the WSDL via the URL, I did it from a browser on the server itself. Of course this shows that there isn't a connection issue from the server itself. Thanks again! Kevin Hi Kevin, Yeah these kinds of issues are a nightmare, web services seem to always throw really dumb vague errors which nobody knows anything about! I've wasted hours on problems like this. My final shot at this would be to delete that entry in the cfadmin and restart the coldfusion service on your box, this should clear out any temporary files. My thoughts at the moment are that the publisher has made some changes to the service and that the WSDL is now invalid but due to some cached file somewhere it won't refresh it properly or something. If this isn't a really busy server and you can afford to restart it then that would be my final suggestion, other than contacting the publisher to see if they're aware of any issues. The only other thing I wanted to ask, when you say you're browsing to the WSDL in a browser and it works fine, is that on your local machine or in the browser on the server? I'd be interested to know if the WSDL loads ok in the browser on the server, might be some firewall setting or something causing the problems. Rob Thank you Rob for your suggestions. In the admin panel if I click refresh next to the webservice it gives me this exception... Unable to refresh webservice. Could not instantiate stub objects for web service invocation. The rootcause was that: java.lang.reflect.InvocationTargetException When running the cfset you suggested below, I get the same exception as before. Thank you for your efforts! come back successfully. Any further suggestions? I would appreciate it. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321903 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Could not instantiate stub objects
Hi Rob, I thought I'd let you know I got it working, albeit using a method that I'd prefer not to, but nonetheless it works. What I did was I went on to the Test server I told you about that works great with the web service. After removing the web service from the administrator and stopping the ColdFusion services, I went in and deleted out all the stub directories. I then started the server back up. I then copied all the stub .class files from the test server over to the production server. Then it came to life. Should've been easier than that. But after all the hours I put into this, I'll take it. Thanks for your assistance. Kevin Hi All, I am having some trouble trying to call a web service that is currently setup in the ColdFusion administrator. I get the following exception each time I try... Error,jrpp-3,04/22/09,13:55:25,nutracorp,Could not instantiate stub objects for web service invocation.The rootcause was that: java.lang.reflect.InvocationTargetException The specific sequence of files included or processed is: D:\xxx\sites\xweb\search_.cfm, line: 40 coldfusion.xml.rpc.ServiceInfo$ServiceStubInstantiationException: Could not instantiate stub objects for web service invocation. Has anyone seen this before? It is running ColdFusion 7 on Windows Server 2003 (SP3). CF is utilizing Java's JDK1.6.0_10. Upgrading to ColdFusion 8 is not an option for me as I have been turned down upon many requests. So I'm stuck with CF 7. I know it is not supported to run JDK 1.6, but I need many of the features that come with that JDK so falling back also isn't an option. The weird thing is that this has worked for quite some time and then broke out of the blue without any changes being made. I would appreciate any suggestions on what could be going on. Thanks, Kevin ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321911 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Could not instantiate stub objects
Hi All, I am having some trouble trying to call a web service that is currently setup in the ColdFusion administrator. I get the following exception each time I try... Error,jrpp-3,04/22/09,13:55:25,nutracorp,Could not instantiate stub objects for web service invocation.The rootcause was that: java.lang.reflect.InvocationTargetException The specific sequence of files included or processed is: D:\xxx\sites\xweb\search_.cfm, line: 40 coldfusion.xml.rpc.ServiceInfo$ServiceStubInstantiationException: Could not instantiate stub objects for web service invocation. Has anyone seen this before? It is running ColdFusion 7 on Windows Server 2003 (SP3). CF is utilizing Java's JDK1.6.0_10. Upgrading to ColdFusion 8 is not an option for me as I have been turned down upon many requests. So I'm stuck with CF 7. I know it is not supported to run JDK 1.6, but I need many of the features that come with that JDK so falling back also isn't an option. The weird thing is that this has worked for quite some time and then broke out of the blue without any changes being made. I would appreciate any suggestions on what could be going on. Thanks, Kevin ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321842 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Image BLOB Trouble
Jon, I thought I should mention to you that it turns out that the problem I was having was related to the image not being stored properly in the database. I had our DBA put in several more and they worked perfectly using the method you suggested below. Thanks for your replies! Kevin Hi All, It has recently been required of me to pull a BLOB image from a Sybase database to display on a webpage. Up to now I have never had a need of working with a BLOB in a database or anywhere else for that matter. I have read through the list and found several options, none of which have been successful to me so far. I do have the datasource setup in the CF administrator to accept a BLOB. The method I am currently trying looks like this: cfquery name=q datasource=webdb select image_data from FACT_SHEET where fact_sheet_id = 5 /cfquery cfcontent type=image/jpeg cfoutput#ToString(q.image_data)#/cfoutput /cfcontent All this does is display the current URL in the browser. It does not display anything else, not even if I put something else in there for it to display. I am running CFMX 7 using the Sybase driver that came with ColdFusion. Any ideas on this would be very helpful and appreciated. Thanks, Kevin ~| 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://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260523 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Image BLOB Trouble
Hi All, It has recently been required of me to pull a BLOB image from a Sybase database to display on a webpage. Up to now I have never had a need of working with a BLOB in a database or anywhere else for that matter. I have read through the list and found several options, none of which have been successful to me so far. I do have the datasource setup in the CF administrator to accept a BLOB. The method I am currently trying looks like this: cfquery name=q datasource=webdb select image_data from FACT_SHEET where fact_sheet_id = 5 /cfquery cfcontent type=image/jpeg cfoutput#ToString(q.image_data)#/cfoutput /cfcontent All this does is display the current URL in the browser. It does not display anything else, not even if I put something else in there for it to display. I am running CFMX 7 using the Sybase driver that came with ColdFusion. Any ideas on this would be very helpful and appreciated. Thanks, Kevin ~| 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://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260356 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Image BLOB Trouble
Thanks Jon, I entered the code as you suggested, still all that happens is the URL is printed to the browser with nothing else. Seems to be related to the CFCONTENT tag. If I just remove the CFCONTENT tag and print the image data to the screen, it does do that. As soon as I put the CFCONTENT tag back in I just get the URL. Ideas? Thanks, Kevin Kevin, Try this: cfsilent cfquery name=q datasource=webdb ...Your query here... /cfquery /cfsilent cfheader name=Content-Disposition value=inline cfcontent type=image/jpg variable=#q.image_data# reset=false / In CF7, you can stream directly from the database. Jon On Nov 14, 2006, at 11:52 AM, Kevin Cundick wrote: ~| 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://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260369 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cldap modifying
Not sure if this is exactly related to your problem, but it's close. http://support.microsoft.com/default.aspx?scid=kb;en-us;286760 http://support.microsoft.com/default.aspx?scid=kb;en-us;286760Product=win2 000 Product=win2000 -Original Message- From: Coleman, Brian [mailto:[EMAIL PROTECTED] Sent: Monday, September 13, 2004 9:44 AM To: CF-Talk Subject: cldap modifying I'm trying to use CFLDAP to modify and change the AD. I've used action="" and also action="" but I've run into a problem trying to change a field to be empty. The specific field I'm trying to change at the moment is Description, but it does this with any field. The error message I get is below. An error has occured while trying to execute modify :[LDAP: error code 19 - 2081: AtrErr: DSID-031D0809, #1: 0: 2081: DSID-031D0809, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att d (description) ]. My cfldap query is below, based off form values entered. The DN and everything is based off a previous form. cfldap server=serverIP port=389 username=adminUser password=password action=""> !---what it is now--- dn=#form.DN# !---what it should be changed to--- attributes=description=#form.description#;scriptPath=#form.scriptPath# _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Cheap hosting
Try CFDynamics!(www.cfdynamics.com http://www.cfdynamics.com/ ) For about $20/mo. they offer a lot including access to SQL Server.Worth looking into. -Original Message- From: Mark Drew [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 7:29 AM To: CF-Talk Subject: Cheap hosting Can anyone recomend a cheap coldfusion hosting company (for personal use)? -- Mark Drew mailto:[EMAIL PROTECTED] _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: OT: DW File Save Error
Thanks to those who responded. As suggested I blew away the local copy, pulled down the version on the server, replaced the changes and saved and it worked.Kind of a crazy problem.Takes away the whole reason for having an editor.So it appears this work-around will help and hopefully Macromedia will fix this.I had the same problem with my previous version of Dreamweaver as well. Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 6:59 AM To: CF-Talk Subject: RE: DW File Save Error yeah, seen this.sucks.I looked at the source code for related type errors before too, nada.These JSfiles are all located in ur install dir. What I have been able to do is ditch the local copy of your files and whammo. Doug -Original Message- From: Kevin Cundick [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 5:23 PM To: CF-Talk Subject: OT: DW File Save Error Hi All, I apologize for posting this problem on the CF-Talk list, but this list is the best place with the most knowledgeable people.Anywhere else I've asked this I've never heard a response. I'm having a problem with Dreamweaver MX 2004 (v.7.0.1) with saving certain files.When I save them, I get this error: While executing receiveArguments in Flie_Save.htm, the following _javascript_ error(s) occurred: At line 75 of the file C:\Program Files\Macromedia 2004\Dreamweaver MX 2004\Configuration\Menus\MM\File_Save.js Exception thrown in the native function. Has anyone else had this trouble with Dreamweaver?I have spent hours researching this on Macromedia's website as well as the rest of the web and haven't found anything useful in resolving this problem. The application is installed locally.The file I'm saving is also local, so it's not on network drive. I would appreciate any help anyone can offer on this. Thanks, Kevin _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
OT: DW File Save Error
Hi All, I apologize for posting this problem on the CF-Talk list, but this list is the best place with the most knowledgeable people.Anywhere else I've asked this I've never heard a response. I'm having a problem with Dreamweaver MX 2004 (v.7.0.1) with saving certain files.When I save them, I get this error: While executing receiveArguments in Flie_Save.htm, the following _javascript_ error(s) occurred: At line 75 of the file C:\Program Files\Macromedia 2004\Dreamweaver MX 2004\Configuration\Menus\MM\File_Save.js Exception thrown in the native function. Has anyone else had this trouble with Dreamweaver?I have spent hours researching this on Macromedia's website as well as the rest of the web and haven't found anything useful in resolving this problem. The application is installed locally.The file I'm saving is also local, so it's not on network drive. I would appreciate any help anyone can offer on this. Thanks, Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: #url#
You can use this at the top of the page cfparam name=url.id default= type={var type} That should take care of it for you. -Original Message- From: Daniel Kessler [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 3:24 PM To: CF-Talk Subject: #url# I want to grab the querystring.If it's there, I can do #url.id#, but if it isn't there, that kills the page - I get an error page stating that I'm asking for something that doesn't exists.isDefined doesn't seem to help. Is this correct?It seems not very useful then. Maybe it's just the day that I've had. -- Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD20742-2611 301-405-2545 Phone www.phi.umd.edu _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Ben's book is out
That's where this book comes in handy.Has a good reference table in the back cover.It's already helped me out a bunch. --Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 1:11 PM To: CF-Talk Subject: Re: Ben's book is out The thing with regexes is, you can learn 'em in 10 minutes--you just can't REMEMBER 'em! ;) - Jeff On 10 Mar 2004 at 11:43, Jim McAtee wrote: From:quot;Michael Dinowitzquot; lt;[EMAIL PROTECTED]gt;br To: quot;CF-Talkquot; lt;[EMAIL PROTECTED]gt;br Subject:Ben's book is outbr Ya know, there's just something about that title...Somehow I don't think I'll ever feel compelled to purchase a book on a subject that can supposedly be learned in 10 minutes. - Original Message - From: Michael Dinowitz [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 10:12 AM Subject: Ben's book is out Ben Forta's new book on Regular Expressions is out. Sams Teach Yourself Regular Expressions in 10 Minutes It's not too big and goes right to the core of what you need to write some useful RegEx. Lots of step through examples, which is really needed. Anyone interested can just click on the banner below. :) _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Mail in Undelivr
Hey All, I'm having a problem where after we upgraded to CFMX, any mail that gets put into Undelivr, that we move back into the Spool, just stays there until the CF services are stopped and started.In CF4.5 that we just upgraded from, if I put mail from Undelivr into the Spool, it would move it immediately. You can understand that we don't to be stopping and starting the CF services unless absolutely necessary. Is there a way to get CFMX to move this e-mail without having to stop and start CF? We use: CFMX 6.0 Solaris 8 Thanks, Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFMX 6.1 Upgrade Error
Hey All, When attempting to upgrade from CFMX 6.0 to CFMX 6.1 on we get an error: ANT Script Error: Status: ERROR Additional Notes: ERROR - 26: Java returned: 1 Has anyone else experienced this error? We run: Solaris 8 - OS Apache 1.3 - Web Server on a Sun SPARC Server. Thanks, Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
Troubles since upgrade to CFMX
Hi All, Since we upgraded our CF server to MX last weekend, we have had terrible trouble with what appears to be CF not responding to requests from the web server.Sometimes, when you enter a page, you just get the CF code dumped into the screen.Other times when you enter a page the download box pops up and it wants to download the page.Sometimes when you click submit with a form you get a Method Not Allowed error referring to the POST method of the form.But all these come interrmitently. We have consulted as much documentation as can as to how to configure the web server plus what is available on the web.We cannot seem to get this problem to go away.Any ideas? We are running: CFMX 6.0 Solaris 8 OS Apache 1.3 Webserver on a SPARC Server. Thanks, Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFLDAP - ADD difficulty
Hi All, We recently upgraded our CF server from 4.5 to CFMX.We have an application that uses and LDAP server.Since the upgrade, it won't ADD or MODIFY accounts in LDAP as it used to.I have not changed the code at all, and it was working.Each time I try to ADD a new account, I get this error from ColdFusion: An error has occured while trying to execute add operation on the LDAP Server. One or more of the required attributes may be missing/incorrect or you do not have permissions to execute this operation on the server the Java Exception thrown is: coldfusion.tagext.net.LdapTagException: An error has occured while trying to execute add operation on the LDAP Server. I have studied the documentation and I have all required fields, I'm not sure why it won't add the new record.Here is the code I use: cfldap action=""> DN=uid=#this.user#,ou=Tradepartners,ou=External,o=FJ attributes=objectclass=top;objectclass=organization;objectclass=fjcomputerl ogin;objectclass=organizationalperson;objectclass=inetorgperson;o=#attribute s.company#;sn=#attributes.lastname#;givenname=#attributes.firstname#;uid=#th is.user#;fjaccountstatus=S;userpassword=#attributes.password#;cn=#attributes .username#;mail=#attributes.mail# server=LDAPServer username=cn=XXX_Admin,ou=Admins,ou=Groups,o=FJ password=xx I would appreciate any help that anyone can give me in getting this to work. Thanks, Kevin [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Web Stats software
Funnel Web Analyzer will handle those URL attributes.Made by Quest. -Original Message- From: Dan Phillips (CFXHosting.com) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 3:57 PM To: CF-Talk Subject: Web Stats software Can anyone tell me what Stats software out there can handle a URL like http://domain.com/sub.cfm?page=article7 http://domain.com/sub.cfm?page=article7news_id=1234 news_id=1234 I've tried LiveStats by DeepMetrix and it does not seem to track it at all. TIA Dan Phillips www.CFXHosting.com 1-866-239-4678 [EMAIL PROTECTED] _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: CFLDAP - ADD difficulty
No, I'm not sure of the exact type.It is running on a HP-UX box. -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 5:38 PM To: CF-Talk Subject: RE: CFLDAP - ADD difficulty What type of ldap server? Is it MS? Stace _ From: Kevin Cundick [mailto:[EMAIL PROTECTED] Sent: October 7, 2003 7:30 PM To: CF-Talk Subject: CFLDAP - ADD difficulty Hi All, We recently upgraded our CF server from 4.5 to CFMX.We have an application that uses and LDAP server.Since the upgrade, it won't ADD or MODIFY accounts in LDAP as it used to.I have not changed the code at all, and it was working.Each time I try to ADD a new account, I get this error from ColdFusion: An error has occured while trying to execute add operation on the LDAP Server. One or more of the required attributes may be missing/incorrect or you do not have permissions to execute this operation on the server the Java Exception thrown is: coldfusion.tagext.net.LdapTagException: An error has occured while trying to execute add operation on the LDAP Server. I have studied the documentation and I have all required fields, I'm not sure why it won't add the new record.Here is the code I use: cfldap action=""> DN=uid=#this.user#,ou=Tradepartners,ou=External,o=FJ attributes=objectclass=top;objectclass=organization;objectclass=fjcompu terl ogin;objectclass=organizationalperson;objectclass=inetorgperson;o=#attri bute s.company#;sn=#attributes.lastname#;givenname=#attributes.firstname#;uid =#th is.user#;fjaccountstatus=S;userpassword=#attributes.password#;cn=#attrib utes .username#;mail=#attributes.mail# server=LDAPServer username=cn=XXX_Admin,ou=Admins,ou=Groups,o=FJ password=xx I would appreciate any help that anyone can give me in getting this to work. Thanks, Kevin _ _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
CFLDAP Problem
I have a LDAP database setup to authorize the login of Vendor's to a web application we have setup. To manage the Vendor's that have been setup in LDAP we have an administration screen. When we list the Vendors we have two ways to list them, by Company Name and by Vendor ID. Sorting by Company Name works great with no problem. The problem starts when sorting by Vendor ID. Our Vendor numbers are six digits. We list them according to the starting digit. So if we need to find information on a Vendor Number that is 123456, we list all of the vendors that start with 1. The weird thing is that it brings up all the records great for 1,3-9. The problem is if we try to list a Vendor with 2x. We get an CFLDAP error. This is the code we use (with a few changes to protect security)... cfldap action=QUERY name=user attributes=uid,fjaccountstatus,fjlastlogin,givenname,sn,o,mail start=ou=Tradepart,ou=Ext,o=FJ sort=ui,sn,given filter=(ui=#trim(attributes.vid)#*) sortcontrol=nocase server=200.100.200.34 username=cn=EDI,ou=Admin,ou=Group,o=FJ password=xx If attributes.vid is 2 in this case we get this CFLDAP error... Error Occurred While Processing Request Error Diagnostic Information CFLDAP The error occurred while processing an element with a general identifier of (CFLDAP), occupying document position (60:2) to (69:27) in the template file /opt/apache/htdocs/flyingj/company/EDI/DSP/dsp_manager.cfm. Which isn't very helpful. Anyone have any ideas what is happening here? Thanks for your time! Kevin Cundick Webmaster Flying J Inc __ 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
RE: CFLDAP Problem
I'm not sure if anyone is watching this, but the problem seems to be related to the number of rows being returned. If I limit the number of rows by using Maxrows=200 it returns that many records. Does anyone know if CFLDAP is knowing limited to the number of rows it can return? Thanks, Kevin -Original Message- From: Kevin Cundick [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 1:16 PM To: CF-Talk Subject: CFLDAP Problem I have a LDAP database setup to authorize the login of Vendor's to a web application we have setup. To manage the Vendor's that have been setup in LDAP we have an administration screen. When we list the Vendors we have two ways to list them, by Company Name and by Vendor ID. Sorting by Company Name works great with no problem. The problem starts when sorting by Vendor ID. Our Vendor numbers are six digits. We list them according to the starting digit. So if we need to find information on a Vendor Number that is 123456, we list all of the vendors that start with 1. The weird thing is that it brings up all the records great for 1,3-9. The problem is if we try to list a Vendor with 2x. We get an CFLDAP error. This is the code we use (with a few changes to protect security)... cfldap action=QUERY name=user attributes=uid,fjaccountstatus,fjlastlogin,givenname,sn,o,mail start=ou=Tradepart,ou=Ext,o=FJ sort=ui,sn,given filter=(ui=#trim(attributes.vid)#*) sortcontrol=nocase server=200.100.200.34 username=cn=EDI,ou=Admin,ou=Group,o=FJ password=xx If attributes.vid is 2 in this case we get this CFLDAP error... Error Occurred While Processing Request Error Diagnostic Information CFLDAP The error occurred while processing an element with a general identifier of (CFLDAP), occupying document position (60:2) to (69:27) in the template file /opt/apache/htdocs/flyingj/company/EDI/DSP/dsp_manager.cfm. Which isn't very helpful. Anyone have any ideas what is happening here? Thanks for your time! Kevin Cundick Webmaster Flying J Inc __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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
RE: CFAuthorize tag / authorize.net
This is correct. I use this free version and it has worked well. Kevin Cundick Webmaster Flying J Inc -Original Message- From: Robert Everland [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 10:05 AM To: CF-Talk Subject: RE: CFAuthorize tag / authorize.net There is a free one on the devex, check it out, we use it here, works great. Robert Everland III Dixon Ticonderoga Web Developer Extraordinaire -Original Message- From: Brian Fox [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 12:03 PM To: CF-Talk Subject: CFAuthorize tag / authorize.net Hi - We're forging into e-commerce for the first time - accepting student fee payments online. We're almost certainly going to pick authorize.net as the credit card company. Athorize.net endorses a custom tag CFAuthorize pretty heavily. But from reading the description, it sounds like it's just a simple wrapper around an http post. Is it worth the cost? Thanks, Brian __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm 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
RE: Hosting
I think CFDynamics does...not sure...but I think they do. Check them out. www.cfdynamics.com -Original Message- From: Ray Bujarski [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 25, 2002 1:03 PM To: CF-Talk Subject: Hosting Does anyone know of a good CFML hosting company that has CFFile enabled that I can register a domain through? __ 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
RE: JS Question
I've looked into doing the same thing. I haven't found a good way to disable the element, so what I did was create an image object in JS of an grayed out element and used layers to place it until I wanted to enable it. Then I would just use the layer to replace the image with the desired element. That was the best way I could find. Someone else may be able to give a better method. Kevin -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 28, 2002 1:03 PM To: CF-Talk Subject: OT: JS Question I have a form that, if a user selects a specific item from a select list, then the next section of the form is grayed out, and the required attributes are no longer required. I know how to by-pass the required fields using simple if-else in my JS validation. What I am needing to know is, how would I go about making the other form elements disable? Does this even make sense? IS this more of a DHTML thing? Thanks, _ Bruce Sorge ICQ#:145050973 Current ICQ status: SMS: (Send an SMS message to my ICQ): +2783142145050973 More ways to contact me: http://wwp.icq.com/145050973 _ __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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 __ Get the mailserver that powers this list at http://www.coolfusion.com 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
RE: ListContains NOT functioning properly - MORE!
Looks to me like you ListContains function needs a delimiter. ListContains(#Vehicles#, #i#, ,) Hope that helps. Kevin -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 10:43 AM To: CF-Talk Subject: ListContains NOT functioning properly - MORE! Sorry if my original message is hard to get, just try running this code in a test page. Are the results as expected? What's wrong here? cfset codes=siteMinute,siteNews,site,siteSpin,mi,os,ol,mn,siteHom e cfset Vehicles=siteMinute,siteNews,siteSpin cfloop list=#codes# index=i cfoutputinput class=text type=checkbox name=#i# cfif ListContains(#Vehicles#, #i#)checked/cfif nbsp;#i#br/cfoutput /cfloop Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier -Original Message- From: Mark M. Kecko [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 12:32 PM To: CF-Talk Subject: ListContains NOT functioning properly - Help! Help! When I'm looping over a list Campaign.Vehicles that's coming from a SQL table varchar field I'm getting strange results from ListContains. Looping over Vehicles.code= siteMinute,siteNews,site,siteSpin,mi,os,ol,mn,siteHome - several rows from a database call. Campaign.Vehicles=siteMinute,siteNews,site,siteSpin - a 'static' database record. When Vehicles.code = SiteSpin the below ListContains(#Campaign.Vehicles#, #Vehicles.Code#) returns 4. cfloop query=Vehicles input class=text type=checkbox name=#Vehicles.Code# cfif ListContains(#Campaign.Vehicles#, #Vehicles.Code#)checked/cfif nbsp;#Vehicles.Name#brbr /cfloop Actual output to screen from testing: Campaign.Vehicles: siteMinute,siteNews,site,siteSpin Vehicles.Code: siteSpin ListContains - 4 As far as I can see from the output above siteSpin is only in the list Campaign.Vehicles once. Can anybody see something I can't. I've tried specifying the delimiter as a comma, changing the delimiter to a ~, setting the database field to a variable, changing the delimiters of that variable and I've tried all of those things with ListContainsNoCase as well. I've even tried changing the datatype of my SQL database field to nvarchar, ntext etc! Please help, this is holding up a very profitable ad campaign from being served on my site! Mark Kecko The Computer Guy MediaPost Communications [EMAIL PROTECTED] http://www.mediapost.com (203)222-0330 ext309 Imagination is the one weapon in the war against reality. Jules de Gaultier __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation 7 $99/Month 7 Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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 __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc 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
CF 5, Java, Solaris
Hi All, Has anyone experienced trouble using Java 1.3.1 with Solaris 8 and ColdFusion 5? I am having trouble with it crashing the server every time I call a Java Custom Tag. I am currently working to Migrate to ColdFusion 5 from CF 4.5.1. We run Java 1.2.2 on CF 4. Thanks!! Kevin Cundick Webmaster Flying J Inc __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc 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
ADDTNL: CF 5, Java, Solaris
I forgot to mention that I did Find the article in the Knowledge Base, Technote: 20198. I followed its instructions and I still have the same problem. Thanks, Kevin -Original Message- From: Kevin Cundick [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 1:56 PM To: CF-Talk Subject: CF 5, Java, Solaris Hi All, Has anyone experienced trouble using Java 1.3.1 with Solaris 8 and ColdFusion 5? I am having trouble with it crashing the server every time I call a Java Custom Tag. I am currently working to Migrate to ColdFusion 5 from CF 4.5.1. We run Java 1.2.2 on CF 4. Thanks!! Kevin Cundick Webmaster Flying J Inc __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb 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
Scheduler Running Processes Twice
Hi All, We have our CF Server running several scheduled processes. I have one that runs hourly the rest run daily. The scheduler for the most part has run great without any problems, until just recently. For some reason it has all of a sudden spontaneously started to run processes twice, back to back, the second time being within a minute the initial process was spawned to run. For most of our processes it is no big deal that it runs twice. For others, it is a real problem that they're running twice. Has anyone ever seen this and/or know how to get it back to just running processes once? We are running CF 4.5.1 SP2, on Solaris. Thanks!! Kevin __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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
RE: Scheduler Running Processes Twice
Mark, As embarrassed as I am to admit it, that is exactly what was happening. We had crashed our development server last week. We took the cfregistry and stuff off of our production server so that we wouldn't have to reinstall CF. Well, in doing so all of the scheduled processes moved on to our development box. Thus, the processes were running twice as you indicated below. Thanks for telling me your story as that is what made me realize my goof! (OK everyone you can stop laughing now!! :) ) Thanks, Kevin -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 10:50 AM To: CF-Talk Subject: RE: Scheduler Running Processes Twice Kev, We had this problem when we set up a pre-production server and the inexperienced admin setting it up (naturally wanting it to be just like production) added the secheduled processes (pointing back to production). Probably not your problem, but it IS a funny story ha. Mark -Original Message- From: Kevin Cundick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 7:30 AM To: CF-Talk Subject: Scheduler Running Processes Twice Hi All, We have our CF Server running several scheduled processes. I have one that runs hourly the rest run daily. The scheduler for the most part has run great without any problems, until just recently. For some reason it has all of a sudden spontaneously started to run processes twice, back to back, the second time being within a minute the initial process was spawned to run. For most of our processes it is no big deal that it runs twice. For others, it is a real problem that they're running twice. Has anyone ever seen this and/or know how to get it back to just running processes once? We are running CF 4.5.1 SP2, on Solaris. Thanks!! Kevin _ _ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation 7 $99/Month 7 Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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 __ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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
Recover CF Registry?
Hi, I am running ColdFusion 4.5.1 on Solaris. We have recently decided to implement Java Custom tags to expand ColdFusions ability to communicate via a TCP/IP Socket. When I sent to setup a CFX in the ColdFusion administrator, after stopping the server and restarting it, ColdFusion has crashed. Now every time we try to call it up we get this error: ERROR: Unable to start the ColdFusion processes. Cause: The ColdFusion registry does not appear to be initialized. You can execute the following command to initialize the registry: cfexec -install cfdir -docroot docdir -register id -user cfuser We have tried to do as instructed, but running the above command is doing nothing to help us get it going again. I was wondering if anyone knows of a way to recover the registry settings so we don't have to reinstall ColdFusion? Thanks, Kevin __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb 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
RE: CF Java trouble.
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
CF Java trouble.
Hi All, This is the first time I've tried to do anything with Java and CF. I have downloaded the CFX_JSocket.class from cfdev.com. I have setup Java in the CF Administrator as the documentation has instructed. I have had some success with some simple Java cfobject programs, but this is my first Java Custom tag. I copied the CFX_JSocket.class into the coldfusion install/Java/classes directory which I also added the Class Path in CF Admin. I registered the CFX tag in CF Admin as well. I created a small .cfm file with this line in it: CFX_JSocket host=www.yahoo.com port=80 data=GET / #Chr(13)##Chr(10)# lines=12 timeout=8000 (which is the example they give when I downloaded the class. I have tried to connect to other servers in house with the same problem) Each time I try to run the .cfm file I get this error: java.lang.NumberFormatException: . Java exception occurred in call to method. Can anyone give me any idea what I'm doing wrong? I'm not sure it matters, but we do run ColdFusion on Solaris. Thanks!! Kevin ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm 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
RE: CF Java trouble.
We are running CF 4.5.1 SP 2. -Original Message- From: Zac Belado [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 9:39 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? ~~ Get the mailserver that powers this list at http://www.coolfusion.com 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
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? ~~ Get the mailserver that powers this list at http://www.coolfusion.com 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
RE: CF Java trouble.
Looks like we're running 1.2.2. Seems like I read somewhere that, at least at this point, upgrading to 1.3.x is not recommended. I can't remember exactly where I read that. Anyone else know anything about this? -Original Message- From: Zac Belado [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 12, 2001 10:15 AM To: CF-Talk Subject: RE: CF Java trouble. We are running CF 4.5.1 SP 2. Which version of the Java runtime are you running? You might want to consider upgrading if you're not running 1.3.1 ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm 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
RE: CF Java trouble.
Thanks Pete. I have double-checked everything as you indicated. This is what I'm trying to get to work: CFX_JSocket host=#server# port=9987 data=#FullString# lines=1000 timeout=8000 Server = the IP Address of the server I'm trying to connect to. FullString = the String I'm trying to pass. Do you see anything that should cause that error with what I'm sending? I've checked the tag docs and so far as I can see everything is setup correctly. Thanks!! Kevin -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? ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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
RE: Dynamic PDF products for Unix?
On Solaris I use a free utility called html2pdf (http://www.geocities.com/SiliconValley/Lab/5247/). It took quite a bit of work to get it to work and it is very picky with your HTML tags. I used CF to build a static HTML page then had the utility convert that page to pdf. I couldn't get it to work well with a lot of graphics. But it is free and it does get the information out I need it to. This may not be exactly what you want but it could be step in the right direction. Kevin -Original Message- From: Dave Carabetta [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 9:31 AM To: CF-Talk Subject: Dynamic PDF products for Unix? I would like to generate dynamic PDFs from ColdFusion. When I was in a Windows environment, activePDF was a great solution for this. However, it is not supported in Unix, and that's the evironment I'm now in. Do any of you CF/Unix users have experience with reliable PDF generators from CF? Thanks in advance, Dave. ~~ Get the mailserver that powers this list at http://www.coolfusion.com 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
CF Server Crash After Java Imp
Hi, We are running CF4.5.1 on Solaris. We are going to start expanding the functionality of CF with Java. When I went into the CF Admin and setup Java with the necessary information I still was having a hard time getting it to work. I kept getting errors that CF was not able to attach to JavaVM. Upon checking the logs, it indicated that I had the Memory Heap Size set to 1024 and 2048 was required. I changed the setting to 2048 and stopped and started CF. When I did this, the CFServer will now not come back up. I get this error in the server.log: Unknown exception occurred while trying initialize the service. The only thing that changed was the Memory Heap Size. I am not sure if the reason CF won't start back up is because it is trying to start the JVM and can't now that it has the correct minmum setting for the Memory Heap Size or what is keeping the server from coming back up. Has anyone seen anything like this before and have any suggestions? Does anyone know of a way to edit the Memory Heap setting to set it back to its original setting without being able to get to the CF Admin? Thank you in advance for any help/advice. Kevin Cundick Webmaster Flying J Inc ~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm 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
RE: Dreamweaver FTP
I've used Dreamweaver quite a bit and I have seen this before. When I experienced it, it was a UNIX permissions issue (we run Solaris). I had permission to edit the file but not to create a new file, which is what you'd be doing if you put the file up when it didn't already exist. Not sure if this is your problem, but there is a good chance it is. Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 14, 2001 7:25 AM To: CF-Talk Subject: OT: Dreamweaver FTP has anyone had problems with the dreamweaver FTP client? if I open a file from the web server it makes a copy locally and i edit it. OK? OK. when i go to send it back up ftp says permission denied. BUT, if i GET the file first, edit it, THEN send it u it's ok. anyone seen this before? Thanks-Savan ~~ Get the mailserver that powers this list at http://www.coolfusion.com 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
Java Applet
Hi, I am setting off on a new adventure. I need to design a form in a Java Applet. Can someone tell me where I might find some good information on how to get the Applet to communicate with the .cfm? I don't any experience in this, so any information would be really appreciated. Thanks, Kevin ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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
RE: Oracle insert DateTime HELP
Try using sysdate instead of trying to get the correctly formatted date (as demonstrated below). Then you can use CF functions to get the correct format when you pull it out. Thanks, Kevin -Original Message- From: Greenberg, Lisa [mailto:[EMAIL PROTECTED]] Sent: Monday, July 09, 2001 12:44 PM To: CF-Talk Subject: Oracle insert DateTime HELP I'm trying to insert both the date and time into an oracle table. I can't seem to get the syntax right. Any suggestions? CFQUERY name=InsertDate datasource=#application.dsn2# dbtype=#application.DBTYPE# INSERT INTO temptable (StartDate) VALUES (sysdate) /CFQUERY ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Hosting
Check out www.cfdynamics.com -Original Message- From: CF Crazy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 2:02 PM To: CF-Talk Subject: Hosting Anyone know of a hosting company who will provide the CF/SQL server and manage it? I just need monthly cost for a year contract. Maybe setup too. Steph ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Scanner Software
Does anyone know where I may be able to get a custom tag (or whatever) that will allow me to scan images directly into a browser that will work with ColdFusion? I have looked at the software cfdev.com offers and it is pretty good except that it will only scan to a .jpg image format and I need it to be able to scan to a ..tif format. Thanks, Kevin ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: adding records
It is but its pretty lengthy. I do this type of thing all the time. It involves the use of a Javascript and I use a Fusebox method. Are you familiar with writing CF using a Fusebox? Let me know if you have any background with the Fusebox method and some Javascript. Feel free to e-mail direct. Thanks, Kevin -Original Message- From: Jones, Becky [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 05, 2001 2:43 PM To: CF-Talk Subject: adding records hey again, i have a form which allows a user to add a new application to my apps database. i want to have a drop down list of companies. (that i can do) but i want the phone number field to automatically populate if when the user selects say "microsoft" from the list. that phone number will show up in the phone number field because "microsoft" has a phone number in my database. otherwise, the person inputting the data will have to retype the phone number in each time (and remember the number in order to input it!) is this possible to do on the same form? thanks for the info.. b * This e-mail, including any attachments, is intended for the receipt and use by the intended addressee(s), and may contain confidential and privileged information. If you are not an intended recipient of this e-mail, you are hereby notified that any unauthorized use or distribution of this e-mail is strictly prohibited. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists