Posts

Showing posts from May, 2011

Structure & Concepts in CA SiteMinder

Image
The following UML Class Diagram documents the main structural concepts in SiteMinder.

Electronic Records Management

Some points I made while considering whether TIFF or PDF format is more appropriate for the above. Need to differentiate the processing for: Records “born” electronic – use acrobat distiller to convert to PDF Scanned records – use acrobat capture to convert to PDF, use OCR to convert to text Paper-based records Archival workflow Document creation Document editing and annotation Tagging and metadata capturing Store and retrieve Print and distribute PDF/A is based on PDF Reference 1.4 (Acrobat 5) and has the following constraints Self-contained: All fonts used have to be embedded & external content references are disallowed Device-independent: Colour must be device-independent and transparency is disallowed Self-describing: XMP (eXtensible Metadata Platform) is required Unfettered: Encryption and LZW compression are disallowed Multimedia, forms, embedded files and JavaScript are disallowed PDF over TIFF More compact. I.e. smaller file size Metadata can be stor...

To Enable HTTP Compression in IIS

  Need to enable it in Web.Config as follows: < system.webServer > < httpCompression directory = "%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" > < scheme name = "gzip" dll = "%Windir%\system32\inetsrv\gzip.dll" /> < dynamicTypes > < add mimeType = "text/*" enabled = "true" /> < add mimeType = "message/*" enabled = "true" /> < add mimeType = "application/javascript" enabled = "true" /> < add mimeType = "*/*" enabled = "false" /> </ dynamicTypes > < staticTypes > < add mimeType = "text/*" enabled = "true" /> < add mimeType = "message/*" enabled = "true" /> < add mimeType = "application/javascript" enabled = "true" /> < add mimeType = "*/*...

Oracle WebLogic Class Loader Hierarchy

The detailed order for WebLogic class loading in top-down hierarchy follows: System Classloader WebLogic implementation classes Classes in the system classpath PRE_CLASSPATH and EXT_PRE_CLASSPATH Domain Classloader classes in the domain directory's lib folder Application Classloader Java EE shared libraries referenced in weblogic-application.xml Modules defined in the application Libraries from Java EE library Libraries from /APP-INF/lib Web Classloader Java EE shared libraries referenced in weblogic.xml Classes in WEB-INF/classes Libraries in WEB-INF/lib WebLogic 10.3.3 allows for the Application to intercept the the System classloader. This is required for loading alternative versions of application libraries such as the Xerces and Ant. Doing so allows for the lower-level classloader (e.g. Web) to load classes/ libraries before the ones typically loaded by the System classloader. In order to do this, the FilteringClassLoader mechanism – a classloa...

Developers' Fears

As developers, we prefer disconnected communication with business analysts, clients, and users. Our comfort zone tends to be one where we can carefully craft our thoughts before responding. Some common tools that aggravate such disconnect are: email IM defect-tracking system However, those more successful in their careers, are those who are capable of giving off-the-cuff responses and appearing confident in those responses. Developers need to change for the betterment of their career.

Apache Web Server Troubleshooting

How to troubleshoot Apache Web Server? A few standard commands to know by hard: To confirm the modules that are or will be loaded in Apache: apachectl –M [-f <conf filename>] To check the virtual host load pattern: apachectl –S [-f <conf filename>] To test a httpd.conf file: apachectl –t [-f <conf filename>] To maintain the http server: apachectl start|stop|restart To start with a specified configuration file: apachectl –f <conf filename> Create a minimalist httpd.conf. Something like: Listen 80 ServerName myserver.com:80 ServerAdmin admin@myserver.com #ServerRoot " . " ServerRoot " /usr/local/apache2 " User nobody Group nobody #DocumentRoot " ..\wwwroot " DocumentRoot " /home/data/html " ErrorLog " logs/basic_apache.log " LogLevel debug #LoadModule log_config_module modules/mod_log_config.dll LoadModule log_config_module modules/mod_log_config.so <IfModule log_config_module> LogFormat " %h %l...

Oracle JDBC Driver Connection Strings

Need to keep these handy. At the same time, this site is lovely ( http://www.connectionstrings.com/ ) for accessing Databases (like Oracle) from .NET. For OCI (or Type 2) drivers: jdbc:oracle:oci:@ TNS_ALIAS jdbc:oracle:oci:@ <HOST> :1521: <SID> jdbc:oracle:oci@// host: 1521/ service_name jdbc:oracle:oci:@(DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST= cluster_alias ) (PORT=1521)) (CONNECT_DATA=(SERVICE_NAME= service_name ))) jdbc:oracle:oci:@(DESCRIPTION= (LOAD_BALANCE=on) (ADDRESS=(PROTOCOL=TCP)(HOST= host1 )(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST= host2 )(PORT=1521)) (CONNECT_DATA=(SERVICE_NAME= service_name ))) For Thin (or Type 4) drivers: jdbc:oracle:thin: username / password @// host: 1521/ service_name jdbc:oracle:thin@// host: 1521/ service_name jdbc:oracle:thin@// cluster-alias:port / service_name jdbc:oracle:thin:@ <HOST> :1521: <SID> jdbc:oracle:thin:@(DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST= cluster_alias ) (PORT=1521)) (CONNECT...