Bugs item #985962, was opened at 2004-07-06 06:11 Message generated for change (Comment added) made by starksm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=985962&group_id=22866
Category: JBossMQ Group: v4.0 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Tom Elrod (telrod) >Assigned to: Scott M Stark (starksm) Summary: Using com.sun.* classes Initial Comment: When I tried to run JBoss 4 with IBM's Java 1.4.2, I get the following exception: ===>NoClassDefFoundError : com.sun.net.ssl.HostnameVerifier This class in not in the Java api class (it's an internal implementation class) and it is not guaranteed to be present on all valid JDK implementations. This class is not in IBM's Java SDK. I think you should be using javax.net.ssl.HostnameVerifier. Sun also recommends that developers NOT use the com.sun.* packages (see http://java.sun.com/products/jdk/faq/faq-sun-packages.html). Here's what I did: 1). Downloaded JBoss4 from http://www.jboss.org 2). Unziped JBoss and started the server with IBM's JVM. # set JAVA_HOME=C:/ibmsdk142 # cd JBoss4/bin # run References to com.sun.* are below: org.jboss.mq.il.http.AnyhostVerifier - com.sun.net.ssl.HostnameVerifier org.jboss.mq.il.http.HTTPClient - com.sun.net.ssl.HttpsURLConnection test cases (so may not matter): org.jboss.test.security.test.HttpsUnitTestCase - com.sun.net.ssl.* org.jboss.test.txpropiiop.ejb.a.SessionAEJB - com.sun.corba.se.internal.corba.AnyImpl org.jboss.test.security.service.HttpsClient - com.sun.net.ssl.internal.ssl.Provider ---------------------------------------------------------------------- >Comment By: Scott M Stark (starksm) Date: 2004-08-07 11:36 Message: Logged In: YES user_id=175228 The HTTPClient has been updated to use the org.jboss.invocation.http.interfaces.Util which does not include an dependencies on com.sun.*, and the AnyhostVerifier dropped. The tests have also been updated. These changes will be in jboss-4.0.0RC2. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=985962&group_id=22866 ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
