Advertisement

07.11.2005 at 11:29PM PDT, ID: 21488107
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.4

Getting "local class incompatible: stream classdesc serialVersionUID"

Asked by priyaks_80 in Java Programming Language

Tags: , , , ,

I'm trying to generate a signature in one server (Machine I) and verify the signature in the other(Machine II).

An application in Mach II would call the login application in Mach I and verify the signature by calling the java class.

The following Steps were done:

1.The public and private keys (RSA keys) were generated in a machine (Machine I) having jdk1.3.

Java classes for signing and verifying the signature were tested in the same machine ,from command prompt which worked fine.

2.Then I split up the signature and verification code:

a.Code having signature generation was put in the machine (Machine I) where the login application runs ( it has jdk1.3)

b.Verification java code was put in the second server (Machine II).
This machine has jdk1.4.0.

This verification class compiles properly , but when run , generates  this error:

com.sun.rsajca.JS_PublicKey; local class incompatible: stream classdesc serialVersionUID = 9094240995369457189, local class serialVersionUID = 3447664454281293018

My guess is : When public key (generated in jdk1.3) is read from a mach running on jdk1.4, this prob occurs..

How to rectify this problem?

Can anyone help me out..
Start Free Trial
[+][-]07.11.2005 at 11:49PM PDT, ID: 14418917

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Java Programming Language
Tags: class, local, stream, classdesc, serialversionuid
Sign Up Now!
Solution Provided By: CEHJ
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.03.2005 at 01:19AM PDT, ID: 14586346

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]08.07.2005 at 06:11AM PDT, ID: 14617375

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080924-EE-VQP-38