The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: DS18S20 temperature ic sockets


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Windows Documentation: Server Install: Jetty



DRAFT FOR COMMENT:

NB - I'm going to suggest that for Windows users, they install the Java VM, MySQL, Jetty and Jikes BEFORE they even download the JReceiver stuff. As such, this is just about getting a trial Jetty server running - the JReciever xml stuff that the Linux version include here will move down to the separate JReceiver section, so it lives along side the WAR stuff.

[WINDOWS]

The Jetty binaries are only currently available in TGZ format. TGZ is common file format in the Unix world, and some ZIP programs are able to read it. If your ZIP tool does not, the it's known to work with WinRAR, available from www.rarsoft.com . WinRAR is a straightforward installation, well documented on its own site, so not documented here.

JReceiver is known to be work with the 3.1.7 release of Jetty. Information concerning compatability with older versions in the 3.1.x servies, and the 4.x series (still in Beta) would be welcomed.

Download the jetty-(version).tgz file to a temporary directory. Extract the files directly to the target directory (your choice - I recommend c:\program files\jetty-3.1.7)

Now, set another environment variable (Start/Settings/Control Panel/System/Advanced/Environment Variables/System Variable/New): This variable is called JETTY_HOME and should be set to the directory you just installed into (eg - C:\Program files\Jetty-3.1.7). It is ABSOLUTELY VITAL that you enter the directory name in exactly the same Case as your PC displays it. From Jetty's point of view, "Program Files" and "program files" are completely different. In particular, you will almost certainly find that your PC thinks of your C: drive as "C:", not "c:"

Now it's time to run Jetty for the first time... Change to the directory you just installed Jetty to, then into the "bin" subdirectory, and run the Jetty batch file. If all goes well, you will see a command prompt appear, then a whole bunch of lines of code, and finally the line "Started org.mortbay.jetty.Server@<something>".

Now it's time to test. Point your favourite web browser at http://localhost:8080 If everything's working, then you'll see a web page that talks about being the Jetty server. If everything's not working, time to go to the JETTY_USERS list.

You may note that the Linux instructions at this point talk about add XML files relating specifically to JReceiver. The Windows instructions are written on the basis that we're installing all the components first, THEN configuring them for JReceiver once they're all working, so don't worry...

Yahoo! Groups Sponsor
ADVERTISEMENT

For more information: http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.