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

JRun Ant Tasks

$
0
0
I cannot seem to find any useful documentation or examples anywhere regarding the JRun Ant Tasks. We are running ColdFusion Enterprise Version 8.0.1.195765, and I have verified that the necessary jrun-ant-tasks.jar exists beneath the runtime/lib directory. I have really only found the following "clues":

Apache Ant - External Tools and Tasks- JRun Ant Tasks
http://ant.apache.org/external.html#JRun%20Ant%20Tasks
quote:

"JRun 4 SP1 ships with lib/jrun-ant-tasks.jar, which defines three Ant tasks: jrun, jrunapp, and jrunjmx. Documentation for the tasks can be found in JRun under docs/ant/jrun.html."


JRun 4 Service Pack 1a Release Notes
http://www.adobe.com/support/jrun/releasenotes/4/releasenotes_4_sp1a.html#new
quote:

Other features
* Service Pack 1a includes custom ant tasks for start/stop, deploy/redeploy/undeploy, and access to JRun services through JMX. For more information, see the ant documentation at jrun_root/docs/ant/jrun.html.


The aforementioned "docs/ant/jrun.html" does not exist anywhere in our CF installation. Any guidance would be greatly appreciated. Thanks,

--Chris

Install CF8.01 on Windows Server 2008 64bits

$
0
0
Hello,

I have a new machine whith Windows server 2008 x64 and i installed on it CF8.01.
For installing, no problems and the service work fine.
But, when i launch one page on the web server, a .cfm or a classic html the IIS 7 return a error 500.21 :

HTTP Error 500.21 - Internal Server Error
Handler "AboMapperCustom-26364" has a bad module "IsapiModule" in its module list Detailed Error InformationModule IIS Web Core
Notification ExecuteRequestHandler
Handler AboMapperCustom-26364
Error Code 0x8007000d
Requested URLhttp://127.0.0.1:80/
Physical Path C:\inetpub\wwwroot
Logon Method Anonymous
Logon User Anonymous

In IIS config panel, handlers mapping, i have entry for all CF handler and one with path * and direct from jrun_iis6_wildcard.dll.

the section of web config for handlers is :
<handlers accessPolicy="Read, Script,Execute">
<clear />
<add name="AboMapperCustom-23790" path="*" verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\1\jrun_iis6_wildcard.dll" requireAccess="None" responseBufferLimit="0" />
<add name="AboMapperCustom-23791" path="*.jsp" verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-23792" path="*.jws" verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-23793" path="*.cfm" verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-23794" path="*.cfml" verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-23795" path="*.cfc" verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-23796" path="*.cfr" verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="AboMapperCustom-23797" path="*.cfswf" verb="*" modules="IsapiModule" scriptProcessor="C:\ColdFusion8\runtime\lib\wsconfig\jrun_iis6.dll" requireAccess="Script" responseBufferLimit="0" />
<add name="TRACEVerbHandler" path="*" verb="TRACE" modules="ProtocolSupportModule" requireAccess="None" />
<add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" modules="ProtocolSupportModule" requireAccess="None" />
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule" resourceType="Either" requireAccess="Read" />
</handlers>
and

Application 32bits mode is ok
<applicationPoolDefaults enable32BitAppOnWin64="true">
<processModel identityType="NetworkService" />
</applicationPoolDefaults>

Have you an idea why the application server fail.
Thanks for your responses.

Seb

Verity update error

$
0
0
We are running Colfusion MX7 on a SuSE Linux 9.3 server and having problems with Verity. Creating a new Verity collection works fine but when we come to update it, it fails with the CF error page containing the message:

An error occurred while performing an operation in the Search Engine library.
Error opening the category index: com.verity.organize.WorkSpaceException: Failed to open existing PI directory [VPIError_FailedToOpenPIDirectory]. (-2519)

and the following error message excerpt appears in the Verity log in /opt/coldfusionmx7/verity/Data/services/ColdFusionK2_indexserver1/diag/diag.log

2007-03-29 06:26:46 [E:k2idx:-1222255696:k2idxmisc.cpp@315] IndexType=Collection Alias=esher01 path=/www1/htdocs/test-site/_collections/esher01 locale=english ref=2
2007-03-29 06:26:46 [E:k2idx:-1240015952:k2idxlsnsvc.cpp@418] Error executing request, service=K2OdkAdminService method=50 error=-2519 currentHandle=WS:cf_jrpp-5804_worksp:460B4E12 worker=OdkWrk1

Now, the directory /www1/htdocs/test-site/_collections/esher01/pi does not exist and if I create it by hand and then try to update Verity again, it is deleted.

Does anyone have any ideas or know what Verity error -2519 means?

Thanks,

Andy

CF8 w/ IIS 7.5 install issues

Deploying ColdFusion 8 project via EAR/WAR file

$
0
0

I was wondering what considerations to take when deploying a ColdFusion 8 project as an EAR/WAR file. Is it possible to create the file on one computer (eg: development) and run it on another (eg: server)?

Too many TPC sockets opened for a single IP

$
0
0

Hi there,

 

I am running a ColdFusion server on a VPS to HostMySite.com and lately we are having strange problems with it. Every few minutes the server is not responding even if we restart the services - IIS and ColdFusion - and even the whole system.

 

HMS guys investigated the problem and they discovered that every connection to the server is openening multiple sockets for a single IP address (every single visitor).

 

Here is the full message from HMS technician, do you have any previous experience related to this?

 

I've been doing some advanced monitoring and troubleshooting of your VPS over the last 24 hours.

It is important to understand that the issue you're actually experiencing is related to TCP sockets.  Every connection to your server opens a socket and sometimes multiple sockets for an individual IP (visitor).

I opened the sitehttp://www.viaromania.eu/and instantly there were 7 connections established from our IP address.

C:\Documents and Settings\hmsadmin>netstat -ano | find "209.41.163.23"
TCP    76.12.37.79:80       209.41.163.23:9563    ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:21164   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:26819   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:36833   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:37624   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:39566   ESTABLISHED     4
TCP    76.12.37.79:3389     209.41.163.23:2577    ESTABLISHED     141388

After just browsing around a few pages on the site you can see how my connections are expanding.

C:\Documents and Settings\hmsadmin>netstat -ano | find "209.41.163.23"
TCP    76.12.37.79:80       209.41.163.23:2852    ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:2900    ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:11014   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:11178   TIME_WAIT       0
TCP    76.12.37.79:80       209.41.163.23:14107   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:14248   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:17177   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:17606   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:17930   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:23460   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:24594   TIME_WAIT       0
TCP    76.12.37.79:80       209.41.163.23:25191   TIME_WAIT       0
TCP    76.12.37.79:80       209.41.163.23:25507   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:32301   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:33591   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:37338   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:38404   TIME_WAIT       0
TCP    76.12.37.79:80       209.41.163.23:45140   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:49734   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:53755   ESTABLISHED     4
TCP    76.12.37.79:80       209.41.163.23:55735   TIME_WAIT       0
TCP    76.12.37.79:3389     209.41.163.23:2577    ESTABLISHED     141388

Over the last 2 days there are 205 coldfusion-out logs and they are all full of the same error:

java.net.SocketException: Software caused connection abort: socket write error

Normally when we see this we'll make a few registry adjustments that allow for more socket connections and a shorter time to live on existing socket connections.  However in your case all of the registry adjustments have already been set.

MaxUserPort 65534
TcpNumConnections 200 connections
TcpTimedWaitDelay 30 seconds

I adjusted the TcpNumConnections to 500, see if this alleviates the issue.  Note that allowing 500 Tcp Connections is not necessarily a good idea as this amount of traffic could theoretically bring down your server.

I created a scheduled task that executes every 60 seconds in which it counts the connections on port 80 and writes it to the file netstat.txt on the desktop.

After logging for the last 24 hours it has gone over the 500 TCP connections 19 times all between 2:21pm and 2:40pm

2:21 PM 1367
2:22 PM 1423
2:24 PM 1684
2:25 PM 1466
2:26 PM 1867so
2:27 PM 1250
2:28 PM 854
2:29 PM 796
2:30 PM 799
2:31 PM 794
2:32 PM 816
2:33 PM 730
2:34 PM 662
2:35 PM 524
2:36 PM 531
2:37 PM 539
2:38 PM 551
2:39 PM 551
2:40 PM 522

So this is pretty good news.  This means your site over the last 24 hours only had 19 minutes of issues due to TCP connections.

 

Please, post your messages if you know why so many sockets are opened for every single IP and if this is a normal behaviour.

 

Greetings,

 

Adrian.

Migrating from IIS6 to IIS7, 404's, Handler mapping woes..

$
0
0

Hello, I've migrated an application from IIS 6 to IIS 7 and all is running well. I would like to handle 404 errors outside of ColdFusion however. Very simple with IIS 6, I simply checked "Verify that file exists" under the .cfm and .cfc extensions. In IIS 7, I have taken the route recommended in other forums by setting the "Invoke handler only if request is mapped to: File", but this has no effect on the processing of a ColdFusion template. I still see the generic 404 error that ColdFusion generates by default.

 

I've noticed that there is a wildcard declaration in the handler mappings, mapping all requests to jrun_iis6_wildcard.dll. I tried removing this entry and as soon as I do I get server errors for all of my requests. The fact that there is a change however is leading me to believe that this wildcard declarion is handling the .cfm requests, and not the handler actually assigned to *.cfm. The wildcard script mapping does not have the option mentioned above, so I cannot verify the ColdFusion template actually exists.

 

Viewing the "ordered list", *.cfm appears above the wildcard mapping, but I am expecting that because I've set the *.cfm mapping to execute only if the file exists, the request is simply dropping down to the wildcard mapping.

 

Anyone have luck with this?

Scheduled Tasks running more than once

$
0
0

I have a bunch of scheduled tasks setup to run hourly. For whetever reason, the tasks seem to be running 2-3 times at the scheduled time instead of just once. I've put a <cflog> call in the template being called to confirm that all calls are coming from the expected source and there isn't something else calling the template, and everything looks fine. Anybody know of any bug in CF 8 where scheduled tasks ran multiple times for whatever reason?

 

Thanks,

 

-TM


Help! Unable to create new native thread

$
0
0

Ok I see this problem all over the web but most of the posts are many years old and still leave me a little confused.  Often at random times on the same tags like CFLDAP I get the error "Unable to create new native thread".  Then a few minutes later the same tag on the same page works just fine.

 

I have 4GB of memory in this box with 1400 MB set as the maximum Java heap size by the way.

 

Here are my arguments from the jvm.config file.

 

# Arguments to VM

java.args=-server  -Xmx1400m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{appli cation.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application. home}/../wwwroot/WEB-INF/cfform/jars,"C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\InterWeb-Prod\\includes\\classes"

 

#

 

 

Here is a typical error that comes through.

 

 

struct     

Browser     Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4    

DateTime    {ts '2010-06-23 10:07:44'}  

Diagnostics unable to create new native thread null <br>The error occurred on line 122.

GeneratedContent      

HTTPRefererhttp://--------------------/index.cfm?FuseAction=HR.main   

Mailto      interweb@--------------------- 

Message     unable to create new native thread      

QueryString fuseaction=ManagedLists.MailSubscriptions     

RemoteAddress     192.168.250.124

RootCause   struct    

Message     unable to create new native thread      

StackTrace          java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:597) at com.sun.jndi.ldap.Connection.<init>(Connection.java:208) at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:112) at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2504) at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:263) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:76) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.<init>(InitialContext.java:197) at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82) at coldfusion.tagext.net.LdapTag.do_ActionQuery(LdapTag.java:839) at coldfusion.tagext.net.LdapTag.doStartTag(LdapTag.java:616) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cfadfunctions2ecfm1473603830$funcADLOOKUPUSERNAME.runFunction(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\includes\adfunctions.cfm:122) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at cfadfunctions2ecfm1473603830$funcADLOOKUPMULTIPLEUSERNAMES.runFunction(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\includes\adfunctions.cfm:54) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at cfdsp_managedlists2ecfm55598920.runPage(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\hr\managedlists\dsp_managedlists.cfm:232) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cffbx_switch2ecfm2121232114.runPage(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\hr\managedlists\fbx_switch.cfm:23) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cffbx_fusebox30_cf502ecfm1180471387._factor4(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\fbx_fusebox30_cf50.cfm:241) at cffbx_fusebox30_cf502ecfm1180471387._factor5(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\fbx_fusebox30_cf50.cfm:1) at cffbx_fusebox30_cf502ecfm1180471387.runPage(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\fbx_fusebox30_cf50.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2661) at cfindex2ecfm749274359.runPage(C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\index.cfm:23) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273) 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.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)

 

 

I could really use some help figuring this out.  We are getting random errors a few times a day and usually in places where we are using CFLDAP.

 

Thanks,

 

David

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

CF 10 Load-Balancing with Remote Instances

$
0
0

I was reading an article on Clustering/LB/HA using CF8, but have not found any updates for CF10.

 

Using VM VirtualBox to setup a few virtual servers, I am looking to setup a load balancing of ColdFusion 10 on 2 remote instances. The goal would be have ColdFusion Cluster Manager be able to point http request to one of the two servers based on load/availability. Not really having a hardware cluster/failover setup, just managing resources on two CF instances instead of a standalone.

 

The servers are Windows Server 2008 R2 with IIS7.5 and ColdFusion 10 Enterprise on installed on 3 of these machines. Let's call them CF-LBManager, CF-Web1, and CF-Web 2. In the CF Docs, they show the Cluster Manager adding the local CF instance and "if you want" a remote instance. However, this scenario would require the main instance to be running and not fail for it to direct to the other instance.

 

I am trying to set this up now with CF-LBManager as just a manager of the requests coming in. In the Enterprise Manager >> Instance Manager, the local instance is shown and I add the two remote instances with the correct Remote Port, JVM Route, etc. I also made sure the <Cluster>...</Cluster> block was added to the two remote instances (CF-Web1 and CF-Web2) \runtime\conf\server.xml file too, Jetty Services also is running. Now under the Enterprise Manager >> Cluster Manager I add the two remote instances to the cluster, not the local instance on CF-LBManager with Multicast Port and Sticky Sessions enabled. On Submit, I get a green message "You must restart all the server instances and any configured webservers for these changes to take effect.". I go ahead and reboot the servers and come back.

 

I now browse to the ColdFusion page as a test on CF-Web1 and CF-Web2 to make sure CF is running properly, they do. I then browse the IP of the CF-LBManager, however it only returns the local IIS web site and not redirect to one of the two cluster members. I am not seeing any message on the coldfusion-out.log on the remote instances. Am I not setting this up correctly or not enabling the Cluster Manager to take over and pass along the requests to those in the cluster?

Problem using Solr

$
0
0

Hi,

I'm trying to install solr collections for my sites unde CF9, so I installed Solr Server, but when I try to create a collection in the administrator, I get this error :
«
fr_FR. must be one of the ColdFusion supported locales ».

 

But fr_FR is the Java Default Locale in the CF administrator.

So what's wrong?

Performance Tuning

$
0
0

I have 1 CF 10 server 64 bit running on IIS 7.5 on a Win 2008 R2 VM w/ 4 Gig Ram on 4Ghz of processing. The box hosts 5 websites with not too much traffic.  I've been experiencing Service unavailable errors about once per day and only on certain websites. I restart the CF App Service and all is well again.  All 4 of the websites have the same code with just a few variables difference to get different data.

 

I've made some adjustments in the server. For example I set min and max JVM Heap size to 2048.

 

Any ideas what I can do to get things running with more stability?

Scheduled Task Not Running in ColdFusion 10 Developer

$
0
0

I have ColdFusion 10 Developer edition. It has update 10: version number is 10,10,10,284825. The server does not run scheduled tasks. If I choose "run" from the scheduled tasks window, it says "the scheduled task was completed successfully," but does not do anything. The task is supposed to create a log file. When I run the CFM file manually (by typing its location in the browser), it runs. What am I doing wrong? One more thing - the site uses https, and the certificate may be out of date. Could that prevent CF from reaching the page?

403 Error on ISAPI_redirect.dll IIS IsapiModule

$
0
0

We recently installed and configured a CF10 server on a 08 r2 box. After following the Adobe recommended setup (custom accounts for each of the services - iis, cf) in the lockdown guide and a reboot, cfm pages are no longer properly handled (redirected).

 

 

The web server trace identifies this as the root problem:

144. CALL_ISAPI_EXTENSION

DllName[home_dir]\config\wsconfig\1\isapi_redirect.dll

 

Warning

145. -MODULE_SET_RESPONSE_ERROR_STATUS 

ModuleNameIsapiModule
Notification128
HttpStatus403
HttpReasonForbidden
HttpSubStatus0
ErrorCode0
ConfigExceptionInfo
NotificationEXECUTE_REQUEST_HANDLER
ErrorCodeThe operation completed successfully. (0x0)

 

User from tokenNT AUTHORITY\IUSR

 

We've already made sure that exe rights are provided for the IUSR (as well as cf and iis) to both that .dll as well as the entire folder.

We have also tried changing the handler mapping (invoke only if req is mapped to file/folder) as well as it's access config (none, script, exec).

 

The only time we get a different error mesage is when we disable the *.cfm mapping - which rightly so yields a 500 or a 404 error message.

 

By not processing .cfm page correctly the cf admin is not accessible either.

Any ideas on this would be appreciated.

 

 

p.s. there is no subcode (substatus) to the 403.


resend undelivered mail

$
0
0

After a mail server problem,

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

The Mail server is up again

 

Is there a possibility to resend all these mails ?

 

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

but these mail are resent into the "undelivr" directory

and new mails are sent correctly.

 

Thanks for help.

Pierre.

CF11 - ColdFusion Collection Error after entering my license key

$
0
0

So I tested my server before I implemented live and everything worked just fine. So after I entered the license key all my “ColdFusion Collections” were gone and my search pages are throwing a 500 error.

 

This is what I get inside CF11

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

The Solr indexing engines allows you to easily develop search capabilities for your ColdFusion applications. A Solr collection is a group of information that can be indexed and searched as a set. Use this form to create and manage your Solr collections.

 

Unable to retrieve collections from the Search Services.

Ensure that you have installed ColdFusion Search Service and it is running.

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

 

Running on:

CF11

IIS 8.1

MS 2012 R2

 

Thank you!

Running CFEXECUTE to run C:D process - getting possible permssions error in C:D side

$
0
0

I'm executing a CFEXECUTE statement in a CFScheduler job that is supposed to C:D a file from one Windows Server to another Windows server.

I've built the C:D batch job correctly and can run it successfully from the CMD prompt (by double clicking on the .bat file name).

Here is my statement:

<cfexecute name="C:\Windows\system32\cmd.exe" arguments="/c E:\inetpub\WWWROOT\Tips\ScheduledJobs\tips_to_tws.bat"

 

The job ends without any errors, but I get a C:D error - LAPP010I - Submit file open failure. CCODE=8 FDBK=0

So my thought process is this:  when I go and execute the C:D command by double clicking on it alone - it is taking my id/password as the submitter.  This is evident by looking at the C:D logs.

And when I execute the CFScheduler job, that runs the CFEXECUTE command, it uses XXXXXX id to run the C:D command.  So my question is - what is the XXXXXX id?  I don't have ColdCusion running on a special service account, so I'm not familar with what id it would be associated with.  So any help would be appreicated.

ColdFusion 8 Enterprise "Session is invalid"

$
0
0
We are suddenly beginning to see a lot of "session is invalid" messages that show the <cfapplication> tag as the source of the errors. As far as I can tell, nothing has changed. I didn't make any changes to CFAdmin, nor to the application.cfm file containing the <cfapplication> tag on all the sites seeing the error.

Is this similar to the old CF MX6 problem J2EE (which I never had)?

I am running multiple instances using CF 8 Enterprise and we are using J2EE session variables.

What is causing this problem and how do I fix it.

Please!

CF10 with Java 8

$
0
0

Hello,

 

Has anyone else tried to use CF with Java 8 preview? If you have tried Java 8 preview have you noticed anything interesting?

 

Something to share. Java 8 uses memory differently to Java 7 or 6 (reminder Java 6 is EOL). The non heap memory Permanent generation has been done away with and is now consumed in a new memory space called Metaspace. I guess that will mean CF folks will not see the dreaded “java.lang.OutOfMemoryError: PermGen space” in coldfusion-out.log anymore.


For interested readers here is my CF10 Summary part:

 

Server Settings > Settings Summary

System Information  
 
Server Product  ColdFusion 
Version  ColdFusion 10,284825 
Operating System  Windows 7   
OS Version  6.1   
Update Level  /C:/ColdFusion10/cfusion/lib/updates/chf10000010.jar   
Adobe Driver Version  4.1 (Build 0001)   

JVM Details

 

Java Version  1.8.0-ea   
Java Vendor  Oracle Corporation   
Java Vendor URL  http://java.oracle.com/   
Java Home  C:\Program Files\Java\jdk1.8.0\jre   
Java File Encoding  Cp1252   
Java Default Locale  en_AU   
User Dir  C:\ColdFusion10\cfusion\bin   
Java VM Specification Version  1.8   
Java VM Specification Vendor  Oracle Corporation   
Java VM Specification Name  Java Virtual Machine Specification   
Java VM Version  25.0-b48   
Java VM Vendor  Oracle Corporation   
Java VM Name  Java HotSpot(TM) Server VM   
Java Specification Version  1.8   
Java Specification Vendor  Oracle Corporation   
Java Specification Name  Java Platform API Specification   
Java Class Version  52.0   

 

For those more curious about Java memory heap, non heap spaces and garbage collection here is a portion of CF10 verbose Java 8 log:


{Heap before GC invocations=25 (full 11):
PSYoungGen      total 116736K, used 58624K [0x25840000, 0x30300000, 0x30300000)
  eden space 58624K, 100% used [0x25840000,0x29180000,0x29180000)
  from space 58112K, 0% used [0x2ca40000,0x2ca40000,0x30300000)
  to   space 58112K, 0% used [0x29180000,0x29180000,0x2ca40000)
ParOldGen       total 349440K, used 349401K [0x10300000, 0x25840000, 0x25840000)
  object space 349440K, 99% used [0x10300000,0x258364e0,0x25840000)
Metaspace total 39432K, used 38121K, reserved 11104K
  data space     39432K, used 38121K, reserved 11104K
545.052: [Full GC (Ergonomics) [PSYoungGen: 58624K->0K(116736K)] [ParOldGen: 349401K->38999K(276992K)] 408025K->38999K(393728K), [Metaspace: 38121K->38111K(11104K)], 0.2856262 secs] [Times: user=0.45 sys=0.00, real=0.29 secs]
Heap after GC invocations=25 (full 11):
PSYoungGen      total 116736K, used 0K [0x25840000, 0x30300000, 0x30300000)
  eden space 58624K, 0% used [0x25840000,0x25840000,0x29180000)
  from space 58112K, 0% used [0x2ca40000,0x2ca40000,0x30300000)
  to   space 58112K, 0% used [0x29180000,0x29180000,0x2ca40000)
ParOldGen       total 276992K, used 38999K [0x10300000, 0x21180000, 0x25840000)
  object space 276992K, 14% used [0x10300000,0x12915c00,0x21180000)
Metaspace total 39418K, used 38111K, reserved 11104K
  data space     39418K, used 38111K, reserved 11104K
}

 

To have something to compare switching CF10 back to Java 7 with no other JVM alterations verbose log portion for similar usage says:

 

{Heap before GC invocations=24 (full 9):
PSYoungGen      total 116480K, used 65026K [0x1d360000, 0x27e00000, 0x27e00000)
  eden space 58240K, 100% used [0x1d360000,0x20c40000,0x20c40000)
  from space 58240K, 11% used [0x24520000,0x24bc09b8,0x27e00000)
  to   space 58240K, 0% used [0x20c40000,0x20c40000,0x24520000)
PSOldGen        total 205184K, used 35647K [0x07e00000, 0x14660000, 0x1d360000)
  object space 205184K, 17% used [0x07e00000,0x0a0cfc90,0x14660000)
PSPermGen       total 58880K, used 45819K [0x03e00000, 0x07780000, 0x07e00000)
  object space 58880K, 77% used [0x03e00000,0x06abec70,0x07780000)
530.568: [GC [PSYoungGen: 65026K->5223K(116480K)] 100673K->45573K(321664K), 0.0220773 secs] [Times: user=0.05 sys=0.00, real=0.02 secs]
Heap after GC invocations=24 (full 9):
PSYoungGen      total 116480K, used 5223K [0x1d360000, 0x27e00000, 0x27e00000)
  eden space 58240K, 0% used [0x1d360000,0x1d360000,0x20c40000)
  from space 58240K, 8% used [0x20c40000,0x21159d78,0x24520000)
  to   space 58240K, 0% used [0x24520000,0x24520000,0x27e00000)
PSOldGen        total 205184K, used 40350K [0x07e00000, 0x14660000, 0x1d360000)
  object space 205184K, 19% used [0x07e00000,0x0a567a60,0x14660000)
PSPermGen       total 58880K, used 45819K [0x03e00000, 0x07780000, 0x07e00000)
  object space 58880K, 77% used [0x03e00000,0x06abec70,0x07780000)
}

 

I should add Java 8 is preview and not officially support by Adobe CF so do not install it on your CF production or any environment that you rely on.

 

Java 8 release is expected March 2014. That might seem a long way off but like the previous Java 7 release can creep up on you rather quickly.

 

Regards, Carl.


Viewing all 78799 articles
Browse latest View live


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