Headless on Fedora

Headless on Fedora

Hello,
We have been running ManageEngine 6 on a Linux server (Fedora Core 5 with no X11 software) with Sun JDK5 installed, for ages now and suddenly ME wont start

We can't seem to start the ManageEngine using the trusty startApplicationsManager.sh script. We get a java.awt.HeadlessException error in the startup logs.

We're wondering if it is something to do with the fact that the ManageEngine can't start MySQL or summat and is trying to open a pop-up alerting us to the fact. Obviously its failing coz we have no windowing environment installed on our server?

All our MySQL props and drivers haven't changed so I'm a bit bemused as to why its suddenly decided to barf.

Any ideas??

Full stack trace now follows (apologies):

ava.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:310)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1666)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1743)
at javax.swing.JDialog.<init>(JDialog.java:212)
at com.adventnet.tools.prevalent.OptionDialog.<init>(OptionDialog.java:71)
at com.adventnet.tools.prevalent.OptionDialogInformer.initialize(OptionDialogInformer.java:204)
at com.adventnet.tools.prevalent.OptionDialogInformer.showOptionDialog(OptionDialogInformer.java:238)
at com.adventnet.tools.prevalent.LUtil.showError(LUtil.java:38)
at com.adventnet.tools.prevalent.Validation.showError(Validation.java:1338)
at com.adventnet.tools.prevalent.Validation.validateFile(Validation.java:1286)
at com.adventnet.tools.prevalent.Validation.validate(Validation.java:67)
at com.adventnet.tools.prevalent.ThreadWorn.initalize(ThreadWorn.java:141)
at com.adventnet.tools.prevalent.Wield.invokeNewLicense(Wield.java:689)
at com.adventnet.tools.prevalent.Wield.validateInvoke(Wield.java:291)
at com.adventnet.tools.prevalent.Wield.validateInvoke(Wield.java:197)
at com.adventnet.appmanager.server.framework.AMServerStartup.initFreeEdition(AMServerStartup.java:784)
at com.adventnet.appmanager.server.framework.AMServerStartup.main(AMServerStartup.java:400)
at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:400)
java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection refused'.

** BEGIN NESTED EXCEPTION **

java.net.ConnectException
MESSAGE: Connection refused

STACKTRACE:

java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:178)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:117)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:218)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1888)
at com.mysql.jdbc.Connection.<init>(Connection.java:443)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:404)
at com.adventnet.appmanager.server.startup.StartServer.insertPassword(StartServer.java:831)
at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:516)


** END NESTED EXCEPTION **


Attempted reconnect 3 times. Giving up.
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1957)
at com.mysql.jdbc.Connection.<init>(Connection.java:443)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:404)
at com.adventnet.appmanager.server.startup.StartServer.insertPassword(StartServer.java:831)
at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:516)
java.sql.SQLException: Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection refused'.

** BEGIN NESTED EXCEPTION **

java.net.ConnectException
MESSAGE: Connection refused

STACKTRACE:

java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:364)
at java.net.Socket.connect(Socket.java:507)
at java.net.Socket.connect(Socket.java:457)
at java.net.Socket.<init>(Socket.java:365)
at java.net.Socket.<init>(Socket.java:178)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:117)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:218)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1888)
at com.mysql.jdbc.Connection.<init>(Connection.java:443)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:404)
at com.adventnet.appmanager.server.startup.StartServer.insertPassword(StartServer.java:846)
at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:516)


** END NESTED EXCEPTION **


Attempted reconnect 3 times. Giving up.
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1957)
at com.mysql.jdbc.Connection.<init>(Connection.java:443)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:404)
at com.adventnet.appmanager.server.startup.StartServer.insertPassword(StartServer.java:846)
at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:516)
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:310)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1666)
at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1743)
at javax.swing.JDialog.<init>(JDialog.java:212)
at com.adventnet.tools.prevalent.OptionDialog.<init>(OptionDialog.java:71)
at com.adventnet.tools.prevalent.OptionDialogInformer.initialize(OptionDialogInformer.java:204)
at com.adventnet.tools.prevalent.OptionDialogInformer.showOptionDialog(OptionDialogInformer.java:238)
at com.adventnet.tools.prevalent.LUtil.showError(LUtil.java:38)
at com.adventnet.tools.prevalent.Validation.showError(Validation.java:1338)
at com.adventnet.tools.prevalent.Validation.validateFile(Validation.java:1286)
at com.adventnet.tools.prevalent.Validation.validate(Validation.java:67)
at com.adventnet.tools.prevalent.ThreadWorn.initalize(ThreadWorn.java:141)
at com.adventnet.tools.prevalent.Wield.invokeNewLicense(Wield.java:689)
at com.adventnet.tools.prevalent.Wield.validateInvoke(Wield.java:291)
at com.adventnet.tools.prevalent.Wield.validateInvoke(Wield.java:156)
at com.adventnet.nms.startnms.NmsMainBE.doLicenseCheck(NmsMainBE.java:859)
at com.adventnet.nms.startnms.NmsMainBE.main(NmsMainBE.java:296)
at com.adventnet.appmanager.server.startup.Nmsstarter.main(Nmsstarter.java:120)
at com.adventnet.appmanager.server.startup.StartServer.main(StartServer.java:567)


Grahame Oakland





































































































































                New to ADSelfService Plus?