Archive for August, 2010

Tibco Hawk: Exception in tibhawkregistry::Getsipalycommandline()

If you are getting the error:

Tibco Hawk Display Wrapper

Exception in tibhawkregistry::GetDisplayCommandLine(): Unable to construct TIBCO Hawk Dsiplay command line.  Exception detail: Unable to resolve Java Runtime Environment.  Standard JRE install not present in Windows NT registry and no override specified in TIBCO Hawk configuration

Well, the all mighty Microsoft Process Monitor has Hawk looking in the registry under Local Machine “Java Software” or some weird name like that.  As we all know Java Software doesn’t exist in the MS world.

The best and quickest solution to this problem is to go into Hawk Configuration, and adding the JRE from your Tibco Runtime Agent software

  1. Click on Tibco Hawk Configuration Utility
  2. In the General Tab Click Advanced
  3. In the “Java Home Directory” put in C:\tibco\jre\1.6.0 or whatever other JRE you have installed
  4. In the JVM Executable put in Java.exe

Hit ok, launch Hawk Display and Enjoy!!

Facebook Twitter Email Linkedin Digg Delicious

Tibco Hawk Display Error: message=Version mismatch: tibrvj shared library version 8.2 does not match version of .JAR file 8.1

For those of you out there that are trying to install Tibco Hawk Suite and running into errors, here is your fix:

When you Install Tibco Runtime Agent 5.6.2, it updates your Rendezvous Jar files to 8.2

Problem is that Hawk is not compatible yet with Rendezvous 8.2, so when you try to start Hawk Display 4.8.1 in Windows after installing Tibco Run-time Agent 5.6.2 you get an error:

Error:

TibrvException

error=22

message=Version mismatch: tibrvj shared library version 8.2 does not match version of .JAR file 8.1

 
The solution is easier then you think…

Go into System Properties -> Advanced -> Environment Variables

Switch the order of the tibrv definitions in CLASSPATH and PATH, put the 8.1 first, then 8.2

Launch Hawk Display and Enjoy!!

Facebook Twitter Email Linkedin Digg Delicious
fixing infoview

Error 80040154 when using .Net Infoview

So I recently had to install the latest and greatest Crystal Reports Server 2008 v1 on Windows 2008 SP2 64-bit.

I followed the install guide from SAP and thought that all went well until I tried to run the .NET infoview.

as soon as I did, it gave me this error:

Retrieving the COM class factory for component with CLSID {E063B04A-CB8B-460E-99D0-F7D8FA2FAAA2} failed due to the following error: 80040154.                                                                                                               
                                                                                                                                   
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.                                                                   
                                                                                                                                   
Exception Details:
System.Runtime.InteropServices.COMException:                                                                    
Retrieving the COM class factory for component with CLSID {E063B04A-CB8B-460E-99D0-F7D8FA2FAAA2} failed due to the following error: 80040154.                                                                                                                          
                                                                                                                                   
Source Error:                                                                                                                           
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of                                                              
the exception can be identified using the exception stack trace below.
             
Stack Trace:                                                                                                                  
[COMException (0x80040154): Retrieving the COM class factory for component with CLSID {E063B04A-CB8B-460E-99D0-F7D8FA2FAAA2} failed due to the following error: 80040154.]              
                                                                                                                                   
CrystalDecisions.Enterprise.SessionMgr..ctor() +66                                                        
BusinessObjects.Enterprise.Infoview.Common.Utilities.GetInstalledLanguages() +80          
BusinessObjects.Enterprise.Infoview.Common.Utilities..cctor() +83
                                                      
[TypeInitializationException: The type initializer for ‘BusinessObjects.Enterprise.Infoview.Common.Utilities’ threw an exception.]                                                                                            
BusinessObjects.Enterprise.Infoview.Global.Application_Error(Object sender, EventArgs e) +619
System.EventHandler.Invoke(Object sender, EventArgs e) +0                                    
System.Web.HttpApplication.RaiseOnError() +174
 

Following their Knowledge base articles 1310290* and 1487760* is supposed to fix the problem, BUT…..

It just never worked for me no matter what, then something in note 1487760 caught my eye:

By default, IIS6 or IIS7 on 64-bit Windows run with 64-bit W3WP.EXE processes, but as .Net Infoview is implemented through 32-bit ISAPI DLLs, the W3WP.EXE processes for IIS7 cannot load them

So, I used my trusty friend Process Monitor from SysInternals / Microsoft and found that when W3WP.EXE loaded Infoview (you can see this by monitoring while doing an IISreset), it loaded it using the 64-bit .NET framework even though I had specified in the AppPool to use 32-bit

So I did a little poking around and found that the “Application” under the parent Crystal Website I created were not inheriting the Application Pool from the main site, they were all set to Classic .NET AppPool.  After going in, and manually switching them all to my CrystalReports2008 Application pool, Infoview started working again.

So there you have it, if you are running into this issue, now you know how to fix it, or at least what to look for.

I will be making another post later on how to install Crystal Reports Server 2008 v1 on Windows 2008

* those KB’s probably require you to login as a SAP support user, which I am, so I can view them but you may not be able to.  In my installation intructions, I will make sure I include the instructions from the KB’s

Facebook Twitter Email Linkedin Digg Delicious

Can’t run Yum Update – Byte ID 7

Bad id for repo: Some Repo Name, byte =   7

What this means is that in your SomeRepoName.conf file your repository deifinition has a space, so if your repository is Some Repo Name, change it to Some_Repo_Name, and problem solved

Facebook Twitter Email Linkedin Digg Delicious
Go to Top