[GLASSFISH-19148] Unable to install Glassfish on a headless server Created: 12/Oct/12  Updated: 12/Oct/12

Status: Open
Project: glassfish
Component/s: installation
Affects Version/s: 3.1.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: alasdairlumsden Assignee: scatari
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

SunOS 5.11 (SmartOS) with no X11 installed, with java jdk 1.6.0_26



 Description   

I downloaded Glassfish, hoping to install it like any other piece of software on Linux/Unix - on the command line without X.

Apparently I can do this with an answer file, following the instructions here:

http://docs.oracle.com/cd/E26576_01/doc.312/e24935/installing.htm#ghmva

Except that, it doesn't work:

root tmp (stg-domaincp.ec): ./glassfish-3.1.2.2-web-unix.sh -s -n answer
Extracting the installer archive...
Extracting the installer runtime...
Extracting the installer resources...
Extracting the installer metadata...

Welcome to GlassFish installer

Using the user defined JAVA_HOME : /ec
Entering setup...
java.lang.UnsatisfiedLinkError: no Terminal in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1028)
        at charva.awt.Toolkit.<clinit>(Toolkit.java:895)
        at charva.awt.Window.init(Window.java:62)
        at charva.awt.Window.<init>(Window.java:58)
        at charva.awt.Frame.<init>(Frame.java:32)
        at charvax.swing.JFrame.<init>(JFrame.java:34)
        at charvax.swing.JFrame.<init>(JFrame.java:30)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at org.chaxml.DefaultFactory.newInstance(DefaultFactory.java:173)
        at org.chaxml.Parser.getSwing(Parser.java:432)
        at org.chaxml.Parser.parse(Parser.java:242)
        at org.chaxml.SwingEngine.render(SwingEngine.java:360)
        at org.chaxml.SwingEngine.render(SwingEngine.java:342)
        at org.openinstaller.provider.ui.wizard.CUIWizard.flipGroup(CUIWizard.java:590)
        at org.openinstaller.provider.ui.wizard.CUIWizard.goToNextUnskippedPage(CUIWizard.java:971)
        at org.openinstaller.provider.ui.wizard.CUIWizard.start(CUIWizard.java:209)
        at org.openinstaller.provider.ui.UIProvider.receiveRequest(UIProvider.java:102)
        at org.openinstaller.bus.ControlBus.publishRequest(ControlBus.java:341)
        at org.openinstaller.core.Orchestrator.startup(Orchestrator.java:570)
        at org.openinstaller.core.Orchestrator.main(Orchestrator.java:468)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openinstaller.core.EngineBootstrap.main(EngineBootstrap.java:208)
SEVERE INTERNAL ERROR: no Terminal in java.library.path
chmod: cannot access `./answer': No such file or directory

I can't get any further than this. I can run Tomcat, Jetty etc all fine on this server (it's a fresh install).


Generated at Thu Jul 30 20:25:05 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.