facebook

Error initializing XFireServlet in webphare 6.x

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #284517 Reply

    wavstudio
    Member

    hi,
    i have create a web service project with xfire,in tomcat 5.5,it works fine.
    now i want to deploy this project to websphare,but xfire can’t start,the log is
    Error initializing XFireServlet,i find some method from internet and try to solve
    this problem.i think this caused by jdom of websphare,and i find that if i replace
    jdom.jar of websphare with jdom1.0.jar,the project works fine,but in my project,
    the replacement is not allowed.i also try to solve this problem by set the classload
    method of application to PARENT_LAST according the statement in manual of xfire
    ,but always i get the same error message in log of websphare.

    my environment is:
    windows xp,jdk 1.4,myeclipse 5.5.1 GA,websphare 6.x,xfire 1.2.6

    can you tell me what can i do to solve this problem?

    #284520 Reply

    Loyal Water
    Member

    Can you upgrade to MyEclipse Eclipse 6.0.1 and test this again. I just checked the XFire Libraries in MyEclipse 6.0.1 and saw the jdom1.0.jar in the list. I guess upgrading to MyEclipse 6.0.1 should fix this issue.

    #284535 Reply

    wavstudio
    Member

    i don’t think your solution can solve this problem,because the key point of the problem is version conflict between jdom.jar of websphare and jdom1.0.jar,if i replace jdom.jar of websphare with jdom1.0 or simply remove jdom.jar of
    websphare,my project works fine,but these change are not allowed in my project.

    #284586 Reply

    Loyal Water
    Member

    Im sorry you ran into this issue but I just checked with my dev team and it seems like this is an XFire/WebSphere issue and the workaround that you have tried is the only one we are aware of. A while ago another user had the same issue and changing the classloader priority (like you did) DID fix the problem… so you might have just typed it wrong or something? You should double check the settings in websphere again.

    #284932 Reply

    wavstudio
    Member

    thanks for your help,i have solved this issue.my solution is:
    1.set the class load policy of application to PARENT_LAST
    2.add two shared library named jdom1.0 and jaxen and set their class path to the absolutely path of jar file
    3.set library reference of application to these two shared library.

    #284946 Reply

    Loyal Water
    Member

    Thank you for posting the solution.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Error initializing XFireServlet in webphare 6.x

You must be logged in to post in the forum log in