LibrePlan / libreplan

LibrePlan - Open Web Planning
https://www.libreplan.dev
GNU Affero General Public License v3.0
287 stars 170 forks source link

Deployment of application in tomcat causes error (tested in naval.igalia.com) #165

Closed kwoot closed 6 years ago

kwoot commented 15 years ago

(Original Bugzilla Bug ID: 21)

Date: 2009-10-14 13:31:30 From: Javier Morán \<jmoran@igalia.com> To: Oscar González \<ogonzalez@igalia.com> Version: navalplan-1.0 (1.0.x) Last updated: 2011-01-18 17:51:15


(Note: this issue was migrated automatically with bugzilla2github.py tool )

kwoot commented 6 years ago

Bugzilla Comment ID: 53 Date: 2009-10-14 13:31:30 From: Javier Morán \<jmoran@igalia.com>

Run-time error: org.navalplanner.web.servlets.CallbackServlet has not been initialized. Register it at web.xml with a load-on-startup element . Error was registered and itll be fixed as soon as possible.

It seems that is related with the new servlet created for the timeplot.

kwoot commented 6 years ago

Bugzilla Comment ID: 64 Date: 2009-10-14 18:42:27 From: Oscar González \<ogonzalez@igalia.com>

I was unable to activate logging in tomcat at naval. I think it's a problem with security permissions(it's not allowing to launch a thread). But it's just a hypothesis. In jetty and tomcat 6 (at local machine) this problem does not happen. To have file logging for the application is a must have. I propose to configure it or switch to jetty. On the meantime this bug cannot be fixed.

kwoot commented 6 years ago

Bugzilla Comment ID: 129 Date: 2009-10-16 19:33:57 From: Oscar González \<ogonzalez@igalia.com>

doing a tail -f at /var/log/daemon.log when accessing https://naval.igalia.com/navalplanner-webapp/callback/12123 it only shows:

Oct 16 19:24:12 naval jsvc.exec[17320]: init

kwoot commented 6 years ago

Bugzilla Comment ID: 148 Date: 2009-10-20 22:58:07 From: Oscar González \<ogonzalez@igalia.com>

Thanks to Javier Moran and the much better jetty error reporting, we discovered that the problem is that we were using the method getContextPath on ServletContext that is only present since servlet specification 2.5. Jetty 5 and Tomcat 5.5 are very old servers and do implement specification 2.4. I'll do some ugly workaround

kwoot commented 6 years ago

Bugzilla Comment ID: 149 Date: 2009-10-20 23:13:14 From: Oscar González \<ogonzalez@igalia.com>

Commits: commit 80d20328674b0440c3359b86401ec44379f2487a Author: Óscar González Fernández ogonzalez@igalia.com Date: Tue Oct 20 23:04:44 2009 +0200

ItEr31S12ValidacionEProbasFuncionaisItEr30S17: Providing request each time.

commit df37eedd4a6251e9482eff64b7146179a0124c93 Author: Óscar González Fernández ogonzalez@igalia.com Date: Tue Oct 20 23:00:38 2009 +0200

ItEr31S12ValidacionEProbasFuncionaisItEr30S17: Removing traces