Cameo Enterprise ArchitectureTM 17.0 SP5 
Reader Readme 


Overview System requirements Installation Configuration Troubleshooting

    

What is Cameo Enterprise Architecture Reader?


Top

Cameo Enterprise Architecture Reader edition is made for reading and previewing UPDM, SysML, BPMN, SoaML, and UML models created with Cameo Enterprise Architecture and is free of charge. It is extremely useful when you want to share your ideas expressed in models with partners, colleagues, or clients, who do not have their copy of Cameo Enterprise Architecture. This edition is also equipped with printing and image export capabilities.


    

System requirements


Top


Minimum

Recommended

Memory

256MB

512MB; 1Gb is recommended for large projects

Disk space

400MB

400MB or more

Video mode

800*600 @ 64k colors

1280*1024 @ 64k colors

Operating system: Any Java 1.6.0 compatible virtual machine, i.e., Windows 95/ 98/ NT/ 2000/ XP/ Vista/ 7, Linux, Mac OS X (most testing procedures and debugging have been performed on these operating systems).

HTML browser: Any. Preferred Firefox or Internet Explorer and Safari for Mac OS X. 

Java Virtual Machine: Sun's JDK 1.6.0_22.

You can find the up-to date JVM list at:
http://www.magicdraw.com/jvm_list.htm


    

Installation


Top

If you use an operating system other than Windows, Unix, or Mac OS X, we recommend to run Cameo Enterprise Architecture Reader from the no-install package (see section "Using no-install package").

Using installer

Windows 95/ 98/ NT/ 2000/ XP/ Vista/ 7

1. Download the installer:

2. Double-click the installer. 

Unix

1. Download Cameo_Enterprise_Architecture_Reader_<version number>_unix.sh.
2. Double-click the installer. 

IMPORTANT!  Be sure you have:

Mac OS X

1. Download Cameo_Enterprise_Architecture_Reader_<version number>_mac.dmg.
2. Double-click the installer.
3. Drag the Cameo Enterprise Architecture Reader folder to the Applications or some other folder.

IMPORTANT! Be sure you have JVM installed.

Using no-install package

Download the no-install package to run Cameo Enterprise Architecture Reader on any operating system.

Windows 95/ 98/ NT/ 2000/ XP/ Vista/ 7

1. Download Cameo_Enterprise_Architecture_Reader_<version number>_no_install.zip.
2. Extract the file.
3. Go to the bin directory and run:

NOTE: Working on Microsoft Windows 7 or Microsoft Windows Vista operating systems. When you are applying the service pack, set your archiver program to run as administrator. In order to do that, open the archivers executable file properties and, in the Compatibility tab, select the Run this program as an administrator check box.

Unix

1. Download Cameo_Enterprise_Architecture_Reader_<version number>_no_install.zip.
2. Extract the file.
3. Go to the bin directory and run cameoea to start  Cameo Enterprise Architecture.

IMPORTANT! Be sure you have JVM installed.

Mac OS X

1. Download Cameo_Enterprise_Architecture_Reader_<version number>_no_install_mac.zip.
2. Extract the file.
3. Using the command-line prompt go to the bin directory and type the command:

./cameoea
IMPORTANT! Be sure you have JVM installed.

    

Startup configuration


Top

Changing Java version

On all operating systems

In the cameoea.properties file (or the cameoea64.properties file on 64-bit Windows), which is located in <Cameo Enterprise Architecture installation directory>\bin, add the value for the following parameter:

JAVA_HOME=<path to new JRE>

NOTE: Integrated Cameo Enterprise Architecture runs on the JVM specified by the IDE. In order to change JVM, you need to modify startup properties for the IDE Cameo Enterprise Architecture integrates with. If you are running Cameo Enterprise Architecture integrated with IDE, read the appropriate readme.html for the specific integration, which can be found in <Cameo Enterprise Architecture installation directory>\integrations\<IDE directory>.

Changing the location for the configuration files storage

Configuration files are by default sored in <User home directory>\.cameoea_reader\<version number>.

If Cameo Enterprise Architecture Reader is running, you can open this folder directly from the application. Do the following:

  1. On the main menu, click HelpAbout Cameo Enterprise Architecture.
  2. Open the Environment tab.
  3. Click the Configuration Files hyperlink.
You can also save configuration files in any of the following locations:
To store configuration files in the Cameo Enterprise Architecture installation directory:
  1. Open the cameoea.properties file (or the cameoea64.properties file on 64-bit Windows), which is located in <Cameo Enterprise Architecture installation directory>\bin.
  2. Change the parameter value from
    -DLOCALCONFIG=true
    to
    -DLOCALCONFIG=false
To store configuration files in other directory:

Do the following:

  1. Go to <User home directory>\.cameoea_reader\<version number>.
  2. Create a new file named cameoearedirect.
  3. In the file, type the absolute path to the folder wherein Cameo Enterprise Architecture Reader configuration files will be saved, e.g., C:\<directory name>.
Or:
  1. Open the cameoea.properties file (or the cameoea64.properties file on 64-bit Windows), which is located in <Cameo Enterprise Architecture installation directory>\bin.
  2. Change the parameter value:
    -DLOCALCONFIG.location=<absolute path to a chosen location>
    NOTE: If you have defined to store files in the Cameo Enterprise Architecture installation directory (see section "To store configuration files in the Cameo Enterprise Architecture application installation directory"), files will not be stored in the defined location.

Redirecting output info to the console

The Cameo Enterprise Architecture Reader output information by default goes into the md.log file. If there is a need, you can redirect the output to the console.

NOTE: If you can not find the md.log file, see section "md.log file location".

On all operating systems

In the cameoea.properties file (or the cameoea64.properties file on 64-bit Windows), which is located in <Cameo Enterprise Architecture installation directory>\bin, add the value for the following parameter:

APP_ARGS =-verbose

    

Troubleshooting


Top

OutOfMemory problem

Sometimes when running the program the OutOfMemory error occurs.

Windows, Linux OS, Mac OS X

If you are running the Sun's JVM, set the following java properties in your cameoea.properties file (or the cameoea64.properties file on 64-bit Windows) to avoid the above problem:
in the line JAVA_ARGS=-Xmx600M, change the number of heap size '600' to the maximal heap size in megabytes.

For example the java heap size would be:
JAVA_ARGS=-Xmx800M
This sets the java heap size to 800 megabytes.

NOTE: Integrated Cameo Enterprise Architecture runs on the JVM, specified by the IDE. If you are running Cameo Enterprise Architecture, integrated with the IDE, you will need to modify startup properties for the appropriate IDE.

OutOfMemory PermGen space problem

If you get the exception "java.lang.OutOfMemoryError: PermGen space", please check, if PermSize is specified in the configuration file.

Windows, Linux OS, Mac OS X (not applicable for IBM JVM)

In the cameoea.properties file (or the cameoea64.properties file on 64-bit Windows), the JAVA_ARGS line should look like:
JAVA_ARGS=-Xmx400M -XX\:PermSize\=40M -XX\:MaxPermSize\=150M

If PermSize is specified in cameoea.properties file (or the cameoea64.properties file on 64-bit Windows) and the same problem still appears, MaxPermSize should be increased. PermSize is a part of the heap size, so MaxPermSize should always be smaller than the heap size specified with the Xmx parameter.
For example:
JAVA_ARGS=-Xmx800M -XX\:PermSize\=40M -XX\:MaxPermSize\=200M

NOTE: Integrated Cameo Enterprise Architecture runs on the JVM, specified by the IDE. If you are running Cameo Enterprise Architecture, integrated with the IDE, you will need to modify startup properties for the appropriate IDE.


StackOverflow problem

Sometimes when running the program, the StackOverflowError occurs.

Windows, Linux OS, Mac OS X

If you are running the Sun's, IBM JVM, set the following java properties in your cameoea.properties file (or the cameoea64.properties file on 64-bit Windows) to avoid the above problem:
to the line JAVA_ARGS=-Xmx600M, append the string -Xss<stack size>

For example:
JAVA_ARGS=-Xmx600M -Xss2M

This sets the java stack size to 2 megabytes.

NOTE: Integrated Cameo Enterprise Architecture runs on the JVM, specified by the IDE. If you are running Cameo Enterprise Architecture, integrated with the IDE, you will need to modify startup properties for the appropriate IDE.


Computer freezes or reboots while exiting Cameo Enterprise Architecture or repaint problems occur

This may happen because of JDK SDK and the Windows direct draw incompatibility. We would suggest you to turn off the direct draw for the Cameo Enterprise Architecture application.
In the <Cameo Enterprise Architecture installation directory>/bin/cameoea.properties file (or the cameoea64.properties file on 64-bit Windows) to the line'JAVA_ARGS=' append the additional part
-Dsun.java2d.noddraw.

NOTE: Integrated Cameo Enterprise Architecture runs on the JVM, specified by the IDE. If you are running Cameo Enterprise Architecture, integrated with the IDE, you will need to modify startup properties for the appropriate IDE.


After the install, Cameo Enterprise Architecture cannot be launched or it just appears on the screen and vanishes

Please try one of the following solutions:

NOTE: Integrated Cameo Enterprise Architecture runs on the JVM, specified by the IDE. If you are running Cameo Enterprise Architecture, integrated with the IDE, you will need to modify startup properties for the appropriate IDE.


The Cameo Enterprise Architecture installer is not started or Cameo Enterprise Architecture is not started on Linux OS

The Cameo Enterprise Architecture installer may not be started or Cameo Enterprise Architecture itself may not be started, because of changes in the default system Java. In this case when starting the installer or Cameo Enterprise Architecture, no GUI appears or when starting from the command line the following message is displayed:
Configuring the installer for this system's environment... No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program.
We would suggest the following solution:


Diagram printing is not working on Linux OS

The problem is related with the Linux cups package update.
This problem is the Sun Java bug and the description of this problem is published in the Java Bug Database: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6633656.
To solve the diagram printing problem we would suggest to:
  1. Open the file /etc/cups/printers.conf
  2. Before each line with the text </Printer>, add the following line:

    Options orientation-requested 3

For more information about solving this problem, see the Ubuntu bug database: https://bugs.launchpad.net/ubuntu/+source/sun-java6/+bug/156191/comments/18.

You can also use the workaround for the diagram printing and print the diagram in the following way:
  1. Export the diagram as Image. To do this, on the main menu, click File > Save as Image.
  2. Open the exported image and print it.
    For more information about saving the diagram as images see section "Saving as an Image" in the chapter "Diagramming" in MagicDraw UserManual.pdf.

md.log file location

If Cameo Enterprise Architecture Reader is running, you can open the md.log file directly from the application. Do the following:
  1. On the main menu, click Help > About Cameo Enterprise Architecture.
  2. Open the Environment tab.
  3. Click the Log File hyperlink.

If for some reasons Cameo Enterprise Architecture Reader can not be started, look for the md.log file in one of the following locations:

Frequently Asked Questions

If you cannot find the answer to your problem in the list above, please visit our website for FAQ at http://www.magicdraw.com/faq or  discuss and get answers about No Magic products in No Magic Community Forum