VMware {code} Community
dsubram
Enthusiast
Enthusiast
Jump to solution

Application comptability between VI SDK 2.0 and ESX 3.5 server

Hi,

I created one application using VI SDK 2.0. Its working fine while communicating with ESX 3.0.x servers. If the same application is used to contact ESX 3.5 it fails.

Can't we use application developed for ESX 3.0.x servers for ESX Server 3.5 and 3i versions?

Whats the precautionary measures we need to take so that application work across all the version of ESX servers i.e. 3.x versions of ESX Servers?

--Subram

0 Kudos
1 Solution

Accepted Solutions
tos2k
Expert
Expert
Jump to solution

Please, read more carefully next time. http://communities.vmware.com/message/845116#845116 has attached the java files showing explicit Java code showing how to handle ssl-certification.

This is my last post here Smiley Wink

Tos2k

View solution in original post

0 Kudos
8 Replies
muthumia
Enthusiast
Enthusiast
Jump to solution

I experienced the same scenario on VC and it worked for me.

I have code in SDK 2.0 which works fine both on VC 2.0 and VC 2.5.

The same should be applicable to ESX 3.0 and ESX 3.5.

Apologizes if I wrong in anything...

Can you check the following link,

http://www.vmware.com/support/developer/vc-sdk/visdk-2.5.0-200711-releasenotes.html

0 Kudos
admin
Immortal
Immortal
Jump to solution

Applications created using VI SDK 2.0 will work with ESX 3.0.x, VC 2.0.x, ESX 3.5, ESX 3i and VC 2.5. I know that a lot of people have tried this and succeeded. Could you cut and paste the error message that you are seeing?

0 Kudos
dsubram
Enthusiast
Enthusiast
Jump to solution

I am trying to connect ESX 3.5 server from sample programs of VI SDK 2.0. I receive the following error,

# ./run.sh com.vmware.vimsample.performance.VIUsage root <password> 15.154.83.6

~/Desktop/SDK/samples_2_0 ~/Desktop/SDK/samples_2_0/Axis/java

RUNNING

(301)Moved Permanently

0 Kudos
tos2k
Expert
Expert
Jump to solution

Hi!

This is not an incompatibility issue at all. Try https instead of http.

Tos2k

0 Kudos
dsubram
Enthusiast
Enthusiast
Jump to solution

I am getting the following error if I use HTTPS to communicate,

javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.In

validAlgorithmParameterException: the trustAnchors parameter must be non-empty

0 Kudos
tos2k
Expert
Expert
Jump to solution

Have a look on this thread: http://communities.vmware.com/thread/117504

It describes on how to handle ssl-certificates in the Java way.

Tos2k

0 Kudos
dsubram
Enthusiast
Enthusiast
Jump to solution

Hi,

I am not able to resolve the issue. Link mentioned above didn't provide any hint on how to resolve my HTTPS commnication issue.

Do we have any document to understand on how to configure for HTTPS communications?

--Subram

0 Kudos
tos2k
Expert
Expert
Jump to solution

Please, read more carefully next time. http://communities.vmware.com/message/845116#845116 has attached the java files showing explicit Java code showing how to handle ssl-certification.

This is my last post here Smiley Wink

Tos2k

0 Kudos