Quantcast
Channel: Adobe Community : Popular Discussions - ColdFusion
Viewing all 14291 articles
Browse latest View live

Object Instantiation Exception. Creating Java Object

$
0
0

Hi,

 

I am trying to implement CyberSource Simple Order API and I am getting an error on CFobject

Object  Instantiation Exception.

An exception occurred when  instantiating a Java object. The class must not be an interface or an abstract  class. Error: com/cybersource/ws/client/ClientException.

 

So far I've placed the .jar file into :\ColdFusion8\wwwroot\WEB-INF\lib directory and on my cfpage I got:

<cfobject action="create" type="Java" class="CyberSource" name="auth">

Does anyone have any experience with CyberSource or the source of the error code?

Thanks in advance!


Can't connect CF 9 to MSSQL 2008 R2

$
0
0

I hope some help is out there. I will post the error message at the end of this post. I can't verify a datasource in Administrator. this is the error:

Connection verification failed for data source: DHDataWeb_Dev

 

java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer  JDBC Driver]Error establishing socket to host and port: 127.0.0.1:1433.  Reason: Connection refused: connect

The root cause was that:  java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC  Driver]Error establishing socket to host and port: 127.0.0.1:1433.  Reason: Connection refused: connect

 

Any help would be greatly appreciated. I know this should be very easy, but I can't get it to work. I am running Windows 7 SP1, My SQL database, web server (IIS 7) and CF server are all running on the same box.

 

Thanks in advance.....

Didger (who is most confused)

CGI.PATH_INFO is blank in CF 10

$
0
0

I know this was an issue that was supposedly fixed in the first update, but I applied that and I'm still experiencing the error.  Any ideas?

 

Version says ColdFusion 10,283649

resend undelivered mail

$
0
0

After a mail server problem,

I have many undelivered mail in the Coldfsuion Mail "undelivr" directory.

The Mail server is up again

 

Is there a possibility to resend all these mails ?

 

I tried a copy/paste of mails into the "spool" directory

but these mail are resent into the "undelivr" directory

and new mails are sent correctly.

 

Thanks for help.

Pierre.

What do you think of the future of Coldfusion?

$
0
0

Let me start by saying I LOVE COLDFUSION.

 

When I first learned Coldfusion I couldn't believe how dramatically smooth and easy it was.

 

Now when I'm looking around for developer jobs, everyone is only hiring PHP and .NET developers....

 

Does anyone have a full time Coldfusion job here?

 

Did Coldfusion die while I was asleep?

Access denied on folder using CFFTP getfile

$
0
0

I'm trying to use CFFTP to retrieve files from a remote FTP site to download to my local directory. I would see the file in the local directory but with 0 kb. Wondering what was going on, I tried accessing just the directory and got an 'Access is Denied' error.

 

The funny thing is that it was working fine a few weeks ago until we made some server changes. We had some FTP sites set up but closed them. Could closing them have anything to do with it? I'm definitely not an expert when it comes to this stuff.

 

We're using CF9 and IIS7 btw.

 

 

Can someone explain what's causing this and how do I go about fixing it? Any help would be appreicated.

 

 

<cfftp

    action="getFile"

    connection="objConnection"

    remotefile="s692605.FRTB0001_RES.DAT238710"

    localfile="E:\Inetpub\test\s692605.FRTB0001_RES.DAT238710"

    stoponerror="yes"

    failIfExists="false" passive="yes" timeout="600" transfermode="auto"  />

java.sql.SQLException: Timed out trying to establish connection

$
0
0


I am trying to connect to SQL Server 2012 with flag MULTISUBNETFAILOVER=TRUE


I have created the DSN and it works fine for some time and next day i will get the below erorr. I have verified the DB server and its up and working fine and able to connect to it from management studio. Once I restart the server the issue get fixed. Does any one had any idea on why this issue is happening. I am using the sqljdbc4.jar for this connection.


The root cause was that: java.sql.SQLException: Timed out trying to establish connection

HTTP Error 401.3 - Unauthorized You do not have permission to view this directory or page because of the access control list (ACL) configuration or encryption settings for this resource on the Web server.

$
0
0

Hi,

 

I got this 401.3 error when running the http://127.0.0.1/CFIDE/administrator/index.cfm configuration page after installation of coldfusion 8 standard on win 2008 32bit server which has IIS7. Coldfusion 8 files are located on D drive instead of the default C drive. I already duplicate right access from C to D but still get the error. The IIS 7 error page shows that the logon account is Anomymous. I traced default web site authentication and it poited to NT Authority\IUSR account so I added this account full access to D:\inetpub\wwwroot but that didn't help either. Does anybody come across this problem? Any help is greatly appreciated.


Cfdocument hang/timeout error

$
0
0

I use the same cfdocument call on two development and one production server:

 

<cfsetting showdebugoutput="false" />

<cfcontent TYPE="application/pdf" reset="yes"/>
<cfheader name="content-disposition" value="attachment;filename=Details.pdf"/>

<cfdocument format="PDF" mimetype="application/pdf" backgroundvisible="yes" overwrite="yes" fontembed="no" bookmark="true" localurl="no" >

 

<style type="text/css" media="screen">
@import "style1.css";
</style>
     -- content ---

 

</cfdocument>

 

Now this code runs perfectly on my local computer, it does not run in my development environment on remote computer, it DOES run on my multi-homed, remote production server in the inetpub/wwwroot directory but it produces a 30 second timeout error on the same production server in the inetpub/mysite directory (all other cf code runs fine.)

 

The the content is the same, directory structures are the same, the template names are all the same (except for the server name) the disk names are the same, the CF Administrator setup is basically the same and the code is the same in all environments.

 

Any idea where to look to find out why it works in one environment and not in another?

 

Thanks a bunch!!!

 

KD

"Java heap space" error and coldfusion crashes

$
0
0

I have a coldfusion scheduled task that takes about two hours to run (about 4000 lines of code).  It does a number of cfquery, cffile, cfexecute with cffunction, cfloop, and cfif.  If works perfectly in the fifteen minute version that works with a subset of the data, but it frequently runs coldfusion out of java heap in the full record set run.  This then sometimes causes our public webserver to go down or malfunction until the coldfusion process is restarted.

 

When I posted about getting this to work initially last year, the solution was to put output="no" in every cffunction as apparently the whitespace generated by the code in all the cfloops was eventually enough to crash the server after a couple hours.

 

Recently, it has started to crash again as the record count has grown over the past year.  I put everything in a number of cfsilent tags, and it ran for one night, but now it is crashing again.

 

I'm not sure what to do next.  The cfexecutes log to a file not to a variable. The variables are in cffunction with var keyword with output="no" on the cffunction with coldfusion debugging checkboxes unchecked in the admin so in theory the fifteenth step/cffunction in the process should have the same memory available after garbage collection if needed as the first.  But obviously it doesn't as each step can run by itself but not sequentially unless limited in record count.

 

Any ideas?  Any known coldfusion memory leaks in 8,0,0,176276 Standard?  Any way to prevent coldfusion server from malfunctioning if one page runs it out of memory?

How can I see my attributes collection? Can't figure out cfdump?

$
0
0

To debug I want to see what variables are in the attributes.  I can't figure out the instructions for CFDUMP.  Any help appreciated.

Downgrade from CF11 to CF10

$
0
0

Hi,

 

Can I use ColdFusion 11 Enterprise license on ColdFusion 10? Do Adobe CF have downgrade privilege option from CF11 to CF10? Thank you.

install cf9 32bits on Win 7 64bits

$
0
0

Is this possible ?

Installation of CF9 32 bits on Win7 64bits ?

 

I did it, with CGI and ISAPI for IIS7.

IIS 7 is OK, (http://127.0.0.1  is correct)

After CF9 install, I ran the WebServer ConfigurationTool

http://127.0.0.1 gives an error 500 :

then I uninstall C F9 , now I have a 404.2 error

 

I looked in install recommandation on the web (google).

I think I did the right way.

Then I am wondering if this is a question of 32bits and 64 bits ?

 

Thanks for urgent Help.

(I have an other PC with CF9 32bits on Win7 32bits, it is OK

and a CF9 64bits on Windows serveur 2008 64bits, it is OK)

 

Pierre.

How to kill a coldfusion cookie??

$
0
0

I set cookies like this:

 

<cfcookie name="ckwhatever" value="hello">

 

 

I try to kill the cookie like this:

 

<cfcookie name="ckwhatever" expires="now">

 

This does NOT work. the cookie remains.

 

I've tested on mozilla and IE

 

I don't get it.

Server Error - Macromedia application server(s) are unreachable

$
0
0
For my test environment, I've got a ColdFusion 8 instance running on Windows 2003 Server. Everything was fine until I rebooted the server. Then I started getting an error message:

quote:

Either the Macromedia application server(s) are unreachable or none of them has a mapping to process this request.


My first thought was an application mapping error or something happened to the .cfm mappings. Everything checked out fine though. So I looked in the wsconfig log files and saw this.

quote:

2008-06-04 16:54:58 jrISAPI[ 760:1048] could not initialize proxy for 127.0.0.1:51800
2008-06-04 16:54:58 jrISAPI[ 760:1048] Couldn't initialize from remote server, JRun server(s) probably down.


Something was definitely running on port 51800 though since I could telnet to it. No clue why it couldn't initialize. Any ideas?

Thanks.

Steve

Multiserver Monitor Permission Denied...

$
0
0

So I've been dealing with this for years now, since version 8 and now with version 9 of

Coldfusion.  I can't ever get my multi-server monitor to monitor more than the local server from which I run the multiserfver monit

or.  I've edited the multiservermonitor-access-policy.xml to use the following line:

 

<allow-access-from domain="*" />

 

However, that doesn't work even after restarting Coldfusion.

 

Does anyone have this working?  I think I'm about to buy fusion-reactor so I can actually monitor my servers but it's always frustrating when something that should be pretty simple just doesn't work right.  Thanks in advance for any input.

 

...Brad

Coldfusion 11: CFLayout and CFChart

$
0
0

I am upgrading my company's servers from CF 8 to CF 11 and have been having issues with the cflayout tab (which I know shouldn't be used anymore, but it is for thetime being). The code ran great on 8, but is now breaking on CF 11 in regards to using cfchart inside cflayout (sourced file). A code snippet is below:

 

<cfajaximport tags="cfform">

    <cfajaximport tags="cflayout-tab">

    <script type="text/javascript" charset='utf-8' src='/CFIDE/scripts/CF_RunActiveContent.js'></script>.....

 

<cflayout type="tab" name="TMLayout#attributes.keeperid#" tabheight="345" >  

    <cflayoutarea title="Dashboard" refreshonactivate="true" source="index.cfm?fa=#xfa.tabdashboard#" name="Dashboard" style="overflow-y: scroll;">

  </cflayoutarea>.......

 

The source file simply has a pie chart in it and the rest of my tabs that don't have charts run just fine. Have there been any changes in terms of ajaximport or js includes I am missing?

 

Thanks

 

Edit: Forgot to add that I get the standard error: Error processing JavaScript in markup for element cf_layoutareaDashboard:  [Enable debugging by adding 'cfdebug' to your URL parameters to see more information]

What do you think of the future of Coldfusion?

$
0
0

Let me start by saying I LOVE COLDFUSION.

 

When I first learned Coldfusion I couldn't believe how dramatically smooth and easy it was.

 

Now when I'm looking around for developer jobs, everyone is only hiring PHP and .NET developers....

 

Does anyone have a full time Coldfusion job here?

 

Did Coldfusion die while I was asleep?

Unable to change Administrator password and/or log in to Administrator! (CF10)

$
0
0

So as the title says, I can't log into the Administrator and changing the password via Coldfusion10\cfusion\bin\passwordreset.bat doesn't seems to be actually changing the password since I still get "invalid username/password" when I try to log in after resetting the password.

 

Even further, I used the old method of altering neo-security.xml and changed "admin.security.enabled" to false. This DID allow me access to the administrator, but even then, when I enable password protection and reset the password from the administrator, I still am unable to log in!!

 

One detail which may be a clue for solving this problem: when CF was installed, it was set to not use the default "admin" username. When I try to log in though, I try with both "admin" and the custom username with no luck.

 

Any ideas on how to fix this? It seems like the password encryption system is broken and storing the reset password hash wrong or something....

 

EDIT: Forgot to mention that I restart the service after resetting the password.

CFCOOKIE how use?

$
0
0

Hi fellows,

 

I have a survey of satisfaction and desire that the User meets only once.

 

How can I do this?

 

Can I use cfcookie? More like do?

 

Tks,

Fabiano Magno Pechibella

Viewing all 14291 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>