Results 1 to 4 of 4

Thread: cannot import "spring-security-2.0.4.xsd" while running with proxy

  1. #1

    Unhappy cannot import "spring-security-2.0.4.xsd" while running with proxy

    Hi,

    When I run Jboss server at work I get some errors. After searching I've located the error its because of the internet proxy settings corresponding xsd file is not importing from net directly while running application. I've run the Jboss server locally at home (no proxy)and found that this indeed was the problem and spring-security-2.0.4.xsd is downloading directly ..

    How do I make Jboss use my http proxy?

    I am using Myeclipse 6.6
    Thanks

  2. #2
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    The file should be in the spring security jar, and is used from there. It shouldn't be downloaded.
    Spring - by Pivotal
    twitter @tekul

  3. #3

    Default

    thanks for the reply sir ,but without proxy when internet is directly connected to ISP i am able to run the application ..but when i use proxy i am not able to run the application then i understood that some xsd files are directly imported when i use no proxy and application runs without exceptions
    can u please provide me jar which contains "spring-security-2.0.4.xsd" file

  4. #4

    Default

    I just spent this afternoon on this issue, so this might help someone else:

    I had the same issue while running GWT in hosted mode on a Jetty webserver.

    You should be 100% sure that your webserver has the spring-security-core-x.y.z.jar on its classpath.

    Then put a breakpoint in PluggableSchemaResolver.getSchemaMapping, that's the place where it resolves XSD schemas from the webserver classpath JARs using META-INF/spring.schemas files.

    META-INF/spring.schemas are contained in either spring-x.y.z.jar and spring-security-core-x.y.z.jar

    Fred

Tags for this Thread

Posting Permissions

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