Standing in the Field @ Valley Forge

Standing in the Field

Notes from SJS Application Server Field Engineering

« Jython Servlets | Main | Performance Tuning... »
Monday March 28, 2005
Headless Jython Servlets

Tim Bray (the co-worker I developed my Jython instructions for) tells me that he needs to run his installation headless. Which I didn't document last time. So here is an addendum to my previous instructions if you don't have X11 access to your box.

Installing SJS Application Server Headlessly

When executing the SJSAS installer (j2eesdk-1401_2005Q1-solaris-i586.bin or similar), just add the argument of "-console". This runs the installer in text mode. Using the installer is generally self-explanatory but there some basic instructions displayed when the installer begins. Just type in the same options you would have selected in the graphical installer.

Installing Jython Headlessly

When executing the Jython installer add the argument "-o /install-jython". Adjusting for the directory where you want Jython, of course. ("java jython-21 -o /install-jython") This skips the installer completely and makes an installation in the specified directory.

Command line deployments

At this point you can perform the rest of the installation instructions as they are all browser and command line oriented. However, just for reference, I'll show how to use the command line to deploy the application template rather than the browser based admin GUI.

The deployment command is as follows: "/install-dir/bin/asadmin deploy --name jythondemo --contextroot jythondemo /install-dir/samples/quickstart/hello.war " The admin server must be started for this command to work.

(2005-03-28 09:22:15.0) Permalink Comments [1]


Comments:

Another option to install Jython is to use the package provided by Blastware.org. The command would be:

pkg-get install jython

This makes life so much easier...

-- Fred

Posted by Frederic Jean on March 28, 2005 at 10:39 AM PST #

Post a Comment:

Comments are closed for this entry.