I'm having a similar problem to the one reported by Thai Huy Chuong on build 15.
I'm running Windows Server 2003 Web Edition and use Remote Desktop Connection to access the machine. I installed AS2 and configured it to successfully test with the mendelson test server. AS2 was still running when I disconnected the remote session (user remained logged in) and let the server run overnight.
8 hrs later when I re-established the connection AS2 was not runnning. When I atempted to restart AS2 the spash screen came up, then nothing.
The logs from evening/morning are as follows (I attempted 2 restarts in the morning):
[May 24, 2007 6:56:39 PM] m-e-c as2 1.0 build 17
[May 24, 2007 6:56:39 PM] (c) 2000-2007 mendelson-e-commerce GmbH Berlin, Germany
[May 24, 2007 6:56:40 PM] HSQL Database Engine 1.8.0 started.
[May 24, 2007 6:56:43 PM] Message queue server is started at localhost.
[May 24, 2007 6:56:46 PM] Message queue set up: #0.0.1035
[May 24, 2007 6:56:48 PM] Keys and certificates loaded from "e:\mec\as2\certificates.p12".
[May 24, 2007 6:56:48 PM] Directory poll manager started.
[May 24, 2007 6:56:48 PM] Directory poll manager: Poll for partner "Data Accuracy Partners" started. Ignore files: "*.tmp,*.temp". Poll interval: 10s
[May 24, 2007 6:56:48 PM] Directory poll manager: Poll for partner "mendelsontest" started. Ignore files: "*.tmp,*.temp". Poll interval: 10s
[May 24, 2007 6:56:48 PM] Directory poll manager: Poll for partner "1SYNC" started. Ignore files: "--". Poll interval: 10s
[May 24, 2007 6:56:49 PM] Server startup in 10109 ms.
[May 25, 2007 8:31:54 AM] m-e-c as2 1.0 build 17
[May 25, 2007 8:31:54 AM] (c) 2000-2007 mendelson-e-commerce GmbH Berlin, Germany
[May 25, 2007 8:31:55 AM] HSQL Database Engine 1.8.0 started.
[May 25, 2007 8:33:23 AM] m-e-c as2 1.0 build 17
[May 25, 2007 8:33:23 AM] (c) 2000-2007 mendelson-e-commerce GmbH Berlin, Germany
[May 25, 2007 8:33:24 AM] HSQL Database Engine 1.8.0 started.
I've already Uninstalled / reinstalled twice and have had the same results.
In addition, when the AS2 server was communicating with the Mendelson test server yesterday I couldn't reach the server at http://localhost/mec_as2/HttpReceiver.
Please help.
Sincerely,
Steve
Steve,
this seems to be the same problem that has been reported in the thread AS2 built 15 some time not run but has not been resolved so far.
Could it be an issue with the remote desktop, I don't know much about this mechanism?
Regards
Heller
I have had similar issues when I shut down my machine without ending the AS2 program. I have found that to get things going again, I have to delete the:
mq_persist_Joram_4.3.22.....
folder and then restart the AS2 program and it starts ok.
I am not that familiar with the inner workings of the program so I can not say what the issue might be, but maybe that'll help the developers.
Regards.
Disconnecting and reconnecting for short periods of time (few minutes) does not cause AS2 to go down.
I deleted mq_persist_Joram_4.3.22..... and it restarted. (Many thanks beckenrod!)
Is there anything important in here?
Steve
Hi,
this directory is used to persist the contents of the send message queue. All send objects (that are queued) are serialized into it. If by some strange reasons the objects stored in this folder could not be deseralized on system restart there should be the error message "Transaction manager could not be started" and m-e-c as2 will not start.
If you delete the directory you will lose the contents of the queue (There will be mainly no messages in the queue if the system is not under high load).
Nothing else will happen, the system will recreate the persist directory on restart.
Does this error message occure?
edit: there exists an architecture image that shows the position of the message queue in m-e-c as2 (MQ-JMS server).
Regards
Heller
I've reset the Remote Connection Timeout parameters to "Never". Start>All Programs>Administrative Tools>Terminal Services Configuration> Right-click on RDP-tcp "Properties", "Sessions" and will monitor the server.
Heller, thanks for the detailed info on the directory. An earlier install threw a similar message:
AgentServer#0initialisation failed: ERROR
java.lang.Exception: Can't start transaction manager
END
I'll let you know if I see it again.
Thanks for your help.
Steve
Heller,
When that happened to me, I did not get an error message like that. In the log it would just show the startup messages like in steve's log. Nothing about the transaction manager.
I can likely replicate this error if you need me to. It seems like it happens all the time if I choose to shut down the machine without choosing File --> Exit from the AS2 menu.
Let me know if I can help more.
beckenrod,
What happened before it shows just the startup message and hangs then? Was it a remote desktop issue in your case, too? Did the system crash somehow before? Did you change the IP address or has there been a network error? Perhaps have a look at the windows system event log.
I hope this is not some windows issue, our testserver runs for a year now with the commercial version of the mendelson as2 server on linux and we never had a problem with it.
Regards
Heller
The AS2 server has stayed up since I reset the session timeout parameter to "Never" (see my post above). I rebooted the box. (Not sure this was necessary though.)
Hello,
I had the problem to start as2 server. Adter clicking the start iocn, it pop up start screen and then a few second, disapper. The log message is as:
[Jun 4, 2007 2:37:59 PM] m-e-c as2 1.0 build 17
[Jun 4, 2007 2:37:59 PM] (c) 2000-2007 mendelson-e-commerce GmbH Berlin, Germany
[Jun 4, 2007 2:38:00 PM] HSQL Database Engine 1.8.0 started.
As2 is installed on wondows xp.
thanks,
dfds2006
Uninstall, and also empty the folder where used to install as2. Then install, it start to work. I do not kno why, you can try and may find the reason.
dfds2006
I have been working with mec as2 for a little longer now and seem to have isolated the issue to the 'lock' file in the mq_persist.... folder.
It seems like when the machine is shut down WITHOUT first stopping mec-as2 or if the machine has a hard crash (power failure), the lock file is left behind in the folder and as2 will not start without it being deleted first.
I think this is the only file that must be removed, but I am still experimenting to make sure.
I am not sure if there is a way to really tell if as2 is running and if not, remove the lock file.
Hope that helps the developers a little bit.
Please let me know if I can help more.
beckenrod,
thank you for this hint. We will have a look on this.
Regards
Heller