<?xml version="1.0" encoding="ISO-8859-1"?>
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en-US">
	<title>Hipersonik.com solutions</title>
	<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php" />
	<modified>2012-02-06T02:11:10Z</modified>
	<author>
		<name>Norbert</name>
		<email>norbert@vnitconsultancy.nl</email>
	</author>
	<copyright>Copyright 2012, Norbert</copyright>
	<generator url="http://www.sourceforge.net/projects/sphpblog" version="0.4.6.1">SPHPBLOG</generator>
	<entry>
		<title>More RMAN catalog speedups</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry110811-073956" />
		<content type="text/html" mode="escaped"><![CDATA[The following query can become faster by adding an index:<br /><i><br />SELECT MAX(RSR_KEY)<br />FROM RSR, DBINC<br />WHERE DBINC.DB_KEY = :B2 AND RSR.DBINC_KEY = DBINC.DBINC_KEY AND RSR.RSR_STAMP &lt; :B1;<br /></i><br /><br />The indices:<br /><i><br />create index idx_rsr_nn_1 on rsr(dbinc_key,rsr_stamp, rsr_key);<br />create index idx_dbinc_nn_1 on dbinc(db_key, dbinc_key);<br /></i>]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry110811-073956</id>
		<issued>2011-08-11T00:00:00Z</issued>
		<modified>2011-08-11T00:00:00Z</modified>
	</entry>
	<entry>
		<title>RMAN Crosscheck performance issues</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry110810-212654" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Crosscheck is about 1 second (or more) per backup piece.<br /><br /><b>Solution:</b><br /><br />It is possible that there are some full table scans in the query <br /><i><br />SELECT NVL(MIN(SCN),POWER(2,64)-1)<br />FROM (<br />SELECT MIN(BRL.LOW_SCN) SCN<br />FROM BRL<br />WHERE BRL.DBINC_KEY = :B1 UNION<br />SELECT MIN(AL.LOW_SCN)<br />FROM AL<br />WHERE AL.DBINC_KEY = :B1 UNION<br />SELECT MIN(XAL.LOW_SCN)<br />FROM XAL<br />WHERE XAL.DBINC_KEY = :B1 UNION<br />SELECT MIN(BDF.CKP_SCN)<br />FROM BDF<br />WHERE BDF.DBINC_KEY = :B1 UNION<br />SELECT MIN(CDF.CKP_SCN)<br />FROM CDF<br />WHERE CDF.DBINC_KEY = :B1 UNION<br />SELECT MIN(XDF.CKP_SCN)<br />FROM XDF<br />WHERE XDF.DBINC_KEY = :B1 UNION<br />SELECT MIN(BCF.CKP_SCN)<br />FROM BCF<br />WHERE BCF.DBINC_KEY = :B1 UNION<br />SELECT MIN(CCF.CKP_SCN)<br />FROM CCF<br />WHERE CCF.DBINC_KEY = :B1 UNION<br />SELECT MIN(XCF.CKP_SCN)<br />FROM XCF<br />WHERE XCF.DBINC_KEY = :B1 );<br /></i><br /><br />This can be slightly improved by adding several indices:<br /><i><br />create index idx_bcf_nn_1 on bcf(dbinc_key,ckp_scn);<br />create index idx_bdf_nn_1 on bdf(dbinc_key,ckp_scn);<br />create index idx_brl_nn_1 on brl(dbinc_key,low_scn);<br /></i><br /><br />If the indices are not helping, try altering db_file_multiblock_read_count to 0 (oracle 10/11 only). This can speed up the full table scans.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry110810-212654</id>
		<issued>2011-08-10T00:00:00Z</issued>
		<modified>2011-08-10T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Oracle Enterprise Manager 10g is slow in processing agent data</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry110406-081231" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />There is a large back log in processing the XML uploaded by the agents. The AWR shows database related issues.<br /><br /><b>Solution:</b><br /><br />There are several indexes which prevent some of the full table scans which speed up the processing speed considerably:<br /><i>CREATE INDEX sysman.mgmt_current_metrics_idx1 ON sysman.mgmt_current_metrics (key_value,metrics_guid,target_guid);</i><br /><br />and<br /><br /><i>CREATE INDEX sysman.mgmt_current_metrics_idx2 ON sysman.mgmt_current_metrics(target_guid, metric_guid, collection_timestamp);</i><br /><br />Probably there are more (-:]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry110406-081231</id>
		<issued>2011-04-06T00:00:00Z</issued>
		<modified>2011-04-06T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Argument list too long</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry110405-153638" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Remove under unix gives an <i>argument list too long</i>.<br /><br /><b>Solution:</b><br /><br />A possibility is to write a script:<br /><i>TOBEREMOVED=start of file name to be removed<br />function larger_rm ()<br />{       while read line1; do<br />        if [ $line1==$TOBEREMOVED* ]<br />        then<br />                if [ $line1 != $TOBEREMOVED ]<br />                then<br />                        echo &quot;removing &quot;$line1<br />                        rm $line1<br />                fi<br />        fi<br />        done<br />}<br />ls | larger_rm<br /></i><br /><br />This script removes all files except the file name itself (handy with historical files).<br />Warning: It is slow....]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry110405-153638</id>
		<issued>2011-04-05T00:00:00Z</issued>
		<modified>2011-04-05T00:00:00Z</modified>
	</entry>
	<entry>
		<title>OpenSuse 11.4 Xen VM fails with ATA errors</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry110327-180603" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />OpenSuse 11.4 Xen VM fails with ATA errors after upgrading to the desktop kernel version included in the distribution.<br /><br /><b>Solution:</b><br /><br />Re-start the installation and install the default kernel instead of the Xen desktop kernels.<br /><br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry110327-180603</id>
		<issued>2011-03-27T00:00:00Z</issued>
		<modified>2011-03-27T00:00:00Z</modified>
	</entry>
	<entry>
		<title>XEN bridged network config SuSE 11.4 not routing correctly after restart</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry110320-092329" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />After a restart of the XEN kernel on OpenSuSE 11.4, DHCP of the bridged interface works, but a pint to the route returns with <i>destination host unreachable</i>.<br /><br /><b>Solution:</b><br /><br />The eth interface used to communicate with the outside world is dropped out of the bridged configuration for unknown reasons. Use <i>brctl add br0 eth0</i> to add the interface (and of course replace br0 and eth0 with your own values).]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry110320-092329</id>
		<issued>2011-03-20T00:00:00Z</issued>
		<modified>2011-03-20T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Oracle Enterprise manager is slow in uploading metrics data</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry101118-105437" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b> <br /><br />Oracle Enterprise Manager has a large backlog of to be processed XML files.<br /><br /><b>Solution:</b><br /><br />The problem can be that the stored procedure <i>EMD_LOADER.UPDATE_CURRENT_METRICS</i> is slow due to an not efficient index on the table <i>SYSMAN.MGMT_CURRENT_METRICS</i>. The index <i>SYSMAN.MGMT_CURRENT_METRICS_PK</i> is in the incorrect order to be efficient. Add the following index:<br /><i>CREATE INDEX &quot;SYSMAN&quot;.&quot;MGMT_CURRENT_METRICS_IDX1_EFFICIENT&quot; ON &quot;SYSMAN&quot;.&quot;MGMT_CURRENT_METRICS&quot; (&quot;KEY_VALUE&quot;, &quot;METRIC_GUID&quot;, &quot;TARGET_GUID&quot;);</i><br /><br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry101118-105437</id>
		<issued>2010-11-18T00:00:00Z</issued>
		<modified>2010-11-18T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Formatting a file for use in KVM/qemu</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry100912-195028" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Your installed kvm virtual machine has run out of disk space and the volume created with qemu-img can not be formatted by Microsoft Windows (XP SP3).<br /><br /><b>Solution:</b><br /><br />Create an image:<br /><i>qemu-img create -f raw edrive.img 64G</i><br />Use fdisk (under linux) to create a disk header in the image:<br /><i>fdisk /home/kvm/edrive.img</i><br />Press <i>w</i><br />Add the image to your config:<br /><i>qemu-kvm -cdrom /home/kvm/somecd.img -hda windowsxp_install.img -hdb edrive.img -m 1024 -net nic -net user &amp;</i><br />Now the disk can be partitioned and formatted in Microsoft Windows (XP SP3)<br /><br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry100912-195028</id>
		<issued>2010-09-12T00:00:00Z</issued>
		<modified>2010-09-12T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Microsoft SQL Server Management Studio is slow while starting</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry100624-081420" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />SQL Server Management Studio is slow while starting.<br /><br /><b>Solution:</b><br /><br />The management studio can not find a certain URL. This can be fixed by adding the following line to the hosts file:<br />127.0.0.1          crl.microsoft.com<br /><br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry100624-081420</id>
		<issued>2010-06-24T00:00:00Z</issued>
		<modified>2010-06-24T00:00:00Z</modified>
	</entry>
	<entry>
		<title>HTTP access_log crashes Oracle Enterprise Manager Grid Control</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry100512-144838" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Once in a while, depending on the installation size, the apache httpd access_log grows to 2GB on the Oracle Enterprise Manager Grid Control installation.<br /><br /><b>Solution:</b><br /><br />There are two possible solutions:<br />A. Correct the log rotate setup;<br />B. Stop the logging.<br />This solution is the solution to stop the logging (since it is pretty much useless anyway).<br />Edit the sysman/config/httpd_em.conf file and hash out the following lines:<br /><i><br />        ErrorLog /oracle/product/oms10g/Apache/Apache/logs/error_log<br />        TransferLog &quot;/oracle/product/oms10g/Apache/Apache/logs/access_log&quot;<br /> <br /></i><br />to<br /><i><br />#        ErrorLog /oracle/product/oms10g/Apache/Apache/logs/error_log<br />#        TransferLog &quot;/oracle/product/oms10g/Apache/Apache/logs/access_log&quot;<br /></i><br /><br />Delete the old log files from Apache/Apache/logs and restart grid control. The logging should be stopped.<br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry100512-144838</id>
		<issued>2010-05-12T00:00:00Z</issued>
		<modified>2010-05-12T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Backup fails </title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry100105-102224" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />The backup of the full database fails with error number -1073548784.<br /><br /><b>Solution:</b><br /><br />Most likely the database requires a log file backup before a full backup is possible.<br />To see if the log file backup is required, select the following:<br /><i>select log_reuse_wait_desc from sys.databases where name=&#039;your database name&#039;</i>;<br /><br />If this displays &#039;LOG_BACKUP&#039;, then first execute a transaction log backup. After the transaction log backup, the full backup should be possible again.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry100105-102224</id>
		<issued>2010-01-05T00:00:00Z</issued>
		<modified>2010-01-05T00:00:00Z</modified>
	</entry>
	<entry>
		<title>SQL Server temp db fills disk</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry100105-073940" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />The disk containing the tempdb from SQL Server 2005 is near full.<br /><br /><b>Solution:</b><br /><br />The tempdb can be moved by executing the following SQL and restarting the SQL Server instance:<br /><br />USE master;<br />GO<br />ALTER DATABASE tempdb<br />MODIFY FILE (NAME = tempdev, FILENAME = &#039;{location}tempdb.mdf&#039;);<br />GO<br />ALTER DATABASE tempdb<br />MODIFY FILE (NAME = templog, FILENAME = &#039;{location}templog.ldf&#039;);<br />GO<br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry100105-073940</id>
		<issued>2010-01-05T00:00:00Z</issued>
		<modified>2010-01-05T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Database mirroring ENCRYPTION=ENABLED</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry091225-110639" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />You are trying to implement database mirroring with SQL Server 2005 instructions from <a href="http://weblogs.sqlteam.com/tarad/archive/2007/02/13/60091.aspx" target="_blank" >http://weblogs.sqlteam.com/tarad/archive/2007/02/13/60091.aspx</a> and fail at:<br /><i><br />CREATE ENDPOINT [Mirroring] <br />AS TCP (LISTENER_PORT = 5022)<br />FOR DATA_MIRRORING (ROLE = PARTNER, ENCRYPTION = ENABLED);<br /></i><br /><br /><b>Solution:</b><br /><br />The keyword <i>ENCRYPTION=ENABLED</i> should be <i>ENCRYPTION=SUPPORTED</i>]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry091225-110639</id>
		<issued>2009-12-25T00:00:00Z</issued>
		<modified>2009-12-25T00:00:00Z</modified>
	</entry>
	<entry>
		<title>ABN Amro Tradebox using linux</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry091109-222133" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Registration of tradebox fails due to badly written browser and java capability check.<br /><br /><b>Solution:</b><br /><br />No claims due to any losses or mishaps when using this solution can be claimed. The solution is from the ABN Amro helpdesk:<br />Register using windows. At the end save the jnlp file. Copy the file to any system you want to start tradebox.<br /><br />P.S. This is scary: The file contains the username/password combination in encrypted format. No user is requested anymore. Do not give to friends, keep in a save place. If lost: Block your accounts!]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry091109-222133</id>
		<issued>2009-11-09T00:00:00Z</issued>
		<modified>2009-11-09T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Bring standby database online</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry091104-064458" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />A Microsoft SQL Server standby database needs to be brought online.<br /><br /><b>Solution:</b><br /><br />Execute the command:<br />restore database [databasename] with recovery;<br />on the database server where the standby database is running.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry091104-064458</id>
		<issued>2009-11-04T00:00:00Z</issued>
		<modified>2009-11-04T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Configuring a user for SSIS</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry091019-102627" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />The user rights assignment in SSIS is difficult to configure in such a way that a user does not require (local) administrator rights to be able to use SSIS.<br /><br /><b>Solution:</b><br /><br />The following steps are required:<br />1. Add the user to the Distributed COM Users group using <b>Administrative tools-&gt;Computer management-&gt;System tools-&gt;Local users and groups-&gt;groups-&gt;Distributed COM Users</b>;<br />2. Open Control Panel, double-click Administrative Tools, and then double-click Component Services to start the Component Services MMC snap-in;<br />3. Expand the Component Services node in the left pane of the console. Expand the Computers node, expand My Computer, and then click the DCOM Config node;<br />4. Select the DCOM Config node, and then select MsDtsServer in the list of applications that can be configured;<br />5. Right-click on MsDtsServer and select Properties;<br />6. In the MsDtsServer Properties dialog box, select the Security tab.<br />7. Under Launch and Activation Permissions, select Customize, then click Edit to open the Launch Permission dialog box;<br />8. In the Launch Permission dialog box, add or delete users, and assign the appropriate permissions to the appropriate users and groups. The available permissions are Local Launch, Remote Launch, Local Activation, and Remote Activation. The Launch rights grant or deny permission to start and stop the service; the Activation rights grant or deny permission to connect to the service. Here select Local Activation only;<br />9. Click OK to close the dialog box;<br />10. Under Access Permissions, select Customize, and then click Edit;<br />11. In the Access Permission dialog box, add or delete users, and assign the appropriate permissions to the appropriate users and groups. Here select active Local &amp; remote access;<br />12. Click OK to close the dialog box;<br />13. Close the MMC snap-in;<br />14. Restart the Integration Services service.<br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry091019-102627</id>
		<issued>2009-10-19T00:00:00Z</issued>
		<modified>2009-10-19T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Fast recover of a dataguard</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry090513-112757" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />If Oracle dataguard stops receiving data due to full flash recovery area and init.ora shows standby_file_management=AUTO a fast way of recovery is required.<br /><br /><b>Solution:</b><br /><br />Reset the dg_broker_start parameter on the primary database to false (alter system set dg_broker_start=false). DG broker stops. Then reset back to true.<br />Eventual gap can be resolved by copying the archivelogs to the dataguard and adding those archivelogs:<br />alter database register logfile &#039;fullpathtoarchivelog/logname&#039;;<br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry090513-112757</id>
		<issued>2009-05-13T00:00:00Z</issued>
		<modified>2009-05-13T00:00:00Z</modified>
	</entry>
	<entry>
		<title>RMAN backup does not respond for long period</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry090326-144359" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />A backup with RMAN is after the actual backup is finished not responsive for a prolonged period of time.<br /><br /><b>Solution:</b><br /><br />Probably the controlfile contains many unused delete object records:<br />Run a query &quot;select count(*) from v$deleted_object&quot;. If this is as slow as the end of the RMAN session, you found the issue.<br />To solve this situation run:<br />SQL&gt; execute dbms_backup_restore.resetcfilesection(19);<br />This effectively truncates v$deleted_object, resulting in fast backups again.<br />The issue should not occur anymore from Oracle 11.1.0.7 and higher.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry090326-144359</id>
		<issued>2009-03-26T00:00:00Z</issued>
		<modified>2009-03-26T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Oracle Universal installer not starting</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry090302-211423" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />The Oracle Universal Installer (OUI) is not starting in Microsoft Windows. There is no error screen or anything relevant in the log files from the installer.<br /><br /><b>Solution:</b><br /><br />The issue might be that the unzip action of the installer encounters a too long path, resulting in an error which is not logged. This is visible when trying to start the unzip step manually.<br />The solution is to place the installation software on a shorter path.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry090302-211423</id>
		<issued>2009-03-02T00:00:00Z</issued>
		<modified>2009-03-02T00:00:00Z</modified>
	</entry>
	<entry>
		<title>SQL Server does not show all options in the maintenance cleanup plan</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry081203-223809" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />You are expecting certain options in the maintenance cleanup plan (like option to select sub directory level for cleanup), and the option is just not there at one database, while it is present at another database.<br /><br /><b>Solution:</b><br /><br />The problem is being caused be a mismatch in the SQL Server management Studio and the SQL server installation. Upgrade the SQL Server management studio to be at the same version of the SQL Server installation and the problem should disappear.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry081203-223809</id>
		<issued>2008-12-03T00:00:00Z</issued>
		<modified>2008-12-03T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Archiver hung error in log while Oracle is not in archive log mode</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry081203-223425" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />You find an archiver hung error in log while Oracle is not in archive log mode (So archiver can not hang since it is not running....).<br /><br /><b>Solution:</b><br /><br />Oracle is most likely connected with a database link to another database which is running in archive log mode. At that other database this exception occurred. The exception model of Oracle is such that the exception is communicate down to the requester of the action, which apparently requested some data coinciding with the occurance of the archive log error. This way the requesting database, which is not running  in archive log mode is logging an archiver error from another database.<br />Solve the archiver error at the other database.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry081203-223425</id>
		<issued>2008-12-03T00:00:00Z</issued>
		<modified>2008-12-03T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Oracle chooses full table scan over index while cost is equal</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry081031-083612" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Oracle 10/11 chooses in the cost based optimizer for a full table scan instead of using the index. This is done when the cost of both options are equal according to Oracle. <br /><br /><b>Solution:</b><br /><br />There are 2 possible solutions:<br />1. Use a hint: It garantees that the index will be used all the time;<br />2. Oracle chooses alphabetically when the cost is equal: Rename your index to a place earlier in the alphabet than your table: This lets Oracle keep its behaviour but still get the index when the cost is equal.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry081031-083612</id>
		<issued>2008-10-31T00:00:00Z</issued>
		<modified>2008-10-31T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Dataguard fails with divide by zero exception</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry081031-082057" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Oracle 10.2.0.3 dataguard fails with a divide by zero exception crashing the memory recovery proces (MRP0).<br /><br /><b>Solution:</b><br /><br />The solution is twofold:<br />1. Upgrade oracle to 10.2.0.4 (see metalink for details)<br />2. Just restart the process:<br />Login with sqlplus.<br />The database is still running, so just type:<br />RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;<br /><br />Recovery should continu (archive logs will be applied).]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry081031-082057</id>
		<issued>2008-10-31T00:00:00Z</issued>
		<modified>2008-10-31T00:00:00Z</modified>
	</entry>
	<entry>
		<title>make fails with stubs32.h not found on 64bit suse 10.3</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry081021-202349" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />While running make to compile a program, it fails with stubs32.h not found.<br /><br /><b>Solution:</b><br /><br />Create a symbolic link from stubs-64.h to stubs-32.h and run make again. The problem should be solved.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry081021-202349</id>
		<issued>2008-10-21T00:00:00Z</issued>
		<modified>2008-10-21T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Layout for view is not found</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080618-200302" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />You are trying to load a template using the Joomla 1.5 MVC model, but you run into an error <i>500 - Layout &quot;templatename&quot; not found</i>.<br /><br /><b>Solution:</b><br /><br />Check for typos in the view name and template name. Use lowercase only.<br />Do not use the word &quot;view&quot; to start your view with. Joomla strips the word view of the template path only (I regard this as a bug, not a feature). It tolerates the word view when resolving the view.html.php file. So for example viewCustomer is not possible. This will resolve to customer for the template name. Try lookatcustomer instead (all lowercase).]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080618-200302</id>
		<issued>2008-06-18T00:00:00Z</issued>
		<modified>2008-06-18T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Starting JRockit Mission Control</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080609-115532" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Bea JRockit Mission Control does not want to connect to the Bea instance. It reports connection refused.<br /><br /><b>Solution:</b>  <br /><br />A possible cause is that the -Xmanagement parameter is not in the correct location in the startup string. The startup string should look like:<br /><i>${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} -Xmanagement ${SERVER_CLASS}  &gt;&quot;${WLS_REDIRECT_LOG}&quot; 2&gt;&amp;1</i><br />With the -Xmanagement parameter just before the starting class.<br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080609-115532</id>
		<issued>2008-06-09T00:00:00Z</issued>
		<modified>2008-06-09T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Howto create a custom button</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080608-133436" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />How to create a custom admin interface button in Joomla (1.5).<br /><br /><b>Solution:</b><br /><br />The code to create the button should be as follows:<br />        <i>JToolBarHelper::custom(&quot;task&quot;,&quot;image1.png&quot;,&quot;image1Over.png&quot;,&quot;text for underneath the button&quot;,Check for list item (true/false),hide main menu after click (true/false));</i><br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080608-133436</id>
		<issued>2008-06-08T00:00:00Z</issued>
		<modified>2008-06-08T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Call to JTable object results in blank screen</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080607-113020" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />In Joomla 1.5 you try to create a new JTable object, but somehow it results in a blank screen. The apache log shows: <br /><i>Call to a member function bind() on a non-object</i><br /><br /><b>Solution:</b><br /><br />If it is a new JTable object from a self build component, the name and location of the object need to be in lowercase and as follows:<br />Location:<br />Use <i>JTable::addIncludePath(JPATH_ADMINISTRATOR.DS.&#039;components&#039;.DS.&#039;com_yourcomponent&#039;.DS.&#039;yourtablesubdirectory&#039;);</i><br />to add the path of your JTable objects to the search path of Joomla.<br />Use lowercase directory names and file names only.<br />Name the JTable class file name to the object you are trying to load:<br /><i>$table = &amp; JTable::getInstance(&#039;nameofobject&#039;,&#039;Table&#039;);</i>.<br />The nameofobject has to become your file name: nameofobject.php in the locate indicated in the addIncludePath.<br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080607-113020</id>
		<issued>2008-06-07T00:00:00Z</issued>
		<modified>2008-06-07T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Adding a view results in error 500</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080606-194110" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />After adding a view to a component in Joonla 1.5 you get an error 500, view not found, on linux when trying to access this view.<br /><br /><b>Solution:</b><br /><br />Use the view name in lowercase, and also the directory name of the view in lowercase. This (combined with typing the correct view name) should result in a different response (maybe good, maybe a different error 500).]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080606-194110</id>
		<issued>2008-06-06T00:00:00Z</issued>
		<modified>2008-06-06T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Bea gives error that weblogicWLStore is owned by other thread</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080603-152948" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />While using a JMS configuration with multiple persistent stores in Bea WLS 9.2, there is an error stating the following:<br /><br /><i>&lt;Warning&gt; &lt;Store&gt; &lt;managed server name 1&gt; &lt;[ACTIVE] ExecuteThread: &#039;0&#039; for queue: &#039;weblogic.kernel.Default (self-tuning)&#039;&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;&gt; &lt;&gt; &lt;BEA-280076&gt; &lt;Database table &quot;weblogicWLStore&quot; for store &quot;PersistentStore-01&quot; is currently owned by &quot;[name={server=managed_03!host=x.y.x.a!domain=abc!store=PersistentStore-03!table=weblogicWLStore}]&quot;. Trying to wait for ownership.&gt;<br />&lt;Error&gt; &lt;Store&gt; &lt;managed server name 2&gt; &lt;[ACTIVE] ExecuteThread: &#039;0&#039; for queue: &#039;weblogic.kernel.Default (self-tuning)&#039;&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;&gt; &lt;&gt; &lt;BEA-280077&gt; &lt;JDBC store &quot;PersistentStore-01&quot; in this server is not the owner of database table &quot;weblogicWLStore&quot;. Unexpected current owner is &quot;[name={server=managed_03!host=x.y.z.a!domain=abc!store=PersistentStore-03!table=weblogicWLStore}]&quot;, expected current owner is &quot;[name={server=managed_01!host=x.y.z.a!domain=abc!store=PersistentStore-01!table=weblogicWLStore}]&quot;.&gt;<br />&lt;Error&gt; &lt;Store&gt; &lt;managed server name 2&gt; &lt;[ACTIVE] ExecuteThread: &#039;0&#039; for queue: &#039;weblogic.kernel.Default (self-tuning)&#039;&gt; &lt;&lt;WLS Kernel&gt;&gt; &lt;&gt; &lt;&gt; &lt;1212496576272&gt; &lt;BEA-280072&gt; &lt;JDBC store &quot;PersistentStore-01&quot; failed to open table &quot;weblogicWLStore&quot;.<br />weblogic.store.io.jdbc.JDBCStoreException: [Store:280064]280077 (server=&quot;managed_01&quot; store=&quot;PersistentStore-01&quot; table=&quot;weblogicWLStore&quot;)<br />        at weblogic.store.io.jdbc.JDBCStoreIO.checkTableOwnership(JDBCStoreIO.java:1991)<br />        at weblogic.store.io.jdbc.JDBCStoreIO.getTableOwnershipLogical(JDBCStoreIO.java:2104)<br />        at weblogic.store.io.jdbc.JDBCStoreIO.open(JDBCStoreIO.java:382)<br />        at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:353)<br />        at weblogic.store.admin.AdminHandler.activate(AdminHandler.java:135)<br />        at weblogic.store.admin.JDBCAdminHandler.activate(JDBCAdminHandler.java:64)<br />        at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:237)<br /></i><br /><br /><b>Solution:</b><br /><br />The persistent store prefix (use the admin interface, edit persistent store) can be altered to have a table per persistent store. This way no table lock conflicts rise and all managed servers can start.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080603-152948</id>
		<issued>2008-06-03T00:00:00Z</issued>
		<modified>2008-06-03T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Bea Weblogic 9.2 does not start after upgrade</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080603-115836" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />After an upgrade of the Bea Weblogic server, the environment does not want to start. The error from Bea is BEA-149610.<br /><br /><b>Solution:</b><br /><br />Remove from servers your admin server and managed servers. They have something cached, which requires a rebuild from Bea, which fails because it is trying to start the admin server at the same time. After removal of the servers, the environment starts.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080603-115836</id>
		<issued>2008-06-03T00:00:00Z</issued>
		<modified>2008-06-03T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Weblogic jar installer in console mode reports to little disk space</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080603-100303" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />During the installation of Bea weblogic 10, the console mode installer reports to little disk space available:<br /><br /><i>Choose Product Installation Directories:<br />----------------------------------------<br /><br />BEA Home Directory: [/opt/weblogic]<br /><br />Product Installation Directories:<br /><br /><br />    &quot;Default Product Home&quot; = [Enter new value or use default &quot;/opt/weblogic/wlserver_10.0&quot;]<br /><br /><br />    ** Insufficient disk space! The installer requires:<br />    ** 91MB for the BEA Home at /opt/weblogic,<br />    ** 362MB for the product at /opt/weblogic/wlserver_10.0 and<br />    ** 367MB temporary work space at /tmp/bea50538.tmp.<br />    ** There is only 375MB available at /tmp.<br /></i><br /><br />Note however that there is actually a larger number available on tmp in this case.<br /><br /><b>Solution:</b><br /><br />Ignore the error, it is bogus.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080603-100303</id>
		<issued>2008-06-03T00:00:00Z</issued>
		<modified>2008-06-03T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Joomla failes component installation with SQL error</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080602-211942" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Joomla 1.5 fails to install a component with the following error:<br /><i>Component Install: SQL error or missing or unreadable SQL file. DB function reports no errors</i>.<br /><br /><b>Solution:</b><br /><br />The installer looks for the files within the admin files folder. This means that the files also have to be placed like standard files. Example xml config file:<br />&lt;..&gt;<br />&lt;install&gt;<br />&lt;sql&gt;<br />&lt;file driver=&quot;mysql&quot; charset=&quot;utf8&quot;&gt;sql/install.mysql.sql&lt;/file&gt;<br />&lt;/sql&gt;<br />&lt;/install&gt;<br />&lt;..&gt;<br />&lt;administration&gt;<br />&lt;menu&gt;Standard component name&lt;/menu&gt;<br />&lt;files folder=&quot;admin&quot;&gt;<br />&lt;filename&gt;sql/install.mysql.sql&lt;/filename&gt;<br />&lt;..&gt;<br />&lt;/administration&gt;<br />&lt;..&gt;]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080602-211942</id>
		<issued>2008-06-02T00:00:00Z</issued>
		<modified>2008-06-02T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Bea weblogic installation are jar files instead of binary</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080602-100658" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />The installation files as downloadable from Bea Weblogic are jar files instead of the executable files as mentioned in the installation manual.<br /><br /><b>Solution:</b><br /><br />Use a different <a href="http://e-docs.bea.com/common/docs92/install/start.html#jar" >manual</a>.<br />The important command is:<br />java -jar &lt;jarfile&gt; -mode=console]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080602-100658</id>
		<issued>2008-06-02T00:00:00Z</issued>
		<modified>2008-06-02T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Bea Weblogic JMS fails to show in JNDI tree in cluster setup</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080523-091709" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Bea Weblogic JMS information is not showing on any other machine in a cluster except the physical machine where the JMS is running.<br /><br /><b>Solution:</b><br /><br />Bea implemented the JMS service standard as a high performance solution. To use this:<br />A JMS server has to be created per managed server (non-migratable);<br />The queues have to be created as (uniform) distributed queues with as target the cluster;<br />The connection factory also has to target the cluster.<br /><br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080523-091709</id>
		<issued>2008-05-23T00:00:00Z</issued>
		<modified>2008-05-23T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Internet explorer does not show a div</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080416-162415" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Unknown run time error in IE7 occurs while trying to put content in a div with javascript. No errors are to be seen in Firefox.<br /><br /><b>Solution:</b><br /><br />Most likely a reserved keyword has been used as id for the div (like id=submit). Rename the div to another term, and the problem will most likely disappear.]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080416-162415</id>
		<issued>2008-04-16T00:00:00Z</issued>
		<modified>2008-04-16T00:00:00Z</modified>
	</entry>
	<entry>
		<title>dbms_output.put_line not visible in sqlplus</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080408-130320" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />While using dbms_output.put_line no output shows up at the console using sqlplus.<br /><br /><b>Solution:</b><br /><br />Set serveroutput to on:<br />set serveroutput on<br />Now output will be visible]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080408-130320</id>
		<issued>2008-04-08T00:00:00Z</issued>
		<modified>2008-04-08T00:00:00Z</modified>
	</entry>
	<entry>
		<title>Using oracle plsql exceptions</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080408-111822" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />You have an custom exception you want to catch in plsql.<br /><br /><b>Solution:</b><br /><br />Create a custom exception:<br />declare<br />   MISSING_DATA exception;<br />   PRAGMA EXCEPTION_INIT(MISSING_DATA, exception_number);<br />begin<br />  begin<br />    Your SQL;<br />    exception when MISSING_DATA then dbms_output.put_line(&#039; exception caught&#039;);<br />  end;<br />end;<br />/<br /><br />The important part is to set the correct exception_number:<br />Run your sql and see what exception oracle throws as first exception (ORA-12345). Replace exception_number with -12345.<br /><br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080408-111822</id>
		<issued>2008-04-08T00:00:00Z</issued>
		<modified>2008-04-08T00:00:00Z</modified>
	</entry>
	<entry>
		<title>EditFailedException in Bea Weblogic 9.1</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080329-181003" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />Bea Weblogic 9.1 fails during the change of configuration using the admin console (apply changes) with the exception: weblogic.management.provider.EditFailedException<br /><br /><b>Solution:</b><br /><br />There is 2 possible solutions: First try the solution posted by <a href="http://edocs.bea.com/wls/docs91/issues/known_resolved.html" target="_blank" >Bea</a>.<br /><br />If this does not work, try the following:<br />Stop Bea (with most likely a kill -4). Assign more memory to Bea. Start Bea again. This might solve your issue.<br />Maybe a complete reboot of your environment will work too.<br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080329-181003</id>
		<issued>2008-03-29T00:00:00Z</issued>
		<modified>2008-03-29T00:00:00Z</modified>
	</entry>
	<entry>
		<title>How to grow a Sequoia from seed</title>
		<link rel="alternate" type="text/html" href="http://www.hipersonik.com/index.php?entry=entry080323-141549" />
		<content type="text/html" mode="escaped"><![CDATA[<b>Issue:</b><br /><br />You are trying to grow a Sequoia (giganteum) from seed (germination) and do not know how to do this.<br /><br /><b>Solution:</b><br /><br /><i>The shopping list:</i><br />- Buy standard plant soil at your local garden center;<br />- Buy breakable plastic pots, organic pots or be prepared to kill of your flower pot when the tree grows, diameter pot about 8 cm at the top;<br />- Buy a germination hothouse (about 20 cm high is a nice size) with some ventilation holes, and possibility to mount a light on it;<br />- Buy a small light (bulb/tube: Bulb if outside since it also gives sufficient warmth, 6 to 10 watts light is enough);<br />- Some aluminium foil for reflecting the light.<br /><br /><i>The planting:</i><br /><br />1) Mount the lamp onto the hothouse;<br />2) Coat the inside of the hothouse bottom and the sides (until halfway the height of the hothouse) with aluminium foil=&gt; Reflection increases the efficiency of the light, so 6 to 10 watts of light is enough;<br />3) Take the pots and fill them to the top with soil, do not compress the soil;<br />4) Add a generous amount of water to the soil;<br />5) Put some seeds on top of the soil (about 5 per pot);<br />6) Put very little (1 to 2 millimeter) soil on top of the seeds;<br />7) Add a bit more water;<br />8) Put the pot(s) into the hothouse;<br />9) Place the pots inside your house;<br />10) Plugin &amp; turn on the light. Leave the light on for about 18 hours per day (longer is allowed unless it disturbs you).<br /><br />About 2.5 to 3 weeks are between sowing the seeds and the first sequoia emerging using a surrounding temperature of about 15 to 20 degrees Celsius.<br /><br />If the inside of the hothouse fogs up to much, you can clean it. <br /><br />Occasional sunlight will help the process (and makes it possible for you to turn of the light)<br /><br /><b>Notes:</b><br /><br />A small percentage of seeds really grows into tiny sequoias with even less of those surviving the first year. Expect about 25% to grow with this method.<br />]]></content>
		<id>http://www.hipersonik.com/index.php?entry=entry080323-141549</id>
		<issued>2008-03-23T00:00:00Z</issued>
		<modified>2008-03-23T00:00:00Z</modified>
	</entry>
</feed>


