Running mec as2 as a server

Dawid,
even if m-e-c as2 seems to be a desktop application it is just a monitoring and configuration GUI on top of a stand alone server. This server polls for files in special directories (partner specific).
Received files will put into inbox directories, also partner specific.
Does this help or would you like to run the server on a system that has not even an Xwindows installed?
Regards
Heller

Hi i hav installed m-e-c from internet n its GUI screen is commin with which i m able to send the file. but how to read this file now n where this file is physically located.....
thanx in advace for answering my Querries n if u hav ne other tips for me regarding m-e-c-AS2 u r welcome :-)
To quote the Xvnc man page:
Xvnc is the X VNC (Virtual Network Computing) server. It is based on a standard X server, but it has a "virtual" screen rather than a physical one. X applications display themselves on it as if it were a normal X display, but they can only be accessed via a VNC viewer - see vncviewer(1).
So Xvnc is really two servers in one. To the applications it is an X server, and to the remote VNC users it is a VNC server. By convention we have arranged that the VNC server display number will be the same as the X server display number, which means you can use eg. snoopy:2 to refer to display 2 on machine "snoopy" in both the X world and the VNC world.
The best way of starting Xvnc is via the vncserver script. This sets up the environment appropriately and runs some X applications to get you going. See the manual page for vncserver(1) for more information.

my feeling is that Xvnc doesn't solve the basic problem;
in fact, we tried it ..and ..
when you stop the machine with X11, where the virtual screen has been running, automatically the process running on the server (machine without X11) deads ...
this means that we need to maintain alive TWO MACHINES instead of only one !
If am am wrong, please clarify me ..
thanks .

tukeme,
our dedicated AS2 test server runs with the same configuration using xvnc and we have no problem.
As nschmidt wrote, xvnc acts as xserver to the application. You redirect the m-e-c as2 output to the xvnc. From outside you just need to have a VNC client to access this screen.
That means, there are not two machines to maintain. On the client machine you just need a VNC client, could be any OS. On the server machine without Xwindows you install m-e-c as2 and xvnc.
Regards
Heller
I realize this post is a bit outdated but i happened to stumble across it when looking for a way to run without display.
I solved this for us (on linux that is):
1. install Xvfb
2. go to runlevel 3 (no x server should be running)
3. run $ /usr/bin/Xvfb :0.0 (from an init.d script or with nohup etc, whatever suits you)
4. you might need to set xhost (xhost + ipaddress or just xhost + all together :P)
before you start mec-as2:
5. export DISPLAY=:0.0 (or whatever you set the display to in step 3)
6. start mec-as2
and off you go...
Hi all,
My AS2 connection is ok, mec_as2 works very well between my two partners.
Only one issue :
Mec_as2 seem to stop working it seem having a time out so every days a must restart mec_as2 to get all files.
I don't know how to make it run in background.
Thanks a lot for you answers!

Hi heller,
mec_ as2 no longer poll directories/accept messages.
When the interface is openned , all is ok (https tranmissions). After on day for example, when a come back to the server (windows) i find mec_as2 interface closed, and that's the reason why the files sent by a partners aren't received.
mec-as2 is on a windows server and i'm accession via microsoft terminal server. After a time the soft mec is closed like if someone was closing the window of mec-as2 (but nobody touch this).
It seem to have a time out or something like that.

© 1999-2008 mendelson-e-commerce GmbH. All right reserved.
Hello,
I would like to run mec as2 as a server on Linux. The problem I see is that it is a desktop application, while I would need it to run in some kind of batch mode - automaticly take files from some place and send them to partners, receive files from partners and put them to some place.
Do you know any way to make it possible except taking sources from CVS and introducing modifications required to fulfill my requirements? If it is possible to do this only by source code modifications, then could you please provide some documentation about general source tree overview so I could easly find the classes I need to build up such a solution?
Best regards,
Dawid Duda