If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Changes in XTS Files not being reflected

Started by Novice, 29 Jun 2006 06:35:26 AM

Previous topic - Next topic

Novice

Hi,

I have a requirement in which I have to redirect the user from the LogOff page to another URL as soon as he logs off. For this, I identified the Log Off page as Logoff.xts located on the Application server at Installation Directory/c8/templates/ps/portal.

In this page, I have added a Meta tag for redirection in the Standard meta tag section. After this I restarted the service but still it doesn't work. I found that the changes are not being reflected even after restarting the Cognos8 service. To confirm this, I renamed a couple of XTS files, such as main.xts, welcome.xts and logoff.xts and then restarted the service. Despite renaming these files the portal is working normally. It seems that the changes are not being reflected. If anyone has done a similar thing and has any idea as to why is this happening then kindly share.

mikegreen

Pending you are modifying the right location of the files (some files might be in a few different areas within the C8/CRN folder structure), you probably need to rebuild/update the JAR files.

I had to do this a year or so ago, but cant recall how to.  I found out thru the KB on the support site.  I'd recommend searching for JAR and modify type terms within the KB and see what you get.  Or log a ticket and get the exact procedure.

Cheers,

Mike

Andrew Weiss

This is an old article but I'll reply for anyone else looking to do something similar.

First find the jar file that the xts was packaged into. Do this by opening each .jar file in the {install}\c8\webapps\p2pd\WEB-INF\lib into winzip.  I prefer winzip for this part be cause it shows all of the files in a list, not a tree like winrar (I know, maybe winrar can do it too, but I'm lazy).

Once you've found the correct jar file. Open it in winrar, you need to open it in winrar because you need to maintain the folder path of the file.

Stop the c8 service.

Navigate down to the file that needs to be updated

Drag & drop your edited file over the one in winrar.

Restart the c8 service.

Novice... The jar file you're looking for is C:\Program Files\Cognos\c8\webapps\p2pd\WEB-INF\lib\portal.jar


walah!

-andy
MetaManager makes administering IBM Cognos a breeze.  http://www.bspsoftware.com/MetaManager

Darek

Nice post Andrew. Novice, keep in mind, that modifying core XTS files is not a practice supported by Cognos.