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

Performance Monitor error wtf?

$
0
0
What is going on here?

We are on Solaris.

"Error","jrpp-3495","03/12/08","09:26:31",,"The current user is not authorized to invoke this method. "
coldfusion.runtime.CustomException: The current user is not authorized to invoke this method.
at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:124)
at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:2644)
at cfaccessmanager2ecfc131535872$funcCHECKADMINROLES.runFunction(E:\cf8_final\cfusion\wwwroo t\CFIDE\adminapi\accessmanager.cfc:48)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2260)
at cfservermonitoring2ecfc1089727812$funcGETTIMEDOUTREQUESTS.runFunction(E:\cf8_final\cfusio n\wwwroot\CFIDE\adminapi\servermonitoring.cfc:407)

MySQL Connector/J - driver not recognised

$
0
0
CF version: ColdFusion MX7
MySQL: Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (i486) using readline 5.1
platform: ubuntu 6.06
JDBC URL: jdbc:mysql://nbox:3306/recordings *
driver class: com.mysql.jdbc.driver
driver name: MySQL Connector/J
driver jar: /opt/coldfusionmx7/wwwroot/WEB-INF/lib/mysql-connector-java-5.0.3-bin.jar

message: java.sql.SQLException: No suitable driver available for ngn_recordings, please check the driver setting in resources file, error: null

In an ideal world, I feel, the installation would check itself and show the driver in the pull-down ;-}
Failing that, can anyone out there give me clear and unambiguous instructions for getting MX7 on speaking-terms with my database? Thanks in advance, especially as anyone with this valuable knowledge probably has to post it here pretty regularly ... even if I didn't immediately find it with a forum search.

N

* database alive and well when checked from MyQSL command-line ...

ColdFusion server-specific error code 2

$
0
0

I have the developer's version of ColdFusion 8 installed on a Vista 32-bit computer. It is installed as a stand-alone server. Usually it starts automatically when my computer starts, but now it doesn't. So I tried to start it manually and this it what I got:

 

"Windows could not start the ColdFusion 8 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 server-specific code error 2."

 

Having Googled for a while and not finding any solutions that worked, I did a system restore to 2 days ago (I'm pretty sure ColdFusion was working then). This did not work. So I uninstalled and delete ColdFusion, then re-installed it under IIS (for irrelevant reasons). Still the same error, which is over my head why the error would still be there. So after that didn't work, I did another system restore to a point where I know ColdFusion worked. Still I get this same error. (It is now a stand-alone server again since the last system restore undid the new installation)

 

Does anyone have any suggestions? Most of the treads I found while searching were relating to Coldfusion 7 or lower and didn't help me out, and the few I did find concerning ColdFusion 8 didn't fix the error.

 

If you need anymore info please just let me know.

 

Thanks for your time.

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

Coldfusion 9 scheduled task not running

$
0
0

I have a scheduled task that will run manually  - clicking the run the task icon next to the scheduled task name in the CF administrator and in a browser.  However, if I schedule it to run in the evening or even in a few minutes it does not run.    I do not get any error messages in the logs.  I have renamed the CF administrator folder.

 

I would like to know where to start looking to start debugging this.

 

As always, thanks for your help!

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

.

Coldfusion 9 Archives page

$
0
0

Hi, I can't figure out how to back up my Cf server and find the  coldfusion 9 ColdFusion Archives page

Problem with fckeditor filemanager connector

$
0
0

Hi,

I have problem with fckeditor file browser. When I'm opening file browser I get error message from connector.

Error message:

XML request error: Access is denied (403)

 

I have set permissions in connectors/cfm/ -folder as "full control" for group "Everyone". This shoud be enough.

 

Same error message comes when i use Fckeditor supplied with Coldfusion 9 and Fckeditor installed separately.

 

Server information:

Win Server 2008 R2

IIS 7.5 (with IIS 6 Metabase compatibility)

Coldfusion 9.0.1 developer edition

Fckeditor 2.6.4.1 (supplied with CF9)

Fckeditor 2.6.6

 

Best regards

Pasi Rouhiainen


Random but Regular CF9 503 Error - CF-out.log Jrun errors

$
0
0

Environment

 

  • ColdFusion version: CF9 32-bit (NOT the 9.01 Patch yet)
  • Hotfix version None
  • server OS : Windows 2003 Server 64 Bit
  • webserver: Apache/2.2.14 (W32) 32 bit
  • database: MSSQL 2008 Express with Advanced Services 32 bit

 

Background

1.  Porting an old cold fusion code base from 2002-2006 to CF9

 

2.  I am randomly but quite frequently getting 503 errors in the browser on the above environment AND a development environment running WinXP, Apache 2.2 32 bit, CF9 32 bit, MSSQL 2008 Express with Advanced Services 32 bit.

 

The 503 errors seem random and they are frequent.

 

These 503 errors are happening on both the application and on the CFIDE/Administrator (though not as often).

 

No one is using this application but me.  It is under test and development.  Obviously, can't go to production with this problem.

 

3.  The 503 errors are showing up in the apache access and error log.

 

Access Log

70.125.50.86 - - [12/Jan/2011:06:02:55 +0000] "GET /generalsignup.cfm HTTP/1.1" 503 222 "http://www.debitelite.com/index.cfm" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.634.0 Safari/534.16"

 

Error Log

[Wed Jan 12 06:02:55 2011] [notice] jrApache[34056: 53266]  returning error page for JRun too busy or out of memory

 

4.  Here is my JVM config from CF9 CFIDE/Administrator

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

 

5.  I have NOT made any real modifications or tuning changes to this server.  I just installed CF9 tonight.

 

6.  I have run the Code Analyzer and it has not found anything wrong with the code.

 

7.  Here is what ends up in the coldfusion-out.log file.

01/12 06:02:53 error ROOT CAUSE:

java.lang.NullPointerException

at coldfusion.runtime.Cast._double(Cast.java:833)

at coldfusion.runtime.Cast._int(Cast.java:456)

at coldfusion.runtime.Cast._int(Cast.java:461)

at coldfusion.runtime.ClientScope.UpdateGlobals(ClientScope.java:127)

at coldfusion.runtime.ClientScopeServiceImpl.PersistClientVariablesForRequest(ClientScopeSer viceImpl.java:323)

at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:3 3)

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

 

javax.servlet.ServletException: ROOT CAUSE:

java.lang.NullPointerException

at coldfusion.runtime.Cast._double(Cast.java:833)

at coldfusion.runtime.Cast._int(Cast.java:456)

at coldfusion.runtime.Cast._int(Cast.java:461)

at coldfusion.runtime.ClientScope.UpdateGlobals(ClientScope.java:127)

at coldfusion.runtime.ClientScopeServiceImpl.PersistClientVariablesForRequest(ClientScopeSer viceImpl.java:323)

at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:3 3)

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

 

at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70 )

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)

 

01/12 06:02:53 error (JRun Service: ProxyService [jrun.servlet.jrpp.JRunProxyService@1da1a47]) JRunPRoxyServer.invokeRunnable:

java.lang.IllegalStateException

at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)

at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)

at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)

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)

 

java.lang.IllegalStateException

at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205)

at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597)

at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328)

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)

 

8.  This is NOT isolated to a single page or the same page every time.  It happens on pages where very little and/or no processing is taking place.

 

Anyone have some insights?

 

Thanks

Stephen Cannon

 

 

 

 

 

Server stops processing ColdFusion

$
0
0

One of our servers is throwing "java.lang.OutOfMemoryError: PermGen space".

 

Here is the original jvm.config:

java.args=-server  -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=128m  -XX:MaxPermSize=192m -XX:+UseParallelGC -XX:-UseGCOverheadLimit  -Dcoldfusion.rootDir={application.home}/  -Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF /cfusion/lib/coldfusion.policy   -Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WE B-INF/cfusion/lib/neo_jaas.policy

 

Made  a change to bump the -XX:MaxPermSize=192m to -XX:MaxPermSize=256m but  this morning got the error again so I bumped it again to  -XX:MaxPermSize=512m.

 

Am I barking up the wrong tree?

 

ColdFusion version 9,0,1,274733 

 

Update level

JRun4/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/updates/hf901-00001.jar   

 

server OS: Windows 2003 R2, Standar x64, SP2

 

webserver: IIS6

 

database: MSSQL 2005

No access to CF administrator after installation

$
0
0

CF9 has been installed on  Windows server 2008.

Successfull.

 

I can see CF9 files on disk C:\ColdFusion9

 

I have the CFIDE structure installed on disk D:\wwwroot\CFIDE

 

And when launching :

http://127.0.0.1/CFIDE/administrator/index.cfm

can't find the file

I tried the Sever IP adress :

http://85.14.138.81/CFIDE/administrator/index.cfm

same, can't find the file.

 

Can someone help/explain where could be the problem ?

It seems to be a problem of  IP pointing ?

 

Thanks for any help.

I do not have the hand on the IP.

Pierre.

can't configure server side includes with coldfusion

$
0
0

Hi,

 

I've a client that wants to use server side includes (SSI) and coldfusion on the same site.

I can get either to work, but not both at the same time. If it was me, I'd just use cf and cfinclude, but that's not an option.

We're running IIS7.5 on Windows 2008, cf9.01. The web.config is:

 

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

    <system.webServer>

   

        <staticContent>

            <mimeMap fileExtension=".air" mimeType="application/vnd.adobe.air-application-installer-package zip" />

        </staticContent>

        <handlers>

            <add name="SSINC-htm" path="*.htm" verb="*" modules="ServerSideIncludeModule" resourceType="Either" requireAccess="Script" />

            <add name="SSINC-html" path="*.html" verb="GET,POST" modules="ServerSideIncludeModule" resourceType="File" requireAccess="Script" />

            <add name="JWildCardHandler" path="*" verb="*" modules="IsapiModule" scriptProcessor="D:\ColdFusion9\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll" resourceType="Unspecified" requireAccess="None" />

            <add name="hbmxmlHandler" path="*.hbmxml" verb="*" modules="IsapiModule" scriptProcessor="D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />

            <add name="cfswfHandler" path="*.cfswf" verb="*" modules="IsapiModule" scriptProcessor="D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />

            <add name="cfrHandler" path="*.cfr" verb="*" modules="IsapiModule" scriptProcessor="D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />

            <add name="cfcHandler" path="*.cfc" verb="*" modules="IsapiModule" scriptProcessor="D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />

            <add name="cfmlHandler" path="*.cfml" verb="*" modules="IsapiModule" scriptProcessor="D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />

            <add name="cfmHandler" path="*.cfm" verb="*" modules="IsapiModule" scriptProcessor="D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />

            <add name="jwsHandler" path="*.jws" verb="*" modules="IsapiModule" scriptProcessor="D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />

            <add name="jspHandler" path="*.jsp" verb="*" modules="IsapiModule" scriptProcessor="D:\ColdFusion9\runtime\lib\wsconfig\jrun_iis6.dll" resourceType="Either" responseBufferLimit="0" />

        </handlers>

        <defaultDocument>

            <files>

                <add value="index.cfm" />

            </files>

        </defaultDocument>

    <httpErrors existingResponse="PassThrough">

            <remove statusCode="404" subStatusCode="-1" />

            <error statusCode="404" prefixLanguageFilePath="" path="/index.cfm/this-will-force-a-404/" responseMode="ExecuteURL" />

        </httpErrors>

    <security>

        <requestFiltering>               

            <denyUrlSequences>

                <remove sequence="/CFIDE/scripts" />

            </denyUrlSequences>

        </requestFiltering>

    </security>

    </system.webServer>

</configuration>

 

I've narrowed the problem down to the wildcard handler mapping. If I comment it out, the SSIs work on html pages, but I then get a server error requesting .cfm pages.

With the wildcard mapping in, cfm files run fine, but the html files don't run the includes.

 

Has anyone any suggestions? There must be something in the wildcard handler that's affecting the html files.

 

Thanks in advance,

 

G

How to eradicate the 'Server is busy' errors?

$
0
0

We use Coldfusion 9.01 on Linux Redhat 64bit with Apache. Our users regularly get the folllowing error message:

 

Application server is busy.  Either there are too many concurrent requests or server still starting up, errorMsg: Application server is busy.  Either there are too many concurrent requests or the server still is starting up

 

There is a lot of info on the web about this, with advice how to solve it, but we can not seem to get rid of this problem.

 

We have enabled metrics logging and nothing indicates that we are running out of threads at the time we get the error. Our thread config is as follows, in the instrance's JRUN.XML file

 

  <service class="jrun.servlet.jrpp.JRunProxyService" name="ProxyService">

    <attribute name="activeHandlerThreads">10</attribute>

    <attribute name="backlog">500</attribute>

    <attribute name="deactivated">false</attribute>

    <attribute name="interface">*</attribute>

    <attribute name="maxHandlerThreads">390</attribute>

    <attribute name="minHandlerThreads">5</attribute>

    <attribute name="port">51003</attribute>

    <attribute name="threadWaitTimeout">300</attribute>

    <attribute name="timeout">300</attribute>

 

 

When the error happens, our metrics reporting shows the following:

 

01/16 11:05:12 metrics Web threads (busy/total): 0/25 Sessions: 416 Total Memory=1046592 Free=597788

 

So the nr of requests (presumably 25, the nr of threads, not 100% sure)  is higher than the activeHandlerThreads value (10), but not as high as the maxHandlerThreads value. The error is returned immediately, and not after the specified timeout of 5 minutes.

 

That is the puzzling part...

 

Is there any other set of configuration parameters to tweak as well?

 

Thanks for your help!

Oracle Instant Client CF9 Config

$
0
0

Anyone have step by step instructions on how to get the oracle instant client working with CF9? I'm getting the error below and I think I have everything configured correctly..aparently not.

 

Setup:
Windows Server 2003 Enterprise x64

CF 9 x32 (ran x32 because of apache x32)

Oracle 11.2.0.2.0 x64
Oracle instant client x32b

 

Connection verification failed for data source: PowerSchool

java.sql.SQLException: No suitable driver available for PowerSchool, please check the driver setting in resources file, error: oracle.jdbc.OracleDriver

The root cause was that: java.sql.SQLException: No suitable driver available for PowerSchool, please check the driver setting in resources file, error: oracle.jdbc.OracleDriver

 

Thanks,

Matthew

CFDIV coldfusion.security.esapiutils errors after APSB12-06 / APSB11-14

$
0
0

A couple weeks ago I patched our CF 9.0.1 production server with APSB11-14, then APSB12-06.  We use sandbox security.

 

About 10 days later, the CF service restarted itself (unsure why) and my users started reporting problems with "blank pages".  We determined that it was pages in our applications that have the cfdiv tag in them.  Pages appeared blank to the user, but viewing source in the browser reveals a few lines of cfajax output, then nothing.  Note that other pages in our app without cfdiv continued to work just fine.

 

In the \jrun4\logs\cfusion-out.log, this error appears every time we hit a page with cfdiv in it:

 

error ROOT CAUSE: java.lang.NoClassDefFoundError: Could not initialize class coldfusion.security.ESAPIUtils

 

There are no errors in the hs_err_pidxxx logs.

 

I stopped the CF service and restarted it, to no avail.   I stopped the CF service again, and thinking the APSB patch might be to blame, renamed the \inetpub\wwwroot\cfide directory and copied the pre-patch backup copy of CFIDE into place.  Restarted CF, and all was well it seemed.

 

CF has been up for about 5 days now, and the error popped up again today.  I tried my trick of copying the old "good" CFIDE again, but no such luck this time.  Perhaps that was a red herring.  I turned off sandbox security and restarted CF, and we are up and running again.  I checked the logs and the CF service had restarted itself just before today's "blank page" incident.

 

System info:

ColdFusion 9.0.1.274733 Enterprise

update level hf901-00003.jar

Java 1.6.0_27

Windows 2003 Enterprise 32-bit

FusionReactor 4.08

 

 

Edit: I'm reviewing the \JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\updates and finding the following in the folder:

chf9000001.jar

chf9010001.jar

hf901_00003.jar

 

According to the technote for APSB12-06, it's jar is hf901_00004.jar, and it says "If hf901-00001.jar, hf901-00002.jar or hf901-00003.jar exist, delete them"  so it appears I missed a step.

 

Question:  should I go ahead and install 9.0.1 CHF2  (chf9010002.jar), and then proceed with the APSB12-06 hf901_00004.jar ?  Or since CHF2 contains APSB11-14, will that somehow conflict with my previous installation of APSB11-14?

 

 

Edit 2: after spending a day reading some tips on Charlie's site, and traversing the folders and understanding how CF updates work, I went ahead and used the "unofficial updater" to bring the system up to date.  Now that I think I comprehend the CF updater process, I find it amazing that Adobe doesn't have their own update utility available????   I'll report back in a couple weeks if our issues are solved....


Cannot start Coldfusion 9 Application Server Service

$
0
0

Note that this is for a Dev server.  Not vital, but super annoying.  I found my machine had been restarted due to Lumension.  This is normal.  However, since I imported a .car file from the old CF8 server directly to this CF9 Dev server I had not rebooted or restared the CF9 service.

 

I found these error messages in the Event viewer:

The ColdFusion 9 Application Server service could not be started.  Check the server "coldfusion" log files for more information.

and

The ColdFusion 9 Application Server service terminated with service-specific error The system cannot find the file specified..

 

I checked the JRUN logs and cannot find any logs pertaining to anything matching today's timestamp nor anything out of place that appears to be the cause.  Nothing in CF logs either, mostly because CF never got up to running status so no logs could be generated.

 

I thought I found the culprit in this post, http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61223 ... but the fix had no effect.  I didn't find anything in my search using grep outside of the JRUN temp folder which a single .xml file had an invalid Coldfusion8 path.  Fixing the path or deleting the offending temp files didn't cure the problem.

 

I've also tried moving all the root files that was moved into the /ColdFusion9/wwwwroot/ directory out and trying to start the service, but same error and failure occurs.

 

I have not tried reinstalling.  I did install the CF9.0.1 update and it was working just dandy until this restart.  There are no other computer problems experienced that I can tell and not other errors were found in the event viewer.

CF10 Solr Search RHEL

$
0
0

Hi,

 

I've been able to get my CF10 server up and running (thanks Rupesh!) and am trying to do some configuration.

 

I installed the Solr search service during the installation but when I go to the collections screen in the CF Administrator it says "Unable to retrieve collections from the Search Services. Ensure that you have installed ColdFusion Search Service and it is running."

 

now checking for the process shows it's running

[root@LMCFXD02 /]# ps -ef | grep solr

root     15563  1987  0 11:33 pts/0    00:00:00 grep solr

 

Can anybody shed some light on why I can't create a new collection?

 

Cheers,
Simon

Form error after security hotfix apsb12-15

$
0
0

I tried posting this in the general CF area two weeks ago with no reply, so I thought I'd try here.

 

I applied the hotfix last week and everything seemed to be working, thought all was well.

 

It turns out that forms that used to work without a hitch suddenly generated error 500 with no clue as to the real issue.

 

These forms are simple fill it in, create a pdf file, display the file.  Nothing too creative.  With no error message, and nothing to tell me what is going on with this, I was forced to unload hf901-00005.jar and go back to hf901-00003.jar

 

It is all working again, but I'd really like to have the security patch AND have my forms work.

 

Any clues??

HTTP DELETE requests "hanging" when accessing a cfc (but not cfm)

$
0
0

I have what appears to be a configuration problem with Coldfusion 10 running on a Windows server with IIS 7.5

 

I have a javascript function that is sending REST requests to the server.   I am able to make GET, POST,and PUT  HTTP  requests to a REST CFC with no problems.

 

However, when I send an HTTP  DELETE request to the CFC, the code within the delete function in the CFC executes (the delete query in the function runs), but then I don't get a status code sent back to the browser.   It's not that I get an error status code . . . I get NOTHING.   No status code is returned at all and the request process in the browser just sits there and waits.

 

Since the code within the function is working, I've tried "forcing" the return of a status code using cfheader.   It doesn't work.

 

However, if I take the query from the CFC and put it in a file with a CFM extension and call it using the HTTP DELETE method ...I get a 203 status code back right away indicating that the deletion was successful.

 

Running the same process on a local development server has no problems.   The DELETE request to the CFC works fine.   So, it must be something with the way the production server is configured.

 

So, the chain of events seems to be

 

1)  HTTP DELETE request is made to REST on the production server

2)  Coldfusion successfully finds the CFC and executes the code in the correct function

3)  The status code (failure, success, not found ... whatever) gets "lost" and is never sent back to the browser.

 

The main difference seems to be what extension is on the file name.   It works in a .CFM file but doesn't work when the same code is called from a .CFC file.

 

I've been banging my head against the desk for hours working on this and just don't know where to go from here (other than write some sort of kludge that uses PUT to execute a delete query).  And since the problem seems to be on my production server I'm very nervous about doing "trial and error" settings changes.

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?

Viewing all 78799 articles
Browse latest View live


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