Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: HTTP 403 on Schemas?

  1. #1
    Join Date
    May 2012
    Posts
    4

    Default HTTP 403 on Schemas?

    Is there a reason why the http://www.springframework.org/schema/beans, for example is returning a 403? Is something down for maintenance?

  2. #2
    Join Date
    Jun 2006
    Location
    Curacao, Netherlands Antilles
    Posts
    22

    Default

    I am having the same issue. The site seems to be down.
    Curacao

  3. #3
    Join Date
    May 2012
    Posts
    4

    Smile

    Quote Originally Posted by Curacao View Post
    I am having the same issue. The site seems to be down.
    Curacao, We have same problem.. Is is already fixed? Can someone fix it so we can access. Please. Thanks
    Do you want to save money and help our environment?
    You should use Bicycle and Insect Longboards.

  4. #4
    Join Date
    May 2012
    Posts
    4

    Unhappy

    What happen to this?

    Forbidden

    You don't have permission to access /schema/beans on this server.
    Apache/2.2.3 (CentOS) Server at www.springframework.org Port 80
    Last edited by a4techjames; May 20th, 2012 at 05:25 PM.
    Do you want to save money and help our environment?
    You should use Bicycle and Insect Longboards.

  5. #5
    Join Date
    May 2012
    Posts
    4

    Default

    I guess to get around this problem in the future, one should retain a mirror of the schemas?

  6. #6
    Join Date
    May 2012
    Posts
    4

    Default

    Yes that is what I guess. It also need maintenance.
    Do you want to save money and help our environment?
    You should use Bicycle and Insect Longboards.

  7. #7
    Join Date
    May 2009
    Posts
    7

    Default

    We didn't realise there was a runtime dependency on these schemas. It is obvious now, but looking at the number of examples which use the http location of the schemas we might just see a stack of production systems hit if they are restarted. In hindsight the schemas should be distributed with core Spring, or at least made available as part of the application rather than depending on Internet access.

  8. #8
    Join Date
    May 2012
    Posts
    4

    Default

    Quote Originally Posted by cheetah100 View Post
    We didn't realise there was a runtime dependency on these schemas. It is obvious now, but looking at the number of examples which use the http location of the schemas we might just see a stack of production systems hit if they are restarted. In hindsight the schemas should be distributed with core Spring, or at least made available as part of the application rather than depending on Internet access.
    I only saw it this afternoon while trying to launch an application which uses OXM. If anyone cares:

    http://stackoverflow.com/questions/1...net-connection

    e: I managed to get around this by ensuring I had updated all the schemaLocation versions to ones which had entries contained within the various META-INF/spring.schemas files that come with the spring JARs. It seems like the way schemaLocation works is by checking first whether specified location is valid, and if not, then checking the spring.schemas file to see if the XSD can be resolved from the classpath. In the event that the schema can be resolved from the classpath, you don't have failure to launch; however, if the version is missing from spring.schemas AND the URL is inaccessible, then you will see failure on startup.

    The reason I was having problems with my application is because I was referencing an ancient v1.5 of the OXM schema, which was no longer contained in spring.schemas; hence failure. To fix this, I either left the version unspecified as part of the URI, or specified a version that was listed in the metadata and bundled with the JAR.

    Still, why is this service unavailable?
    Last edited by mkuredjian; May 20th, 2012 at 10:24 PM.

  9. #9
    Join Date
    May 2012
    Posts
    3

    Default

    Quote Originally Posted by cheetah100 View Post
    We didn't realise there was a runtime dependency on these schemas. It is obvious now, but looking at the number of examples which use the http location of the schemas we might just see a stack of production systems hit if they are restarted. In hindsight the schemas should be distributed with core Spring, or at least made available as part of the application rather than depending on Internet access.
    Hi,

    We have encountered this exact scenario in Production. Two of our WebSphere nodes have been restarted, however Spring MVC fails to launch our application.

    Will whatever change was made, be undone?

    Thanks,
    Pete

  10. #10
    Join Date
    Jun 2008
    Posts
    10

    Default

    Hello,

    Will the different schemas be available soon on the site or should we find another solution ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •