>- see footer for list info -<
Check that the user that ColdFusion is running under has write permission to
the Mail and/or Mail/Spool directory.  

The most common problem with cfchart is the gfx card and drivers as these
are used to generate the charts, so make sure these are setup correctly.

Russ

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon Baynes
Sent: 31 July 2005 11:46
To: Coldfusion Development
Subject: [CF-Dev] LINUX Hamstringing ColdFusion

>- see footer for list info -<
OK I am having some really weird problems. I have just got new server from
MediaTemple (www.mediatemple.net), I have been settign it up over the last
couple of days. I have everything working bar 2 things, Charts and CFMail.

I am running CFMX6.1 on Redhat with Apache. If I run my code on a Windows
box it works fine, so I am confident in the code integrity.
MediaTemple say they don't know how to fix it and I am at a loss as I am not
much of an expert when it comes to fixing the OS.

When I try and use cfmail I get the following error.

[i] An exception occurred when setting up mail server parameters. This
exception was caused by: coldfusion.mail.MailSessionException: An exception
occurred when setting up mail server parameters..[/i]

Here is the stack trace:-
java.io.IOException: No such file or directory
        at java.io.UnixFileSystem.createFileExclusively(Native Method)
        at java.io.File.checkAndCreate(File.java:1314)
        at java.io.File.createTempFile(File.java:1402)
        at coldfusion.mail.MailSpooler.postSpoolMail(MailSpooler.java:1150)
        at coldfusion.mail.MailSpooler.storeMail(MailSpooler.java:621)
        at coldfusion.tagext.net.MailTag.doAfterBody(MailTag.java:618)
        at
cftest2ecfm1243074694.runPage(/home/httpd/vhosts/myDomain.com/httpdocs/test.
cfm:1)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
        at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
        at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
        at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
        at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence
Filter.java:28)
        at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
        at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
        at coldfusion.CfmServlet.service(CfmServlet.java:105)
        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
        at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
        at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252)
        at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
        at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
        at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348)
        at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
)
        at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

I get a similar problem with cfchart:-

[i] The chart could not be generated due to an error in the graphing
engine.[/i]

Here is the stack trace:-

java.lang.NoClassDefFoundError
        at com.gp.image.ExServerComponent.init(ExServerComponent.java)
        at
coldfusion.graph.GraphingServiceImpl.initializeEngine(GraphingServiceImpl.ja
va:443)
        at
coldfusion.graph.GraphingServiceImpl.access$000(GraphingServiceImpl.java:19)
        at
coldfusion.graph.GraphingServiceImpl$3.run(GraphingServiceImpl.java:352)
        at java.security.AccessController.doPrivileged(Native Method)
        at
coldfusion.graph.GraphingServiceImpl.generateBytes(GraphingServiceImpl.java:
347)
        at coldfusion.tagext.io.ChartTag.doEndTag(ChartTag.java:433)
        at
cfSurveyBottom2ecfm1319405092.runPage(/home/httpd/vhosts/myDomain.com/httpdo
cs/SurveyBottom.cfm:109)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
        at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1871)
        at
cfMembers2ecfm1080223522._factor29(/home/httpd/vhosts/myDomain.com/httpdocs/
Members.cfm:743)
        at
cfMembers2ecfm1080223522._factor33(/home/httpd/vhosts/myDomain.com/httpdocs/
Members.cfm)
        at
cfMembers2ecfm1080223522._factor38(/home/httpd/vhosts/myDomain.com/httpdocs/
Members.cfm:591)
        at
cfMembers2ecfm1080223522.runPage(/home/httpd/vhosts/myDomain.com/httpdocs/Me
mbers.cfm:1)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
        at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
        at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
        at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
        at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence
Filter.java:28)
        at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
        at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
        at coldfusion.CfmServlet.service(CfmServlet.java:105)
        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
        at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
        at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252)
        at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
        at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
        at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
348)
        at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
)
        at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:29
4)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

I am really stuck and anyone who has any ideas I would be soooo grateful!

Thanks.
--
Simon Baynes
www.simonbaynes.com
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help 
>-<


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to