Janos BEKESI | 1 Jun 12:36

Re: xmlrpc-troubles (revisited)

Hi Hannes,

Finally there was some time to evaluate your suggestions, but alas, it 
did not work. So this time I enclose a tiny app to verify my findings. I 
  used the xmlrpc example from Michi Platzers helma Doc (p. 50, chapter 
Extensions).

My helma setup: windows xp, helma 1.5.0 (most recent from helma.org), 2 
apps with mountpoints /xr and /d6 in apps.properties, http: port 8080, 
xmlrpc: port 8081.

In the example app, helma is its own xmlrpc client and looks for both 
old and new style xmlrpc endpoints. While the old style works fine, the 
new style seems not to return valid xmlrpc data, but genuine http.

Or perhaps I did not understand how the new style xmlrpc does work.

thanks,

Janos

Hannes Wallnoefer wrote:
> Hi Janos,
> 
> the "old" way of serving XML-RPC with Helma, i.e. starting a dedicated
> XML-RPC web server and enabling XML-RPC endpoints using the
> XmlRpcAccess property, does not really allow that fine grained routing
> you're trying to do.
> 
> Fortunately, since October 2005, there's a new, more flexible way to
(Continue reading)

Picon

Re: Too many open files

hi list,

Michael Platzer wrote:
> Franz Philipp Moser schrieb:
>>> Yes, we recently had a similar problem during the implementation of geoIP. In our case the error was
caused by opening a file connection for each request. We solved the problem by loading the lookupservice
once into the app.data.
>>>     
>> I don't know if this is the Problem, I'm having a lot of modules on my 
>> server and they all contain a lot of js, skin files, maybe helma doesn't 
>> close them correctly.
>>   
> very very unlikely.

You were right sorry for blaming helma.

>> After checking my app there is no static file that I manually open with 
>> helma.File each request.
>>   
> it doesn't need to be opened via helma.File.
>>> Maybe that helps
>>>     
>> I think there must be some other thing going on :(
>>   
> the linux command 'lsof' is a good tool to find out the open connections 
> on that server.

After playing around with lsof and doing some greps I found out that I 
had about 50 Open pop3 Connection and every minute another one. Looking 
at my cron tab I found an javax.mail getting a connection to my pop 
(Continue reading)

Stefan Rinner | 5 Jun 21:47
Picon

helmalib mail object and sending html-mails and mails containing non ascii7 chars

Hi

I have to build up some small newsletter infrastructure and wanted to  
use Helma - but I don't find anything in the helmaLib Mail objects  
concerning sending html Mails (not my idea) and plain-text mails with  
Unicode - did I miss anything or isn't there anything in the current  
library to faciliate these tasks?

- stefan
Picon

Re: helmalib mail object and sending html-mails and mailscontaining non ascii7 chars

Hi Stefan,
 
With sending html mail I think that email apps handle it through having mime html parts, so you probably want to have a look here: http://helma.org/stories/47602/ 
and I think this might be some info about it html email in general from ietf here:  http://dsv.su.se/jpalme/ietf/mhtml.html
 
I guess its just an attachment really, so all you  should need to do is create the html text however you like and then just attach it to the email with the correct mime settings.
 
With unicode in an email body, not sure how that shoudl work, but maybe this rfc might help? http://coders.meta.net.nz/~perry/rfc/index-1642.html 
 
Maks.



Maksim Lin
Multimedia Systems Developer

National Gallery of Victoria
PO Box 7259 St Kilda Road VIC 8004 Australia
Telephone: +61 3 8620 2363
Fax: +61 3 8620 2530
www.ngv.vic.gov.au

Want to find out more about the NGV's exhibitions, news and events?
Subscribe to NGV <at> RT, the free monthly e-newsletter.

Yinka Shonibare, video still from Un ballo in maschera (A masked ball) 2004 (detail) © Yinka Shonibare, courtesy of James Cohan Gallery, New York

DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for helma-user <at> helma.org.  If you are not the named addressee you should not disseminate, distribute, copy or alter this email.  WARNING: Although the National Gallery of Victoria has taken reasonable precautions to ensure no viruses are present in this email, the organisation cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

From: helma-user-bounces <at> helma.org [mailto:helma-user-bounces <at> helma.org] On Behalf Of Stefan Rinner
Sent: Tuesday, 6 June 2006 5:48 AM
To: helma-user <at> helma.org
Subject: [Helma-user] helmalib mail object and sending html-mails and mailscontaining non ascii7 chars

Hi

I have to build up some small newsletter infrastructure and wanted to 
use Helma - but I don't find anything in the helmaLib Mail objects 
concerning sending html Mails (not my idea) and plain-text mails with 
Unicode - did I miss anything or isn't there anything in the current 
library to faciliate these tasks?


- stefan
_______________________________________________
Helma-user mailing list
Helma-user <at> helma.org
http://helma.org/mailman/listinfo/helma-user

_______________________________________________
Helma-user mailing list
Helma-user <at> helma.org
http://helma.org/mailman/listinfo/helma-user
Picon

helma Lib Object duplication

Hi,
 
Not sure if this has been discussed before, but I was wondering why some of the "helmaLib" objects (File, Mail) have an almost identical Java implementation in helma.scripting.rhino.extensions ?
If the Java implentations are legacy code and the helmaLib objects are the preferred ones to use, then maybe it would be a good idea to deprecate them?
 
This can be a bit confusing as I found out today, since if you're not paying attention, you might think you are using the helmaLib (helma.File) implementation but instead are actually using the Java implmentation.
 
Also I'd like to contribute some docs for the File object (either java or js one) - whats the best way to do that, just add a comment on the refence page for File Object on the website?
 
thanks,
 
Maks.
_______________________________________________
Helma-user mailing list
Helma-user <at> helma.org
http://helma.org/mailman/listinfo/helma-user
Chris Zumbrunn | 6 Jun 10:49
Picon

Re: helma Lib Object duplication

On Jun 6, 2006, at 2:35 AM, Maksim Lin for technical support mailling lists wrote:

Hi,
 
Not sure if this has been discussed before, but I was wondering why some of the "helmaLib" objects (File, Mail) have an almost identical Java implementation in helma.scripting.rhino.extensions ?
If the Java implentations are legacy code and the helmaLib objects are the preferred ones to use, then maybe it would be a good idea to deprecate them?
 
This can be a bit confusing as I found out today, since if you're not paying attention, you might think you are using the helmaLib (helma.File) implementation but instead are actually using the Java implmentation.

Correct. How to go about this transition has not been discussed explicitly, but I think the understanding is that the Java implementations are not considered deprecated for Helma 1.5. For Helma 1.6 we might get there. The Java implementations will most likely stay in Helma 1 and be gone in Helma 2.

Also I'd like to contribute some docs for the File object (either java or js one) - whats the best way to do that, just add a comment on the refence page for File Object on the website?

Yes, I'll move it around to the right place afterwards. I'm moving the entire documentation around right now anyway.

Chris
_______________________________________________
Helma-user mailing list
Helma-user <at> helma.org
http://helma.org/mailman/listinfo/helma-user
Paul Alexandrow | 6 Jun 11:05
Picon

Re: helmalib mail object and sending html-mails and mails containing non ascii7 chars

hi stefan,

funny coincidence: i wrote a helma based newsletter application last
week. the most important features are:

* multiple categories user can subscribe to
* html/plain (not my idea either :) or plain only messages
* archive of messages (+= edit and save them online before sending)
* automatic inline pictures for html via macro

i planned to give this to the public anyway, but at its current state
it's only usable within the framework of the customer i wrote it for.
therefore, it's pobably another couple of weeks, before I have a
standalone version ready.

but if you're interested you can drop me a line and i'll send you the
parts responsible for composing and sending the html mails. it's only a
view lines of code.

-paul

Stefan Rinner wrote:
> Hi
> 
> I have to build up some small newsletter infrastructure and wanted to  
> use Helma - but I don't find anything in the helmaLib Mail objects  
> concerning sending html Mails (not my idea) and plain-text mails with  
> Unicode - did I miss anything or isn't there anything in the current  
> library to faciliate these tasks?
> 
> 
> - stefan
> _______________________________________________
> Helma-user mailing list
> Helma-user <at> helma.org
> http://helma.org/mailman/listinfo/helma-user
> 
Hannes Wallnoefer | 6 Jun 13:43
Picon
Gravatar

Re: xmlrpc-troubles (revisited)

Hi Janos,

2006/6/1, Janos BEKESI <bekesi <at> permalink.info>:
>
> In the example app, helma is its own xmlrpc client and looks for both
> old and new style xmlrpc endpoints. While the old style works fine, the
> new style seems not to return valid xmlrpc data, but genuine http.

The way I understand this, you should change your new style code into
the following to make this work:

        var clientNewStyle = new
Remote("http://localhost:8080/xr/api/demoXmlRpcServer2");
        var obj = clientNewStyle("someMethodName");

"someMethodName" is the XML-RPC method name and will be passed as
first argument to function demoXmlRpcServer2_action_xmlrpc.

Hope my code is correct and helpful.

hannes
Hannes Wallnoefer | 6 Jun 22:22
Picon
Gravatar

helma 1.5.0 out

Hi lists,

I just uploaded Helma 1.5.0 and updated the download and change log pages:

http://helma.org/download/
http://helma.org/download/changelog/

Download in big numbers and let the feedback and patches come.

hannes
Favicon
Gravatar

Phobos...

Anyone heard about/tried this?

http://ajaxian.com/archives/sun-announces-ajax-widget-wrapping-and-javascript-app-server

Marcello

Gmane