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

Benson Margulies commented on CXF-1459:
---------------------------------------

It's not just class.forName. Once you have the Class object, you have to do the 
moral equivalent of instanceof without actually using instanceof, or this whole 
class will fail to load.

> 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: Improvement
>    Affects Versions: 2.0.4
>            Reporter: Tom Schroedl
>            Assignee: Benson Margulies
>         Attachments: HttpsURLConnectionFactory.patch
>
>
> 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.

Reply via email to