Imagettfbbox
Hello, does anyone know a coldfusion function like the PHP Imagettffbbox (http://php.net/manual/en/function.imagettfbbox.php) ? Regards vom Germany Thomas stichnoth.net Internetkonzepte und -lösungen Gretchenstr. 7 30161 Hannover http://www.stichnoth.net/ http://www.stichnoth.net Tel. 0511 7601528 Fax 0511 7601530 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352916 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF hosting plus Joomla capability needed - any suggestions?
Stephen, We have totally relaunched our shared platform last week, which includes an all new control panel and billing system. Our shared CF plans (and others) have an application catalog with one click installs of popular apps. Joomla is one of the applications offered. We also totally revamped and relaunched our VPS offering. Feel free to contact me off list with any questions: ma...@hostmysite.com An excellent resource for questions like this is webhostingtalk.com -- Byron Mann Lead Engineer Architect HostMySite.com On Tue, Oct 16, 2012 at 4:58 PM, Stephen Hait sh...@mindspring.com wrote: I need to obtain hosting with ColdFusion with SQL Server or MySQL. Also need to be able to easily install and use Joomla for part of the website. I have previously used Crystaltech, now called Newtek, but am looking for suggestions on other hosting companies that would be good for this. This is for a fairly straightforward Joomla website and we would be using ColdFusion for a relatively low traffic data entry application. I am also wondering if a VPS would be better than basic shared hosting and, if so, why a VPS would be better. Thanks in advance. I know the topic of which hosting company is best has been done to death but I haven't had to look for one lately so thought I'd ask for suggestions here. Regards, Stephen ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352917 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Imagettfbbox
No, not that I am aware of. This may help: http://cfsearching.blogspot.com/2008/01/measuring-image-text-width-and-height.html Or this: http://www.bennadel.com/blog/1150-GetTextDimensions-For-Finding-ColdFusion-Image-Text-Dimensions.htm If that doesn't do the trick you would most probably have to dig around in the Java API to tease that info out. http://docs.oracle.com/javase/6/docs/api/ HTH G! On Wed, Oct 17, 2012 at 4:02 AM, Thomas Stichnoth i...@stichnoth.netwrote: Hello, does anyone know a coldfusion function like the PHP Imagettffbbox (http://php.net/manual/en/function.imagettfbbox.php) ? Regards vom Germany Thomas stichnoth.net Internetkonzepte und -lösungen Gretchenstr. 7 30161 Hannover http://www.stichnoth.net/ http://www.stichnoth.net Tel. 0511 7601528 Fax 0511 7601530 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352918 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: In-use connections equal max-pool-size and expired max-wait-time.
Hello, We have an application that is connecting to a sql server database by initiating pool connections through the app server. The connections are idle, but not being released and causing the following error: javax.enterprise.resource. resourcead apter|_ThreadID=20;_ThreadName=httpSSLWorkerThread-38120-2;able;In-use connections equal max-poo l-size and expired max-wait-time. Cannot allocate more connections. ;_RequestID=6cc19083-f20a-4501-b3af-3045dddbdc42;|RAR5117 : Failed to obtain/create connection from connection pool [ able ]. Reason : In-use connections equal max-pool-size and expired max-wait-time. Cannot allocate more connections.| Does anyone know why this happens and how we can address the issue? . I would try the following. First look at your firewall rules, make sure both the SQL server and the CF server are not Firewalling each other, they should both technically be on the same LAN, but could be a TCP state flag not being properly set Restart your coldfusion service, restart your SQL Service Next, If they are on the same lan, and you are not using IPv6, Disable it on both The CF Server, and the SQL Server, as it usually misconfigured and still has some issues with implementation on various programs. If this is a MS SQL Server you can look at the DB Stats, which can tell you what exactly is going on with your DB in terms of connections # - Isolate top waits for server instance since last restart or statistics clear WITH Waits AS (SELECT wait_type, wait_time_ms / 1000. AS wait_time_s, 100. * wait_time_ms / SUM(wait_time_ms) OVER() AS pct, ROW_NUMBER() OVER(ORDER BY wait_time_ms DESC) AS rn FROM sys.dm_os_wait_stats WHERE wait_type NOT IN( 'BROKER_TASK_STOP', 'BROKER_TRANSMITTER', 'SQLTRACE_BUFFER_FLUSH', 'CLR_AUTO_EVENT', 'CLR_MANUAL_EVENT', 'BROKER_EVENTHANDLER', 'REQUEST_FOR_DEADLOCK_SEARCH', 'XE_TIMER_EVENT', 'LAZYWRITER_SLEEP', 'SQLTRACE_WAIT_ENTRIES')) -- filter out additional irrelevant waits SELECT W1.wait_type, CAST(W1.wait_time_s AS DECIMAL(12, 2)) AS wait_time_s, CAST(W1.pct AS DECIMAL(12, 2)) AS pct, CAST(SUM(W2.pct) AS DECIMAL(12, 2)) AS running_pct FROM Waits AS W1 INNER JOIN Waits AS W2 ON W2.rn = W1.rn GROUP BY W1.rn, W1.wait_type, W1.wait_time_s, W1.pct HAVING SUM(W2.pct) - W1.pct 95; -- percentage threshold If you are still having trouble, I need details about both hosts, OS, SQL Server Type, Version, ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Imagettfbbox
You are right, there is no built in CF function. You will need to use java as shown in those two links. If it is only a single line of text, all you need is Textlayout or FontMetrics.getStringBounds(). Both return the bounding box, with slight differences ie visual versus logical bounds. -Leigh ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352920 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
cf schudule varication
Hi, I need to create a script to check if my cfschedule runs at the specified time, without depending on the email delivery? For example, a test script that logs the time of execution for the script to a file. I am having the worst time getting schedule tasks to run on a Linux box. thanks, Johnny ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cf schudule varication
I need to create a script to check if my cfschedule runs at the specified time, without depending on the email delivery? For example, a test script that logs the time of execution for the script to a file. I am having the worst time getting schedule tasks to run on a Linux box. Have you considered simply using cron and wget or cURL instead of CFSCHEDULE? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352922 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cf schudule varication
Under Logging Settings in the CF admin, check Enable logging for scheduled tasks. Then the results should show up in your CF logs. On 10/17/12 3:59 PM, John Barrett wrote: Hi, I need to create a script to check if my cfschedule runs at the specified time, without depending on the email delivery? For example, a test script that logs the time of execution for the script to a file. I am having the worst time getting schedule tasks to run on a Linux box. thanks, Johnny ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352923 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm