VMware Cloud Community
MarkusGehm
Enthusiast
Enthusiast
Jump to solution

Error in Perspectives cannot creat perspective

I installed the perspective Plugin succesfull in my vCO Appliance and logged in through the website to perspectives successfully but if I try to create my first perspective I got the following error

Error in io.bind of vmo.displayWebform: XMLHttpTransport Error: 500 Internal Server Error(type: error)

0 Kudos
1 Solution

Accepted Solutions
cdecanini_
VMware Employee
VMware Employee
Jump to solution

It is in /opt/vmo/app-server/bin/

Christophe.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter

View solution in original post

0 Kudos
9 Replies
cdecanini_
VMware Employee
VMware Employee
Jump to solution

The vCO 4.2 appliance has a number of security fixes for avoiding cross site scripting. One consequence is that some url have been escaped leadin gto this error 500.

Perspective should work OK on the Windows version.

One thing you can try is to make it work on the appliance is to edit the orchestrator.sh file in the bin directory with adding -Dwebview.raw.enabled=true java option.

Note that this is unsupported configuration and should not be used in production.

Christophe.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
MarkusGehm
Enthusiast
Enthusiast
Jump to solution

Hi Christophe,

thx for your fast response but I cannot find the orchestrator.sh file in /bin

edit: OK I found the file but where exactly do I have to place this option?

0 Kudos
cdecanini_
VMware Employee
VMware Employee
Jump to solution

It is in /opt/vmo/app-server/bin/

Christophe.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
cdecanini_
VMware Employee
VMware Employee
Jump to solution

You need to add this option to JAVA_OPTS

Christophe.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
MarkusGehm
Enthusiast
Enthusiast
Jump to solution

So I did the change and rebootet the VM now the perspectives page isn' t found anymore:smileyconfused:

0 Kudos
cdecanini_
VMware Employee
VMware Employee
Jump to solution

Odd, the change you did should have brought the appliance one step closer from the Windows version making it more compatible.

Do you mean the webview is not listed or that the link to the webview is not working ? What about the web operator webview ? Is it working properly ?

Unfortunately I have work to prepare and will be busy until the end of the week so I cannot really spend time to investigate this ATM. Maybe some other people can chime in and experiment.

Christophe.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
Jinnie
VMware Employee
VMware Employee
Jump to solution

Try to start the "Perspectives" webview manually from the webviews tab in the vCO java client.

It's probably just gone down during the restart.
I don't think something happened to the whole plug-in, more likely it's only the webview.

Otherwise, the property described by Christophe should do the work.

cdecanini_
VMware Employee
VMware Employee
Jump to solution

Thanks to chime in Ivan Smiley Happy

Ivan is the person who troubleshooted this issue I reported and found the work around.

Christophe.

If my answer resolved or helped you, please mark it as Correct or Helpful to award points. Thank you! Visit http://www.vcoteam.info & http://blogs.vmware.com/orchestrator for vCenter Orchestrator tips and tutorials - @vCOTeam on Twitter
0 Kudos
MarkusGehm
Enthusiast
Enthusiast
Jump to solution

Thx for your support today it works Smiley Happy

0 Kudos