[ http://jira.codehaus.org/browse/XFIRE-812?page=comments#action_83221 ] 
            
Mark Alan West commented on XFIRE-812:
--------------------------------------

Good morning!

I have a better solution to this problem.

At startup OC4J loads a set of libraries that are not visible as shared 
libraries. These include the "jws-api.jar" library.  This is controlled from 
the "[OC4J Root]\ j2ee\home\oc4j.jar\META-INF\boot.xml".

This jar conflicts with the XFire "xfire-jsr181-api-1.0-M1.jar".

To resolve the XFire / Oracle issue, you can edit this boot.xml file.  Add the 
full path to "xfire-jsr181-api-1.0-M1.jar" to this file.  It should appear 
before the "jws-api.jar" library.  An example of how this will look can be 
found at the bottom of this email.

This is a much better solution that the one I found yesterday as it makes no 
changes to the "jws-api.jar" library.  In addition, both types of JSR 181 
classes are available from the class path.

Once again, this solution will require testing to ensure that it doesn't break 
other functionality, and it should be considered a temporary solution until 
Oracle makes the required changes to OC4J.

Mark.

> Problem to connect to the webservice from the OC4J Container
> ------------------------------------------------------------
>
>                 Key: XFIRE-812
>                 URL: http://jira.codehaus.org/browse/XFIRE-812
>             Project: XFire
>          Issue Type: Bug
>    Affects Versions: 1.2.3
>            Reporter: Victor Dieu
>         Assigned To: Tomasz Sztelak
>         Attachments: full.txt, The Error Message.txt
>
>
> I want to access an external webservice. I've generated a webservice proxy by 
> using XFire. Every thing works fine when I run my client as a standalone 
> client. The problem occurs when I deployed my application to the OC4J 
> application server. The deployment works fine, but when a module tried to 
> access the proxy via a stateful session bean (EJB 3.0), it fails.
> I've tried many different ways to make it works without success. Please help 
> me !!!
> The error message is attached to this message.
> Please send me an email if any one have fixed it...
> I'm standing helpless rite now...
> Waiting desperately for your respons,
> Best regards,
> Victor Dieu

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to