Discussion
  • SSO with Java not using XFire?

    Has anyone implementeSSO with Java not using XFire, is there any sample code? It's pretty much impossible for me to get XFire to work under Weblogic 10 during to conflicts with XML parsers that are part of Weblogic and conflict with classes used in XFire.

    • Profile Image
    • By dschmidt
    • New Kicker
    • 1 year ago
    • 1 Post
      • dschmidt's stats:
      • New Kicker
      • 290points
      • Age: 41
Recent Replies
  • Re: SSO with Java not using XFire?

    Hi

    Had the exact same problem in oracle app server. But did a couple of things.

    first I upgraded to latest xfire libraries. Did also consider moving to CXF but skipped it, due to risk wasting time on incompatibilities.

    In a pom.xml the xfire-dependencies to 1.2.6 are given as

      <dependency>
       <groupId>org.codehaus.xfire</groupId>
       <artifactId>xfire-jaxb2</artifactId>
       <version>1.2.6</version>
      </dependency>
      <dependency>
       <groupId>org.codehaus.xfire</groupId>
       <artifactId>xfire-spring</artifactId>
       <version>1.2.6</version>
      </dependency>
      <dependency>
       <groupId>org.codehaus.xfire</groupId>
       <artifactId>xfire-java5</artifactId>
       <version>1.2.6</version>
      </dependency>

     

    But most important. in the container-specific deployment descriptor, (orion-web.xml) I set

     <web-app-class-loader search-local-classes-first="true" />

    In the corresponding weblogic.xml there is an element

    prefer-web-inf-classes

    The <prefer-web-inf-classes> element, if set to true, will cause classes located in the WEB-INF directory of a Web application to be loaded in preference to classes loaded in the application or system classloader. The default value is false. A value specified in the console will take precedence over a value set manually.

     

    Try setting this to true

    • Profile Image
    • By geirwr
    • New Kicker
    • 9 months ago
    • 1 Post
      • geirwr's stats:
      • New Kicker
      • 310points
      • Age: 22
  • Re: SSO with Java not using XFire?

    Awesome! Thanks geirwr! I'm not too familiar with Java so I'm not sure how this will work out, please let me know!
    Thanks, Danny

    • Profile Image
    • By DannyM
    • KickApps Employee
    • 9 months ago
    • 1922 Posts
      • DannyM's stats:
      • KickApps Employee
      • 41535points
      • Age: 23
      • AIM: DannyM's AIM
      • Skype: DannyM's Skype

Terms of Service

Manage Members mock rpx login link