cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Schroedl (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1459) ClassCastException occurs on HTTPS web service call made by app deployed to BEA WebLogic 9.2
Date Sun, 02 Mar 2008 01:58:51 GMT

    [ https://issues.apache.org/jira/browse/CXF-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574174#action_12574174
] 

Tom Schroedl commented on CXF-1459:
-----------------------------------

When CXF opens the connection, it casts to javax.net.ssl.HttpsURLConnection

java.lang.Object
  extended by java.net.URLConnection
      extended by java.net.HttpURLConnection
          extended by javax.net.ssl.HttpsURLConnection

However, the Weblogic implementation of JSSE uses

java.lang.Object
  extended by java.net.URLConnection
      extended by java.net.HttpURLConnection
          extended by weblogic.net.http.HttpURLConnection
              extended by weblogic.net.http.HttpsURLConnection
                  extended by weblogic.net.http.SOAPHttpsURLConnection

And so the cast fails.

I tried including the jsse.jar with the webapp and preferring javax.net.*, javax.net.ssl.*,
and javax.security.cert.*, but that gave me the same error.

Is there a programmatic way my webapp can use CXF and get past Weblogic's JSSE implementation?


> ClassCastException occurs on HTTPS web service call made by app deployed to BEA WebLogic
9.2
> --------------------------------------------------------------------------------------------
>
>                 Key: CXF-1459
>                 URL: https://issues.apache.org/jira/browse/CXF-1459
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>            Reporter: Tom Schroedl
>
> HTTPS web service call fails from webapp deployed in ear file to BEA 9.2 with following
error:
> java.lang.ClassCastException: weblogic.net.http.SOAPHttpsURLConnection
>    at org.apache.cxf.transport.https.HttpsURLConnectionFactory.createConnection(HttpsURLConnectionFactory.java:120)
> My weblogic-application.xml contains:
> <prefer-application-packages>
>    <package-name>javax.jws.*</package-name>
> </prefer-application-packages>
> The secure web service call works in Tomcat 5.5.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message