Opentaps 1.5.0


#1

Hello,

I’m trying to install opentaps 1.5.0 on my shared dreamhost account.
When I launch the command java -jar ofbiz.jar -pos (as explained in http://www.opentaps.org/docs/index.php/General_Installation_of_Opentaps), I’m getting the following:

Set OFBIZ_HOME to - /taps
Admin socket not configured; set to port 0
Exception in thread “main” java.lang.InternalError: Can’t connect to X11 window server using ‘:0.0’ as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:131)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
at java.awt.Window.init(Window.java:355)
at java.awt.Window.(Window.java:408)
at java.awt.Frame.(Frame.java:402)
at java.awt.Frame.(Frame.java:367)
at org.ofbiz.base.splash.SplashScreen.(SplashScreen.java:39)
at org.ofbiz.base.splash.SplashLoader.run(SplashLoader.java:82)
at java.lang.Thread.run(Thread.java:619)
at org.ofbiz.base.splash.SplashLoader.load(SplashLoader.java:48)
at org.ofbiz.base.start.Start.initStartLoaders(Start.java:260)
at org.ofbiz.base.start.Start.init(Start.java:97)
at org.ofbiz.base.start.Start.main(Start.java:411)

When I try ./ant, I’m getting “permission denied”. Anyone an idea what is happening or what I’m doing wrong?


#2

That error message indicates that the application you’re trying to run is trying to launch some sort of graphical “splash screen”, which isn’t possible over a terminal connection. Check the configuration to see if there’s some way to disable that.

That being said, it’s generally been our experience that Java web applications are not suitable for use on shared hosting. Either they must run as a persistent server process, which we do not permit on shared hosting, or their resource requirements are simply too high for the environment. You will likely need to upgrade to a DreamHost VPS or Dedicated Server to run this application, or find a lighter-weight alternative.