

- #Sun java glassfish install
- #Sun java glassfish software
- #Sun java glassfish code
- #Sun java glassfish password
- #Sun java glassfish free
Let's try the silent install on our testing VPS. You may now use this template to perform automatic (silent) installation on a system without GUI (Xvnc, Xserver etc.). Now you have template file in your home directory with the answers you gave during fake installation and a few more. You can see that the chosen destination directory /home/glassfish/glassfish3 is empty. home/glassfish/glassfish3/glassfish/lib/registration/servicetag-registry.xml (No such file or directory)

Below are welcome and config screenshots. We miss a library and need to install it. SEVERE INTERNAL ERROR: /opt/jdk1.7.0_04/jre/lib/amd64/xawt/libmawt.so: libXrender.so.1: cannot open shared object file: No such file or directoryĬhmod: cannot access `./template': No such file or directory : /opt/jdk1.7.0_04/jre/lib/amd64/xawt/libmawt.so: libXrender.so.1: cannot open shared object file: No such file or directoryĪt $NativeLibrary.load(Native Method)Īt 1(ClassLoader.java:1939)Īt 0(ClassLoader.java:1864)Īt (ClassLoader.java:1825)Īt 0(Runtime.java:792)Īt (System.java:1059)Īt (ClassLoader.java:1846)Īt 0(Runtime.java:845)Īt (System.java:1084)Īt .run(LoadLibraryAction.java:67)Īt .run(LoadLibraryAction.java:47)Īt (Native Method)Īt .(Disposer.java:59)Īt .(FileCacheImageInputStream.java:110)Īt .InputStreamImageInputStreamSpi.createInputStreamInstance(InputStreamImageInputStreamSpi.java:69)Īt (ImageIO.java:357)Īt (ImageIO.java:1397)Īt .main(Orchestrator.java:439)Īt 0(Native Method)Īt (NativeMethodAccessorImpl.java:57)Īt (DelegatingMethodAccessorImpl.java:43)Īt .invoke(Method.java:601)Īt .main(EngineBootstrap.java:208) Using the user defined JAVA_HOME : /opt/jdk ~]$ sh java_ee_sdk-6u4-jdk7-linux-圆4.sh -n template

We will first run fake install and save our choices as template. A rather blank windows will open where install will soon run.
#Sun java glassfish software
Now connect with linux command line vncviewer YOUR_VPS_IP:1 or Remote Desktop Viewer in Ubuntu or any VNC client software for your OS. Log file is /home/glassfish/.vnc/testsdk:1.log Starting applications specified in /home/glassfish/.vnc/xstartup New 'testsdk:1 (glassfish)' desktop is testsdk:1Ĭreating default startup script /home/glassfish/.vnc/xstartup Starting VNC server: 1:glassfish xauth: creating new authority file /home/glassfish/.Xauthority It will provide us with display 0 and screen as configured in /etc/sysconfig/vncservers. ~]# echo -e "VNCSERVERS=\"1:glassfish\"\nVNCSERVERARGS=\"-geometry 800圆00\"" > /etc/sysconfig/vncserversįinally we start Xvnc server.
#Sun java glassfish password
Now we're adding the user to Xvnc coniguration, switch to glassfish and set VNC password for the user. We need to set DISPLAY to a working value but there is no GUI environment or Xserver so we will install lightweight Xvnc server with a few dependencies. Please re-run after assigning an appropriate value to DISPLAY. This program requires DISPLAY environment variable to be set. Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode) Java(TM) SE Runtime Environment (build 1.7.0_04-b20) ~]# echo -e "export JAVA_HOME=/opt/jdk\nexport PATH=\$JAVA_HOME/bin:\$PATH" > /home/glassfish/.bashrc There is no java install on this basic VPS so let's add one (already downloaded to /root directory). Please ensure that you have Java 6 or newer installed on your systemĪnd accessible in your PATH or by setting JAVA_HOME Switch to glassfish account and run the installer (already downloaded to /home/glassfish in the example). Start with creating a username that the install will run under. This example installation has been performed on a basic Centos 6.1 64bit VPS but will work on a dedicated box too. We also presented a few common error messages that you may come across the procedure. We will combine both methods in this tutorial. You can also generate template here for future use. Method 2: Install Xvnc server on your VPS and connect with VNC viewer to run the graphical installer. Method 1: generate install template on a host with GUI and use it on your non-GUI VPS.
#Sun java glassfish code
It includes GlassFish Open Source Edition 3.1.2, Java EE 6 Code Samples, Java EE 6 API Documentation, Java EE 6 Tutorial and Your First Cup: An Introduction to the Java EE Platform.
#Sun java glassfish free
Java EE 6 SDK is a free integrated development kit used to build, test, and deploy Java EE 6 applications. The hints can also be applied to sole Glassfish installation with the Unix executables provided by Oracle, for example glassfish-3.1.2-unix.sh. We discuss 2 methods of Glassfish/JavaEE bundle install on a headless system. Published on in Dedicated Server Java VPS
