Error in tasks admin

19 views
Skip to first unread message

Gary Stanton

unread,
Aug 18, 2010, 6:03:01 AM8/18/10
to Railo
I'm running .019, and I've come across an error in the web admin under
tasks.
The thing is that I'm running multiple sites, and the error only
occurrs in one of them.

The site in question is attempting to send a couple of thousand emails
out to a mailing list, and I was taking a look at the tasks admin to
see how it was getting on, but I receive the following error:

Railo 3.1.2.019 Error (Java.lang.nullpointerexception)
Message java.lang.NullPointerException
Stacktrace The Error Occurred in
ra://C:\xxx\xxx\httpdocs\WEB-INF\railo\context\railo-context.ra!/admin/services.tasks.cfm:
line 95
called fromra://C:|xxx\xxx\httpdocs\WEB-INF\railo\context\railo-context.ra!/admin/web.cfm:
line 204

Other sites can view the tasks screen with no problems, so I assume it
must be something to do with the amount of tasks running?

Todd Rafferty

unread,
Aug 18, 2010, 6:09:06 AM8/18/10
to ra...@googlegroups.com
Please include the *full* stack trace, not parts of it... if you can.
--
~Todd Rafferty ** Volunteer Railo Open Source Community Manager ** http://getrailo.org/

Gary Stanton

unread,
Aug 18, 2010, 6:13:34 AM8/18/10
to Railo
Sure, here it is:


Railo 3.1.2.019 Error (Java.lang.nullpointerexception)
Message java.lang.NullPointerException
Stacktrace The Error Occurred in
ra://C:\xxx\xxx\httpdocs\WEB-INF\railo\context\railo-context.ra!/admin/services.tasks.cfm:
line 95
called fromra://C:\xxx\xxx\httpdocs\WEB-INF\railo\context\railo-context.ra!/admin/web.cfm:
line 204
Java Stacktrace

java.lang.NullPointerException
at java.util.LinkedList.toArray(Unknown Source):-1
at
railo.runtime.spooler.SpoolerEngineImpl.getOpenTasks(SpoolerEngineImpl.java:
170):170
at railo.runtime.tag.Admin.doGetSpoolerTasks(Admin.java:2744):2744
at railo.runtime.tag.Admin._doStartTag(Admin.java:456):456
at railo.runtime.tag.Admin.doStartTag(Admin.java:256):256
at admin.services_tasks_cfm414$cf.call(/Users/mic/Projects/Railo/
webroot/context31/admin/services.tasks.cfm:95):95
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:753):
753
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:706):
706
at admin.web_cfm$cf.call(/Users/mic/Projects/Railo/webroot/context31/
admin/web.cfm:204):204
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:753):
753
at
railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:
197):197
at
railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:
23):23
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1900):
1900
at
railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:
280):280
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717):717
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290):290
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206):206
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233):233
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191):191
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127):127
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102):102
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109):109
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298):298
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:
427):427
at org.apache.coyote.ajp.AjpAprProtocol
$AjpConnectionHandler.process(AjpAprProtocol.java:384):384
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:
1555):1555
at java.lang.Thread.run(Unknown Source):-1
at railo.runtime.op.Caster.toPageException(Caster.java:2967):2967
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:756):
756
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:706):
706
at admin.web_cfm$cf.call(/Users/mic/Projects/Railo/webroot/context31/
admin/web.cfm:204):204
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:753):
753
at
railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:
197):197
at
railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:
23):23
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1900):
1900
at
railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:
280):280
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:32):32
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717):717
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290):290
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206):206
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233):233
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191):191
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127):127
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102):102
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109):109
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298):298
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:
427):427
at org.apache.coyote.ajp.AjpAprProtocol
$AjpConnectionHandler.process(AjpAprProtocol.java:384):384
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:
1555):1555
at java.lang.Thread.run(Unknown Source):-1



On Aug 18, 11:09 am, Todd Rafferty <t...@getrailo.org> wrote:
> Please include the *full* stack trace, not parts of it... if you can.
>
> On Wed, Aug 18, 2010 at 6:03 AM, Gary Stanton
> <i...@simianenterprises.co.uk>wrote:

Michael Offner

unread,
Aug 18, 2010, 11:53:57 AM8/18/10
to ra...@googlegroups.com
That tasks maintain a restart Railo stores tasks on the filesystem as a serialized java object. If the structures of the task class change, what is very rare but happen between version 018 and 019, it is possible that tasks produce problems that are produced by the old version (in this case 018).

/micha

Von meinem iPhone gesendet

Gary Stanton

unread,
Aug 18, 2010, 12:25:39 PM8/18/10
to Railo
Does this mean I have to revert to the old version, delete the tasks
and then upgrade to 019 again, or is there another way?

On Aug 18, 4:53 pm, Michael Offner <mich...@getrailo.com> wrote:
> That tasks maintain a restart Railo stores tasks on the filesystem as a serialized java object. If the structures of the task class change, what is very rare but happen between version 018 and 019, it is possible that tasks produce problems that are produced by the old version (in this case 018).
>
> /micha
>
> Von meinem iPhone gesendet
>

Michael Offner

unread,
Aug 18, 2010, 12:46:13 PM8/18/10
to ra...@googlegroups.com
You can simply delete the task files, they have the extension .tsk and
are located in web-inf/railo/client-task/*/ and restart railo

/micha

2010/8/18, Gary Stanton <in...@simianenterprises.co.uk>:

Gary Stanton

unread,
Aug 18, 2010, 6:39:42 PM8/18/10
to Railo
For posterity, I found the task files in /web-inf/railo/remote-client/
open/ .

There were 169mb of tasks in the folder - I was just wondering if this
was a possible cause or if there is a limit to open tasks?

I'd upgraded straight from .001 to .019 though, so your explaination
would certainly fit.

Cheers,

Gary



On Aug 18, 5:46 pm, Michael Offner <mich...@getrailo.com> wrote:
> You can simply delete the task files, they have the extension .tsk and
> are located in web-inf/railo/client-task/*/ and restart railo
>
> /micha
>
> 2010/8/18, Gary Stanton <i...@simianenterprises.co.uk>:

Gary Stanton

unread,
Aug 19, 2010, 7:46:00 AM8/19/10
to Railo
It seems there's definitely a problem with tasks here.
I removed all the old ones as suggested and all was working fine -
however the same issue has returned after sending out newsletter
emails again.
Is there a problem with having too many tasks running?

Gary

On Aug 18, 11:39 pm, Gary Stanton <i...@simianenterprises.co.uk>
wrote:

Andrea Campolonghi

unread,
Aug 19, 2010, 7:51:51 AM8/19/10
to ra...@googlegroups.com
@Gary,

how many emails are trying to send?
Did this work with previous Railo version?

Andrea

2010/8/19 Gary Stanton <in...@simianenterprises.co.uk>



--
Andrea Campolonghi
and...@getrailo.org

Michael Offner

unread,
Aug 19, 2010, 8:00:02 AM8/19/10
to ra...@googlegroups.com
same exception?

2010/8/19 Andrea Campolonghi <and...@getrailo.org>

Gary Stanton

unread,
Aug 19, 2010, 8:10:29 AM8/19/10
to Railo
Yeah, it's the exact same error as far as I can see.

I think it's somewhere in the region of 9,000 emails - I can't
actually find out because when I try to dump the list, I get an out of
memory error in cfdump!
That error is listed below.

As far as I'm aware, yes this was working on .001 - although I can't
be certain as it's a live site and it's clients using the newsletter
system. I can't test myself without sending out emails to 9,000 odd
people! I've not received any bug reports on this from the client
until yesterday however.

Railo 3.1.2.019 Error (Java.lang.outofmemoryerror)
Message Java heap space
Stacktrace The Error Occurred in
C:\Tomcat6\railo\railo-server\context\library\tag\Dump.cfc: line 139

137: <tr #len(id)?'name="_#id#"':''#<cfif len(id)>
name="_#id#"<cfif not arguments.expand> style="display:none"</cfif></
cfif>>
138: <cfset c=1><cfloop index="col" from="1"
to="#columncount-1#"><cfset value=arguments.meta.data["data"&col]>
139: <td valign="top" #!
arguments.inside?'title="#arguments.context#"':''#
bgcolor="#bgColor(arguments.meta,c)#" style="border : 1px solid
#arguments.meta.borderColor#;empty-cells:show;"><cfif
isStruct(value)>#this.html(value,"",arguments.expand,arguments.output,false)#<cfelse>#HTMLEditFormat(value)#</
cfif></td><cfset c*=2>
140: </cfloop>
141: </tr>

called fromC:\Tomcat6\railo\railo-server\context\library\tag\Dump.cfc:
line 79

77:
78: <!--- create output --->
79: <cfset result=this[attributes.format]
(meta,context,attributes.expand,attributes.output)>
80:
81:

called fromC:\Tomcat6\railo\railo-server\context\library\tag\Dump.cfc:
line 139

137: <tr #len(id)?'name="_#id#"':''#<cfif len(id)>
name="_#id#"<cfif not arguments.expand> style="display:none"</cfif></
cfif>>
138: <cfset c=1><cfloop index="col" from="1"
to="#columncount-1#"><cfset value=arguments.meta.data["data"&col]>
139: <td valign="top" #!
arguments.inside?'title="#arguments.context#"':''#
bgcolor="#bgColor(arguments.meta,c)#" style="border : 1px solid
#arguments.meta.borderColor#;empty-cells:show;"><cfif
isStruct(value)>#this.html(value,"",arguments.expand,arguments.output,false)#<cfelse>#HTMLEditFormat(value)#</
cfif></td><cfset c*=2>
140: </cfloop>
141: </tr>

called fromC:\Tomcat6\railo\railo-server\context\library\tag\Dump.cfc:
line 79

77:
78: <!--- create output --->
79: <cfset result=this[attributes.format]
(meta,context,attributes.expand,attributes.output)>
80:
81:

called fromC:\xxx\httpdocs\error.cfm: line 1

1: <cfdump var="#error#">

Java Stacktrace

Java heap space
at java.util.Arrays.copyOf(Unknown Source):-1
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source):-1
at java.lang.AbstractStringBuilder.append(Unknown Source):-1
at java.lang.StringBuffer.append(Unknown Source):-1
at railo.commons.lang.HTMLEntities.escapeHTML(HTMLEntities.java:391):
391
at
railo.runtime.functions.displayFormatting.HTMLEditFormat.call(HTMLEditFormat.java:
12):12
at dump_cfc$cf.udfCall(C:\Tomcat6\railo\railo-server\context\library
\tag\Dump.cfc:139):139
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:226):226
at railo.runtime.type.UDFImpl._call(UDFImpl.java:399):399
at railo.runtime.type.UDFImpl.call(UDFImpl.java:364):364
at railo.runtime.ComponentImpl._call(ComponentImpl.java:527):527
at railo.runtime.ComponentImpl._call(ComponentImpl.java:456):456
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1675):1675
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
621):621
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1426):1426
at dump_cfc$cf.udfCall(C:\Tomcat6\railo\railo-server\context\library
\tag\Dump.cfc:139):139
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:226):226
at railo.runtime.type.UDFImpl._call(UDFImpl.java:399):399
at railo.runtime.type.UDFImpl.call(UDFImpl.java:364):364
at railo.runtime.ComponentImpl._call(ComponentImpl.java:527):527
at railo.runtime.ComponentImpl._call(ComponentImpl.java:456):456
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1671):1671
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
604):604
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1419):1419
at dump_cfc$cf.udfCall(C:\Tomcat6\railo\railo-server\context\library
\tag\Dump.cfc:79):79
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:226):226
at railo.runtime.type.UDFImpl._call(UDFImpl.java:399):399
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:357):
357
at railo.runtime.ComponentImpl._call(ComponentImpl.java:528):528
at railo.runtime.ComponentImpl._call(ComponentImpl.java:456):456
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:
1694):1694
at railo.runtime.tag.CFTag.cfcStartTag(CFTag.java:461):461
at railo.runtime.op.Caster.toPageException(Caster.java:2967):2967
at railo.runtime.type.UDFImpl._call(UDFImpl.java:405):405
at railo.runtime.type.UDFImpl.call(UDFImpl.java:364):364
at railo.runtime.ComponentImpl._call(ComponentImpl.java:527):527
at railo.runtime.ComponentImpl._call(ComponentImpl.java:456):456
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1675):1675
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
621):621
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1426):1426
at dump_cfc$cf.udfCall(C:\Tomcat6\railo\railo-server\context\library
\tag\Dump.cfc:139):139
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:226):226
at railo.runtime.type.UDFImpl._call(UDFImpl.java:399):399
at railo.runtime.type.UDFImpl.call(UDFImpl.java:364):364
at railo.runtime.ComponentImpl._call(ComponentImpl.java:527):527
at railo.runtime.ComponentImpl._call(ComponentImpl.java:456):456
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1671):1671
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
604):604
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1419):1419
at dump_cfc$cf.udfCall(C:\Tomcat6\railo\railo-server\context\library
\tag\Dump.cfc:79):79
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:226):226
at railo.runtime.type.UDFImpl._call(UDFImpl.java:399):399
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:357):
357
at railo.runtime.ComponentImpl._call(ComponentImpl.java:528):528
at railo.runtime.ComponentImpl._call(ComponentImpl.java:456):456
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:
1694):1694
at railo.runtime.tag.CFTag.cfcStartTag(CFTag.java:461):461
at railo.runtime.tag.CFTag.doStartTag(CFTag.java:175):175
at error_cfm$cf.call(C:\Websites\soldout-trainers.com\httpdocs
\error.cfm:1):1
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:753):
753
at
railo.runtime.PageContextImpl.handlePageException(PageContextImpl.java:
1699):1699
at
railo.runtime.listener.ModernAppListener.onError(ModernAppListener.java:
362):362
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:1908):
1908
On Aug 19, 1:00 pm, Michael Offner <mich...@getrailo.com> wrote:
> same exception?
>
> 2010/8/19 Andrea Campolonghi <and...@getrailo.org>
>
> > @Gary,
>
> > how many emails are trying to send?
> > Did this work with previous Railo version?
>
> > Andrea
>
> > 2010/8/19 Gary Stanton <i...@simianenterprises.co.uk>
> ...
>
> read more »

Michael Offner

unread,
Aug 19, 2010, 8:25:42 AM8/19/10
to ra...@googlegroups.com
but in this case we get a other exception.
this happens because there is overflow in the rsponse body buffer.

Java heap space
       at java.util.Arrays.copyOf(Unknown Source):-1
       at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source):-1
       at java.lang.AbstractStringBuilder.append(Unknown Source):-1
       at java.lang.StringBuffer.append(Unknown Source):-1
       at railo.commons.lang.HTMLEntities.escapeHTML(HTMLEntities.java:391):

this also happens in version 001, simply extend the available heap memory.

we will optimize the output of the list.

/micha

2010/8/19 Gary Stanton <in...@simianenterprises.co.uk>

Gary Stanton

unread,
Aug 19, 2010, 8:41:19 AM8/19/10
to Railo
Sorry, no... the error I posted was from a CFDump I tried to do on the
subscriber list.
The error in the task admin is identical to the one I quoted in my
first post.

I don't know much/anything about java, can someone tell me how I
increase the heap space?

On Aug 19, 1:25 pm, Michael Offner <mich...@getrailo.com> wrote:
> but in this case we get a other exception.
> this happens because there is overflow in the rsponse body buffer.
>
> *Java heap space*
>        at java.util.Arrays.copyOf(Unknown Source):-1
>        at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source):-1
>        at java.lang.AbstractStringBuilder.append(Unknown Source):-1
>        at java.lang.*StringBuffer.append*(Unknown Source):-1
>        at railo.commons.lang.*HTMLEntities.escapeHTML*
> (HTMLEntities.java:391):
>
> this also happens in version 001, simply extend the available heap memory.
>
> we will optimize the output of the list.
>
> /micha
>
> 2010/8/19 Gary Stanton <i...@simianenterprises.co.uk>
> ...
>
> read more »

Peter Boughton

unread,
Aug 19, 2010, 8:58:58 AM8/19/10
to ra...@googlegroups.com
> I think it's somewhere in the region of 9,000 emails - I can't
> actually find out because when I try to dump the list, I get an out of
> memory error in cfdump!
...

> Sorry, no... the error I posted was from a CFDump I tried to do on the
> subscriber list.

Don't dump the list, dump the count/length

i.e. QueryName.RecordCount or ArrayLen(ArrayName) or whatever
depending on the object the list is.

Gary Stanton

unread,
Aug 19, 2010, 9:22:23 AM8/19/10
to Railo
Oddly enough, I can happily output all the data in a table no
problem... I only get an error when I use cfdump.

Still though, the issue for me is the email tasks.
It's around 10,000 emails.

Russ Michaels

unread,
Aug 20, 2010, 8:45:26 AM8/20/10
to ra...@googlegroups.com

Not answering your question, but just a tip. When sending bulk email it is better to use a proper list manager so you know what happens to those emails and can be sure they were delivered. Using cfmail really gives u nothing in that dept.
have a look at phplist. A popular open source list manager. It has an api so u can still use cfml interact with it.

On 19 Aug 2010 14:22, "Gary Stanton" <in...@simianenterprises.co.uk> wrote:

Oddly enough, I can happily output all the data in a table no
problem... I only get an error when I use cfdump.

Still though, the issue for me is the email tasks.
It's around 10,000 emails.


On Aug 19, 1:58 pm, Peter Boughton <bought...@gmail.com> wrote:

> > I think it's somewhere in the r...

Gary Stanton

unread,
Aug 25, 2010, 6:09:19 AM8/25/10
to Railo
You may be right on that front, but for the moment I need to fix the
issue in the current system.

Does anyone have any idea how I can see the tasks in the Railo admin?
Is there a limit on how many tasks can exist? From what I can see,
none of the outstanding tasks are being run.



On Aug 20, 1:45 pm, Russ Michaels <russ.micha...@gmail.com> wrote:
> Not answering your question, but just a tip. When sending bulk email it is
> better to use a proper list manager so you know what happens to those emails
> and can be sure they were delivered. Using cfmail really gives u nothing in
> that dept.
> have a look at phplist. A popular open source list manager. It has an api so
> u can still use cfml interact with it.
>

Markus Wollny

unread,
Aug 25, 2010, 1:22:57 PM8/25/10
to Railo
I've got the exact same problem, we're sending out newsletters, too,
from within our CMS. Interfacing with some third party PHP app is not
an all too attractive option for us and sending this amount of mail
used to work fine for us with CF8 and the same JVM settings in regards
to heap size. So regardless of the availability of external list
manager applications I'd still like to see this considered as a
serious bug in Railo.

I too have upgraded directly from to downloaded Railo to .019, there
haven't been any mails sent in Railo before the upgrade happened
AFAIK, so it's somewhat unlikely that there should be an issue with
existing tasks in regards to the upgrade itself.

Kind regards

Markus

Todd Rafferty

unread,
Aug 25, 2010, 1:25:27 PM8/25/10
to ra...@googlegroups.com
May I ask what prompted you to upgrade to .019?

--
~Todd Rafferty ** Volunteer Railo Open Source Community Manager ** http://getrailo.org/

Markus Wollny

unread,
Aug 25, 2010, 1:39:32 PM8/25/10
to ra...@googlegroups.com
I remember that there had been some other issued with cfmail that had been fixed somewhere about .017 so I thought it was a good idea to get these fixes, too. There also has been at least one other error that hit us in 0.01 that has been fixed since, though I cannot remember now what it was.

Should I downgrade to some earlier release or would this mess things up even more thoroughly?

Todd Rafferty

unread,
Aug 25, 2010, 1:46:04 PM8/25/10
to ra...@googlegroups.com
If you upgraded from .001 to .019, no there's no 'inbetween'/earlier release you can roll back to.

You can read this ( http://www.railo.ch/blog/index.cfm/2009/8/27/Updating-Railo-behind-Proxy--Firewall ) and snag patches in between .001 and .019 and put them in the proper directory and see if that works. Jamie Krug's comment on that blog post mentions where to put the .rc files.

As Sean Corfield mentioned, you need to open up a ticket with as much information as possible.


--
~Todd Rafferty ** Volunteer Railo Open Source Community Manager ** http://getrailo.org/

Gary Stanton

unread,
Aug 25, 2010, 8:13:33 PM8/25/10
to Railo
I've gone from 001 to 019, but I can't go back any earlier because of
various other problems (cfthread request issue in 018, permgen I think
was 016).

The issue as far as I can see, isn't in cfmail itself, but in the
amount of tasks that can be handled in 019. The same amount work fine
in 001.
I could be wrong, it could be that cfmail is causing an issue which is
in turn slowing down the tasks and filling up the open folder, I'm not
sure... but one thing is certain, and that's that I can't view the
tasks in admin even though they were created in 019 and so aren't
subject to structure changes.

Gary

On Aug 25, 6:46 pm, Todd Rafferty <t...@getrailo.org> wrote:
> If you upgraded from .001 to .019, no there's no 'inbetween'/earlier release
> you can roll back to.
>
> You can read this (http://www.railo.ch/blog/index.cfm/2009/8/27/Updating-Railo-behind-Pr...)
> and snag patches in between .001 and .019 and put them in the proper
> directory and see if that works. Jamie Krug's comment on that blog post
> mentions where to put the .rc files.
>
> As Sean Corfield mentioned, you need to open up a ticket with as much
> information as possible.
>
> --
> ~Todd Rafferty ** Volunteer Railo Open Source Community Manager **http://getrailo.org/
>
> On Wed, Aug 25, 2010 at 1:39 PM, Markus Wollny <markus.wol...@googlemail.com

Michael Offner

unread,
Aug 26, 2010, 2:33:47 AM8/26/10
to ra...@googlegroups.com
we will look into this with the highest priority

/micha

2010/8/26 Gary Stanton <in...@simianenterprises.co.uk>

Michael Offner

unread,
Aug 26, 2010, 10:41:18 AM8/26/10
to ra...@googlegroups.com
we have improved the SpoolerEngine, that the engine no longer depended on the available memory, we still running some stress tests with a 1000'000 undeliverable taks (mails) in the spooler in a regular installation, it looks good so far. this will be part of version 3.1.2.020.

/micha

p.s. do not forget that version 3.1.2.020 and 3.1.2.019 not can handle tasks from version 3.1.2.018 or older.

2010/8/26 Michael Offner <mic...@getrailo.com>

Gary Stanton

unread,
Aug 26, 2010, 12:21:07 PM8/26/10
to Railo
Hi Micha,

I've replied to this on the other thread, but I'm still concerned that
I can't view the outstanding tasks in the admin panel.
Assuming the issue is with the SpoolerEngine, which sounds reasonable,
I assume I should still be able to view outstanding tasks?

I've had another client send out a mass email today. This time they
have far less emails going out and it seems to have worked fairly
well, but again I now get an exception when I try to view the tasks in
their Railo admin.

Cheers,

Gary

On Aug 26, 3:41 pm, Michael Offner <mich...@getrailo.com> wrote:
> we have improved the SpoolerEngine, that the engine no longer depended on
> the available memory, we still running some stress tests with a
> 1000'000 undeliverable taks (mails) in the spooler in a regular
> installation, it looks good so far. this will be part of version 3.1.2.020.
>
> /micha
>
> p.s. do not forget that version 3.1.2.020 and 3.1.2.019 not can handle tasks
> from version 3.1.2.018 or older.
>
> 2010/8/26 Michael Offner <mich...@getrailo.com>
>
> > we will look into this with the highest priority
>
> > /micha
>
> > 2010/8/26 Gary Stanton <i...@simianenterprises.co.uk>

Michael Offner

unread,
Aug 27, 2010, 2:13:27 AM8/27/10
to ra...@googlegroups.com
Like written before, Railo 018,019,020 is not able to display/execute
task older than version 018, because the task implementation has
changed between version 017 and 018.
To see this tasks go back to version 017.
We have also fixed the display problem of tasks in the Railo admin for
version 020.
We search a way that the version 020 also can display/execute tasks
older than 018
Please have in mind that we speak of ber releases here, that should
not be used in productive environment.

/micha

2010/8/26, Gary Stanton <in...@simianenterprises.co.uk>:

Gary Stanton

unread,
Aug 27, 2010, 5:14:41 AM8/27/10
to Railo
Hi Micha,

Just to be clear, the tasks that I cannot view were created with .019
- I don't have any tasks created with previous versions.

With regard to running these releases in a production environment -
while it's not ideal, I would never be able to find all these issues
in a dev environment. Surely that's got to be a good thing?


On Aug 27, 7:13 am, Michael Offner <mich...@getrailo.com> wrote:
> Like written before, Railo 018,019,020 is not able to display/execute
> task older than version 018, because the task implementation has
> changed between version 017 and 018.
> To see this tasks go back to version 017.
> We have also fixed the display problem of tasks in the Railo admin for
> version 020.
> We search a way that the version 020 also can display/execute tasks
> older than 018
> Please have in mind that we speak of ber releases here, that should
> not be used in productive environment.
>
> /micha
>
> 2010/8/26, Gary Stanton <i...@simianenterprises.co.uk>:

Michael Offner

unread,
Aug 27, 2010, 12:19:27 PM8/27/10
to ra...@googlegroups.com
Version 3.1.2.020 is available on test

/micha

Gary Stanton

unread,
Aug 28, 2010, 7:50:03 PM8/28/10
to Railo
Thanks Micha,

I won't be able to test this until Tuesday, as I'm away and can't risk
not being around if it all goes pear shaped!
I'll let you know how I get on.

Cheers,

Gary

Gary Stanton

unread,
Sep 1, 2010, 6:29:50 AM9/1/10
to Railo
I've upgraded to .020 - Unfortunately, I can't test the original issue
until a client next decides to send out a mass email.
I am now however, running into a new problem with the email spooler
and tasks admin.

I can send test emails from most of my sites, however one site
constantly fails.
The failed task files exist on the server, however they do not show up
in the task admin screen. The admin screen shows how many tasks have
failed, corresponding to how many files are in the 'open' folder, but
they do not show up as records that can be clicked and viewed.
Consequently I can't actually see what the problem is.
The only difference between these emails and others that are working
fine, is that these ones contain PDFs as attachments.

Is there any way I can read the task files to find any kind of error?
There's nothing in any of the logs.

Cheers,

Gary



On Aug 29, 12:50 am, Gary Stanton <i...@simianenterprises.co.uk>
wrote:

Michael Offner

unread,
Sep 1, 2010, 8:00:50 AM9/1/10
to ra...@googlegroups.com
can you send me one of this .tsk files that fails?

/micha


2010/9/1 Gary Stanton <in...@simianenterprises.co.uk>

Gary Stanton

unread,
Sep 1, 2010, 8:09:01 AM9/1/10
to Railo
Sent to your email.
Cheers,

Gary

On Sep 1, 1:00 pm, Michael Offner <mich...@getrailo.com> wrote:
> can you send me one of this .tsk files that fails?
>
> /micha
>
> 2010/9/1 Gary Stanton <i...@simianenterprises.co.uk>

Gary Stanton

unread,
Sep 1, 2010, 9:18:49 AM9/1/10
to Railo
I've just had a client send out a mass newsletter email, and as far as
I can see it seems to be working ok under .020 - I was able to see the
tasks in the admin as they ran, and watched them get removed as they
(hopefully) completed successfully.

I still have the issue on the other site with PDF attachments, but the
new spooler system seems to solve the issue from .019.

Gary

Michael Offner

unread,
Sep 1, 2010, 10:02:49 AM9/1/10
to ra...@googlegroups.com
still missing your mail, have you send to <cfset susi="@"> michael#susi#getrailo.com?

/micha

Gary Stanton

unread,
Sep 1, 2010, 10:29:53 AM9/1/10
to Railo
Hi Micha,

That's right it's definitely sent to the correct address - do you have
a spam filter perhaps?

Gary

Michael Offner

unread,
Sep 1, 2010, 10:41:10 AM9/1/10
to ra...@googlegroups.com
have found it

Michael Offner

unread,
Sep 1, 2010, 11:13:08 AM9/1/10
to ra...@googlegroups.com
yes the attachment was the problem, railo failed to store a mail task with attachment correctly, we have fixed this for next release 021 available this week.

/micha

Gary Stanton

unread,
Sep 1, 2010, 11:17:08 AM9/1/10
to Railo
Great, thanks.

Gary

spills

unread,
Sep 18, 2010, 6:58:40 PM9/18/10
to Railo
Any news on 021 release?

denstar

unread,
Sep 18, 2010, 10:14:17 PM9/18/10
to ra...@googlegroups.com
On Sat, Sep 18, 2010 at 4:58 PM, spills wrote:
>
> Any news on 021 release?

You can always get the railo-build project off of github and build the
latest bloody edged build yourself now.

:Den

--
The spirit of moderation should also be the spirit of the lawgiver.
Charles de Montesquieu

spills

unread,
Sep 18, 2010, 10:49:57 PM9/18/10
to Railo


> You can always get the railo-build project off of github and build the
> latest bloody edged build yourself now.
>
I am on a winbox and I don't have a clue how to however, point me to a
how to and I will give it a shot!

Todd Rafferty

unread,
Sep 19, 2010, 8:59:10 AM9/19/10
to ra...@googlegroups.com
*cue cfdistro* ;)

Russ Michaels

unread,
Sep 19, 2010, 11:42:31 AM9/19/10
to ra...@googlegroups.com
i keep seeing this mentioned, what is it? a cfwheels distribution according to google, not sure how that relates to Railo installers ?
--
---
Russ Michaels
my blog: www.michaels.me.uk
www.cfmldeveloper.com - free CFML hosting for developers
www.bluethunderinternet.com - professional ColdFusion and Railo hosting


denstar

unread,
Sep 19, 2010, 12:00:48 PM9/19/10
to ra...@googlegroups.com
On Sun, Sep 19, 2010 at 6:59 AM, Todd Rafferty wrote:
> *cue cfdistro* ;)

LOL! Indeed:

http://github.com/denuno/railo-build

A cfdistro-powered build script for a "one-command, build railo from
source" type of deal.

It's teh awesome, but I could also just upload the compiled rc file
somewhere. :)

:Den

--
The sublimity of administration consists in knowing the proper degree
of power that should be exerted on different occasions.
Charles de Montesquieu

denstar

unread,
Sep 19, 2010, 12:20:17 PM9/19/10
to ra...@googlegroups.com
On Sun, Sep 19, 2010 at 9:42 AM, Russ Michaels wrote:
> i keep seeing this mentioned, what is it? a cfwheels distribution according
> to google, not sure how that relates to Railo installers ?

The cfdistro project is a tool for building/installing/deploying CFML
apps (and apparently, it works for other things too ;]).

The cfwheelsdro project is an example of cfdistro use, and lets you do
stuff like pull the latest wheels source from version control and run
tests kinda automated-like. I've actually got cfdistro'ed projects of
most the major frameworks, because cfdistro makes testing the same
code on Railo, OpenBD, and AdobeCF a snap.

It takes care of datasources, mappings, debugging settings, caching
settings, blah blah blah.

For Railo, it can do things like compile the CFML as part of a build,
without you having to do any painful copying and pasting/renaming of
files or whathaveyou. Easily makes .RA files, even.

Here's a link to cfdistro's source:

https://www.assembla.com/code/cfdistro/subversion/nodes/trunk

Real Soon Now there will actually be some documentation, too!

:Den

--
The tyranny of a prince in an oligarchy is not so dangerous to the
public welfare as the apathy of a citizen in a democracy.
Charles de Montesquieu

Reply all
Reply to author
Forward
0 new messages