Enable & Setup Sharing Folders in VMWare Player 2.0+

vmware_shared

To enable sharing folders on VMWare Player guest OS (without Workstation etc), the following entries can be added in the .VMX file:

isolation.tools.hgfs.disable = "FALSE"

sharedFolder.maxNum = "1"

sharedFolder0.present = "TRUE"
sharedFolder0.enabled = "TRUE"
sharedFolder0.readAccess = "TRUE"
sharedFolder0.writeAccess = "TRUE"
sharedFolder0.hostPath = "C:\"
sharedFolder0.guestName = "MyHostCDrive"
sharedFolder0.expiration = "never"

Load your Windows guest OS and go to the VMWare Player menu > Sharing Folders… > Then check ‘Always Enable’

Your shared folder on Windows host OS (in this example C:\) can now be accessed on the guest OS via \\.host\Shared Folders\

To add more shared folders, increase the value of maxNum in .VMX file, and copy the same config settings for sharedFolder0.XXX into sharedFolder1.XXX…sharedFolder2.XXX and so forth.

Tags: , ,

Live Messenger 8.1/8.5 Bypass Mandatory Upgrade

msnbypass00

Today when logging into my Windows Live Messenger 8.1,  I received a message forcing me to upgrade to the latest Windows Live Messenger (2009).  This was discussed on their blog less than 1 month ago (thanks for the short heads-up).  However, like many others, upgrading to the 2009 version was not ideal. That is:  it just doesn’t work at all.

For me, I ran into problems logging in (via my workplace), as I kept getting the error: “Signing in to Windows Live Messenger failed because the authentication service is not compatible with this version of the program.
Error code: 8100030f”.
And NOTHING in the online help provided any clues with this message!

So the only resolution for me was to find a way to continue using the old version.  Here I found a workaround to skip the mandatory upgrade (I’m on XP, however Vista should work also).

Read the rest of this entry »

Tags: , ,

Vacuum Database to Speedup Firefox

vacuum_firefox

Firefox performance can be improved by defragmenting the internal SQLite database.  This can be done by running a vacuum command within Firefox, as explained in Mozilla Links.   The process are as follows:

1) Open Tools > Error Console (or Press Ctrl + Shift + J)

2) In the Code text box, paste the following (in one single line)

Components.classes["@mozilla.org/browser/nav-history-service;1"].
getService(Components.interfaces.nsPIPlacesDatabase).
DBConnection.executeSimpleSQL("VACUUM"); 

Note:  Make sure the double-quotes are normal quotes and not slanted quotes

3) Press Evaluate.  Firefox will freeze for a few seconds while the database is being defragmented.

A handier add-on extension is also available to perform this action.

Tags: , ,

BIAR File Command Line Import – Bypassing Import Wizard

The command line to import the BusinessObjects Enterprise (XIR2 Unix) exported biar file can be done using the following command:

java -jar <BOBJE_HOME>/bobje/java/lib/InstallEntSdkWrapper.jar 'cms_name' 'admininistrator' 'admin_password' 'secEnterprise' <PATH_TO>/MyBiarFile.biar

[InstallEntSdkWrapper.main] Connecting to CMS Development as administrator
[InstallEntSdkWrapper.main] BIAR Imported Successfully

Tags: , ,

BusinessObjects InfoView LDAP Authentication Error

Suddenly one day I got the following error when logging into InfoView via LDAP (with SSL):

Account Information  Not Recognized: The secLdap plugin failed to connect to the specified hosts.

However when logging into CMC via LDAP there were no problems.

The solution is to do with the cacerts file (and .keystore, if using mutual authentication).  Usually this is caused by an expired certificate.   Server authentication (or mutual authentication) does not verify the certificates when LDAP authentication is via CMC.

To fix the problem, obtain the valid certificates then recreate the necessary cacerts and .db files.  Go through the CMC LDAP configuration wizard to validate it, then restart the CMS for settings to take effect.

Tags: , , ,

BusinessObjects Enterprise – Changing Tomcat Session Timeout

To change the timeout limit of a BusinessObjects Enterprise XIR2 (Solaris) logged-in session (with Tomcat), the following files needs to be modified:

$BOBJE_HOME/tomcat/webapps/businessobjects/WEB-INF/web.xml
$BOBJE_HOME/tomcat/webapps/businessobjects/enterprise115/desktoplaunch/WEB-INF/web.xml
$BOBJE_HOME/tomcat/webapps/businessobjects/enterprise115/adminlaunch/WEB-INF/web.xml
$BOBJE_HOME/tomcat/webapps/businessobjects/enterprise115/adhoc/WEB-INF/web.xml

Find the following setting within the web.xml file to change the timeout value in minutes.

<!-- Define the default session timeout for your application,
      in minutes.  From a servlet or JSP page, you can modify
      the timeout for a particular session dynamically by using
      HttpSession.getMaxInactiveInterval(). -->
<session-config>
      <session-timeout>20</session-timeout> <!-- 20 minutes for session objects -->
</session-config>

Then just restart the Apache Tomcat webserver to take effect.

Tags: , , ,

BusinessObjects Universe Designer – Sysdate Value Object

universe_sysdate

Creating SYSDATE value objects in a Universe (via Oracle connection) can simply be done as shown above.   I have simply created a single-value dimension object, which can be used anywhere within a query (result/condition/sort).  Having sysdate values allows the flexibility to create dynamic time-based reports.  For example you can schedule a weekly report to extract data from the past 7 days starting from the current time the report was run.

Note, when parsing the object against the database (Oracle), an error will appear. ORA-00903: Invalid table name.

You can just ignore this error and press ok.

Tags: , , ,

Windows Vista – Change Sleep Button to Shutdown Button

sleep_to_shutdown_button

Recently got my new computer system loaded with Windows Vista (Home Basic).  The first annoyance I encountered was that the default power down on the Start Menu is the orange sleep mode button.

Having sleep mode allows quick resume of Windows without needing to reload Windows from scratch, as well as saving power – the benefits obvious.

But for the not-so occasional PC user, a shutdown button is more convenient.  Here is how to swap it with red shutdown button.

- Goto [Start > Control Panel > Power Options]

- Click on the power plan in use, and select Advanced Power Settings

- Expand the + signs under Power Buttons and Lid, then Start Menu and Power Buttons

- Then in the dropdown box set it to the Shutdown setting

Tags: , , ,

Directly Modify & Edit A Webpage

Want to modify a web page on your browser, or delete an image directly from the page?  Here is a very cool shortcut that allows you to do this without using any other programs.

In fact, you can do this right here by loading this link.

Tip: Add the link as a bookmark, then whenever you would like to modify a page, just click on the bookmark. Easy!

Tags: ,

Install and Run Ubuntu on VMWare Player

This was my first attempt installing a Linux operating system, and I decided to run it over VMWare on top of my Windows XP system.  Its the perfect way for me to trial an operating system without changes to my system boot-up.  This post shows how I got the Guest OS Ubuntu 8.10 (Desktop) running on the Host OS Windows XP (32-bit). And it was fairly easy it turned out.

Source files: [Ubuntu.zip]

Read the rest of this entry »

Tags: , , , ,