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

Error Executing Database QueryError Executing Database Query. [Macromedia][SQLServer JDBC Driver]...

$
0
0

The full error Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Invalid object name 'LittleBobbyTables'. (table name withheld)

 

This is an intermittent failure, the code occassionally works fine, then does not. At first I suspected a DNS issue, but it doesn't seem to be the case since test DSN's to AName record (server name), Cname alias, and IP address DSN all work... so now I am wondering if it is a load issue - and my question -

 

How do I test this hypothesis? How do I monitor load on this DSN or what CF services should I monitor on the server.


CFDEBUG not working on CF8 Server

$
0
0
My company is currently running CF8 Standard Edition, version 8,0,0,176276 on Windows 2003. I am currently working on building an editable CFGRID data grid. I was unable to get the data grid to ever return data, so I put some sample code available on Ben Forta's blog on the system to test. Likewise, the CFGRID never returned any data, and acts like it's infinitely waiting for data from the CFC it's bound to. Copying the exact same files to a dev server (same version of CF8, also running on Windows 2003), the CFGRID works great. I tried to pull up the AJAX debugging window on my production server by adding ?CFDEBUG=true to the end of the url for the CFM file, but no AJAX debug div/window every pops up. Meanwhile, the exact same thing does pop up the AJAX debug window on the dev server. I've tripled checked and the Enable AJAX Debug Log Window option is enabled on both the production and dev server.

At this point, I'm having to assume something is wrong with the installation on our production server. Unfortunately, I have absolutely no idea what could be the issue. Any help would be appreciated.

Some other little tidbits I'd like to add that may or may not have anything to do with this problem:

(1) Creating a simple HTML CFGRID where selectmode is not equal to "edit" does work, as far as returning data, but the CFDEBUG URL option still does nothing.

(2) Enabling debugging for my IP address in the CF Admin control panel has no positive effect, unless I set the debugging output format to "classic" instead of "dockable". If I run with "dockable", the application (not the AJAX) debug window is corrupted and has the following in the top part of the window:
quote:

'); } } function writeCloseBody() { if( debugMode ) { document.write(''); } } //============================== TREE STATE ============================== function setCookie( targetName, value ) { var cookieValue = targetName + "=" + escape(value); var exp = new Date(); var nowPlus30Days = exp.getTime() + (30 * 24 * 60 * 60 * 1000); exp.setTime( nowPlus30Days ); document.cookie = cookieValue + "; expires=" + exp.toGMTString() + ";"; } function getCookieValue( name ) { var thisCookie = document.cookie.split("; ") for( i=0; i
then it goes into the usual " ColdFusion MX Debugging" stuff, but none of the options are clickable. Is this normal?

(3) Just found this one out: if I set the debugging output format to classic, the cfdebug does work. but no errors show in the cfdebug ajax window.

Any ideas? Any help would greatly be appreciated.

lost /opt/jrun4/lib/wsconfig/1/jrunserver.store

$
0
0
We have 3 identical CF8 servers and only one is complaining:
[Mon Apr 7 15:44:22 2008] [notice] jrApache[15779:43727] could not open "/opt/jrun4/lib/wsconfig/1/jrunserver.store": Permission denied
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15780:43749] JRun closed connection. [6] dropped while sending command
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15780:43749] could not initialize proxy for 127.0.0.1:51020
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15780:43749] could not open serverstore "/opt/jrun4/lib/wsconfig/1/jrunserver.store": No such file or directory
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15780:43749] Couldn't initialize from remote server, JRun server(s) probably down.
[Mon Apr 7 15:48:30 2008] [notice] jrApache[15839:44245] JRun closed connection. [5] dropped while sending command

"No such file or directory" makes no sense since the directory exists on all 3 servers but jrunserver.store does not exists on any of them!

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.

IIS6 x64 w/ PHP Install question

$
0
0
I am currently trying to setup a new server (2003 R2 x64) to migrate to. Currently running into issues with PHP since I have to set Enable32bitAppOnWin64 to 1. This is causing CF to bark on install about setting it up as a 32 process, which I do not want to do.
Does anyone have any ideas how to get PHP 32 to play nice and still be able to get CF setup as 64?

Thanks

CF9 Web server configuration tool not finding coldfusion

$
0
0

Hi,

 

I'm having problems setting up coldfusion 9, and I've narrowed it down to the web server configuration tool.

 

First, the server is running a brand new install of Windows 2008 R2 64bit. It's running IIS 7.5, and I've enabled ISAPI filters+extension, and IIS6 metabase compatibility.

The server is one of 1&1's new cloud offerings. I don't think this should be the problem, unless it's a way they've configured it.

I've already successfully installed CF9 on the same OS on a dedicated server with a different host.

 

Anyway, running the CF9 64 bit installer seems to work ok, but it doesn't configure up IIS. I've tried installing/uninstalling/re-imaging the server several times with no success.

To confirm my suspicions that CF was installing ok, I tried it using the built in web-server on port 8500, and that works fine.

 

I've tried running the web server configuration gui tool, but I get the following message:

 

Could not connect to any JRun/ColdFusion servers on host localhost.
Possible causes:
o Server not running
-Start Macromedia JRun4 or ColdFusion MX server
o Server running
-JNDI listen port in jndi.properties blocked by TCP/IP filtering or firewall on server
-host restriction in security.properties blocking communication with server

 

Googling this found several blog posts for earlier version of CF. Most suggest running the 'netstat -an' command, which gives:

 

Active Connections

 

  Proto  Local Address          Foreign Address        State

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING

  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING

  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING

  TCP    0.0.0.0:1688           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:2522           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:2932           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:6085           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:6086           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:7997           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:8500           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:8983           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:9923           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:9953           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:9963           0.0.0.0:0              LISTENING

  TCP    0.0.0.0:19999          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:20000          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:47001          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49156          0.0.0.0:0              LISTENING

  TCP    0.0.0.0:49201          0.0.0.0:0              LISTENING

  TCP    127.0.0.1:8079         0.0.0.0:0              LISTENING

  TCP    127.0.0.1:9953         127.0.0.1:49186        ESTABLISHED

  TCP    127.0.0.1:49186        127.0.0.1:9953         ESTABLISHED

  TCP    127.0.0.1:49538        127.0.0.1:9923         TIME_WAIT

  TCP    127.0.0.1:49539        127.0.0.1:9963         TIME_WAIT

  TCP    127.0.0.1:49540        127.0.0.1:9923         TIME_WAIT

  TCP    127.0.0.1:49541        127.0.0.1:9963         TIME_WAIT

  TCP    127.0.0.1:49542        127.0.0.1:9923         TIME_WAIT

  TCP    127.0.0.1:49543        127.0.0.1:9963         TIME_WAIT

  TCP    127.0.0.1:49544        127.0.0.1:9923         TIME_WAIT

  TCP    127.0.0.1:49545        127.0.0.1:9963         TIME_WAIT

  TCP    [::]:80                [::]:0                 LISTENING

  TCP    [::]:135               [::]:0                 LISTENING

  TCP    [::]:445               [::]:0                 LISTENING

  TCP    [::]:1688              [::]:0                 LISTENING

  TCP    [::]:2522              [::]:0                 LISTENING

  TCP    [::]:2932              [::]:0                 LISTENING

  TCP    [::]:3389              [::]:0                 LISTENING

  TCP    [::]:6085              [::]:0                 LISTENING

  TCP    [::]:7997              [::]:0                 LISTENING

  TCP    [::]:8500              [::]:0                 LISTENING

  TCP    [::]:8983              [::]:0                 LISTENING

  TCP    [::]:47001             [::]:0                 LISTENING

  TCP    [::]:49152             [::]:0                 LISTENING

  TCP    [::]:49153             [::]:0                 LISTENING

  TCP    [::]:49154             [::]:0                 LISTENING

  TCP    [::]:49155             [::]:0                 LISTENING

  TCP    [::]:49156             [::]:0                 LISTENING

  TCP    [::]:49201             [::]:0                 LISTENING

  UDP    0.0.0.0:500            *:*                   

  UDP    0.0.0.0:4500           *:*                   

  UDP    0.0.0.0:5355           *:*                   

  UDP    0.0.0.0:62255          *:*                   

  UDP    0.0.0.0:62257          *:*                   

  UDP    0.0.0.0:62259          *:*                   

  UDP    0.0.0.0:62261          *:*                   

  UDP    127.0.0.1:62253        *:*                   

  UDP    127.0.0.1:62254        *:*                   

  UDP    127.0.0.1:62256        *:*                   

  UDP    127.0.0.1:62258        *:*                   

  UDP    127.0.0.1:62260        *:*                   

  UDP    127.0.0.1:62262        *:*                      

  UDP    [::]:500               *:*                   

  UDP    [::]:4500              *:*                   

  UDP    [::]:5355              *:*                   

 

I've removed a few lines that mentioned the external IP of the server, but I don't think they're important.

The main thing, is that it seems to be listening on port 2932 which is configured in jndi.properties

 

At this point I'm stuck.

I did find some blog posts that suggested adding some arguments to narrow the ports scanned when you run the configuration tool. I tried them without success - as they were quite old, is it possible they have changed with the latest config tool?

 

The other thing I've contemplated is connecting IIS manually. However, I can't find any instructions for doing this with CF9.

 

Does anyone have any suggestions?

 

Thanks in advance,

 

Gareth

Unable to update the NT registry. Variable DRIVERPATH is undefined.

$
0
0

Hi All,

 

Got a bit of a problem. When i try to add a microsoft access database to the datasources in the coldfusion administrator i get the following error message:

 

Unable to update the NT registry.
Variable DRIVERPATH is undefined.

I read the following post (http://forums.adobe.com/thread/142416) which had a possible solution for this problem,

 

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

I had same problem with x64 vista found answer

 

Open C:\Windows\SysWOW64\odbcad32.exe and create a System DSN using the Microsoft Access Driver (*.mdb).

Then open the ColdFusion Admin and create a datasource using the ODBC Socket driver.

Check the Trusted connection checkbox and it should work.

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

 

Unfortunately i cannot select the dsn datasource in the coldfusion administrator although i did add it to C:\Windows\SysWOW64\odbcad32.exe

Any help would be greatly appriciated.

 

Well the following article did work http://forums.adobe.com/message/1971734 so this topic can be closed.

 

My system specs are:

Windows 7 enterprise (64 bit)

Coldfusion 9 (64 bit)

 

Kind regards,

Nebu

.

Godaddy Standard SSL CFHTTP Keystore

$
0
0

Trying to connect via CFHTTP to a server that switched an SSL from Verisign to Godaddy.  Had no problems while they were with Verisign.

 

I've spent about 5-6 hours researching varios posts but none seem to have a solution.

 

I've downloaded the .cer file to my machine, installed it in the coldfusion jre keystore with keytool.  Restarted Coldfusion, same error, connection refused.

 

I then tried downloading the godaddy cer files from their repository, imported them, restarted coldfusion, same error.

 

I then downloaded and installed the latest jdk, installed it and moved coldfusion away from the included jvm and into the new one.  Imported all the keys into that keystore, restarted coldfusion, same error.

 

I performed this same task on a server running CF8 and CF9.

 

Has anyone had any success with godaddy ssl's that could give me some guidance to where I am going wrong?

 

thanks

steve


CF 8 File Not Found Error...

$
0
0

I'm running CF 8.01 on Apache 1.3 on Linux and seeing a bunch of these errors in the log that appear to correspond to times when the site appears to be hanging... The files are all there and the problem resolves itself usually after a minute. Any idea what could be causing this?

 

Jun 21, 2011  1:38 PM  Error  jrpp-6241 
File not found: /indext.cfm The specific sequence of files included or processed is: ''''
Jun 21, 2011  1:37 PM  Error  jrpp-6412 
File not found: /author.cfm The specific sequence of files included or processed is: ''''
Jun 21, 2011  1:37 PM  Error  jrpp-6131 
File not found: /indext.cfm The specific sequence of files included or processed is: ''''
Jun 21, 2011  1:37 PM  Error  jrpp-6447 
File not found: /indext.cfm The specific sequence of files included or processed is: ''''
Jun 21, 2011  1:37 PM  Error  jrpp-6376 
File not found: /indexlm.cfm The specific sequence of files included or processed is: ''''
Jun 21, 2011  1:37 PM  Error  jrpp-6105 
File not found: /indext.cfm The specific sequence of files included or processed is: ''''

 

 

 

 

"Error","jrpp-6523","06/21/11","13:37:55",,"File not found: /indext.cfm The specific sequence of files included or processed is: '''' "
coldfusion.runtime.TemplateNotFoundException: File not found: /indext.cfm
      at coldfusion.filter.PathFilter.invoke(PathFilter.java:65)
      at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
      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.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:286)
      at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
      at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
      at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
      at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
      at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
      at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is not available

$
0
0

Hi All,

 

First time posting here so please be gentle with me.

 

Woke up this morning and one of our CF9 (IIS6) boxes is giving the 500 error below instead of our homepage. The error log is giving a similar message but is specifically complaining about a service startup failure and C:\ColdFusion9\wwwroot\WEB-INF\exception\coldfusion\runtime\ApplicationException.cfm being the file processed at the time of the error. Which is ironic as that is an exception handling file.

 

I have not been able to find much on the web about this and to be honest not much clue where to start. Nothing (as far as I know) has changed on the server and this happened in the middle of the night so any pointers or help would be much appreciated.

 

Thanks,

 

Adam

 

500

 

 

coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is not available.

          at coldfusion.server.ServiceFactory.getSecurityService(ServiceFactory.java:42)

          at coldfusion.runtime.TemplateClassLoader$TemplateCache$1.fetch(TemplateClassLoader.java:438 )

          at coldfusion.util.LruCache.get(LruCache.java:180)

          at coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java :362)

          at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)

          at coldfusion.util.SoftCache.get_statsOff(SoftCache.java:133)

          at coldfusion.util.SoftCache.get(SoftCache.java:81)

          at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:591)

          at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)

          at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)

          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.CachingFilter.invoke(CachingFilter.java:53)

          at coldfusion.CfmServlet.service(CfmServlet.java:200)

          at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

          at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)

          at com.intergral.fusionreactor.filter.FusionReactorFilter.c(FusionReactorFilter.java:428)

          at com.intergral.fusionreactor.filter.FusionReactorFilter.d(FusionReactorFilter.java:262)

          at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java: 171)

          at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

          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:286)

          at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)

          at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)

          at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)

          at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)

          at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)

          at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

Mac OS X Server App & CF10

$
0
0

I have the new Mountain Lion OS X installed, with the Apple Server app as my webserver - however I can't get Coldfusion 10 to install. The issue arises because the installer can't find the Apache config file. Normally the file would be called "httpd.conf", but in the Server app it's called "httpd_server_app.conf".

 

You can supply the correct directory to the installer, but it cannot find the filename it is looking for, so gives a "cannot find file" error, and the installer will go no further.

 

Surely there must be a way to manually install the Apache connector or something, where you can specify the name of the relevant configuration file or some other workaround?

 

Any help you can give would be greatly appreciated - was really looking forward to running CF10 on my new Mac!

 

Thanks, Henry

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?

java update 1.7.0_21 deleted jrunsvc.exe. what replaces it?

$
0
0

I have CF 9.0.0.0 and tried to update from java 1.6.0_14 to java 1.7.0_21 at the request of my security department.  CF 9 Application Server used to run with "C:\ColdFusion9\runtime\bin\jrunsvc.exe" but now there's no jrunsvc.exe on the system.  What replaced jrunsvc.exe or was the error mine in trying to update java?

 

thanks,

Bob

CF10 Can't Verify Mail Server

$
0
0

So I've been running CF9 on Linux for a while and using CFMail to send email through a client's Exchange 2010 server.

 

We're attempting to migrate to CF10 on Win2008, IIS7.5.  Everything is set and ready to go except I can't get CF10 to verify the mail connection?  I've got both mail settings (CF9 and CF10) set the exact same way and can view them open side by side and verify they're identical.  However, while the CF9 verifies successfully the CF10 system fails??

 

I tried sending through CFMail tags while specifying the server credentials and see this in the CF10 log:

 

"javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client"

 

What does this mean?  I know my authentication credentials are correct because I'm able to connect in CF9.

 

I've turned off all firewalls and still nothing.  So, I then tried installing CF10 on my Mac laptop.  It, too, will not verify the mail connection!

 

Is there a known problem with CF10 connecting to an Exchange mail server?

 

Any ideas?

Why am I getting '500 Internal server error' after installing CF 10?

$
0
0

Hello,

 

I am not able to get to CF admin after installing CF 10. I am getting a '500 internal server error' along with the following message. How do I get around it? Thanks.

 

Best regards,

 

Chung Lee

 

type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.NullPointerException coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:129) coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:203) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:722) 

root cause

java.lang.NullPointerException coldfusion.CfmServlet.init(CfmServlet.java:82) coldfusion.bootstrap.ClassloaderHelper.initServletClass(ClassloaderHelper.java:121) coldfusion.bootstrap.BootstrapServlet.init(BootstrapServlet.java:59) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:414) org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:203) org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539) org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:298) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:722) 

noteThe full stack trace of the root cause is available in the Apache Tomcat/7.0.23 logs.


Web Connector Settings

$
0
0

I am reviewing the ColdFusion Web Connector settings in workers.properties to hopefully address a sporadic response time issue.

 

I've been advised to inspect the output from the metrics.log file (CF Admin > Debugging & Logging > Debug Output Settings > Enable Metric Logging) and use this to inform the adjustments to the settings max_reuse_connections, connection_pool_size and connection_pool_timeout.

 

My question is: How do I interpret the metrics.log output to help with the choice of setting values? Is there any documentation that can guide me?

 

Examples from over a 120 hour period:

 

95% of entries -

"Information","scheduler-2","06/16/14","08:09:04",,"Max threads: 150 Current thread count: 4 Current thread busy: 0 Max processing time: 83425 Request count: 9072 Error count: 72 Bytes received: 1649 Bytes sent: 22768583 Free memory: 124252584 Total memory: 1055326208 Active Sessions: 1396"

 

Occurred once -

"Information","scheduler-2","06/13/14","14:20:22",,"Max threads: 150 Current thread count: 10 Current thread busy: 5 Max processing time: 2338 Request count: 21 Error count: 4 Bytes received: 155 Bytes sent: 139798 Free memory: 114920208 Total memory: 1053097984 Active Sessions: 6899"

 

Environment:

- 3 x Windows 2008 R2 (hardware load balanced)

- ColdFusion 10 (update 12)

- Apache 2.2.21

How To: CF11 Clustering without Multicast (AWS)

$
0
0

This week I've been working on getting clustering setup for a client. Initially we were using CF10 with the latest patches. Ideally we wanted non-sticky load balancing with session replication. We want really high availability with the option to reboot a server at any time and not have to wait for session draining or lose customers if a node goes down. Adam Cameron points out that there is an issue with CF10 and not having an option to turn on session replication Adam Cameron's CFML Blog: Problem with session replication with CF10 clustering. Trying various fixes I could not get the session to replicate we moved to CF11 which restores that issue. There is a bug open for CF10 with some weird responses but I never saw any sort of fix for this.

 

CF11 as noted solves this odd issue, so I thought we were in the clear. Following the limited cluster setup guides found online there is some manual configuration to do on the remote instance. First, I am not sure if the default cfusion instance just can't be used as a member of a cluster but I had a hard time ever getting it to work. So both the local and remote instance use new CF11 instances created from within the Instance Manager. The instructions Adobe ColdFusion 10 * Enabling clustering for load balancing and failover are mostly correct in that you have to copy the <cluster> node to the remote instance. One issue pointed out in a few places is that the cluster block has to actually go IN the <host> node and not after it. CF10, CF11 and maybe even CF9 put the block (and the documents suggest putting the block) after the </host> tag which, in my experience, does not work.

 

After everything was configured and I started up my test I could not get the remote node to respond at all. Looking in the cf error log I constantly saw this line:

 

INFO: Manager [/]: skipping state transfer. No members active in cluster group.

 

Digging in to the tomcat clustering discussions this basically means the cluster couldn't find the remote instance. By default CF uses the multicast cluster support in tomcat and doesn't have an option to do anything different. Researching this found that AWS does not support broadcast nor multicast in EC2. Further research showed how tomcat could be configured for static cluster member configuration and so I modified the server.xml files to match and viola, cluster with session replication. Using the ELB on AWS we have sticky sessions disabled (basically round-robin style requests) and the requests bounce evenly between the instance members. The session id's, however, stay the same on each page load even though the request is going to a different host.

 

So here is what the cluster node of the server.xml looks like:

 

<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster" channelSendOptions="8" channelStartOptions="3">        <Manager notifyListenersOnReplication="true" expireSessionsOnShutdown="false" className="org.apache.catalina.ha.session.DeltaManager"/>        <Channel className="org.apache.catalina.tribes.group.GroupChannel">          <!--<Membership port="45564" dropTime="3000" address="228.0.0.4" className="org.apache.catalina.tribes.membership.McastService" frequency="500"/>-->          <Receiver port="4001" autoBind="100" address="auto" selectorTimeout="5000" maxThreads="6" className="org.apache.catalina.tribes.transport.nio.NioReceiver"/>          <Sender className="org.apache.catalina.tribes.transport.ReplicationTransmitter">            <Transport className="org.apache.catalina.tribes.transport.nio.PooledParallelSender"/>          </Sender>          <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpPingInterceptor"/> <!-- ADDED -->          <Interceptor className="org.apache.catalina.tribes.group.interceptors.TcpFailureDetector"/>          <Interceptor className="org.apache.catalina.tribes.group.interceptors.MessageDispatch15Interceptor"/>      <Interceptor className="org.apache.catalina.tribes.group.interceptors.StaticMembershipInterceptor">                <Member className="org.apache.catalina.tribes.membership.StaticMember"                  port="4002"                  host="172.31.33.220"                  domain="delta-static"                  uniqueId="{0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}"                />          </Interceptor>        </Channel>        <Valve className="org.apache.catalina.ha.tcp.ReplicationValve" filter=""/>        <Valve className="org.apache.catalina.ha.session.JvmRouteBinderValve"/>        <ClusterListener className="org.apache.catalina.ha.session.JvmRouteSessionIDBinderListener"/>        <ClusterListener className="org.apache.catalina.ha.session.ClusterSessionListener"/>      </Cluster>

 

You can see the <membership> node is commented out (this is the multicast function). The TcpPingInterceptor is added and the StaticMembershipInterceptor is added. The reciever port on this instance is 4001 and the remote instance is 4002 so the interceptor uses 4002 on this instance to contact the remote host and vice-versa. In other words the remote instance will use the same <cluster> node with the ports switch and the host IP address changed on the static interceptor. The uniqueID then rotates on each member going from {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15} to {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,0}

 

Of course each additional member to the cluster will mean manual changes to each existing member (to add additional static interceptors) but that seems a small price to pay to not have to move our entire environment off AWS.

How to Start/Stop from Server Manager

$
0
0

Hello,

 

I am trying to figure out how to start/stop/restart my coldfusion servers from server manager.  I have seen the instruction at this link:

 

http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSfd7453be0f56bba4-2a6b48f122a6582c7f-7ff e.html

 

However it mentions "place the jrunappstartup.warfile under the directory <CF_Home>/runtime/servers/admin"

 

I do not know where to get this file from.  Please help!

 

I am running ColdFusion standalone.

 

Any help is much appreciated,

 

Thanks,

David

IIS7.5 with ColdFusion 9.0.1 64bit - IIS error 500

$
0
0

Hi,

 

I have the following:

Windows 2008 R2 sp1 64bit

IIS 7.5

ColdFusion 9 64bit, upgraded to 9.0.1 64bit

 

After installing ColdFusion 9, and upgrading to 9.0.1, I get IIS 500 errors for any file .cfm, .txt, etc.  IIS was working prior to the CF install.

 

Based on research, I've confirmed:

CGI, ISAPI Extensions, ISAPI filters, IIS 6 Managment Compatiblity all installed

If IIS/pplicaiton pool: Enable 32-bit applicaitons = True - Then I get IIS error 500 19 5 31 with a .cfm file, error 500 0 193 593 .txt or 500 0 193 15 .jpg.

 

If IIS/Applicaiton pool: Enable 32-bit applications = False - Then I get IIS error 500 0 1001 93 and an system log event 'A process serving application 'DefaultAppPool' terminated unexpecedly.  Event ID 5009, source - WAS.

 

I'd think enable 32-bit applicaitons should be false, since I'm using 64bit CF.  Why does the AppPool crash then?

 

Any ideas?

can not find jvm.dll

$
0
0

I am trying to use a jdbc/mysql connector. The issue is that the connector is compiled in a later version that what is installed in Coldfusion MX 6.1. I have downloaded and installed the Java 6 SE JDK and installed it. Here is my JVM config file.

 

#

# VM configuration

#

# Where to find JVM, if {java.home}/jre exists then that JVM is used

# if not then it must be the path to the JRE itself

#java.home=C:/Program Files (x86)/Java/jdk1.6.0_45/jre

#java.home=C:\\Program Files (x86)\\Java\\jdk1.6.0_45\\jre

#java.home=C:/Program Files (x86)/Java/jdk1.6.0_45

#java.home=C:\\Program Files (x86)\\Java\\jdk1.6.0_45

java.home=C:/CFusionMX/runtime/jre

#

# If no java.home is specified a VM is located by looking in these places in this

# order:

#

#  1) bin directory for java.dll (windows) or lib/<ARCH>/libjava.so (unix)

#  2) ../jre

#  3) registry (windows only)

#  4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)

#

 

 

# Arguments to VM

java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx512m -Dsun.io.useCanonCaches=false -Xbootclasspath/a:"{application.home}/../lib/webchartsJava2D.jar" -XX:MaxPermSize=128m -XX:+UseParallelGC

 

 

#

# commas will be converted to platform specific separator and the result will be passed

# as -Djava.ext.dirs= to the VM

java.ext.dirs={jre.home}/lib/ext

 

 

#

# where to find shared libraries

java.library.path={application.home}/../lib,{application.home}/../jint egra/bin,{application.home}/../jintegra/bin/international,{application .home}/../lib/_nti40/bin

system.path.first=false

 

 

# JVM classpath

java.class.path={application.home}/servers/lib,{application.home}/../l ib/cfusion.jar,{application.home}/../lib,{application.home}/../runtime /lib/jrun.jar,{application.home}/../runtime/lib,

 

I have tried each of the 4 paths and only the last one works. The following is my Coldfusion error log.

Error loading: C:/Program Files (x86)/Java/jdk1.6.0_45/jre\bin\server\jvm.dll

Error loading: C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\server\jvm.dll

Error loading: C:/Program Files (x86)/Java/jdk1.6.0_45\jre\bin\server\jvm.dll

Error loading: C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\server\jvm.dll

 

I have no idea why the jvm.dll can not be found as the file is in that directory.

 

(sorry for the cross post. This is probably the better place)

Viewing all 78799 articles
Browse latest View live


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