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

BusinessObjects Universe Designer – Sysdate Value Object

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

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

| Posted by watashii | Filed under Software

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

| Posted by watashii | Filed under Software, Web

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

| Posted by watashii | Filed under Programming, Software

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

SSH Passwordless Authentication

| Posted by watashii | Filed under Software, Unix

This post shows how to use PuTTY (Windows) to login to a remote server (UNIX) over SSH without password.

Read the rest of this entry »

Tags: , , , ,

How to Change Default Homepage in Tomcat

| Posted by watashii | Filed under Java, Software, Unix, Web

When browsing to a Tomcat’s webserver, at the root URL over the default port 8080, it usually shows the default jsp homepage as pictured above.

http://localhost:8080

So how can I update / modify, or remove this page?

You might think changing the jsp page at [$CATALINA_HOME/webapps/ROOT/index.jsp] is all you need to do. This is where i found out its not the case! The page contents are compiled within the ROOT web application servlet. To make Tomcat reference the jsp page instead, we need to remove this servlet from being compiled.

Locate the ROOT web application’s config file at [$CATALINA_HOME/webapps/ROOT/WEB-INF/web.xml], and simply comment out the following code fragment:

<!-- Comment this section so I can change the default index.jsp homepage
<servlet>
  <servlet-name>org.apache.jsp.index_jsp</servlet-name>
  <servlet-class>org.apache.jsp.index_jsp</servlet-class>
</servlet>

<servlet-mapping>
  <servlet-name>org.apache.jsp.index_jsp</servlet-name>
  <url-pattern>/index.jsp</url-pattern>
</servlet-mapping>
-->

This will disable the index_jsp servlet. Now when you restart the Tomcat web application server, it should compile and load the default [$CATALINA_HOME/webapps/ROOT/index.jsp] page instead.

Tags: , ,

XP Themes Designed & Signed by Microsoft

| Posted by watashii | Filed under Software

Want a change for your current XP theme?  Here are some nice themes for your Windows XP/2003 which are designed and signed by Microsoft.  This means you can use these themes directly (Control Panel > Display Properties) without modifying any of your Windows system files.

For other non-signed user designed themes, you might like to check out the patching utility UxTheme Multipatcher.

Royale / Royale Noir Theme

Royal Royal Noir

Zune Theme

Zune

Embedded Theme

Embedded Embedded Backup

Tags: , , , ,