Ok I had to change the /etc/default/tomcat7: JAVA_HOME=/usr/lib/jvm/java-8-oracle I think my problem was because I installed openjdk and the installation was all messed up. Thank you Thomas for all the help. 2016-08-02 16:39 GMT-04:00 Dev Dev <[email protected]>:
Aug 02, 2016 4:31:04 PM org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/xwiki] startup failed due to previous errors
2016-08-02 16:39 GMT-04:00 Dev Dev <[email protected]>:
The file exist, I have also installed the manager webapp and I can see /xwiki, but when trying to start it I get:
2016-08-02 14:42 GMT-04:00 Thomas Mortagne <[email protected]>:
I just tried on a fresh Ubuntu 14.04 VM and it worked well for me.
Make sure you have a xwiki.xml link in /etc/tomcat7/Catalina/localhost/ which targets /etc/xwiki/xwiki-tomcat7.xml.
By the way in case you did not already, make sure you look at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT#HMemo... since standard Tomcat 7 on Ubuntu 14.04 does not have much memory allocated.
On Tue, Aug 2, 2016 at 7:00 PM, Dev Dev <[email protected]> wrote:
http://my.dns:8080/xwiki/ = HTTP 404 - /xwiki/ (Tomcat)
2016-08-02 12:55 GMT-04:00 Thomas Mortagne <[email protected]>:
You probably missed the /xwiki/ part in the URL. XWiki does not force itself as default application in Tomcat.
On Tue, Aug 2, 2016 at 5:44 PM, Dev Dev <[email protected]> wrote:
Ok it works on Ubuntu 14.04 when installing (maybe updating the documentation so people don't use openjdk?) http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
But after the installation: dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf Creating config file /etc/dbconfig-common/xwiki.conf with new version Creating config file /etc/xwiki/hibernate.cfg.xml with new version granting access to database xwiki for xwiki@localhost: success. verifying access for xwiki@localhost: success. creating database xwiki: success. verifying database xwiki exists: success. dbconfig-common: flushing administrative password allow xwiki user to create new databases Setting up authbind (2.1.1) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up xwiki-enterprise-tomcat7-common (8.2.1) ... * Stopping Tomcat servlet engine tomcat7 [ OK ] * Starting Tomcat servlet engine tomcat7 [ OK ] Setting up xwiki-enterprise-tomcat7-mysql (8.2.1) ... * Stopping Tomcat servlet engine tomcat7 [ OK ] * Starting Tomcat servlet engine tomcat7
All I see on :8080 is "It works! If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!"
Any idea?
2016-08-02 10:06 GMT-04:00 Thomas Mortagne <[email protected]>: > Actually I just checked to be sure and Ubuntu 14.04 standard > repository don't have any openjdk 8. That's probably your issue. > > I personally use > http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html > to install Oracle jvm and it's working like a charm. > > On Tue, Aug 2, 2016 at 3:55 PM, Thomas Mortagne > <[email protected]> wrote: >> What error do you get exactly and are you sure you are installing 8.2 >> since http://jira.xwiki.org/browse/XWIKI-13590 is fixed in 8.2 ? >> >> On Tue, Aug 2, 2016 at 3:45 PM, Dev Dev <[email protected]> wrote: >>> I tried it also on Ubuntu 14.04 LTS but many errors about dependencies >>> not satisfied. Found a post that said it was fixed, but still not >>> working: >>> http://jira.xwiki.org/browse/XWIKI-13590 >>> >>> In short, is it possible to install xwiki using the apt-get / >>> documentation on Ubuntu 14.04 & 16.04? >> >> I'm using Ubuntu 14.04 and it's working well. I did not hit >> http://jira.xwiki.org/browse/XWIKI-13590 because I install Oracle >> version of Java before XWiki. >> >>> >>> Anyone? >>> >>> 2016-08-02 4:44 GMT-04:00 Thomas Mortagne <[email protected]>: >>>> The issue seems to be in Tomcat package which XWiki just declare as >>>> dependency but for some reason Ubuntu failed to install it. >>>> >>>>> Job for tomcat7.service failed because the control process exited with error code. See "systemctl status tomcat7.service" and "journalctl -xe" for details. >>>> >>>> I guess you should looks at the suggested logs. >>>> >>>> On Mon, Aug 1, 2016 at 10:49 PM, Dev Dev <[email protected]> wrote: >>>>> Hi, >>>>> >>>>> I am trying to install xwiki (mysql) using the doc at: >>>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT >>>>> >>>>> Here's the output: >>>>> http://paste.ubuntu.com/21810285/ >>>>> >>>>> Setting up tomcat7 (7.0.68-1ubuntu0.1) ... >>>>> >>>>> Creating config file /etc/default/tomcat7 with new version >>>>> >>>>> Adding system user `tomcat7' (UID 113) ... >>>>> >>>>> Adding new user `tomcat7' (UID 113) with group `tomcat7' ... >>>>> >>>>> Not creating home directory `/usr/share/tomcat7'. >>>>> >>>>> Creating config file /etc/logrotate.d/tomcat7 with new version >>>>> >>>>> Job for tomcat7.service failed because the control process exited with >>>>> error code. See "systemctl status tomcat7.service" and "journalctl >>>>> -xe" for details. >>>>> >>>>> invoke-rc.d: initscript tomcat7, action "start" failed. >>>>> >>>>> dpkg: error processing package tomcat7 (--configure): >>>>> >>>>> subprocess installed post-installation script returned error exit status 1 >>>>> >>>>> Setting up xwiki-enterprise-common (8.2.1) ... >>>>> >>>>> Setting up xwiki-enterprise-mysql-common (8.2.1) ... >>>>> >>>>> Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. >>>>> >>>>> dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf >>>>> >>>>> Creating config file /etc/dbconfig-common/xwiki.conf with new version >>>>> >>>>> Creating config file /etc/xwiki/hibernate.cfg.xml with new version >>>>> >>>>> granting access to database xwiki for xwiki@localhost: success. >>>>> >>>>> verifying access for xwiki@localhost: success. >>>>> >>>>> creating database xwiki: success. >>>>> >>>>> verifying database xwiki exists: success. >>>>> >>>>> dbconfig-common: flushing administrative password >>>>> >>>>> allow xwiki user to create new databases >>>>> >>>>> dpkg: dependency problems prevent configuration of >>>>> xwiki-enterprise-tomcat7-common: >>>>> >>>>> xwiki-enterprise-tomcat7-common depends on tomcat7; however: >>>>> >>>>> Package tomcat7 is not configured yet. >>>>> >>>>> dpkg: error processing package xwiki-enterprise-tomcat7-common (--configure): >>>>> >>>>> dependency problems - leaving unconfigured >>>>> >>>>> dpkg: dependency problems prevent configuration of >>>>> xwiki-enterprise-tomcat7-mysql:No apport report written because the >>>>> error message indicates its a followup error from a previous failure. >>>>> >>>>> xwiki-enterprise-tomcat7-mysql depends on >>>>> xwiki-enterprise-tomcat7-common (= 8.2.1); however: >>>>> >>>>> Package xwiki-enterprise-tomcat7-common is not configured yet. >>>>> >>>>> dpkg: error processing package xwiki-enterprise-tomcat7-mysql (--configure): >>>>> >>>>> dependency problems - leaving unconfigured >>>>> >>>>> Processing triggers for libc-bin (2.23-0ubuntu3) ...No apport report >>>>> written because the error message indicates its a followup error from >>>>> a previous failure. >>>>> >>>>> Processing triggers for systemd (229-4ubuntu7) ... >>>>> >>>>> Processing triggers for ureadahead (0.100.0-19) ... >>>>> >>>>> Errors were encountered while processing: >>>>> >>>>> tomcat7 >>>>> >>>>> xwiki-enterprise-tomcat7-common >>>>> >>>>> xwiki-enterprise-tomcat7-mysql >>>>> >>>>> E: Sub-process /usr/bin/dpkg returned an error code (1) >>>>> _______________________________________________ >>>>> users mailing list >>>>> [email protected] >>>>> http://lists.xwiki.org/mailman/listinfo/users >>>> >>>> >>>> >>>> -- >>>> Thomas Mortagne >>>> _______________________________________________ >>>> users mailing list >>>> [email protected] >>>> http://lists.xwiki.org/mailman/listinfo/users >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/users >> >> >> >> -- >> Thomas Mortagne > > > > -- > Thomas Mortagne > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users