Subversion – Allow Author Name Logging

| Posted by watashii | Filed under Programming, Software

To log the author name when trying to check-in files using Subversive/Eclipse over SVN, switch to SVN Repository Exploring perspective > right-click on your repository > edit the Location Properties > Advanced tab > and enable Override author name:


Read the rest of this entry »

Tags: , , , ,

IOGraph – Capture Mouse Movements Into Art

| Posted by watashii | Filed under Software

IOGraph is a simple Java application that captures your mouse cursor movements on the screen and plots them on to a blank canvas picture.  All you need to do is run the application, minimize it, then perform your usual routines on your computer.  After a while you will see a cool looking graphic art that you can export.

The capture displayed here was taken for 1 hour at work on my dual monitor computer.  The large black dots represent how long the mouse have paused;  the longer, the larger.  Notice my right monitor was hardly ever used!

Tags: , , ,

Firefox Reserved Ports Restricted For Security Reasons

| Posted by watashii | Filed under Software

When browsing to web sites based on non standard HTTP ports, such as port 636 for LDAP SSL, Firefox bans access with the above message.  By default, a number of ports are blocked from access due to a number of potential security vulnerabilities.  These banned ports are usually reserved for specific services and are not ideal for web browsing.

Read the rest of this entry »

Tags: , ,

Unable to Enable/Startup RAS

| Posted by watashii | Filed under BusinessObjects

On a BusinessObjects XIR2 (SP3) Solaris installation, the following effects may be occurring:

  1. The RAS server refuses to startup using ./ccm.sh -start ras or ./startservers commands.
  2. Performing a ./ccm.sh -enable ras will complain that the RAS object does not exist, even though it is listed within ccm.config file.
  3. When the RAS server instance is deleted from the CMC, restarting all the servers and performing ./ccm.sh -enable all or ./ccm.sh -display, the RAS entry does not show up at all.
  4. When the RAS server instance is deleted and added using the ./serverconfig.sh tool, the RAS entry does not show up at all in CMC, ./ccm.sh -enable all or ./ccm.sh -display.
  5. When the ./ccm.sh -start ras does performs successfully, related serverpid’s are created, RAS processes are running, but RAS entry does not show up in ./ccm.sh -display or CMC, and the RAS server’s tcp ports are not opened at all.

Read the rest of this entry »

Tags: , , ,

Enable & Setup Sharing Folders in VMWare Player 2.0+

| Posted by watashii | Filed under Software

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

| Posted by watashii | Filed under Software, Web

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

| Posted by watashii | Filed under Software

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

| Posted by watashii | Filed under BusinessObjects, Software, Unix

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

| Posted by watashii | Filed under BusinessObjects, Software

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

| Posted by watashii | Filed under BusinessObjects, Software, Web

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: , , ,