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.
- Download and unzip the following file: ftp://ftp.sas.com/techsup/download/blind/ear2dir.zip
- Edit the ear2dir.bat or .sh file and change the path for JAVA_HOME to where the JDK1.5 is installed
- Move the .ear files from the default directory “/deploy_sas” to another directory. For example “/not_deploy_sas”
- 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
4 Comments
Pingback: Need a place to put other web viewable files? - Real BI for Real Users
Hi Angela,
Thank you.
Antoine
Antoine,
I stopped jBoss on my machine before running the ear2dir.bat file.
(However you might not be required to.)
~ Angela
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?