VMware {code} Community
lizjohn
Contributor
Contributor

Unable to load help files in vsphere web client 5.1

Hello

I am unable to load html help files from my vsphere web client extension. I have verified that my html files are under he following structure inside my war file.

docs/<locale>/abc.html

When I access the war file I get the http 404 status message that the resource is not found.

Am I missing something obvious?

Thanks

liz

0 Kudos
4 Replies
laurentsd
VMware Employee
VMware Employee

Nothing I can think of, it must be a path problem.  Check with the debugger or add a log to show what resource it's trying to access.

0 Kudos
lizjohn
Contributor
Contributor

I dont see any specifc message in the log. I printed a message containing the resource path and it is as below:

I am testing directly on vcenter server 5.1 machine using the vsphere web client. My extension package has been registered on the vcenter server and downloaded correctly to vc-packages

My war file abc-war.war is inside the plugins directory. Inside it there is a folder docs/en_US/abc.html.

https://localhost:9443/abc/docs/en_US/abc.html

The error messg is http 404.

rest of the extension comes up fine

0 Kudos
lizjohn
Contributor
Contributor

Thank you ! My issue has been resolved. It was due to an incorrect web context name in the path.

0 Kudos
laurentsd
VMware Employee
VMware Employee

OK, cool.

0 Kudos