[Topic] Server on Solaris

I've been successful starting the server on Solaris (SunOS 5.8) on Sun hardware using the agiletrack-server.sh and accounting for java location. However, it does not seem to stay up reliably.

It seems to survive a logoff.

Also, interestingly, whenever I start it within an X client, my screen flashes! Is there something in there trying to connect to my Xserver?

ro

—Posted by Dan (I'm such an ogre) Mullen on Jan 29, 2008

I don't have access to a Solaris server, and I don't have much experience with it, but I'll try to help. Besides accounting for JAVA_HOME in the script, do you make any other changes?

When you say it does not stay up reliably, does that mean it's crashing, or the process is ending abruptly?

And when you say it survives a logoff, does that mean you start it in an X terminal, and when you logout of the X session, it's still running? Or, are you doing anything to run it as a daemon process?

The server definitely doesn't require X, but it's possible that it's using an AWT class somewhere down the line. Try adding "-Djava.awt.headless=true" to the java command and see if that changes the screen flashing.

Let me know any other details you have. Thanks.

—Posted by Adam Lane on Jan 30, 2008 at 9:57:59 AM

Sorry for the delay. Things got hectic and I never hit post for my reply.
Originally, made change in order to make script work. changed first line to invoke KSH.
(/bin/sh is bourne shell and it didn't like in "if [ -e blah]" syntax.
Seems like your stuff is happier on bash, so changed now to use bash

re: survives logoff. yes. no. in that order

added that.

Seems to be much happier now. It's been up since 1/31 without crashing.
Sorry, did all at once so don't know exactly which one worked.

-Dan

-Djava.awt.headless=true

—Posted by Dan (I'm such an ogre) Mullen on Feb 4, 2008 at 12:30:48 PM

"added that" == "added -Djava.awt.headless=true"
(which seems to be pasted at the end for safe-keeping)

—Posted by Dan (I'm such an ogre) Mullen on Feb 4, 2008 at 12:33:22 PM

Ok, it sounds like you've got things working. The agiletrack-server is normally launched using the Java Service Wrapper. There is a Solaris binary for it, so you might be interested in trying it as well.

http://wrapper.tanukisoftware.org/doc/english/launch-nix-boot-solaris.html

Let me know if you have other problems.

—Posted by Adam Lane on Feb 4, 2008 at 8:37:24 PM


You may post a reply to this topic, but you must be logged in. If you already have an account, you may login now. If you need to create an account, you may also register now.