Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 30

Thread: XFire and Spring 2.0 problems

  1. #11
    Join Date
    Nov 2006
    Posts
    4

    Default Problem is gone!

    Today, I have switched back from sping 1.2.8 to sping 2.0 and somehow, the problem is gone and it works. I think it may be caused by unstable Tomcat 5.5.20, which I have used as my server or my unstable eclipse3.2 since I deploy and run Tomcat inside my eclipse.

    So far, I have used following jar files:
    xfire-all-1.2.2.jar; xbean-spring-2.7.jar; xbean-2.1.0.jar ... etc.

  2. #12
    Join Date
    Jan 2006
    Location
    Monterrey, MEXICO
    Posts
    34

    Default

    Quote Originally Posted by peter2liu View Post
    So far, I have used following jar files:
    xfire-all-1.2.2.jar; xbean-spring-2.7.jar; xbean-2.1.0.jar ... etc.
    Where did you find xbean-spring-2.7.jar? I can't seem to find it in neither Spring 2.0 nor XFire 1.2.2

  3. #13
    Join Date
    Nov 2006
    Posts
    4

    Default

    You could find the related xbean2.7-spring.jar and xbean2.7-spring-common.jar at location: http://goopen.org/confluence/display...0/21/XBean+2.7

    or

    http://people.apache.org/repo/m2-ibi.../apache/xbean/

    Cheers!

  4. #14
    Join Date
    Jan 2006
    Location
    Monterrey, MEXICO
    Posts
    34

    Default

    Thanks Peter, I tried with the new versions you kindly provided but I'm still getting that same error when deploying to Weblogic 9.2

    java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory
    at javax.xml.stream.XMLInputFactory.newInstance(XMLIn putFactory.java:136)

    Also the development forums in BEA Support aren't specially helpful , anyway, I'll let you guys know what happens.

  5. #15
    Join Date
    Jan 2006
    Location
    Monterrey, MEXICO
    Posts
    34

    Post

    I recommend to all the people that have problems with XFire and Weblogic 9.2 to post their experiences in the BEA forums:

    http://forums.bea.com/bea/forum.jspa?forumID=2055

    I already posted my own topic, let's see how that goes:

    http://forums.bea.com/bea/thread.jsp...67 #600046867

  6. #16
    Join Date
    Nov 2006
    Posts
    4

    Default

    If I am not mistaken from a BEA-Spring Dev seminar on September, the Weblogic9.2 version is not fully compatible to Spring 2.0 according to BEA's plan. It may be done some time next year by BEA team.

    Cheers.

  7. #17
    Join Date
    Dec 2006
    Posts
    2

    Default Server returned error code = 417 for URI

    I've been having pretty much all of the problems described in this thread, finally somehow i managed it to work on my dev box, now when deploying on the prod box i'm getting a mysterious error:

    org.codehaus.xfire.XFireRuntimeException: Could not invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault\
    : Server returned error code = 417 for URI : http://www.myhost.com/services/AuthorizationService. Check server logs for \
    details
    org.codehaus.xfire.fault.XFireFault: Server returned error code = 417 for URI : http://www.myhost.com/services/Authoriza\
    tionService. Check server logs for details
    at org.codehaus.xfire.fault.XFireFault.createFault(XF ireFault.java:89)
    at org.codehaus.xfire.client.Invocation.invoke(Invoca tion.java:79)
    at org.codehaus.xfire.client.Client.invoke(Client.jav a:335)
    at org.codehaus.xfire.client.XFireProxy.handleRequest (XFireProxy.java:77)
    at org.codehaus.xfire.client.XFireProxy.invoke(XFireP roxy.java:57)
    at $Proxy71.authorize(Unknown Source)




    Anybody, any ideas what that 417 code means? Also, where can i find that server log that i'm supposed to check for more details,
    please help.
    Last edited by dmitryame; Dec 13th, 2006 at 06:34 AM.

  8. #18
    Join Date
    Dec 2006
    Posts
    1

    Default

    i deal the problem by this way ,

    to change the weblogc.xml

    <?xml version="1.0" encoding="ISO-8859-1"?>

    <weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/90">
    <context-root>/</context-root>
    </weblogic-web-app>

    this is the weblogic 9.2 new format.

    then i resolved the problem.

    but i can't to shure it 's suit for you .

  9. #19
    Join Date
    Nov 2006
    Location
    Boston, US
    Posts
    167

    Default

    taking xfire 2.7 from their website solved all my problems

  10. #20
    Join Date
    Jan 2006
    Location
    Monterrey, MEXICO
    Posts
    34

    Default

    XFire 2.7? Where did you get that? The newest they have in their website is 1.2.2.

    :P

Posting Permissions

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