Comments (9)
I just ran the entire script with the latest updates, and Alfresco started fine. Are you still trying with 32bit?
from alfresco-ubuntu-install.
@loftux This error shows on a new VM with Ubuntu 14.04 x86_64 ... 64 bit.
Selected the option to run on Postgresql JDBC (with updated 4.1 url), Solr4, openjdk, tomcat 8 (had to update url as it was on an unavailable old version of tomcat 7), nginx, the backup app.
EDIT: ** All inside a 2GB OpenVZ container. **
Any idea why the error?
from alfresco-ubuntu-install.
I have now run it again, this time with postgres, and it works fine.
The error indicates that there is an issue with the tomcat configuration files, check that they are correct (compare to the ones downloaded by the script).
Unless you have a reliable way to reproduce the error I'm going to close the issue.
from alfresco-ubuntu-install.
Steps to reproduce.
- Replace Postgres JDBC URL with:
JDBCPOSTGRES=postgresql-9.3-1102.jdbc41.jar - Replace Tomcat URL with:
TOMCAT_DOWNLOAD=http://apache.mirrors.spacedump.net/tomcat/tomcat-8/v8.0.18.tar.gz - Run alfinstall.sh
Install everything (enter y to all yes/no prompts ).
http as protocol type for both share and alfresco repository.
Script completes installation.
Make modifications requested by script (db username, db password, db type postgres, comment out mysql db settings).
Start alfreso service.
You should see the error log filling up quickly.
/var/log/alfresco/upstart/alfresco.log
from alfresco-ubuntu-install.
The current supported version is Tomcat 7. You will have to merge the files in https://github.com/loftuxab/alfresco-ubuntu-install/tree/master/tomcat catalina.properties and server.xml. the script has downloaded those and overwritten the version 8 ones with version 7 compatible ones. There is your error. You have to manually make sure that you use working versions.
from alfresco-ubuntu-install.
Thanks @loftux
http://www.coderanch.com/t/84854/Tomcat/solve-erro-tomcat-console
Any thought of adding support for tomcat 8 by detecting downloaded tomcat version and then select matching version of catalina.properties and server.xml to download?
Also: alfresco 5 has html5 document preview, swf flash in Alfresco is deprecated as unnecessary. Isn't it now best to remove the swftools installer from the script?
http://blogs.alfresco.com/wp/kevinr/2014/06/27/alfresco-community-5-0-a/
from alfresco-ubuntu-install.
It's still throwing the same errors when installing Tomcat 7.
TOMCAT_DOWNLOAD=http://apache.mesi.com.ar/tomcat/tomcat-7/v7.0.59/bin/apache-tomcat-7.0.59.tar.gz
/var/log/alfresco/upstart/alfresco.log
20-Feb-2015 18:13:28.513 WARNING [main] org.apache.catalina.startup.Catalina.load Catalina.start using conf/server.xml: Error at (30, 67) : org.apache.catalina.core.JasperListener
20-Feb-2015 18:13:28.534 SEVERE [main] org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
java.lang.ClassNotFoundException: org.apache.catalina.core.JasperListener
Lines 29 and 30 of server.xml:
< !--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -- >
< Listener className="org.apache.catalina.core.JasperListener" / >
from alfresco-ubuntu-install.
@loftux I found the cause of the problem.
The script created 2 tomcat lib folders in the /opt/alfresco/ tree.
One called tomcat, the other called tomcat-(full version number) - obviously leftover when the script failed to remove it.
Must be a bug, when you reinstall over an existing failed install, where the script fails to remove the existing tomcat folder, and leaves the uncompressed tomcat-(version). folder in place, to cause this class not found crash bug...
There was a set of Tomcat 8 libs (jars) in one folder, and a set of Tomcat 7 libs (jars) in the other folder.
The Tomcat java classloader was taking the incompatible Tomcat 8 version of the jasper.jar (JSP page support).
It would be a lot better if the Tomcat Java error log message actually said, "incompatible library version," and gave the full path of the offending jar.... Jeez...
Problem solved by removing both "tomcat" folders (each of which contained a lib folder full of jars) and re-run the install script from beginning.
from alfresco-ubuntu-install.
Opened a separate issue for Tomcat 8, Java 8 support #47
Opened a separate issue for removing swftools. #48
Closing this issue.
from alfresco-ubuntu-install.
Related Issues (20)
- ImageMagick install fails on Ubuntu 18.04 because of the wrong "libpng" package name
- The current onfiguration of max size for transformations does not apply for JodConverter HOT 1
- Libreoffice 6.2.2 no longer available HOT 1
- New version is not getting
- how to install https
- Liberooffice is not downloding HOT 3
- Problemas con el usuario HOT 1
- not connecting with postgres - getting error "role/database alfresco_db does not exists" HOT 2
- Shell script linux uninstall Alfresco HOT 5
- Project's README file needs update HOT 1
- sudo: add-apt-repository: command not found when using the postgresql.sh script
- Url not redirecting to /share page.
- not able to login : getting CSRF attack error on console.
- repository is not starting : may be issue with deploying alfresco.xml. HOT 2
- error: share unable to retrieve license information from alfresco 404 HOT 1
- Alfresco script based install for Ubuntu servers in version Alfresco Community 6.2.2 HOT 1
- Update libreoffice links
- Mobile Error: You're not allowed to access this server.
- Install troubles
- repository svn.alfresco.com is down, so no keystore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alfresco-ubuntu-install.