#65 Adding a datastream fails with RC=503

Fedora 2.2.1
closed-fixed
Bill Branan
5
2008-07-17
2008-04-09
torrentg
No

When I adds a big datastream (3.1 Gb) of type 'M' using the administrator utility shows the following error after some minutes:
(503) Service Temporarily Unavailable

Seems a problem due to a timeout. I tried to changed and recompiled the timeout values located in files APIxStubFactory.java and FedoraAPIxServiceLocator but this don't work.

Discussion

  • E S
    E S
    2008-04-23

    Logged In: YES
    user_id=487398
    Originator: NO

    Could confirm if you get the same error against 2.2.2?

     
  • torrentg
    torrentg
    2008-04-25

    Logged In: YES
    user_id=1105118
    Originator: YES

    Confirmed. The same error appears using 2.2.2
    The error trace is:

    log4j:WARN No appenders could be found for logger (fedora.client.LoginDialog).
    log4j:WARN Please initialize the log4j system properly.
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (503)Service Temporarily Unavailable
    faultActor:
    faultNode:
    faultDetail:
    {}:return code: 503
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>503 Service Temporarily Unavailable</title>
    </head><body>
    <h1>Service Temporarily Unavailable</h1>
    <p>The server is temporarily unable to service your
    request due to maintenance downtime or capacity
    problems. Please try again later.</p>
    <hr>
    <address>Apache/2.2.8 (Fedora) Server at localhost Port 8015</address>
    </body></html>

    {http://xml.apache.org/axis/}HttpErrorCode:503

    (503)Service Temporarily Unavailable
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at fedora.server.management.FedoraAPIMBindingSOAPHTTPStub.addDatastream(FedoraAPIMBindingSOAPHTTPStub.java:953)
    at fedora.client.APIMStubWrapper$9.construct(APIMStubWrapper.java:764)
    at fedora.client.SwingWorker$2.run(SwingWorker.java:117)
    at java.lang.Thread.run(Thread.java:619)

     
  • Bill Branan
    Bill Branan
    2008-07-11

    Logged In: YES
    user_id=1987639
    Originator: NO

    Investigated in task 149640, determined to be an error due to socket timeout. The socket timeout in FedoraClient has been updated to 30 minutes and a test adding a 5GB datastream was added to verify a successful completion. These changes were added to trunk, they still need to be migrated to the maintenance branch.

     
  • Bill Branan
    Bill Branan
    2008-07-17

    Logged In: YES
    user_id=1987639
    Originator: NO

    Timeout updated and test added to maintenance branch in task 149933.

     
  • Bill Branan
    Bill Branan
    2008-07-17

    • assigned_to: nobody --> bbranan
    • status: open --> closed-fixed