I am often asking myself how to automatize something I am doing in the Webshpere console into Jython script so I could script it. Instead of looking for it over and over on the internet, since apparently I can’t remember something more than a week, I thought I would write all equivalences here. Who knows, maybe it can help you too.
Author Archives: Guillaume
The VMRC Console has Disconnected. Trying to reconnect
I just got that a few minutes ago because I had to kill vSphere Client after it stopped working. And when I restarted it, I couldn’t open any console on my VMs. Well more precisely I could open them but a warning on the top of the window was saying:
The VMRC Console has Disconnected. Trying to reconnect
Finally I figured out that I still had a process running called vmware-vmrc.exe. Just kill this process also, make sure to have vSphere closed when killing it, and then restart the vSphere client and consoles should work again.
FileNet Enterprise Manager (FEM) – HTTPS is required
Most of the time when I deploying a sandbox platform, I don’t bother with configuring HTTPS. I had this problem for the fist tine not long ago, because as you know, with p8 5.2, the FEM became almost useless. But I needed it anyway and had this problem:
http://hostname:9080/wsi/FNCEWS40MTOM' HTTPS is required
After some research, it actually comes from WCF which requires a secured connection to work. You actually just have to install WSE, which is the ancestor of WCF and does have this requirement. This is for test platform only obviously because of the security issue, but for sandbox without security issue, it can be nice to not have to set up SSL.
You can download WSE here, install it and just try to connect again with FEM, no need to reboot or anything
Proper asynchronous with Dojo
Not long ago, I was not really dealing as I should with asynchronous development in javascript. For instance, when I had to launch several asynchronous process and wait for them all to all complete, I was using a counter and decreasing it in the callback method until 0. Coming from the Java world and being use to synchronize/join/notify which make this so easy, I thought it has to be something better than this. And of course like always with Dojo, there is.
The solution lies in the dojo/Deferred, dojo/promise/Promise and dojo/promise/all classes.
Continue reading
Developing with IBM Content Navigator
I really think IBM Content Navigator lacks a good documentation, especially the JavaScript model. This is definitely not as good as for other IBM’s products, like FileNet P8 for instance. That’s why I thought I would write small examples in the same way that IBM does for developers in the P8 documentation (Working with …).
Of course before looking for information is this post, I can’t recommend you enough the Red Book for developing with IBM Content Navigator, the Javadoc and the JSDoc. This is the first thing every developer should read. However as good as it is, what’s next might come handy for your developments.
Update: Actually the JavaScript model really needs more documentation/examples so I will split the page in several of them to keep this understandable.
What about a virtualization server at home
Why virtualization at home
I personally think that virtualization is the absolute grown up toy, except better. When you’re a kid you broke your toy and that’s it, maybe your dad can fix it once, even twice but then what? But with virtualization, nooooo… you can break it, tear it apart again and again and it’s still there, brand new and ready to be broken again. And you won’t even get bored of it, because possibilities are endless !
It’s good to play with, to learn new stuffs, to practice, to experiment work related things, and it’s free, so why not?