| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/03/2010 15:34:35
|
rmb
Initiate
Joined: 01/03/2010 15:16:08
Messages: 4
Offline
|
Hi
I have installed Mango 1.8 as the root application in tomcat6 on Fedora linux .
I changed the paths in log4j.xml and env.properties files in the
[mango]/WEB-INF/classes/ to a folder writable by the tomcat user.
I am getting an error in the tomcat6/localhost.log, saying mango cannot connect to the X server.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/03/2010 15:38:04
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1459
Offline
|
Google says: http://www.linuxquestions.org/questions/linux-general-1/cant-connect-to-x11-window-server-using-0.0-as-the-value-of-the-display-variable.-178234/
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/03/2010 17:48:50
|
rmb
Initiate
Joined: 01/03/2010 15:16:08
Messages: 4
Offline
|
I am confused as to why mango wants to connect to a display, as it is being started by the tomcat user, when the system starts tomcat.
The tomcat user does not "login" to the system, and has no display.
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 01/03/2010 18:01:15
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1459
Offline
|
Mango doesn't care about the display. It's Java that is trying to connect. The referenced link tell you how to tell Java not to care.
You might say that Mango should tell Java itself, but this is the first i've heard of this issue.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 02/03/2010 03:17:23
|
rmb
Initiate
Joined: 01/03/2010 15:16:08
Messages: 4
Offline
|
Hi,
Found the fix for headless mode, on Fedora 11. Edit /etc/tomcat6/tomcat6.conf and add the following
I get a bit further now, in that the folder mangoDB , and the mango.log file are created in /var/log/tomcat6.
I modified ROOT/WEB-INF/classes/env.properties
and log4j.xml
I am now getting the following error in the tomcat localhost file
Where is the path set for createTables.log
Thanks
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 02/03/2010 10:03:37
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1459
Offline
|
Those logs get written to the default directory, which is likely the directory you are in when you start Tomcat.
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 02/03/2010 12:52:57
|
rmb
Initiate
Joined: 01/03/2010 15:16:08
Messages: 4
Offline
|
The user tomcat does not own the home directory /usr/share/tomcat6
the fix is to
Mango now runs
Mango does not recognise Firefox 3.5.8, as I get a complaint on the login page
However, I can login, and everything appears OK
|
|
|
 |
|
|