Topic
  • 3 replies
  • Latest Post - ‏2013-01-02T07:56:42Z by bpaskin
SystemAdmin
SystemAdmin
37422 Posts

Pinned topic java.lang.IllegalStateException: Failure initializing default SSL context

‏2012-12-31T11:34:14Z |
Hi

I am getting an error when i tried to connect using httpclient.

R java.lang.IllegalStateException: Failure initializing default SSL context
12/31/12 16:45:14:268 IST 0000003e SystemErr R at org.apache.http.conn.ssl.SSLSocketFactory.createDefaultSSLContext(SSLSocketFactory.java:211)
12/31/12 16:45:14:268 IST 0000003e SystemErr R at org.apache.http.conn.ssl.SSLSocketFactory.<init>(SSLSocketFactory.java:333)
Caused by: java.security.NoSuchAlgorithmException: Class com.ibm.jsse2.ac$a_ configured for a KeyManagerFactory: not a KeyManagerFactory

My application server is Websphere 6.1.
Can any one help me

Jim
Updated on 2013-01-02T07:56:42Z at 2013-01-02T07:56:42Z by bpaskin
  • bpaskin
    bpaskin
    4058 Posts

    Re: java.lang.IllegalStateException: Failure initializing default SSL context

    ‏2012-12-31T12:41:44Z  
    Hi, Are you overriding the built in properties in the application or have some other security jars from a non IBM JDK in the application?

    Regards,
    Brian
  • SystemAdmin
    SystemAdmin
    37422 Posts

    Re: java.lang.IllegalStateException: Failure initializing default SSL context

    ‏2013-01-02T06:53:56Z  
    • bpaskin
    • ‏2012-12-31T12:41:44Z
    Hi, Are you overriding the built in properties in the application or have some other security jars from a non IBM JDK in the application?

    Regards,
    Brian
    Using following Jars in the application.
    Also setting the class loading priority in server.Pleas refer attached iamge
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.dbcp</artifactId>
    <version>1.2.2.osgi</version>
    </dependency>
    <dependency>
    <groupId>org.junit</groupId>
    <artifactId>com.springsource.org.junit</artifactId>
    <version>4.7.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.log4j</groupId>
    <artifactId>com.springsource.org.apache.log4j</artifactId>
    <version>1.2.15</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.logging</artifactId>
    <version>1.1.1</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.validator</artifactId>
    <version>1.3.1</version>
    </dependency>
    <dependency>
    <groupId>org.aspectj</groupId>
    <artifactId>com.springsource.org.aspectj.runtime</artifactId>
    <version>${aspectj.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.core</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.test</artifactId>
    <version>${spring.version}</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aspects</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.transaction</artifactId>
    <version>3.0.2.RELEASE</version>
    <exclusions>
    <exclusion>
    <groupId>javax.transaction</groupId>
    <artifactId>com.springsource.javax.transaction</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>com.lowagie</groupId>
    <artifactId>itext</artifactId>
    <version>2.0.7</version>
    </dependency>
    <dependency>
    <groupId>net.sf.ehcache</groupId>
    <artifactId>ehcache-core</artifactId>
    <version>2.5.1</version>
    <type>jar</type>
    </dependency>
    <dependency>
    <groupId>edu.emory.mathcs.backport</groupId>
    <artifactId>com.springsource.edu.emory.mathcs.backport</artifactId>
    <version>3.1.0</version>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-jdk14</artifactId>
    <version>1.6.4</version>
    <type>jar</type>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>com.springsource.slf4j.api</artifactId>
    <version>1.6.1</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-mock</artifactId>
    <version>2.0.8</version>
    <type>jar</type>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>javax.persistence</groupId>
    <artifactId>com.springsource.javax.persistence</artifactId>
    <version>1.0.0</version>
    </dependency>
    <dependency>
    <groupId>javax.transaction</groupId>
    <artifactId>com.springsource.javax.transaction</artifactId>
    <version>1.1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.jdbc</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.orm</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.joda</groupId>
    <artifactId>com.springsource.org.joda.time</artifactId>
    <version>1.6.0</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context.support</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>javax.mail</groupId>
    <artifactId>com.springsource.javax.mail</artifactId>
    <version>1.4.1</version>
    </dependency>
    <dependency>
    <groupId>javax.activation</groupId>
    <artifactId>com.springsource.javax.activation</artifactId>
    <version>1.1.1</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.jms</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>javax.jms</groupId>
    <artifactId>com.springsource.javax.jms</artifactId>
    <version>1.1.0</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.lang</artifactId>
    <version>2.4.0</version>
    </dependency>
    <dependency>
    <groupId>javax.xml.bind</groupId>
    <artifactId>com.springsource.javax.xml.bind</artifactId>
    <version>2.2.0</version>
    </dependency>
    <dependency>
    <groupId>com.oracle</groupId>
    <artifactId>ojdbc14</artifactId>
    <version>10.2.0.4.0</version>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>com.springsource.javax.servlet</artifactId>
    <version>2.4.0</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>db2jcc_license_cisuz</artifactId>
    <version>1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mq</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mqbind</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mqjms</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>ibmjsse</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.thoughtworks.xstream</groupId>
    <artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
    <version>1.3.1</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>db2jcc</artifactId>
    <version>1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>db2jcc_license_cu</artifactId>
    <version>1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.ibatis</groupId>
    <artifactId>com.springsource.com.ibatis</artifactId>
    <version>2.3.4.726</version>
    <exclusions>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.beans</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.core</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.asm</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.expression</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>org.apache.velocity</groupId>
    <artifactId>com.springsource.org.apache.velocity</artifactId>
    <version>1.6.2</version>
    </dependency>
    <dependency>
    <groupId>xml-apis</groupId>
    <artifactId>xml-apis</artifactId>
    <version>1.4.01</version>
    </dependency>

    <dependency>
    <groupId>xml-resolver</groupId>
    <artifactId>xml-resolver</artifactId>
    <version>1.2</version>
    </dependency>

    <dependency>
    <groupId>xalan</groupId>
    <artifactId>xalan</artifactId>
    <version>2.7.0</version>
    </dependency>
    <dependency>
    <groupId>xalan</groupId>
    <artifactId>serializer</artifactId>
    <version>2.7.1</version>
    </dependency>
    <dependency>
    <groupId>org.opensaml</groupId>
    <artifactId>opensaml</artifactId>
    <version>2.5.1-1</version>
    </dependency>
    <dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>httpclient</artifactId>
    <version>4.1.3</version>
    </dependency>

    <!-- JFree chart -->
    <dependency>
    <groupId>jfree</groupId>
    <artifactId>jfreechart</artifactId>
    <version>1.0.7</version>
    </dependency>
    <dependency>
    <groupId>jfree</groupId>
    <artifactId>jcommon</artifactId>
    <version>1.0.12</version>
    </dependency>
    <dependency>
    <groupId>org.apache.xmlgraphics</groupId>
    <artifactId>fop</artifactId>
    <version>0.94</version>
    </dependency>
    <dependency>
    <groupId>org.opensaml</groupId>
    <artifactId>opensaml1</artifactId>
    <version>1.1</version>
    </dependency>

    <dependency>
    <groupId>javax.annotation</groupId>
    <artifactId>jsr250-api</artifactId>
    <version>1.0</version>
    </dependency>
    <!-- AspectJ dependencies -->
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    <version>${spring.version}</version>
    </dependency>

    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aspects</artifactId>
    <version>${spring.version}</version>
    </dependency>

    <dependency>
    <dependency>
    <groupId>com.lowagie</groupId>
    <artifactId>itext</artifactId>
    <version>2.0.7</version>
    </dependency>
    <!-- Added by 30074708 for pdfs download End-->
    <dependency>
    <groupId>org.junit</groupId>
    <artifactId>com.springsource.org.junit</artifactId>
    <version>4.7.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.log4j</groupId>
    <artifactId>com.springsource.org.apache.log4j</artifactId>
    <version>1.2.15</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.logging</artifactId>
    <version>1.1.1</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.validator</artifactId>
    <version>1.3.1</version>
    </dependency>
    <dependency>
    <groupId>org.aspectj</groupId>
    <artifactId>com.springsource.org.aspectj.runtime</artifactId>
    <version>${aspectj.version}</version>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>com.springsource.javax.servlet</artifactId>
    <version>2.4.0</version>
    <scope>provided</scope>
    </dependency>
    <!-- ROO dependencies -->
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.core</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.test</artifactId>
    <version>${spring.version}</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aspects</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.transaction</artifactId>
    <version>3.0.2.RELEASE</version>
    <exclusions>
    <exclusion>
    <groupId>javax.transaction</groupId>
    <artifactId>com.springsource.javax.transaction</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>net.sourceforge.ehcache</groupId>
    <artifactId>com.springsource.net.sf.ehcache</artifactId>
    <version>1.4.1</version>
    </dependency>
    <dependency>
    <groupId>edu.emory.mathcs.backport</groupId>
    <artifactId>com.springsource.edu.emory.mathcs.backport</artifactId>
    <version>3.1.0</version>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>com.springsource.slf4j.log4j</artifactId>
    <version>1.6.1</version>
    </dependency>
    <dependency>
    <groupId>javax.persistence</groupId>
    <artifactId>com.springsource.javax.persistence</artifactId>
    <version>1.0.0</version>
    </dependency>
    <dependency>
    <groupId>displaytag</groupId>
    <artifactId>displaytag</artifactId>
    <version>1.2</version>
    </dependency>
    <dependency>
    <groupId>displaytag</groupId>
    <artifactId>displaytag-export-poi</artifactId>
    <version>1.2</version>
    </dependency>
    <dependency>
    <groupId>displaytag</groupId>
    <artifactId>displaytag-portlet</artifactId>
    <version>1.2</version>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>com.springsource.slf4j.api</artifactId>
    <version>1.6.1</version>
    </dependency>
    <dependency>
    <groupId>javax.transaction</groupId>
    <artifactId>com.springsource.javax.transaction</artifactId>
    <version>1.1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.dbcp</artifactId>
    <version>1.2.2.osgi</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.jdbc</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.orm</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.web</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.web.servlet</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.webflow</groupId>
    <artifactId>org.springframework.js</artifactId>
    <version>2.0.8.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.fileupload</artifactId>
    <version>1.2.0</version>
    </dependency>
    <dependency>
    <groupId>org.tuckey</groupId>
    <artifactId>com.springsource.org.tuckey.web.filters.urlrewrite</artifactId>
    <version>3.1.0</version>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
    <version>1.1.2</version>
    </dependency>
    <dependency>
    <groupId>org.apache.el</groupId>
    <artifactId>com.springsource.org.apache.el</artifactId>
    <version>6.0.20</version>
    </dependency>
    <dependency>
    <groupId>org.joda</groupId>
    <artifactId>com.springsource.org.joda.time</artifactId>
    <version>1.6.0</version>
    </dependency>
    <dependency>
    <groupId>org.apache.tiles</groupId>
    <artifactId>com.springsource.org.apache.tiles</artifactId>
    <version>2.1.3</version>
    </dependency>
    <dependency>
    <groupId>org.apache.tiles</groupId>
    <artifactId>com.springsource.org.apache.tiles.jsp</artifactId>
    <version>2.1.3</version>
    </dependency>
    <dependency>
    <groupId>org.apache.tiles</groupId>
    <artifactId>com.springsource.org.apache.tiles.core</artifactId>
    <version>2.1.3</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context.support</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>javax.mail</groupId>
    <artifactId>com.springsource.javax.mail</artifactId>
    <version>1.4.1</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>javax.activation</groupId>
    <artifactId>com.springsource.javax.activation</artifactId>
    <version>1.1.1</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.jms</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <!--<dependency>
    <groupId>javax.el</groupId>
    <artifactId>com.springsource.javax.el</artifactId>
    <version>2.1.0</version>
    </dependency>
    --><dependency>
    <groupId>org.apache.tiles</groupId>
    <artifactId>com.springsource.org.apache.tiles.portlet</artifactId>
    <version>2.1.3</version>
    </dependency>
    <dependency>
    <groupId>javax.jms</groupId>
    <artifactId>com.springsource.javax.jms</artifactId>
    <version>1.1.0</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.lang</artifactId>
    <version>2.4.0</version>
    </dependency>
    <dependency>
    <groupId>javax.xml.bind</groupId>
    <artifactId>com.springsource.javax.xml.bind</artifactId>
    <version>2.2.0</version>
    </dependency>
    <!-- Spring security -->
    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>org.springframework.security.core</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>org.springframework.security.taglibs</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>org.springframework.security.web</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>org.springframework.security.config</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <!-- Spring security Ends -->
    <!-- JSON -->
    <dependency>
    <groupId>org.codehaus.jackson</groupId>
    <artifactId>com.springsource.org.codehaus.jackson.mapper</artifactId>
    <version>1.4.3</version>
    </dependency>
    <!-- JSON Ends-->
    <!-- for WAS6.1 Ends-->
    <dependency>
    <groupId>com.thoughtworks.xstream</groupId>
    <artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
    <version>1.3.1</version>
    </dependency>
    <dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>com.springsource.org.apache.httpcomponents.httpclient</artifactId>
    <version>4.1.1</version>
    </dependency>
    <dependency>
    <groupId>milyn</groupId>
    <artifactId>j2ee</artifactId>
    <version>1.4</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.ibatis</groupId>
    <artifactId>com.springsource.com.ibatis</artifactId>
    <version>2.3.4.726</version>
    <exclusions>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.beans</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.core</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.asm</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.expression</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>org.apache.velocity</groupId>
    <artifactId>com.springsource.org.apache.velocity</artifactId>
    <version>1.6.2</version>
    </dependency>
    <dependency>
    <groupId>org.exolab</groupId>
    <artifactId>castorxml</artifactId>
    <version>0.9.5.3</version>
    </dependency>
    <dependency>
    <groupId>org.exolab</groupId>
    <artifactId>castor</artifactId>
    <version>0.9.5.3</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mq</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mqbind</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mqjms</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>jsse</artifactId>
    <version>1.0</version>
    </dependency>
    <!-- JFree chart -->
    <dependency>
    <groupId>jfree</groupId>
    <artifactId>jfreechart</artifactId>
    <version>1.0.7</version>
    </dependency>
    <dependency>
    <groupId>jfree</groupId>
    <artifactId>jcommon</artifactId>
    <version>1.0.12</version>
    </dependency>
    <dependency>
    <groupId>com.mellon.hris</groupId>
    <artifactId>hsa-service</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    </dependency>

    <dependency>
    <groupId>org.opensaml</groupId>
    <artifactId>xmltooling</artifactId>
    <version>1.3.2-1</version>
    </dependency>
  • bpaskin
    bpaskin
    4058 Posts

    Re: java.lang.IllegalStateException: Failure initializing default SSL context

    ‏2013-01-02T07:56:42Z  
    Using following Jars in the application.
    Also setting the class loading priority in server.Pleas refer attached iamge
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.dbcp</artifactId>
    <version>1.2.2.osgi</version>
    </dependency>
    <dependency>
    <groupId>org.junit</groupId>
    <artifactId>com.springsource.org.junit</artifactId>
    <version>4.7.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.log4j</groupId>
    <artifactId>com.springsource.org.apache.log4j</artifactId>
    <version>1.2.15</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.logging</artifactId>
    <version>1.1.1</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.validator</artifactId>
    <version>1.3.1</version>
    </dependency>
    <dependency>
    <groupId>org.aspectj</groupId>
    <artifactId>com.springsource.org.aspectj.runtime</artifactId>
    <version>${aspectj.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.core</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.test</artifactId>
    <version>${spring.version}</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aspects</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.transaction</artifactId>
    <version>3.0.2.RELEASE</version>
    <exclusions>
    <exclusion>
    <groupId>javax.transaction</groupId>
    <artifactId>com.springsource.javax.transaction</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>com.lowagie</groupId>
    <artifactId>itext</artifactId>
    <version>2.0.7</version>
    </dependency>
    <dependency>
    <groupId>net.sf.ehcache</groupId>
    <artifactId>ehcache-core</artifactId>
    <version>2.5.1</version>
    <type>jar</type>
    </dependency>
    <dependency>
    <groupId>edu.emory.mathcs.backport</groupId>
    <artifactId>com.springsource.edu.emory.mathcs.backport</artifactId>
    <version>3.1.0</version>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>slf4j-jdk14</artifactId>
    <version>1.6.4</version>
    <type>jar</type>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>com.springsource.slf4j.api</artifactId>
    <version>1.6.1</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-mock</artifactId>
    <version>2.0.8</version>
    <type>jar</type>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>javax.persistence</groupId>
    <artifactId>com.springsource.javax.persistence</artifactId>
    <version>1.0.0</version>
    </dependency>
    <dependency>
    <groupId>javax.transaction</groupId>
    <artifactId>com.springsource.javax.transaction</artifactId>
    <version>1.1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.jdbc</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.orm</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.joda</groupId>
    <artifactId>com.springsource.org.joda.time</artifactId>
    <version>1.6.0</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context.support</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>javax.mail</groupId>
    <artifactId>com.springsource.javax.mail</artifactId>
    <version>1.4.1</version>
    </dependency>
    <dependency>
    <groupId>javax.activation</groupId>
    <artifactId>com.springsource.javax.activation</artifactId>
    <version>1.1.1</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.jms</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>javax.jms</groupId>
    <artifactId>com.springsource.javax.jms</artifactId>
    <version>1.1.0</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.lang</artifactId>
    <version>2.4.0</version>
    </dependency>
    <dependency>
    <groupId>javax.xml.bind</groupId>
    <artifactId>com.springsource.javax.xml.bind</artifactId>
    <version>2.2.0</version>
    </dependency>
    <dependency>
    <groupId>com.oracle</groupId>
    <artifactId>ojdbc14</artifactId>
    <version>10.2.0.4.0</version>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>com.springsource.javax.servlet</artifactId>
    <version>2.4.0</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>db2jcc_license_cisuz</artifactId>
    <version>1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mq</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mqbind</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mqjms</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>ibmjsse</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.thoughtworks.xstream</groupId>
    <artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
    <version>1.3.1</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>db2jcc</artifactId>
    <version>1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>db2jcc_license_cu</artifactId>
    <version>1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.ibatis</groupId>
    <artifactId>com.springsource.com.ibatis</artifactId>
    <version>2.3.4.726</version>
    <exclusions>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.beans</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.core</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.asm</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.expression</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>org.apache.velocity</groupId>
    <artifactId>com.springsource.org.apache.velocity</artifactId>
    <version>1.6.2</version>
    </dependency>
    <dependency>
    <groupId>xml-apis</groupId>
    <artifactId>xml-apis</artifactId>
    <version>1.4.01</version>
    </dependency>

    <dependency>
    <groupId>xml-resolver</groupId>
    <artifactId>xml-resolver</artifactId>
    <version>1.2</version>
    </dependency>

    <dependency>
    <groupId>xalan</groupId>
    <artifactId>xalan</artifactId>
    <version>2.7.0</version>
    </dependency>
    <dependency>
    <groupId>xalan</groupId>
    <artifactId>serializer</artifactId>
    <version>2.7.1</version>
    </dependency>
    <dependency>
    <groupId>org.opensaml</groupId>
    <artifactId>opensaml</artifactId>
    <version>2.5.1-1</version>
    </dependency>
    <dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>httpclient</artifactId>
    <version>4.1.3</version>
    </dependency>

    <!-- JFree chart -->
    <dependency>
    <groupId>jfree</groupId>
    <artifactId>jfreechart</artifactId>
    <version>1.0.7</version>
    </dependency>
    <dependency>
    <groupId>jfree</groupId>
    <artifactId>jcommon</artifactId>
    <version>1.0.12</version>
    </dependency>
    <dependency>
    <groupId>org.apache.xmlgraphics</groupId>
    <artifactId>fop</artifactId>
    <version>0.94</version>
    </dependency>
    <dependency>
    <groupId>org.opensaml</groupId>
    <artifactId>opensaml1</artifactId>
    <version>1.1</version>
    </dependency>

    <dependency>
    <groupId>javax.annotation</groupId>
    <artifactId>jsr250-api</artifactId>
    <version>1.0</version>
    </dependency>
    <!-- AspectJ dependencies -->
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    <version>${spring.version}</version>
    </dependency>

    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aspects</artifactId>
    <version>${spring.version}</version>
    </dependency>

    <dependency>
    <dependency>
    <groupId>com.lowagie</groupId>
    <artifactId>itext</artifactId>
    <version>2.0.7</version>
    </dependency>
    <!-- Added by 30074708 for pdfs download End-->
    <dependency>
    <groupId>org.junit</groupId>
    <artifactId>com.springsource.org.junit</artifactId>
    <version>4.7.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.log4j</groupId>
    <artifactId>com.springsource.org.apache.log4j</artifactId>
    <version>1.2.15</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.logging</artifactId>
    <version>1.1.1</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.validator</artifactId>
    <version>1.3.1</version>
    </dependency>
    <dependency>
    <groupId>org.aspectj</groupId>
    <artifactId>com.springsource.org.aspectj.runtime</artifactId>
    <version>${aspectj.version}</version>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>com.springsource.javax.servlet</artifactId>
    <version>2.4.0</version>
    <scope>provided</scope>
    </dependency>
    <!-- ROO dependencies -->
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.core</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.test</artifactId>
    <version>${spring.version}</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aspects</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.transaction</artifactId>
    <version>3.0.2.RELEASE</version>
    <exclusions>
    <exclusion>
    <groupId>javax.transaction</groupId>
    <artifactId>com.springsource.javax.transaction</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>net.sourceforge.ehcache</groupId>
    <artifactId>com.springsource.net.sf.ehcache</artifactId>
    <version>1.4.1</version>
    </dependency>
    <dependency>
    <groupId>edu.emory.mathcs.backport</groupId>
    <artifactId>com.springsource.edu.emory.mathcs.backport</artifactId>
    <version>3.1.0</version>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>com.springsource.slf4j.log4j</artifactId>
    <version>1.6.1</version>
    </dependency>
    <dependency>
    <groupId>javax.persistence</groupId>
    <artifactId>com.springsource.javax.persistence</artifactId>
    <version>1.0.0</version>
    </dependency>
    <dependency>
    <groupId>displaytag</groupId>
    <artifactId>displaytag</artifactId>
    <version>1.2</version>
    </dependency>
    <dependency>
    <groupId>displaytag</groupId>
    <artifactId>displaytag-export-poi</artifactId>
    <version>1.2</version>
    </dependency>
    <dependency>
    <groupId>displaytag</groupId>
    <artifactId>displaytag-portlet</artifactId>
    <version>1.2</version>
    </dependency>
    <dependency>
    <groupId>org.slf4j</groupId>
    <artifactId>com.springsource.slf4j.api</artifactId>
    <version>1.6.1</version>
    </dependency>
    <dependency>
    <groupId>javax.transaction</groupId>
    <artifactId>com.springsource.javax.transaction</artifactId>
    <version>1.1.0</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.dbcp</artifactId>
    <version>1.2.2.osgi</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.jdbc</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.orm</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.web</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.web.servlet</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.webflow</groupId>
    <artifactId>org.springframework.js</artifactId>
    <version>2.0.8.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.fileupload</artifactId>
    <version>1.2.0</version>
    </dependency>
    <dependency>
    <groupId>org.tuckey</groupId>
    <artifactId>com.springsource.org.tuckey.web.filters.urlrewrite</artifactId>
    <version>3.1.0</version>
    </dependency>
    <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
    <version>1.1.2</version>
    </dependency>
    <dependency>
    <groupId>org.apache.el</groupId>
    <artifactId>com.springsource.org.apache.el</artifactId>
    <version>6.0.20</version>
    </dependency>
    <dependency>
    <groupId>org.joda</groupId>
    <artifactId>com.springsource.org.joda.time</artifactId>
    <version>1.6.0</version>
    </dependency>
    <dependency>
    <groupId>org.apache.tiles</groupId>
    <artifactId>com.springsource.org.apache.tiles</artifactId>
    <version>2.1.3</version>
    </dependency>
    <dependency>
    <groupId>org.apache.tiles</groupId>
    <artifactId>com.springsource.org.apache.tiles.jsp</artifactId>
    <version>2.1.3</version>
    </dependency>
    <dependency>
    <groupId>org.apache.tiles</groupId>
    <artifactId>com.springsource.org.apache.tiles.core</artifactId>
    <version>2.1.3</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context.support</artifactId>
    <version>${spring.version}</version>
    </dependency>
    <dependency>
    <groupId>javax.mail</groupId>
    <artifactId>com.springsource.javax.mail</artifactId>
    <version>1.4.1</version>
    <scope>provided</scope>
    </dependency>
    <dependency>
    <groupId>javax.activation</groupId>
    <artifactId>com.springsource.javax.activation</artifactId>
    <version>1.1.1</version>
    </dependency>
    <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.jms</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <!--<dependency>
    <groupId>javax.el</groupId>
    <artifactId>com.springsource.javax.el</artifactId>
    <version>2.1.0</version>
    </dependency>
    --><dependency>
    <groupId>org.apache.tiles</groupId>
    <artifactId>com.springsource.org.apache.tiles.portlet</artifactId>
    <version>2.1.3</version>
    </dependency>
    <dependency>
    <groupId>javax.jms</groupId>
    <artifactId>com.springsource.javax.jms</artifactId>
    <version>1.1.0</version>
    </dependency>
    <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>com.springsource.org.apache.commons.lang</artifactId>
    <version>2.4.0</version>
    </dependency>
    <dependency>
    <groupId>javax.xml.bind</groupId>
    <artifactId>com.springsource.javax.xml.bind</artifactId>
    <version>2.2.0</version>
    </dependency>
    <!-- Spring security -->
    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>org.springframework.security.core</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>org.springframework.security.taglibs</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>org.springframework.security.web</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <dependency>
    <groupId>org.springframework.security</groupId>
    <artifactId>org.springframework.security.config</artifactId>
    <version>3.0.2.RELEASE</version>
    </dependency>
    <!-- Spring security Ends -->
    <!-- JSON -->
    <dependency>
    <groupId>org.codehaus.jackson</groupId>
    <artifactId>com.springsource.org.codehaus.jackson.mapper</artifactId>
    <version>1.4.3</version>
    </dependency>
    <!-- JSON Ends-->
    <!-- for WAS6.1 Ends-->
    <dependency>
    <groupId>com.thoughtworks.xstream</groupId>
    <artifactId>com.springsource.com.thoughtworks.xstream</artifactId>
    <version>1.3.1</version>
    </dependency>
    <dependency>
    <groupId>org.apache.httpcomponents</groupId>
    <artifactId>com.springsource.org.apache.httpcomponents.httpclient</artifactId>
    <version>4.1.1</version>
    </dependency>
    <dependency>
    <groupId>milyn</groupId>
    <artifactId>j2ee</artifactId>
    <version>1.4</version>
    <scope>test</scope>
    </dependency>
    <dependency>
    <groupId>org.apache.ibatis</groupId>
    <artifactId>com.springsource.com.ibatis</artifactId>
    <version>2.3.4.726</version>
    <exclusions>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.beans</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.core</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.asm</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.context</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.aop</artifactId>
    </exclusion>
    <exclusion>
    <groupId>org.springframework</groupId>
    <artifactId>org.springframework.expression</artifactId>
    </exclusion>
    </exclusions>
    </dependency>
    <dependency>
    <groupId>org.apache.velocity</groupId>
    <artifactId>com.springsource.org.apache.velocity</artifactId>
    <version>1.6.2</version>
    </dependency>
    <dependency>
    <groupId>org.exolab</groupId>
    <artifactId>castorxml</artifactId>
    <version>0.9.5.3</version>
    </dependency>
    <dependency>
    <groupId>org.exolab</groupId>
    <artifactId>castor</artifactId>
    <version>0.9.5.3</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mq</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mqbind</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>mqjms</artifactId>
    <version>1.0</version>
    </dependency>
    <dependency>
    <groupId>com.ibm</groupId>
    <artifactId>jsse</artifactId>
    <version>1.0</version>
    </dependency>
    <!-- JFree chart -->
    <dependency>
    <groupId>jfree</groupId>
    <artifactId>jfreechart</artifactId>
    <version>1.0.7</version>
    </dependency>
    <dependency>
    <groupId>jfree</groupId>
    <artifactId>jcommon</artifactId>
    <version>1.0.12</version>
    </dependency>
    <dependency>
    <groupId>com.mellon.hris</groupId>
    <artifactId>hsa-service</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    </dependency>

    <dependency>
    <groupId>org.opensaml</groupId>
    <artifactId>xmltooling</artifactId>
    <version>1.3.2-1</version>
    </dependency>
    Hi, you did not list any jars, just artifacts. Are you including any SSL jars in your application or overriding the SSL programmatically? I do see this, which is interesting:
    <groupId>com.ibm</groupId>
    <artifactId>jsse</artifactId>
    <version>1.0</version>
    </dependency>

    Brian