Jason,
I actually thought it was working and it was just a matter of checking what
user id the service command and init was using, but then I tried just
running run.sh out of an ssh session and then started seeing the same error
again! I was going nuts. I was like, why would it work 10 minutes ago and
not now.
So, to make the story short, when I ran it under an X session (in this case
gnome) magnolia would start fine. If I didn't run it from an X session it
wouldn't. Sounds crazy right! I started checking the environments of a gnome
terminal vs a non-gui terminal. Looked pretty much the same except the
display variable. I have a shell script that calls the run.sh (this one I
have it in the /etc/init.d directory, but it could anywhere) and before it
does it exports the display (export DISPLAY=:1.0) Using the :1 display
because it never worked with the :0 display because nowone is logging
through the main terminal.
So in the end I had to start the vncserver service and then start jboss. For
some reason some of the magnolia components are sinstantiating a visual
component that needs the Xlib. I forced vncserver to start to using display
:1 so that the jboss script could use display :1. Try it out and see if that
works for you. Hopefully you have full control of hat box and can play
around like I did.
It would be nice to hear from the magnolia guys to see what component is
trying to to UI stuff that is requiring an X server to be running.
Thanks,
Jose
Numbers Insight, Inc.
----- Original Message -----
From: "Jason Wan/ICILSZX" <[email protected]>
To: <[email protected]>
Sent: Monday, August 28, 2006 12:30 AM
Subject: Re: [magnolia-user] ??: [magnolia-user] Cannot install magnolia in
remote server
Hello Jose,
I am so excited to see that you could successfully run your jBoss
with magnolia3.0 in Linux server. But I am still suffering from it now.
I was starting jBoss the normal by running the run.sh script and login as
root. So I think there must be something I’ve been missing or doing wrong
during the installation. Suppose I am using a whole new jBoss4.0.4.ga and a
whole new magnolia3.0 RC2, what are the steps to install them in Linux
server? Can you show me the details? I really hope this time I can figure
out this problem. And we can share your successful experience.
Thanks,
Jason
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------