VMware {code} Community
Michael_Michae1
Contributor
Contributor

vi java 2b220090321 has problem to support com.sun.xml.internal.bind.DatatypeConverterImpl

When i first build this package , it shows that it needs to support com.sun.xml.internal.bind.DatatypeConverterImpl . It's very hard to find its lib . Who knows where to get it ? However , I change into com.sun.xml.bind.DatatypeConverterImpl by removing internal and pass the building . It even gives out right output from examples . can any one correct this if it's wrong .

thanks

Reply
0 Kudos
8 Replies
Texiwill
Leadership
Leadership

Hello,

Where are you using the 'vi java'? Is this on ESX, ESXi, vCenter, VMware Server, etc. etc. Please clarify.


Best regards,
Edward L. Haletky
VMware Communities User Moderator, VMware vExpert 2009
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos
Michael_Michae1
Contributor
Contributor

I use this on esx and VC .

Reply
0 Kudos
Texiwill
Leadership
Leadership

Hello,

Are you installing your java app on ESX or vCenter... They have different stacks. Are you also installing a new JRE with this application?


Best regards,
Edward L. Haletky
VMware Communities User Moderator, VMware vExpert 2009
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos
Michael_Michae1
Contributor
Contributor

right , i installed JRE required by its doc , it works . you can put this app wherever network is connected . I put this in my laptop right now for developing .

BR

Michael

Reply
0 Kudos
Texiwill
Leadership
Leadership

Hello,

So basically this App and its JRE is not installed on either vCenter or ESX. Is this an SDK issue? Please clarify what the exact problem is so we can assist.


Best regards,
Edward L. Haletky
VMware Communities User Moderator, VMware vExpert 2009
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos
Michael_Michae1
Contributor
Contributor

In the file com.vmware.vim25.ws.xmlGen.java, there is one line written in "import com.sun.xml.internal.bind.DatatypeConverterImpl;" . this comes from no libs that this package could support . I search no finding of such jar ball . so i adopt DatatypeConverterImpl with the jar of no "internal" . it passes and gets some right output like from sdk 2.5 . so originally , where and what jar support this "import com.sun.xml.internal.bind.DatatypeConverterImpl;" ?

Reply
0 Kudos
Texiwill
Leadership
Leadership

Hello,

Ah, it is a VI Java SDK issue. I have moved this to the appropriate forum for more assistance.


Best regards,
Edward L. Haletky
VMware Communities User Moderator, VMware vExpert 2009
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Michael_Michae1
Contributor
Contributor

this class com.sun.xml.bind.DatatypeConverterImpl seems works for now .

Reply
0 Kudos