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

ColdFusion 10 - install admin components

$
0
0

Hi,

 

I was just wondering if there were instructions around on how to install admin components for remote start & stop after installation of CF 10 has been completed?

 

I'm looking to update some development servers for use with ColdFusion Builder, but I can't find any information on how to install the component on linux after the fact.

 

I've searched through the installation guide, but haven't come up with anything.


Cheers,

Simon


CF 11 very slow to load web pages - up to 10 seconds

$
0
0

Running CF11  Windows 2012 r2 Data center IIS 8 4Gb RAM 4 cores no adjusments have been made to default CF11 - waiting from cfinstall@adobe.com to send me the hotfix hf1100-3776060.123 or hf1100-3776060.jar as services keep stopping


What can I do? My CF 8 is running way faster than this


thank you!

CF 9 schedule task emails running twice

$
0
0

Running CF 9,0,1,274733 and I must qualify my post by saying that I know enough about CF to be dangerous.

 

We have a number of schedule tasks that run once per day at different times of the day. These tasks do things like query the database and email staff about low on stock items and almost expired items, etc. We installed some critical security updates on our Win 2008r2 server a few days ago and the double emails started that night. I don't want to uninstall those security updates to fix this issue.

 

Here are some things I have checked and tried:

 

a) I cleared the cache in CF Admin.

Clear Template Cache Now

Clear Component Cache Now

 

Still getting dupes

 

b) Restarted the CF services in the services.msc in Windows. Still getting dupes.

 

c) Restarted the server. Still getting dupes.

 

d) I ran a few of the tasks manually by clicking the Run button in the CF Admin Schedule Task list. Still getting dupes.

 

e) I added the spoolenable="no" attribute to the cfmail tag. Still getting dupes.

 

f) I recreated some of the tasks and the cfm pages that they point to. I turned the old tasks off by setting them to "One-Time". Still getting dupes.

 

g) I created a new task and a new cfm page with just the cfmail tag. No cfquery, no cfloop, no cfoutput. Just the cfmail tag with 1 sentence in the body. Still getting dupes.

 

h) I changed email addresses in the cfm pages. Still getting dupes.

 

i) I checked the mailsent.log. It shows these task pages are being fired twice about 1-2 minutes apart. If the task is set to run at 11:00pm then it runs at 11:00pm and at 11:01pm. It is also runs twice and 1 minute apart when I click the Run button in the task list. This looks like a CF issue and not an Exchange issue.

 

I hope someone can point me in the right direction. Thanks.

Coldfusion 11 IIS 8.5 http error 500.0 internal 2012 server error

$
0
0

I have installed MS Server 2012 r2 , ColdFusion 11 standard and am not able to serve any .cfm pages.  http://127.0.0.1 displays the MS IIS web page, when http://127.0.0.1:80/tabs/index.cfm  is requested, I receive HTTP Error 500.0 - Internal Server Error.

 

I  can not open the CFAdmin for the server.

 

I have tried uninstall / reinstall  IIS and CF with out success.

I may be forced to load server 2008 r2 with IIS7.5 with out results.

 

I hope there is an easy solution.

 

Thanks,

TJ

 

Detailed Error Information:

Module    IsapiModule

Notification    ExecuteRequestHandler

Handler    cfmHandler

Error Code    0x800700c1

Requested URL    http://127.0.0.1:80/tabs/index.cfm

Physical Path    C:\inetpub\wwwroot\tabs\index.cfm

Logon Method    Anonymous

Logon User    Anonymous

Wrong Template Path - CF11 on JBoss 7.1.1

$
0
0

I just set up ColdFusion 11 and I am able to access the ColdFusion 11 Administrator so I know ColdFusion is running. But when I try to load a web site, I get a page not found error. I notice in the debugging info that the CF_TEMPLATE_PATH is incorrect.

 

It should be like this:

C:\jboss-7.1.1.Final\standalone\deployments\cfusion.war\finance02\default.cfm

 

But it's like this:

C:\jboss-7.1.1.Final\standalone\tmp\vfs\deployment18dde21d379c002f\cfusion.war-1b3fef09164 49a43\finance02\default.cfm

 

The URL accessed is:

http://localhost:8080/cfusion/finance02/default.cfm

 

What could cause the path to be incorrect and how can I fix it?

Network error when registring remote server

$
0
0

Registering a remote server in the ColdFusion Administrator's Instance Manager gives a "Network Error".

We are trying to set up a ColdFusion cluster. There are 2 servers each with ColdFusion Enterprise installed in a multiserver environment setup. Both servers have a interface for JRun as well as an interface for a hardware-based NLB. The NLB interfaces have the same subnet1. Also both of the JRun interfaces belong to the same subnet2.

After installing we have created an instance on each server. Because we want to make a cluster we choose server1 as our "cluster server" and try to register the instance on server2 through the option "register remote instance" in the ColdFusion Administrator.

Values used when registering:
Server: instance2
Host: IP adres of server2, belonging to the Jrun interface on subnet2
Port: 2908 (as is listed as remote port for instance2 on server2)

The result is that the instance is marked with "Network error". We get the same result when trying through the JRun JMX Console: "Server unavailable".

We verified that the security.properties file is allowing for the subnet and added server1 and server2 as trusted-hosts to be sure. We made sure that the Jrun interface is bind with eth0, the primary interface on the machines, and the NLB with eth1, the secondary interface on the machines. There are no firewall restrictions between both machines.

Other details: RedHat Linux, ColdFusion 7.0.1

What is BTTMIB+AGENT and how do we disable it?

$
0
0

I noticed in my ColdFusion and IIS log there was an hourly activity by BTTMIB+AGENT

 

2011-02-03 00:00:37 xx.xx.xx.xx GET /cfide/mib/serverinfo.cfm - 80 - xx.xx.xx.xx BTTMIB+AGENT 404 0 0
2011-02-03 00:00:37 xx.xx.xx.xx GET /cfide/mib/getmetricdataXML.cfm - 80 - xx.xx.xx.xx BTTMIB+AGENT 404 0 0

 

What is BTTMIB+AGENT and how do we disable this as it's filling up the log files? I searched this Forum and also Google, but no definitive answer so far.

Appreciate anyone's input.

Note: I see this in CF 7 and 9, but not 6.1.

 

Thanks!

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


How to Full Trust localhost:8500

$
0
0

In our shop trusted intranet sites are set by group policy. So in order to allow an embedded ActiveX control, I use caspol to add my site to the group of trusted sites. If I have ColdFusion running under Apache HTML server on my desktop, I can add localhost to my trusted group, and my ActiveX control loads. But if I'm running the built-in CF server using port 8500, the control doesn't load. If I try adding localhost:8500 to the group using caspol, I get an invalid site error. So my questionis this: how do I make localhost:8500 a fulltrust site? (My browser is IE9.)

We have been hacked... appreciate any help...

$
0
0

Running CF Version  9,0,1,274733

 

One of our error reports showed:

 

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

Error Page: /CFIDE/beta.cfm

 

Query String: page=quickly

 

HTTP Referer: [removed for this post]/CFIDE/beta.cfm?page=quickly

 

Diagnostics: ColdFusion could not delete the file C:\ColdFusion9\runtime\servers\coldfusion\SERVER-INF\temp\wwwroot-tmp\session_log0.txt for an unknown reason.

 

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

 

This pointed us to that beta.cfm file that was somehow put into the CFIDE root.  No FTP access to that directory and they have cleared the CF logs so no real record of what might have been done.  Did find a few CF files that had been modified around the same time but nothing in them seemed out of the ordinary.  Have removed access to them for now to be safe.

 

Any suggestions on where to start to figure out how they got that file into the CFIDE root?  I do have the file (moved out of CFIDE) which I can supply but it's encrypted...

 

Appreciate any help.

Minor emergency - cannot access CFAdmin after update 20 (CFServer 10)

$
0
0

Hello, all.

 

I have a CF server that is isolated from the internet, so as you can imagine, it doesn't get updated often.

 

Soooo... I downloaded the CF10 Mandatory update jar file, and the CF10 Update 20 jar file, copied them over to my server (Windows 2008), and then dropped to an elevated command prompt, and ran the jar files, Mandatory first, restart, then Update 20, restart.

 

Now, when I try to access CFAdmin, I get an error message: File not found - {drive}:\www\Coldfusion\cfusion\wwwroot\CFIDE\Administrator\cftags\inputfilter.cfm

 

We don't have our webdocs in the same folder as the CFIDE.  So I'm pretty sure this can be fixed by editing an xml file, but I don't know which one(s) or what all to change.

 

Our webdocs are in {drive}:\Webdocs\

 

Our CFIDE is in {drive}:\www\Coldfusion\cfusion\wwwroot\CFIDE\

 

How can I fix this?

 

V/r,

 

^_^

ODBC error

$
0
0

how to resolve

 

Connection verification failed for data source: teste
java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][SequeLink Server]The specified data source is not defined.
The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][SequeLink Server]The specified data source is not defined.

 

for access conection?

Datasource Error after CFMX8 Upgrade

$
0
0
I just installed Coldfusion MX 8 on Windows 2003 and deployed my .car file that I had created from my MX 6.1 install. Everything copied over successfully but none of my sql datasources verify. I'm getting the following error message:

Connection verification failed for data source: data
coldfusion.sql.DataSourceFactory$DataSourceException: Datasource data could not be found.
The root cause was that: coldfusion.sql.DataSourceFactory$DataSourceException: Datasource data could not be found.

I go into the datasource and hit submit and get the following error:

Error editing/creating this dsn (data)
An error occurred while trying to encrypt or decrypt your input string: com.rsa.jsafe.crypto.dr: Could not perform unpadding: invalid pad byte..

coldfusion.runtime.Encryptor$InvalidParamsForEncryptionException: An error occurred while trying to encrypt or decrypt your input string: com.rsa.jsafe.crypto.dr: Could not perform unpadding: invalid pad byte.. at coldfusion.runtime.Encryptor.processCipherWork(Encryptor.java:544) at coldfusion.runtime.Encryptor.decrypt(Encryptor.java:337) at coldfusion.runtime.Encryptor.decrypt(Encryptor.java:301) at coldfusion.runtime.Encryptor.decrypt(Encryptor.java:278) at coldfusion.runtime.CFPage.Decrypt(CFPage.java:4373) at coldfusion.runtime.CFPage.Decrypt(CFPage.java:4351) at coldfusion.sql.DataSourceDef.getPassword(DataSourceDef.java:601) at coldfusion.sql.CFPooledDataSource.newDataSource(CFPooledDataSource.java:221) at coldfusion.sql.DataSourceFactory.createDataSource(DataSourceFactory.java:102) at coldfusion.sql.DataSourceFactory.setDataSource(DataSourceFactory.java:134) at coldfusion.sql.Executive.mapModified(Executive.java:272) at coldfusion.server.ConfigMap.setChanged(ConfigMap.java:68) at coldfusion.server.ConfigMap.put(ConfigMap.java:247) at coldfusion.runtime.CfJspPage._arrayset(CfJspPage.java:1027) at coldfusion.runtime.CfJspPage._arraySetAt(CfJspPage.java:2117) at cfsqlserver2ecfm691071965._factor7(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\datas ources\sqlserver.cfm:300) at cfsqlserver2ecfm691071965._factor19(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\data sources\sqlserver.cfm:40) at cfsqlserver2ecfm691071965.runPage(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\dataso urces\sqlserver.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:192) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:366) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:279) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:126) at coldfusion.CfmServlet.service(CfmServlet.java:175) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 ) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:284) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Any ideas?

Thanks,
Donna

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

64-bit ColdFusion 9 ODBC drivers confusion? (architecture mismatch)

$
0
0

Hi all - I'm having problems setting up ColdFusion ODBC sources in a pure 64-bit environment. Server specs:

  • Windows 2008 R2 (64-bit)
  • ColdFusion 9.01 (251028) Enterprise, 64-bit

 

I have 64-bit ODBC drivers for all of my database sources:

 

  • 64-bit SQL Server (bundled with Windows 2008 R2)
  • 64-bit MS Access 2010 (with 64-bit Access ODBC driver from Office 2010 64-bit install)
  • 64-bit ODBC drivers for Sybase SQL Anywhere 11 (from SyBase)

 

Using the (64-bit) ODBC Administrator, I can create system DSNs and they test out perfectly. (From my test Access database, I can use these DSNs to pull data from SQL Server and from SQL Anywhere.) Since this is working, I'm pretty confident that my drivers are all 64-bit and that everything is happy.

 

Now for ColdFusion...

When I try to create a new data source in the ColdFusion Administrator and I use, the "ODBC Socket" option, I am presented with a drop-down list of my 64-bit ODBC system DSNs (good!), but whenever I select one and save, I invariably get an "architecture mismatch" error like below:

 

Connection verification failed for data source: MSSQLtestDatabase
java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC  Socket]internal error: The specified DSN contains an architecture mismatch  between the Driver and Application
The root cause was that:  java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket]internal  error: The specified DSN contains an architecture mismatch between the Driver  and Application

 

I am well aware that "architecture mismatch" errors mean that you're trying to mix 32-bit drivers with a 64-bit application (or vice-versa), but I'm pretty sure that everything in my environment is 64-bit.

 

As a further test, I created a few 32-bit ODBC system DSNs and the ColdFusion Administrator does not present them as options in the drop-down list of ODBC DSNs (good!). So, it seems like the Administrator is smart enough to show only the 64-bit DSNs, but whenever you try to connect to one, it gets confused and kicks up an "architecture mismatch" error.

 

So is there any obvious configuration error here? Is there a 32-bit subcomponent to ColdFusion (JDBC, etc.) that's confusing things? (I ran the ColdFusion_9_WWE_win64.exe setup downloaded from Adobe's site.) Is 64-bit ColdFusion ready for prime time? Any suggestions would be greatly appreciated. Thanks, Joe


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.

JVM Heap size settings

$
0
0

Recently I got a VPS server and I'm running Coldfusion, the website was running fine until it got more and more traffic and I started to encounter 'OutOfMemory' exceptions.

I thought simply to rise the memory of the VPS server, but this didn't help.

After doing some Google searches I found a setting in de CF Admin settings to set the JVM Heap memory. It was on the standard: Max Heap size 512MB and Min Heap size was empty. After playing around a bit I have now set it to Min 50MB and Max 200MB, good things is that I'm not getting the 'OutOfMemory' exceptions anymore. So far so good!

But with about 50 active visitors on the website, the website starts to get slow. The CPU usage is only about 8% (Windows Taskmanager), also the taskmanager show only about 30% of the 3GB RAM in use.

So I'm thinking that my values could be tweaked to use more of the RAM. Honestly I don't understand these JVM Memory heap settings, so I have no clue what is a good setting for me.

I found a CF script that displays the memory usage, the details are:

 

HeapMemoryUsage-Committed    194 MB 
HeapMemoryUsage-Initial  50.0 MB
HeapMemoryUsage-Max  194 MB
HeapMemoryUsage-Used     163 MB
JVM
-FreeMemory    31.2 MB
JVM
-MaxMemory     194 MB
JVM
-TotalMemory   194 MB
JVM
-UsedMemory    163 MB
MemoryPool-CodeCache-Used  13.0 MB
MemoryPool- PS EdenSpace-Used   6.75 MB
MemoryPool- PS OldGen-Used  155 MB
MemoryPool- PS PermGen-Used     64.2 MB
MemoryPool- PS SurvivorSpace-Used   1.07 MB
Non-HeapMemoryUsage-Committed    77.4 MB
Non-HeapMemoryUsage-Initial  18.3 MB
Non-HeapMemoryUsage-Max  240 MB
Non-HeapMemoryUsage-Used     77.2 MB
FreeAllocatedMemory:30mb
TotalMemoryAllocated:194mb
MaxMemoryAvailable to JVM:194mb
% of FreeAllocatedMemory:16%
% of AvailableMemoryAllocated:100%

 

My JVM arguments are:

-server -Dsun.io.useCanonCaches=false-XX:MaxPermSize=192m-XX:+UseParallelGC-     Dcoldfusion.rootDir={application.home}/../-Dcoldfusion.libPath={application.home}/../lib

Can I give the JVM more memory? If so, what settings should I use?

Thanks very much!!



Can't start ColdFusion 11 Application Server service

$
0
0
Services 
Windows could not stat the ColdFusion I I 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.

CF10: Apache returns 404 when ;jsessionid is appended

$
0
0

Hi all,

 

we are currently upgrading a SLES 11 Server to CF10 64bit.

Last week we spend 2 days to eliminate a problem with the connector.

Apache refused to deliver CF-Pages. The log file said that mod_jk could not connect to the cfusion instance - Error 503...

 

We finally fixed this by copying a mod_jk binary from a working CF10 Server to this one.

Now Apache (2.2.23) serves all CF pages flawlessly.

 

What I just discovered was a problem, when a client doesn't accept cookies and J2EE-Sessions are turned on.

A URL with the sessionid appended (as for example cflocation creates it) results in a 404 error:

http://xxxxx.xxxxxx.com/login.cfm;jsessionid=xyxxyxyxyxyxyxy

 

I remember such a problem from a CF6/7 install, but that was IIS on Windows.

 

I'm just stuck with this one.

Can somebody please help?

 

Regards

Joerg

ColdFusion MX 7 Administrator Password Reset

$
0
0

The ColdFusion Administrator site will not take the password.

Has anyone had any issues with programing after the password reset?

I did not develop or program our server, just sort of picking up the pieces until we get a new Enterprise Web Developer.

 

System Configuration:

 

HP Proliant ML370 G2

Pentium III 1.3 Ghz x2

2GB RAM

Windows Server 2003 Enterprise SP2

Macromedia MX 7.0.2

EMS SQL Studio MySQL Servers & Clients 5.0.27

MySQL Admin 1.0

IISLogs 1.0

My OBDC 3.51

Viewing all 78799 articles
Browse latest View live


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