Quantcast
Channel: Adobe Community : All Content - ColdFusion
Viewing all 5979 articles
Browse latest View live

CF2016 Performance Issues

$
0
0

As I test more with CF2016 Enterprise 64-bit, I'm finding weird and inconsistent performance issues.  At the moment, I have two queries against my Oracle database that vary from 2ms to 3000+ms from one run to the next.  Both queries are against relatively small tables that have all necessary indices, and both use bind variables.  In production (CF9 32-bit), I'm not seeing anything like that.  My Oracle analytics show no problems with the queries, no recommendations about tuning.

 

I can't help but assume that this release is too fresh and will require significant updates to get it to be production-ready.  It feels like nobody else is trying to use it yet, so I can't find any other posts about this.  Not to mention that the stupid decision to stop numbering and adopt this new clunky name makes it even harder to get decent Google results.

 

Has anybody else begun testing their applications in this new version and found weird issues like this?  I'm wondering if I need to start trying alternative JVMs or something.


Coldfusion Enterprise Licence for non production server

$
0
0

 

Currently we have 1 production server, and 3 non-production servers (a disaster recovery server, an internal test server, and an external test server for penetration testing).

 

With CF10 Enterprise licence, we allow to use same production server licence on other non-production servers.

 

Is this change for CF 11 or CF 2016?

When will Coldfusion 2016 be available via AWS Marketplace as AMI?

$
0
0

The Adobe website has a link to Amazon's AWS Marketplace for obtaining Coldfusion via AMI.  The only version available is 11 and 11.1 currently.

Are there plans to offer this for the 2016 version?

Can a Coldfusion 2016 activate a Coldfusion 11 installation?

$
0
0

Hello, we installed and hardened a CF 11 Standard edition installation on a client's server.

Now the client is ready to go live, however CF 11 license is not available to purchase.

If we buy the CF 2016 edition today, can we possibly activate CF11 with a CF 2016 edition license?

Google ad word tracking code

$
0
0

Hi,

 

I don't use CF too often and forget what little I did know.  I've been asked to insert some javascript into the header section of a CF page per the following:

 

<cfif FindNoCase("store.cfm?do=checkout&area=Purchase",cgi.http_referer)>

 

    <script type="text/javascript">

/* <![CDATA[ */

var google_conversion_id = 1070946261;

var google_conversion_language = "en";

var google_conversion_format = "3";

var google_conversion_color = "ffffff";

var google_conversion_label = "BslPCPb--mQQ1a_V_gM";

var google_remarketing_only = false;

/* ]]> */

</script>

<script type="text/javascript"

src="//www.googleadservices.com/pagead/conversion.js">

</script>

<noscript>

<div style="display:inline;">

<img height="1" width="1" style="border-style:none;" alt=""

src="//www.googleadservices.com/pagead/conversion/1070946261/?label=BslPCPb--mQQ1a_V_gM&am p;guid=ON&amp;script=0"/>

</div>

</noscript>

</cfif>

 

When I do, the page immediately pukes in CF 9.  I'm sure there is something I'm overlooking but just can't see it.  Any advice gratefully accepted.

 

Thanks!

 

--Ben

Coldfusion 11 Multiple Instance Multiple User Access to Settings Summary exception

$
0
0

I have a multi-instance and using multiple user administration. One of my users notified me he was checking an exception when viewing "Settings Summary" in CFIDE. I was able to replicate the issue by creating a new user and assigning all available permissions. Going out on a limb, I'm guessing the the function $funcCHECKROOTADMINUSER is checking if the user is the "admin" user, which they are not.


Can someone confirm if this is actually what is happening?

 

"Error","ajp-bio-8012-exec-1","03/03/15","09:42:21","cfadmin","The current user is not authorized to invoke this method. The specific sequence of files included or processed is: D:\ColdFusion11\BIA\wwwroot\CFIDE\administrator\reports\index.cfm, line: 105 "

coldfusion.runtime.CustomException: The current user is not authorized to invoke this method.

  at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)

  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2986)

  at cfaccessmanager2ecfc2038841021$funcCHECKROOTADMINUSER.runFunction(/CFIDE/adminapi/accessm anager.cfc:105)

  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)

  at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)

  at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)

  at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)

  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)

  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:643)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:432)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:402)

  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2483)

  at cfsecurity2ecfc1699800112$funcISSECUREPROFILE.runFunction(/CFIDE/adminapi/security.cfc:59 )

  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487)

  at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)

  at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383)

  at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)

  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334)

  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:231)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:643)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:432)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:402)

  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2483)

  at cf_report2ecfm1337730512._factor77(/CFIDE/administrator/reports/_report.cfm:2637)

  at cf_report2ecfm1337730512._factor78(/CFIDE/administrator/reports/_report.cfm:67)

  at cf_report2ecfm1337730512.runPage(/CFIDE/administrator/reports/_report.cfm:1)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246)

  at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736)

  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572)

  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2986)

  at cfindex2ecfm1729336913.runPage(/CFIDE/administrator/reports/index.cfm:41)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246)

  at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736)

  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572)

  at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)

  at coldfusion.filter.IpFilter.invoke(IpFilter.java:45)

  at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:487)

  at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42)

  at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)

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

  at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)

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

  at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:78)

  at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)

  at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)

  at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58)

  at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

  at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

  at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)

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

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

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:303)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

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

  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java :75)

  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:241)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422)

  at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:199)

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:607)

  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

  at java.lang.Thread.run(Thread.java:745)

settings.xml file??

$
0
0

(I still say the new JIVE interface is ugly)

 

Hello, all,

 

One of my co-workers has been tasked to document a legacy CF site that was built about ten years ago.

 

Everything was going well, until he noticed that in the root of the site is a "settings.xml" file.

 

He's not finding any references to it in any of the CFML code.  Is there a valid reason to have settings.xml in the site root?  He's not sure what to write for the documentation; and in all the years I've been working with CF, I've never seen that, before.

 

V/r,

 

^_^

CFWebstore, Cartweaver, or stripe.com

$
0
0

Hi everyone. I just have a few questions about setting up an ecommerce site. What are the differences between CFWebstore, Cartweaver, and stripe.com? Does CFWebstore and Cartweaver just set up a shopping cart on your site? Or do they handle payments with credit cards too? Or is that where stripe.com comes into play? You set up your pages with a  shopping cart with CFWebstore or Cartweaver and then to actually process the credit card, you would have to go through stripe.com? I have this page: https://www.ironwoodelectronics.com/elastomer.cfm?CFID=1075132&CFTOKEN=f32b97bb35145429-06 59E32C-9C8E-9968-3D20B2208EDF00CB If you click on one of the radio buttons and type in something like 10 for the Xmm and 10 for the Ymm boxes and click Update, a table is displayed with what the part costs. Part info. is not being stored in any database since there are lots of combinations of different sizes to use for the dimensions. There is a formula created that figures out the price depending on what's typed into the boxes. I don't have the Place Order button working yet. This is where I'm stuck and not sure what to do. Which site above do I use? Or is stripe.com the only one I really need to use to process a credit card? I do want to set up a shopping cart also, but how do I do that with this dynamic code that is not stored in a database? Do I just use session variables? I don't have products to just display them in a table like the example in the Cartweaver web site. How would you set up a shopping cart with ordering info. for credit cards on it?

 

Andy


Forms in CKEditor?

$
0
0

For some reason when I load an existing FORM and that Form as a TEXTAREA field in it, everything AFTER the TEXTAREA is removed form the editor and placed on the outside?

 

I know it's an issue with the editor - but I think it might be because of how I have my custom tag built?

 

Take a look at my development example: http://home.sgaraglino.com

 

My configuration: Windows Server 2003 running ColdFusion 8

 

/root directory contains

index.cfm

ckeditor.cfm

/ckeditor/

/ckfinder/

/userfiles/

 

That’s it…. Nothing more, nothing less.

I have fresh installs of both CKF & CKE

 

I am not getting any JS errors, Browser Errors or IIS errors?

 

This is my ONLY issue stopping me form going live: I have CKEditor/CKFinder working awesome everywhere else on my website.

 

I have been beating my head against the wall for two days now and I still can not figure out what is going on?

 

As you can see above, anything past the TEXTAREA field is now dropped outside of the editor on load?

 

Undesirable Results? In this case that is the Human Test fields and the Submit Button?

 

I know this is so simple stupid, but I am just not able to figure it out!

Context validation error for tag cfset.

$
0
0

I have a ColdFusion 10, front end on a Windows 2008 R2 (VMWare) machine interfacing with an Oracle 11g database.  I recently had an issue (https://forums.adobe.com/thread/2121425http://)  that was solved by changing this.datasource to application.datasource.   Shortly after, I was tracking  down some other issues, specifically one where a CFMAIL tag was not loading output of a query.  I toyed with it, even trying to brute force the TO address in there, and just caused other problems.  Since I am working with a copy on my Test server, I decided to start over.  I copied the two files that I had been working on from the copy on my Development machine that has not been touched since it was promoted to Test, expecting to see the CFMAIL error again.   Instead I see:

 

cfseterror.jpg

When I go to tline 76 in the module listed, that line is completely blank.   I am baffled as to what needs to be done to get back to the original error.

Coldfusion 11 - java.nio.file.FileSystemException on cffile copy

$
0
0

Hi,

I got randomly an error on a cffile copy :

 

java.nio.file.FileSystemException: D:\netprint\Images\C01332\VISUELHD\SG_OPTEFR_4_Concert.jpg -> D:\netprint\DOC_demandes\ReqSG_00331742\BIB\SG_OPTEFR_4_Concert.jpg: The process cannot access the file because it is being used by another process.

 

However my code is executing copy only if target file doesn't exist :

 

<cfif not fileexists("#DEMrepert#/BIB/#NomImageHD#")>

     <cffile action="copy"   source="#BIBrepertHD##NomImageHD#"    destination="#DEMrepert#/BIB">

</cfif>

 

I am running Coldfusion 11 on windows 2012 R2 server with Java 8 (jdk1.8.0_66).

 

As destination file doesn't exist, it looks like issue is on source file being locked by another process. Is there a way to check inside coldfusion if source file is locked by another process ?

 

Regards,

Pierre.

ColdFusion 2016 downgrade rights to ColdFusion 11?

$
0
0

Can a customer buy ColdFusion 2016 and get a download/backward licensing to ColdFusion 11? If yes, what is the process involved.

 

Please advise.

 

Brian Chau

CF2016 Hotfix 1 Release Date?

CF licensing model

$
0
0

I recently spoke to an agent from technical support about CF licensing and he said he will connect me to someone from sales team but I never got a call back so I will try to get an answer here.

I don’t know which edition of CF I need to buy, standard or enterprise. I was informed licenses are issued on a Core basis. So if I’m using 2 VMs with 4 cores each, which edition do I need? And how many licenses? Can you send me a full description on how the licensing works? I can’t seem to find anything that helps on the website.

cf11 - cfgrid getGridObject

$
0
0

We are upgrading Coldfusion from 9 to 11. This worked in 9 just fine, but running into errors in 11. My cfgrid declaration is as follows:

 

<cfgrid name="cfPagingGridName" autowidth="yes" rowHeaders="no" format="html" height="165" width="675" style="border:none;"

   selectcolor="##C6D6EB" striperowcolor="##EEF3F9" striperows="yes" selectOnLoad="false" bgcolor="##FFFFFF" pageSize="1000"

                     bind="cfc:model.nomination.nominationAddRecipientGateway.getNomineeGrid({cfgridpage},{cfg ridpagesize},{cfgridsortcolumn},{cfgridsortdirection},#form.nominationid#)">

 

On selection from this grid, we can add values from this grid to another grid when the add button is selected. The add button runs some JavaScript. This JavaScript is erroring with the getStore() method, but the real problem seems to be right before this. The part of the JavaScript that is erroring is as follows:

 

// Get Nominee Grid Data

  var nomineeGrid = ColdFusion.Grid.getGridObject("cfPagingGridName");

  var mydata = nomineeGrid.getStore();

 

The specific error I'm getting is "Unable to get property 'getStore' of undefined or null reference.  The real problem occurs with the getGridObject line. It never defines the variable nomineeGrid. I'm able to look at this in 2 environments, one using CF 11 and the other using CF 9 . Stepping through the code, CF 9 correctly defines the nomineeGrid variable, but CF 11 does not. My code uses this in many places so any help with this issue would be appreciated.

 

Thanks!

Stephanie


CF11 Application.cfc with AngularJS

$
0
0

down votefavorite

 

 

I am using ColdFusion as my backend for an AngularJS application. I need my Application.cfc to run in order for my authentication module to run. However, because I do not have any .cfm files, it does not run on request. The files in the root of my folder are all of the application folders (controllers/, styles/, views/, etc.). Also at the root is my index.html which kicks off the angular application as well as Application.cfc. I want Application.cfc to run as soon as the application is accessed. Is there any way to do this, or will I need to make an API call to Application.cfc from a controller/service to kick it off?

AJP Connector (jakarta) IIS help!!

$
0
0

We can't seem to get this running right, and need someone with experience.

 

We have 100 IIS websites, 65 of them are coldfusion. So we "tuned" AJP for that number of connection pools. Under the "ALL" configuration, we have an allotment of 9000 and a reuse size of 138. The server.xml matches thread count and timeout.

 

Originally this was at the default of 250, and sites began to hang and never load. Took us forever to figure out this was the reason...

 

 

So now we have the sites running, but they use extreme amounts of memory. The worker processes (w3wp.exe) appear to allocate large amounts of ram as soon as they start, and having jakarta in the ISAPI FIlters list reliably causes this. Remove jakarta, and site returns to normal fair memory usage. So naturally we removed jakarta from all PHP sites, and only have it on the CF11 sites. We also began grouping coldfusion sites based on priority into application pools, to try and reduce ram usage.

 

Do we need to tune jakarta for every single site? Is there not a way to dynamically allocate connection pool "slots" without shutting down the whole server just to manipulate a "guesswork" value in connector.properties?

 

Has anyone had a similar experience and have any expert advice on this?

We came from CF9 and had zero problems with the old isapi filter.

Jakarta is running rampant on our memory usage, and we are constantly battling pool recycles to keep our server healthy...

It seems ridiculous that a simple CF11 site with only an index.cfm page in it, can use over 100mb of memory. That is NOT right, when only one person is viewing it.

cfspreadsheet

$
0
0

Do I need to take preperations before using this tag?

 

I see:

Error Occurred While Processing Request

A tag starting with 'CF' has been detected. This tag is not supported by this version of ColdFusion. Please verify your typo and try again.

Unknown tag: cfspreadsheet.

 

Dreamweaver CC 2015

ACF 2016 WAR Deployment Tomcat server did not start

$
0
0

Hi, i need some help.

First the environment:

OS: Centos 6.7 latest

ACF: 2016 64bit Linux war deployment

Tomcat : 8.0.32

Java Version :

openjdk version "1.8.0_71"

OpenJDK Runtime Environment (build 1.8.0_71-b15)

OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode)

 

After i deploy the war file the server did not start.

Here are some more information (catalinalog):

23-Mar-2016 18:32:20.035 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:    Apache Tomcat/8.0.32
23-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:      Feb 2 2016 19:34:53 UTC
23-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:     8.0.32.0
23-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:           Linux
23-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:        2.6.32-573.18.1.el6.x86_64
23-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:      amd64
23-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:         /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.71-1.b15.el6_7.x86_64/jre
23-Mar-2016 18:32:20.036 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:       1.8.0_71-b15
23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:        Oracle Corporation
23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:     /opt/tomcat8
23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:     /opt/tomcat8

23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/tomcat8/conf/logging.properties

23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF-8

23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dnet.sf.ehcache.skipUpdateCheck=true

23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseConcMarkSweepGC

23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+CMSClassUnloadingEnabled

23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:+UseParNewGC

23-Mar-2016 18:32:20.037 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms512m

23-Mar-2016 18:32:20.038 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m

23-Mar-2016 18:32:20.038 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/opt/tomcat8/endorsed

23-Mar-2016 18:32:20.038 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/tomcat8

23-Mar-2016 18:32:20.038 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/tomcat8

23-Mar-2016 18:32:20.038 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/tomcat8/temp

23-Mar-2016 18:32:20.038 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

23-Mar-2016 18:32:20.095 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8180"]

23-Mar-2016 18:32:20.106 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

23-Mar-2016 18:32:20.108 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

23-Mar-2016 18:32:20.109 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read

23-Mar-2016 18:32:20.110 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 354 ms

23-Mar-2016 18:32:20.128 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

23-Mar-2016 18:32:20.128 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.32

23-Mar-2016 18:32:20.148 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /opt/tomcat8/webapps/cfusion.war

23-Mar-2016 18:32:20.672 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.

23-Mar-2016 18:33:23.690 INFO [localhost-startStop-1] org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [63,009] milliseconds.

 

When i remove the war file the server starts normal.

Websockets Size Issue

$
0
0

I have a Coldfusion 10 Websockets channel that streams data every 2 seconds. This has worked perfectly for some time, however I have now approximately doubled the amount of data being sent and I have problems when it comes to Chrome and Internet Explorer – they both come up with the following errors -

Websocket connecttion to 'ws://mywebsite.com' failed: Invalid frame header

Uncaught TypeError: Cannot set property 'readyState' of undefined

Everything works perfectly on Firefox.

I am assuming the errors relate to the size of the packets and that they are not correctly specified in the header, since if I reduce the amount of data slightly everything works fine. I have increased the “Max Data Size” for websockets in Coldfusion Administrator but this does not fix the problem.

It does mention here: http://www.adobe.com/devnet/coldfusion/articles/using-websocket.html  that there is a default packet size of 8192 bytes (8KB) and if messages are larger they need to be tuned accordingly - but it does not say how!

Any help or advice would be greatly appreciated.

Thanks.

Viewing all 5979 articles
Browse latest View live


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