| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 28/03/2008 05:35:20
|
craig
Initiate
Joined: 06/08/2007 16:50:46
Messages: 144
Offline
|
Is tomcat 6 required or just recommended?
I was running into some errors, especially with regards to the database, when trying to load up mango in tomcat 5.5. Tomcat6 seems ok.
Just curious
Thanks,
C
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 28/03/2008 10:36:27
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1456
Offline
|
It should be fine in 5.5 as far as i know, but we haven't tested that configuration for some time. (Strictly speaking, because there are no direct dependencies with the servlet container it *should* be able to run in any Tomcat version.)
The only reason i can think of why you would have database problems is directory structure differences, or issues with a startup directory, which can affect the paths that are used for physical storage.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/03/2008 04:16:28
|
craig
Initiate
Joined: 06/08/2007 16:50:46
Messages: 144
Offline
|
The problem was I had checked out mango from CVS but was using a mangoDB created with createtables.sql from version 1.1 and the TextPointValueShort and TextPointValueLong columns didn't exist.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/03/2008 10:54:06
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1456
Offline
|
That's odd actually. The software should automatically detect and resolve version conflicts between the code and the database. Any more information on how the problem occurred?
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/03/2008 16:20:39
|
craig
Initiate
Joined: 06/08/2007 16:50:46
Messages: 144
Offline
|
Since I had checked out from CVS some files like env.properties and log4j.xml had variables that had not been substituted by build scripts or copied to the correct location.
To get all the correct files to the correct place with the proper content I copied anything that wasn't a class from a known working copy of mango, the 1.1 release, to the CVS install.
I thought I was having classpath problems or issues because I was running mango within eclipse but the problem was I had createtables.sql from the release version with the code from CVS.
Thanks for your help,
Craig
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 29/03/2008 18:03:41
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1456
Offline
|
The indicator of the code's version is in the Common class. If you didn't copy that one over the automatic conversion would not have happened.
|
Best regards,
Matthew Lohbihler |
|
|
 |
|
|