Try decompiling the .class with jad and compiling the result with javac.
PS: I use the ABA crypto library heavily with VAJ and have never once
experienced this. Besides, ABA comes with source.
At 7:47 AM -0500 06/06/2001, Karau, Joe wrote:
>I'm not sure if it is the same problem but...
>
>We use VA Java as a development IDE, and in the past we had a problem where
>a class that we exported from VA Java could not be loaded by any other JVM.
>After working with IBM we found that it is because VA Java had a bug and it
>was exporting a java class with invalid byte codes. The error we'd recieve
>when trying to load this class was very similar to what you are getting.
>I'd try writing a small test stub that uses the class loaded to load the
>class, and test on a couple of different JVM's. The class file that you
>have may be corrupt. If it fails to load in other JVM's as well, you'll
>have to contact the authors of the class and see what can be done.
>
>Hope this helps.
>
>Joseph Karau
>Kingland Systems
>[EMAIL PROTECTED]
>507-536-3629
>AIM: jkara3629
>
>
>-----Original Message-----
>From: M Sankar [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 05, 2001 11:16 PM
>To: [EMAIL PROTECTED]
>Subject: Urgent help needed
>
>
> Hi all,
>
>I am using Netscape Iplanet Web Server and JSP.I am trying out a
>cryptography module. Now my application is made and is working fine
>using Tomcat on a trial basis. But when I put these application on
>iPlanet, JSP Compiler is throwing an Classformat error. It is showing
>the message for a particular Java class which is used for cryptography.
>The specific message is Illegal constant pool type.
>
>Given below is the error message::
>
> failure ( 4941): Internal error: exception thrown from the servlet
>service function (uri=/cryptix/intro.jsp): java.lang.ClassFormatError:
>DES (Illegal constant pool type), Stack: java.lang.ClassFormatError: DES
>(Illegal constant pool type)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass0(Compiled Code)
> at java.lang.ClassLoader.defineClass(Compiled Code)
> at java.security.SecureClassLoader.defineClass(Compiled Code)
> at java.net.URLClassLoader.defineClass(Compiled Code)
> at java.net.URLClassLoader.access$1(Compiled Code)
> at java.net.URLClassLoader$1.run(Compiled Code)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.security.AccessController.doPrivileged(Compiled Code)
> at java.net.URLClassLoader.findClass(Compiled Code)
> at java.lang.ClassLoader.loadClass(Compiled Code)
> at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
> at java.lang.ClassLoader.loadClass(Compiled Code)
> at java.lang.ClassLoader.loadClassInternal(Compiled Code)
> at Profile.(Profile.java:86)
> at Profile.getInstance(Profile.java:65)
> at Logintry.createRequest(Compiled Code)
> at _jsps._cryptix._intro_jsp._jspService(_intro_jsp.java:91)
> at
>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
> at
>com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
>a:497)
>
>Any help on this would be great.
>Thanks
>Sankar
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
--
---
For industrial age goods there were checks and credit cards.
For everything else there is mybank.dom at http://virtualschool.edu/mybank
Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets