cant open in browser

You are here

cant open in browser

10 posts / 0 new
Last post
Eugene
Eugene's picture
cant open in browser

hello Heller

I found very starnge problem, that never occures earlier.
When i go to http://localhost:8080/mec_as2/HttpReceiver,
in browser, i got

SERVICE_UNAVAILABLE
HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/mec_as2/HttpReceiver

Powered by jetty://

What can be wrong in my case?

Thanks
Eugene

heller
heller's picture

Eugene,

Does there occure an extract error on startup of jetty (of the mec_as2.war)? I think jetty will extract the war to a /tmp directory (on linux), do you have all the rights on this directory?

Regards
Heller

Eugene
Eugene's picture

It occures during application start. After i started AS2.exe, i get this error in browser and i cant receive files. Sending works correctly. I tested it on Windows.
Maybe there are some security problems for jetty server start (firewall or something else)?

Thanks
Eugene

heller
heller's picture

Eugene,

I had a look at severeal forums for jetty but found nothing about it, sorry.

Sending as2 message is not depending on the receipt servlet, if you are only sending as2 messages with sync MDN you do not even need to start jetty.

Sorry, no idea. Anybody else who has/had this problem?

Regards
Heller

steveo
steveo's picture

My AS2 server is successfully sending files to mendlesontest and receiving MDNs. When I try to access http://localhost:8080/mec_as2/HttpReceiver I get:

HTTP Status 404 - /mec_as2/HttpReceiver
type Status report
message /mec_as2/HttpReceiver
description The requested resource (/mec_as2/HttpReceiver) is not available.

Apache Tomcat/5.0.28

I checked the jetty.xml file and it seems to be set at port 8080 SystemProperty name="jetty.port" default="8080"

steveo
steveo's picture

(disregard)

steveo
steveo's picture

When I stopped Tomcat and started MEC AS2 I could see the MEC pages in the browser.

heller
heller's picture

steveo,

thank you for this hint. Please have a look at the thread port usage for a list of ports used by m-e-c as2.

Regards
Heller

Rahul
Rahul's picture

Hi Heller -

The link you provided for "Port usage" dosent work.
Is it possible to configure Mendelson AS2 on a different port other than 8080?

heller
heller's picture

Rahul,

its about 3 years old. Here is the actual link:

http://community.mendelson-e-c.com/node/128

Regards
Heller