MarkView Bar Code Generator Tuning Parameters
3822
3822
Issue
- What are the best settings for the Barcode Generator?
Resolution
- The Barcode format of PNG has a much smaller packet size than GIF, and so is optimal.
The MV_PREFERENCE setting is 'MVAS_BCG_FILE_FORMAT', and can be set via MarkView Administration.
NB: The following browser versions support PNG:
Netscape Navigator 4.7 with the Quicktime plug-in (Note: The background prints light grey.)
Netscape Navigator 7
Microsoft Internet Explorer 5.0 and higher - Rollup several barcode requests into one (1) request, by concatenating the parameters. For example: http://<server>.domain.com:7777/servlet/markview.BarCode?text=D&text=F&text=G&text=H
- Adjust minimum dispatchers to 50:
The MV_PREFERENCE setting is 'MVAS_BCG_MIN_DB_DISPATCHERS', and can be set via MarkView Administration). - Adjust maximum dispatchers to 50:
The MV_PREFERENCE setting is 'MVAS_BCG_MAX_DB_DISPATCHERS', and can be set via MarkView Administration). - Adjust buffer size upward (at least 32000):
The MV_PREFERENCE setting is 'MVAS_BCG_BUFFER_SIZE', and can be set via MarkView Administration). - Adjust initial and maximum java heap size upward, within bounds of virtual memory on the server:
- -Xms sets the initial heap size, and is in the form:
-Xms256M - -Xmx sets the maximum heap size, and is in the form:
-Xmx512MNote: There is no space between the parameter and the value. Note: These parameters are to the java engine, and so are specified before the OC4J jar file:
java -Xms256M -Xmx512M -jar oc4j.jar
or
java -Xms256M -Xmx512M -jar orion.jar
- -Xms sets the initial heap size, and is in the form:
- Periodically trim all OC4J logfiles:
- OC4J log file (usually specified by the -out parameter when starting OC4J)
- OC4J error file (usually specified by the -err parameter when starting OC4J)
- j2ee/home/log/global-application.log
- j2ee/home/log/http-web-access.log (in OC4J 1.0.2, it is named j2ee/home/log/default-web-access.log)
- j2ee/home/log/jms.log
- j2ee/home/log/rmi.log
- j2ee/home/log/server.log
Applies To
-
MarkView Version: (All Versions.)