Cyclos and FTP

Functionality discussions and feature requests

Moderators: hugo, alexandre, rmvanarkel

Post Reply
Ber|Art
Posts: 7
Joined: Thu May 12, 2005 3:24 am
Location: the Netherlands
Contact:

Cyclos and FTP

Post by Ber|Art »

Hi, it seems that Cyclos does not like some files to be changed via FTP Is it possible to find out what files can be changed, or is it possible to make a module to putt all changed files in a special folder and that this changes will activate with a the next restart of Cyclos?

Right now, it goes as follows:
- Customer logs in via FTP and changes a file
- Cyclos is crashing after this change.
- Because Cyclos is craching, Tomcat can crash in some cases also
- Bacause Tomcat is crashing all other Cyclos applications on the same server are down

I know that most customers have to change files, but how can we solve this problem?

Details:
Server: Dell PE 2450 Dual PIII 866/1GB SDRAM
OS: FreeBSD 5.4 Stable
Tomcat: http://server.ber-art.nl:8080 (v5.5.7)
Cyclos: v20050725
Examples: http://bancbarter.com, http://terrabanc.org
A.J.M. Pelser, Ber|Art V i s u a l ¤ D e s i g n
WEBHosting and CyclosHosting
Site: http://www.ber-art.nl ¤ Mail: info@ber-art.nl
Tel: +31-161-413037 ¤ Fax: +31-161-413217

hugovanderzee
Posts: 98
Joined: Wed Apr 06, 2005 9:56 am

Post by hugovanderzee »

The only pages that should be changed are the .jsp (layout) and .properties (translation) pages.
Changing the .jsp pages cannot make cyclos or tomcat crashing because Cyclos does not access those pages (only reads the recompiled pages in the work directory of tomcat)
I might be that on-line editing of the properties files are causing the problems. Just a guess. We are always replace the properties files.

To avoid problems we ask the customers with a cyclos instance to check the changes first locally and than send us the files. Maybe this is to much hassle for you. You could limit the acces the the pages directory and ask to have the changes to the properties files send to you.

Hope this helps. It would be interesting to have a good look at tomcat logs to see where it goes wrong.
Hugo van der Zee
Cyclos development team

Ber|Art
Posts: 7
Joined: Thu May 12, 2005 3:24 am
Location: the Netherlands
Contact:

Post by Ber|Art »

Hope this helps. It would be interesting to have a good look at tomcat logs to see where it goes wrong.
I will try to get them for you. My system engineer is reading this topic too, so I will discuss your sollutions with him, Thx! for your help!
A.J.M. Pelser, Ber|Art V i s u a l ¤ D e s i g n
WEBHosting and CyclosHosting
Site: http://www.ber-art.nl ¤ Mail: info@ber-art.nl
Tel: +31-161-413037 ¤ Fax: +31-161-413217

Ber|Art
Posts: 7
Joined: Thu May 12, 2005 3:24 am
Location: the Netherlands
Contact:

Post by Ber|Art »

Is it possible to restart Cyclos with a script?
Is it possible to remotely monitor if Cyclos is up, like a ping monitor?
A.J.M. Pelser, Ber|Art V i s u a l ¤ D e s i g n
WEBHosting and CyclosHosting
Site: http://www.ber-art.nl ¤ Mail: info@ber-art.nl
Tel: +31-161-413037 ¤ Fax: +31-161-413217

niek
Posts: 77
Joined: Sat Sep 24, 2005 11:51 am
Location: The Netherlands
Contact:

Post by niek »

FYI, I only have changed one .jsp file in our site (keerkring).

Ber|Art
Posts: 7
Joined: Thu May 12, 2005 3:24 am
Location: the Netherlands
Contact:

Post by Ber|Art »

That should not be the problem if I understand it correctly :) Thx!
A.J.M. Pelser, Ber|Art V i s u a l ¤ D e s i g n
WEBHosting and CyclosHosting
Site: http://www.ber-art.nl ¤ Mail: info@ber-art.nl
Tel: +31-161-413037 ¤ Fax: +31-161-413217

Post Reply