[Logo] Serotonin Software Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
tomcat 6 required?  XML
Forum Index » Mango installation
Author Message
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
mlohbihler

Master
[Avatar]

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
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.
mlohbihler

Master
[Avatar]

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
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
mlohbihler

Master
[Avatar]

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
 
Forum Index » Mango installation
Go to:   
Powered by JForum 2.1.9 © JForum Team