[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 
Mango wants to conect to X server  XML
Forum Index » Mango installation
Author Message
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.


mlohbihler

Master
[Avatar]

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

Master
[Avatar]

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

mlohbihler

Master
[Avatar]

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