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

Client Storage Purge

$
0
0

Hello,

 

We are having an issue with CPU loading on our server.  It has to do with Client Storage Purge. I see where this issue has been around for a while but could not find a solid solution.  Our sever is running Windows Server 2003 Standard and ColdFusion 8.  There is only one ecommerence website utilizing CF and the database is MSSQL.

 

The server average CPU usage is between 5% and 10%.  Then this appears in the log; 03/30 05:56:34 Information [scheduler-3] - Run Client Storage Purge.  The CPU usage jumps to 50% to 80% for about 4 to 5 hours.  Then after it settles back down, with in the next few hours it starts over again.

 

Settings,

ColdFusion Administrator > Server Settings > Client Variables

Select Default Storage Mechanism for Client Sessions is set to Registry

Purge Interval is set to 1 hour and 7 minutes.

 

Now, my working knowledge of ColdFusion is not at an expert level.  I really do not know what Client Storage Purge is doing, what client variables are being stored and why.

 

I hope I have included enough information to start the 21 question routine.  Any help with this issue would be appreciated.

 

Regards,

David


ColdFusion 10 silent installation and configuration

$
0
0

Hi,

 

CF 10 docs seem a tad thin on the subject of silent / unattended / scripted installation and configuration.

 

I need to find a fully automated (scripted) way to do these things:

1) install of ColdFusion 10 server in standalone mode

2) create additional servers instances

3) configure each server instance separately (settings, data sources, mappings, etc)

 

Is this currently possible with CF 10? If yes, where's the documentation?

 

I'm aiming for a Chef cookbook for performing unattended CF10 installations on a farm of headless Linux hosts. Manual configuration through the Administrator UI is a definite deal breaker here.

 

Thanks in advance!

 

Best regards,

Jan

Cannot get BCrypt to work in CF11

$
0
0

Hello, all,

 

I'm trying to get bcrypt to work in CF11 server, and I'm banging my head into a wall.

 

I've got the following in my application.cfc file:

 

this.jsPath = "/path/to/html/classes/";
this.javaSettings = {LoadPath = this.jsPath};

 

The path is where I have placed "BCrypt.class" file downloaded from GitHub.

 

This, by itself, doesn't cause any problems.  But adding the following causes it to error, and it will NOT see the application scoped variables (like the onError email address that I'm setting):

 

bcrypt = CreateObject("java","BCrypt");

 

 

This breaks everything and even the error template won't display.  What am I missing?

 

Thank you,

 

^_^

Coldfusion 9 ODBC Agent & ODBC Server not starting

$
0
0

Hello !

 

I currently have Coldfusion 9 Enterprise Edition 64 bit installed on a Windows 2008 R2 64 bit server.  I did not notice this before but on this server, both the Coldfusion 9 ODBC Agent & Server services will not start.  I have tried starting them but they start for a second and then stop.  A dialog box then gets displayed which says "The Coldfusion 9 ODBC Agent service on Local Computer started and then stopped.  Some services stop automatically if they are not in use by other services or programs".  I have checked the event viewer on the server and I am seeing the following messages on the enterprise edition server.

 

The description for Event ID 0 from source ColdFusion 9 ODBC Agent cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

ColdFusion 9 ODBC Agent@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open event trace file because the file version is not recognised.

 

The description for Event ID 0 from source ColdFusion 9 ODBC Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

ColdFusion 9 ODBC Server@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open event trace file because the file version is not recognised.

 

 

The strange this is that I have Coldfusion 9 Standard Edition 64 bit also installed on another Windows 2008 R2 64 bit server and both of the ODBC services on that machine are starting fine.  I have checked the account these services are running under on both servers and both services on both machines are running under the local system account so I am not sure if it is permission related or not.

 

 

I would appreciate it if some could assist me in getting these services started and what I need to do.

 

Thank you.

 

Ed

How do you use relative paths in ColdFusion?

$
0
0

I'm having a problem I cant wrap my head around. I have 4 websites that all reside under C:\ColdFusion9\wwwroot\websites\. Unfortunatly, when I use relative paths, it always navigates from wwwroot instead of from that websites folder. I want to make it so that I can use relative paths that are always calculated from the websites root folder instead of the ColdFusion wwwroot folder.

 

I had a temporary fix to just create a mapping in the CF Administartor. Although, this became a problem because I had to change it everytime I worked on a different website. Also, it would work properly if I used a relative path like (/documents). Instead it would only work if I did a relative path like (./documents).

 

Can anybody help me solve this? I've spent so much time trying things its not even funny.

 

 

I'm using the CF9 Developer Edition with Dreamweaver CS4.

How do I troubleshoot "A non-SQL error occurred while requesting a connection from ." errors?

$
0
0

Hello,

Last week we began seeing some timeout errors, but today there have been much more of them and I’m not sure how to proceed in troubleshooting.

 

We have 2 load balanced app servers:

Windows Server 2008 R2 (virtualized)

ColdFusion 8, Enterprise

 

And a database server:

Windows Server 2008 R2

SQL 2012

 

The error in “coldfusion-out.log” is:

A non-SQL error occurred while requesting a connection from <DSN>.

Timed out trying to establish connection

 

This only happens on one of the web servers, but it happens more frequently when the app servers is under a heavier load. Most of the day it works fine, but 4 or 5 times throughout the day we will have 1 – 15 requests timeout in a row(always varies), and then things will be fine again w/out restarting or doing anything.

 

The database server is much more powerful than the app server, and I don't believe the issue involves long running queries or the DB server being under heavy load.

 

I’m a DBA who is temporarily handling System Admin responsibilities, and I’m not sure how to further trouble shoot this. I just started some pings going from the app server to the database using IP and the listeners name. How else can I prepare for the next time it happens. What other logs should I be looking at to gain some insight? Are there PerfMon counters I could use to help troubleshoot?

 

Thanks for your help!

ColdFusion 10 Mandatory Update Won't Install

$
0
0

So, I'm trying to install the CF10 Mandatory update.  I've run the command line arguments and run through the GUI steps and all appeared fine.  However, in the admin my CF version is still set at: ColdFusion 10,282462.  According to Adobe, my  build number should be ColdFusion 10,283111 or ColdFusion 10,282913.

 

I've tried re-running the update but now it tells me it's already installed?  OK....so I try to install the other available hotfixes but they won't install...I'm assuming because my build number is not what it should be.  They "go through the motions" but nothing happens and I'm still at the same build number and update level.

 

Before this attempt, i was at Update level 2.  Running on Windows.

 

Not sure what to do now.

 

Ideas?

CF11 services won't restart

$
0
0

PLEASE NOTE: the fix for this issue is now in all updates for CF11.  If you are experiencing the same problems identified in this thread, you no longer need to contact Adobe to receive the hotfix.  Simply install any of the updates from within CF Administrator and the hotfix will be automatically included.  You may need to start ColdFusion from the command prompt to get into the CF Adminstrator; but once you have successfully entered the Administrator and installed the update, you should be able to close the command prompt and restart the ColdFusion service successfully. --Carl Von Stetten, Moderator


I have 2 Windows Server 2012r2 boxes that I'm setting up. One is an RDS machine for some Devs to log onto and they other one will be a Production server for running scheduled tasks (separate from our main production server). The issue I've run into is that for some reason Coldfusion11 will no longer restart. If I restart the Server it is fine, but a restart after that it just stalls. I've checked all the logs I can and non show an error except for a Windows Event error that says:

 

The description for Event ID 261 from source ColdFusion 11 Application Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

 

 

If the event originated on another computer, the display information had to be saved with the event.

 

 

The following information was included with the event:

 

 

ColdFusion 11 Application Server

240

C:\ColdFusion11\cfusion\bin\coldfusionsvc.exe

ColdFusion 11 Application Server

 

 

the message resource is present but the message is not found in the string/message table

And another that says:

 

The description for Event ID 263 from source ColdFusion 11 Application Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

 

 

If the event originated on another computer, the display information had to be saved with the event.

 

 

The following information was included with the event:

 

 

ColdFusion 11 Application Server

6652

 

 

the message resource is present but the message is not found in the string/message table

 

Note that while the Event IDs are consistant on each respective server, they are different between the 2 servers.

 

I even tried a reinstall on our RDS machine and during the re-install it wouldn't even start up the service during the install. I had to restart the server to get it to start.

 

I have nothing installed on the Utilities server and the only thing on the RDS is CF11, CFEclipse, CFBuilder, and SSMS 2014.

 

Any help would be appreciated as I am under a deadline to get these two servers up and running. I can get any log details needed to get this resolved.

 

Thanks,

Frank


Jrun.exe in CF 9 always hogging all memory: how to stop it?

$
0
0


It is crashing our servers...  We set Maximum JVM Heap Size (MB)   to 1024...  but it doesn't change anything.  Ideas?

 

Thanks!

MSSQL Failover and Connection String

$
0
0
Hi,
I am using Coldfusion 8. In CFIDE I saw "Connection String" parameter under Advanced setting for MSSQL Data connection.

I was wondering if we can use it for failover using a connection string like:
"Data Source=server1;FailoverPartner=server2;Initial Catalog=db_name;Uid=db_user;Pwd=db_pass;"

Where server2 is mirrored database.

thanks in advance :)

High CPU usage in system running nothing !!!

$
0
0

I have a Windows Server 2008 Enterprise SP2

with Coldfusion 9.01 Standard Developer edition

and MS-SQL 2008 Developer database server.

 

I use it mostly for testing and development. The system was working just fine, but suddenly it started timing out queries, slowing down etc.

Even when nothing (no application, no schedule task, no sites etc) runs in the system I noticed that it uses 25% - 40% of system CPU.for various period of times. Sometimes for some minutes, sometimes for many hours or days. After this period the CPU falls to 0%-1% again and the system works fine. After some minutes or hours the CPU goes again to 25%-40% for no reason.

 

When I disabled the service "ColdFusion Application Server" then the CPU goes to 0%-1% and the system works fine permanently.

 

I say it again, in the system there is no site, no schedule task, no datasource.

 

In the past all I had in the system was a group of Scheduled tasks. So I deleted all scheduled tasks, I even deleted a datasource to a database I had. So now there is no CF code running in the system. So then why the service "ColdFusion Application Server" uses 25% - 40% of CPU resources ????

Any help ???

 

In the image below you see the use of CPU (about 25%) and how suddenly it falls to 0%.

 

 

In the image below you see the processes in Task Manager.

As you see JRun used 40 minutes of CPU Time in last 7-8 hours in a system that runs nothing !!!!

 

 

 

 

Any ideas ?????

 

Anastassios

gmail smtp mail server verification

$
0
0

I have lately upgraded to CF10 from CF9.

 

Just lately I have noticed that I cannot get gmail smtp mail server verification within CFAdmin.

 

I am using the same settings as before.  In fact, on an old machine using CF9 I still get mail server verification.

 

MAIL SERVER: smtp.gmail.com

USERNAME: name@gmail.com

PASSWORD: xxxxxxxxxx

SERVER PORT 25

x  Enable SSL socket connections to mail server

 

Any insight would be greatly appreciated!

 

  wayne

When will CF be compatible with Windows 2016?

$
0
0

Doesn't look like CF11 is compatible with Windows 2016 yet.  Anyone know when this will work?  Or will I have to upgrade to CF12 for that?  Hopefully Adobe can get 11 working with it.  We'd like to migrate our Web server OS.  Thanks.

could not install cold fusion 10 on windows 10. Need help asap

$
0
0

I try to install cold fusion 10 on windows 10. However, it is fail, and I need the help asap. The following is the details:

 

1. Whole installation process is smooth: Install in the administrator account, input the sn number, select IIS server ( on my computer only , not for all ). Then process is finished. Sounds good.

2. In the last page of installation, the administration page will be launched. However, the launched page said: administration page does not exist.

3. I search the adobe forum and I am told that cold fusion 10 has the problem with windows 10, and I need install manadatory fix and hot fix 18 for cold fusion 10. I follow the instruction and install mand fix and hot fix 18. after hotfix 18, I run the cold fusinon web tools and cold fusion administration page is back.

4. cold fusion administration page show up , However, the cold fusion server is down. I try to manual start the cold fusion service, it fails with the following messages:

 

---------------------------

Services

---------------------------

Windows could not start the ColdFusion 10 Application Server on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 2.

---------------------------

OK  

---------------------------

 

5. I have reinstall the cold fusion 10 and it is confirmed that cold fusion serive running before hotfix 18 installation:

1) before hotfix 18 installation: Cold fusion administration page does not exist, could fusion service running

2) after hotfix 18 installation: Cold fusion administration page exists, could fusion service stop

Not enough space on temporary disk error

$
0
0
Error Executing Database Query.[Macromedia][SequeLink JDBC Driver][ODBC
Socket][Microsoft][ODBC Microsoft Access Driver] Not enough space on temporary
disk. I am running CF MX 7 on Win2k3.

The only fix so far is to restart all the CF processes and flush the Caching in Server settings in CFMX 7. Anyone have an idea what is wrong?

Here is the error on all my webpages that execute a database query.

[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Not enough space on temporary disk.

CFSchedule firing multiple times

$
0
0
Hi Everyone,
i still have not found a solution to this. if anyone has any other suggestions please let me know.
Also i would like to report this as a bug, what is the proper procedure for reporting this?

thanks to all

Tim

Original- Hi All,
i have had issues since upgrading from 6 to 7 with cfschedule. sometimes it runs fine, other times it will run the same task multiple times in a row, other times it will wait an hour then run the same task again.

This may not sound like a big deal, but the tasks send out several thousands of emails. talk about spam!!

I have been screamed at on a weekly basis to make this stop.

Now since the the DST change, the tasks that were scheduled at 3pm run at 3pm and again at 4pm!!

Please someone help!!!!!!!!!!!!!!!!!!!!!


Thanks in advance.
Tim

Error Executing Database Query.coldfusion.sql.DatabaseConnectionException: Timed out trying to establish connection

$
0
0
My coldfusion service crashes intermitantly and when I check the application logs the error that I see for the time frame is the one below. Does anyone know where I might begain to solve this? Thanks!

Error Executing Database Query.coldfusion.sql.DatabaseConnectionException: Timed out trying to establish connection The specific sequence of files included or processed is: E:\wwwroot\lifeworks\default.cfm

Diagnosing CF Server Hangs

$
0
0

We are running the latest CF 9 server running JVM 1.6_26 on a Win2003 server with an i7 processor and 8GB of ram.

Here is the JRun config:

 

java.args=-server  -Xms4096m -Xmx4096m -Dsun.io.useCanonCaches=false -XX:PermSize=512m -XX:MaxPermSize=512m -XX:+UseParallelGC -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -Dcoldfusion.sessioncookie.httponly=true -XX:NewRatio=3 -Xbatch -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{appli cation.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application. home}/../wwwroot/WEB-INF/cfform/jars

 

For the past few weeks, every couple of days the CF server grinds to a halt.

 

Using SeeFusion we can monitor the requests and see them just starting to stack up.

We are typically alerted to the brewing problem when our application starts sending notices

that SESSION variables are undefined. The interesting part is that typically the line

where the error occurs is after the variable has been checked if its defined:

 

For instance:

 

<cfif NOT IsDefined("SESSION.User")>

     <cflocation url="somewhere">

</cfif>

 

Hi <cfoutput>#SESSION.User.GetUsername()#</cfoutput>

 

Reports an error USER IS UNDEFINED IN SESSION on the output line AFTER the variable has been checked for existence meaning

to me that somewhere in the middle of processing the thread, memory is getting screwed up.

 

Anyway, after starting to see random errors like this we log into SeeFusion and see that

memory usage is running at about 85% and simple page requests are stacking up.

I can force a full GC cleanup in milliseconds but it doesn't do anything for memory usage.

The page response times begin to climb.

 

At first we though it might be some long running page or report on our site but looking at the actively

running requests we see nothing intensive which could be causing the issue. Looking at the

task manager, the processes on the server are all running at 0% execpt for JRun which is hovering around

15% to 18%.

 

The problem isn't in the database either. Our MySQL database shows no long running queries, hung processes, or crashed tables

the application could be stalling over.

 

All of thisleads up to the site slowing to a crawl and then becoming completely unresponsive while JRun chugs along

at 15% and memory never maxes out. This never causes any errors in the logs ie memory heap errors or connection timeouts.

Its just crawls along. I've never let it sit in this state for more than 5 or 10 minutes so I don't know if it would eventually come back.

The only way so far to bring it back it to restart the CF server at which point everything returns to normal.

 

In other types of situations like this I've seen JRun peg out at 100% or more percent or memroy is pegged at 100% with an eventual heap error

or the database is locked up causing the app problems. But none of that happens here.

 

I'm truly stuck as to how to continue to diagnose and fix this problem.

 

Any help would be awesome. Thanks.

CF10 App server running after reboot; but website unavailable until service restart

$
0
0

Hello, everyone.

 

I recently returned to a job I previously had after several months at a different job.  Upon my return, I inherited someone else's dev system (my previous dev system, apparently, had been reimaged and given to someone else, after I left.)

 

This system originally had CF9 server on it (the ColdFusion9 folder is still here) and now has CF10.  Using the built-in web server (no IIS, no Apache.)

 

Every time I boot/reboot the system, I can see in Computer Manage System that CF10 Application Server is, indeed, running.  But if I try to open any of the pages that I am working on, I get an error message that the site can't be found.

 

I go into Computer Manage System, go to Services, right-click the CF10 Application Server, choose "Restart", wait for it to finish, and voila!, I can get a working page.

 

Does anyone know why this is happening, and/or how to remedy it so that CF will work immediately after boot/reboot without going to restart the service?

 

Thank you,

CFHTMLTOPDF / PDF Service Manager

$
0
0

In reviewing the CFHTMLTOPDF tag, it seemed like it would meet our needs.  Everything seemed to test well until things went into production.

 

Continuous requests caused the following error:

 

The content of this document process takes more than 60 milliseconds to process.This timeout value is obtained from the request timeout set in the ColdFusion Administrator. The specific sequence of files included or processed is: C:\Applications\cliq\apps\students\print.cfm, line: 26


I was able to easily overload the our test and development servers to cause the same error by repeatedly calling a page with the CFHTMLTOPDF tag.


Our interim solution was to restart to the Coldfusion Addon Services on the Windows 2012 server.  But I don't think this is ideal as it seems like a relatively low threshhold to be able to crash the process.


Does anyone know of any documentation or settings that could be set to avoid this issue?  We are currently on CF 11 Update 4 Enterprise Edition.


All the best,

Terry

Viewing all 78799 articles
Browse latest View live


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