Tag Archives: MicroStrategy web

Session timeout warning on Web

Hello there,

MicroStrategy added a really nice feature that tells when you the web session is going to timeout, but it is disabled by default.

To enable it, just go to:

  1. Open MicroStrategy Web and go to Preferences;
  2. Choose Project Defaults;
  3. Check the “Show Warning … seconds before timeout.pic1

That is it.

Hope it helps.
God bless you!

Disable export option for Grid/Graph in Flash mode

Hello there!

Today let’s talk a quick tip about the export options that appears when you mouse over a grid/graph while in flash mode.

Capturar

To remove those options, you just have to:

1. Open your flash document in MicroStrategy Web;

2. Right click on the desired grid/graph and click on Properties and Formattin… option;

3. In General just change the “Show export options on title bar” option to No

Capturar

Now you won’t see the export button when you mouse over the graph.

Hope it helps!

God bless you!

Change prompt behavior in MicroStrategy Web

Hello there!

Today let’s talk about how to change the default behavior of prompts in MicroStrategy Web.

When you create more than one prompt in a report/document, MicroStrategy web will display all of them in the same page. You can change that to display one-per-page.

To change this behavior you just have to:

1. Login using Administrator in MicroStrategy Web;

2. Open a project and go to Preferences:

pic

3. Go to Project Defaults and Prompts;

pic

4. Change to Each on a separate page in View prompts option;

pic

5. Save the changes:

pic

Now you will see each prompt in a separate page.

 

Hope it helps!

God bless you!

Using JBoss in Unix

Hello there!

Today let’s talk a little bit about using the Web Server JBoss to deploy our MicroStrategy Web/Mobile applications.

MicroStrategy supports JBoss 6.0.1 running on Windows/Unix environments.

To make it works on Unix, you just have to install it as usually and deploy your MicroStrategy war files inside your standalone or domain folders. You can also use the \server\default\deploy folder to deploy your files, if you have this path.

I had some problems using war files in domain folder… So I usually use the standalone folder to deploy the applications.

You will see a deployments (or \server\default\deploy folder )folder inside standalone folder, that is the place where you need to deploy your applications.

MicroStrategy recommends to unzip the war file and use the folder instead of deploying the compressed war file.

In Unix, you can follow these procedures to deploy your application (remember to be inside your deployments folder) :

1. Rename your MicroStrategy.war to MicroStrategyCompressed.war, for example:

# mv MicroStrategy.war MicroStrategyCompressed.war

2. Create a new folder using “MicroStrategy.war” name (you must use the .war at the end of the folder name);

# mkdir MicroStrategy.war

3. Move your MicroStrategyCompressed.war to this MicroStrategy.war folder;

# mv MicroStrategyCompressed MicroStrategy.war/

4. Open this directory;

# cd MicroStrategy.war 

5. Unzip the MicroStrategyCompressed.war file

# unzip MicroStrategyCompressed.war 

6. You can remove your MicroStrategyCompressed.war file

# rm MicroStrategyCompressed.war 

7. Go to back the previous folder and create a .dodeploy file like this:

# cd .. ; vi MicroStrategy.war.dodeploy

8. When VI opens this new file “MicroStrategy.war.dodeploy” you just have to insert the MicroStrategy.war in the first line:

# (type i to begin writting and write:) MicroStrategy.war

9. Save your file using hitting ESC button and write:

# :x

That’s right 😡 and hit ENTER

Now you have just deployed your MicroStrategy Web! To deploy folders, you have create a new file using the same name of the folder plus .dodeploy at the end. Remember to use the .war at the end of the folder’s name.

Just repeat these steps with your MicroStrategyMobile.war.

Using a folder is better, because inside your .war file there is a sys_defaults.xml file that contains every configuration that you create using Web Administrator.

JBoss always redeploys your war files, so you will have to redo these steps every time that you stop and start your JBoss Web Server.

Remember to create your users and create your users.properties and roles.properties files to be able to use your Web Administrator.

If you have any doubts, please feel free to comment and ask your question.

Hope it helps!

God bless you!

Java.lang.OutOfMemory

Hello there!

Sometimes when you receive an error of OutOfMemory while attempting to execute reports or you just execute a huge report using IIS (Internet Information Service). This error message is something like this:


Java.lang.OutOfMemory in MicroStrategy Web

To fix this problem you have to increase the Max Java Heap for MicroStrategy Web.

You just have to:

1. Click Start button (Windows);

2. Select: Execute;

3. Write: regedit

4. Browse:

HKEY_LOCAL_MACHINE\Software\Wow6432Node\MicroStrategy\JNI Bridge 64\Configuration\JVM Options\

5. Double click on the registry: HeapMaxSize

6. Change the default value to something greater. 
Example:
Mine was 512M, I increased to 6144M that is: 1024 * 6 = 6GB RAM for max heap size.

Always use number with a M at the end without spaces. 

Restart your IIS and you will be good.

Hope it helps.

God bless you!

Creating Alias name for a project in Web

Hello there!

Today let’s talk about a quick tip: How to change a project name in MicroStrategy Web without modifying it in MicroStrategy Developer. So, you can have a project name in Developer and a different name for the same project in MicroStrategy Web.

To do that, you have to:

1.  Login using Administrator user in MicroStrategy Web;

2. Open your project;

3. Go to Preferences;

pic1

4. Choose Project Defaults;

5. Go to Project Display;

pic2

6. Input a name in the Project alias textfield, restart your MicroStrategy Web, and you will have a different name for you project.

Hope it helps.

God bless you!

Purge Microstrategy Web Cache

Hello there!

Today let’s talk about caches in Microstrategy Web.

Sometimes when you change something in Intelligence Server, Narrowcast Server or even in Web Server you don’t see the changes in Microstrategy Web.

You can force Microstrategy Web to reread the property files in the classpath.

To do that you have to use Web Administrator.

If you use IIS (Internet Information Service), you have to enter this URL:

http://WebServerNameOrIP/Microstrategy/asp/Admin.aspx?pg=purgecaches

Where WebServerNameOrIP is the IP or DNS your server. Just change to the correct one.

If you use Web Universal (J2EE):

http://AppServerName:port/Microstrategy/servlet/mstrWebAdmin?pg=purgecaches

Where AppServerName:port is the Server and Port of your Web Server.

When you open this URL, you will see something like this:

picc1

Just check those options, and MicroStrategy Web will purge all system level caches.

Hope it helps.

God bless you