AnsweredAssumed Answered

Installation of Alfresco 1.4 on Sun JES2005Q4 Web Server

Question asked by ewise on Nov 8, 2006
Latest reply on Nov 15, 2006 by ewise
I have culled all the various threads in this forum to get a working install of Alfresco on our Sun One Web Server 6.1.

http://forums.alfresco.com/viewtopic.php?t=2985&highlight=sun+web+server
http://forums.alfresco.com/viewtopic.php?t=3008&highlight=
Easiest Reference: search for posts by "tvanover"

Notes:
- this works with MySQL and Oracle
- I am using a remote database, if you are not using a remote database you may skip some steps under here

1. Get Sun One Web Server up and running.
2. Get the plain 1.4 tar.gz
3. expand the tar.gz and install the alfresco.war on your web server via the admin console
4. stop the web server
5. place the MySQL driver in <web server root>/lib (in my case it is in /opt/SUNWwbsvr/https-testserver/lib/mysql.5.0.3.jar) and via the admin web console add the location of the .jar file to the JVM path statement.
6. change directory to the location of the war file (in my case it is in /opt/SUNWwbsrv/https-testserver/webapps/alfresco – <approot>)
7. change directory to <approot>/WEB-INF/classes/alfresco/extension
8. create a new custom-db-connection.properties from the custom-db.connection.properties.sample from the tar.gz file you downloaded (in extensions/extension)
9. create a new custom-hibernate-dialect.properties from the custom-hibernate-dialect.properties.sample from the tar.gz file you downloaded (in extensions/extension)
10. change directory to <approot>/WEB-INF/classes/alfresco
11. ensure that repository.properties has the correct db.url and configuration data
12. change directory to <approot>/
13. remove from every JSP file the lines referring to the JSTL code and the isELIgnored. The JSTL and isELIgnored code prevents startup.

find . -print | grep .jsp | xargs perl -p -i -e "s/^.*jstl.*$/""/gi"
find . -print | grep .jsp | xargs perl -p -i -e "s/^.*isELIgnored.*$/""/gi"

14. create a new .jar file from jsp-api.jar that only contains the javax.servlet.jsp.el package and copy that newly created file (I called it jsp-el.jar) into the <approot>/WEB-INF/lib
15. restart the web server via the admin web console
16. hope it starts!

Outcomes