jBoss performance improvement

4

BI/EBI SAS deployed Web Applications actually are .ear files residing in the deploy_sas folder of jBoss. This could create a delay in reboot time if memory on the server is limited. Included are the steps to deploy these .ear files into full folders that dramatically improve the restart time of jBoss.

  1. Download and unzip the following file: ftp://ftp.sas.com/techsup/download/blind/ear2dir.zip
  2. Edit the ear2dir.bat or .sh file and change the path for JAVA_HOME to where the JDK1.5 is installed
  3. Move the .ear files from the default directory “/deploy_sas” to another directory. For example “/not_deploy_sas”
  4. Execute the .bat or .sh script giving it 2 parameters. The first being the directory that contains the EAR files. The second is the directory JBOSS is expecting the EAR files to be.

Example:
ear2dir.bat "c:\jboss-4.2.0.GA\server\SASServer1\not_deploy_sas" "c:\jboss-4.2.0.GA\server\SASServer1\deploy_sas"

Additional Resources:
http://support.sas.com/documentation/cdl/en/biwaag/61238/HTML/default/a003317289.htm

Share

About Author

Angela Hall

Senior Technical Architect

Angela offers tips on using the SAS Business Intelligence solutions. She manages a team of SAS Fraud Framework implementers within the SAS Solutions On-Demand organization. Angela also has co-written two books, 'Building BI using SAS, Content Development Examples' & 'The 50 Keys to Learning SAS Stored Processes'.

4 Comments

  1. Pingback: Need a place to put other web viewable files? - Real BI for Real Users

  2. Hi, great tip. Just missing some minor detail. Do I move and execute the script while JBoss is running. Do I do a Jboss shutdown, execute ear2dir.bat and restart Jboss?

Back to Top