Questions about installing xxe webstart

I'm installing on an open suse 11.1 server that has no UI (no kde or gnome 
installed) - command line only.

The pre-requisites for xxe I found here:
http://www.xmlmind.com/xmleditor/_distrib/doc/user/install.html

I find it strange that there is no mention of X11 or apache in this section, is 
there a reason for that? There are no prerequisites listed for the webstart 
instructions.

I followed these directions for install:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/deploy_webstart_example.html


problem #1: when I attempt to run xxe from the linux server side I get this:

/usr/local/xxe/bin # ./xxe
internal error: cannot create application: 
java.lang.reflect.InvocationTargetException
+---------------------------------------
| sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:597)
| com.xmlmind.xmleditapp.start.Start.initializeApp(Start.java:634)
| com.xmlmind.xmleditapp.start.Start.start(Start.java:386)
| com.xmlmind.xmleditapp.start.Start.main(Start.java:658)
+---------------------------------------
CAUSE:
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which 
requires it.
+---------------------------------------
| java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
| java.awt.Window.<init>(Window.java:431)
| java.awt.Frame.<init>(Frame.java:403)
| javax.swing.JFrame.<init>(JFrame.java:207)
| 
com.xmlmind.xmleditapp.app.ApplicationBase.createFrame(ApplicationBase.java:825)
| com.xmlmind.xmleditapp.app.ApplicationBase.createGUI(ApplicationBase.java:793)
| com.xmlmind.xmleditapp.kit.App.doInitialize1d(App.java:609)
| 
com.xmlmind.xmleditapp.app.ApplicationBase.doInitialize1(ApplicationBase.java:373)
| com.xmlmind.xmleditapp.kit.App.doInitialize(App.java:562)
| com.xmlmind.xmleditapp.kit.App.initialize(App.java:546)
| sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| java.lang.reflect.Method.invoke(Method.java:597)
| com.xmlmind.xmleditapp.start.Start.initializeApp(Start.java:634)
| com.xmlmind.xmleditapp.start.Start.start(Start.java:386)
| com.xmlmind.xmleditapp.start.Start.main(Start.java:658)
+---------------------------------------

Question #1: why do I need X11 on a headless server? Is this truly necessary to 
run? It's not clear in the docs that an xxe process should be running on the 
server. I installed all available X11 components but I still get the same 
error. What do I need for this to run? Does this even need to run?


problem #2: the instructions say to set this up in apache:
<Directory /usr/local/xxe/>
  AllowOverride None
  Order Deny,Allow
  Deny from All
  Allow from all

  Options Indexes Includes
</Directory>
Alias /xxe /usr/local/xxe/

This doesn't work - I get a directory listing of the contents of the 
/usr/local/xxe dir. If I then click on the webstart dir, I get the proper page 
however when I click on "Launch XMLmind XML Editor" button, I get a file not 
found for xxe.jnlp but the path is correct. if I use this entry in apache 
instead it all works:
<Directory /usr/local/xxe/>
  AllowOverride None
  Order Deny,Allow
  Deny from All
  Allow from all

  Options Indexes Includes
</Directory>
Alias /xxe /usr/local/xxe/

Question #2: what am I doing wrong that the instructions don't work for this? 
Could this be related to problem #1?



Problem #3: the xml editor opens but I don't see menu items that are referenced 
in the docs and some are grayed-out. I don't see these at all 
">Options>options", ">Options>install addons", ">Options>preferences>install 
addons". I see this menu but all options are grayed-out: ">Options>Customize 
Configuration" all options in sub menu are grayed-out.

Question #3: we have a user here that is familiar with the editor and they are 
telling me these things should be visible/available. I have checked ownership 
and permissions on the filesystem of the server and all is allowed so it 
doesn't seem to be permissions-based problem. Could this also be related to 
problem #1?

Java version on server:
/usr/local/xxe/bin # java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)

Any help/guidance/advice/suggestions are very welcome!

You can also reply to jlytle at demandware.com

This e-mail message and all attachments transmitted with it may contain 
privileged and/or confidential information intended solely for the use of the 
addressee(s). If the reader of this message is not the intended recipient, you 
are hereby notified that any reading, dissemination, distribution, copying, 
forwarding or other use of this message or its attachments is strictly 
prohibited. If you have received this message in error, please notify the 
sender immediately and delete this message, all attachments and all copies and 
backups thereof.

Reply via email to