This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
..would have been toooo nice if it would work instantaneously... well, I installed orion okay so far on my Linux Suse 8.1 system, but if I put in the command: java -jar orion jar I get the following message: Error starting HTTP-Server: Permission denied Anybody knowing what I should do now? thanx a lot!!! Juliane
Hi Juliane, are you starting orion under a non-root user? The default port used for orion is 80 and that is protected from "unprivileged users". There should be some option with orion that enables a port like 8080 to be used, instead of 80. That should enable the HTTP server to be started under a non-root user. From the installation docs:
Now orion is installed and ready to use with the default configuration. This means Orion will install itself using port 80 for the web server part. If you already have a web server installed on port 80 you will have to change Orion to use another port. To do this, open the file config/default-web-site.xml and edit the line <web-site display-name="Default Orion WebSite"> to <web-site port="8080" display-name="Default Orion WebSite"> (or the port number of yout choice).
Later today I'll kick No 2 son off my PC and fire up Suse 8.1 and take a look myself. (Old farts say: Linux Rules!) [ March 16, 2003: Message edited by: Barry Gaunt ]
Barry, this is too nice of you! But you shouldn't kick no. 2 sun off your computer, or at least only to play with him! right: Linux rules! (but sometimes it makes you crazy with all this "access denied" and the likes..) If I log in as root (port 80): linux:/home/julix/orion # java -jar orion.jar bash: java: command not found If I try as non-root user (port 8080): julix@linux:~/orion> java -jar orion.jar Orion/1.5.2 initialized But, as soon as I follow the next CattleDrive instruction "Direct your browser to http://localhost" I get: "No connection to localhost"
thank you very much for your help. It might be something stupid which escapes me in the moment [ March 16, 2003: Message edited by: juliane gross ]
Joined: Aug 03, 2002
Juliane, I have just got it to work by changing the port to 8080. I also had to change access rights on the logfiles because I installed orion under the /opt directory (owned by root). I have now been kicked off the PC myself. Son No 2 wants to play Age Of Vampires II again! What I would have done next is to deinstall orion, and reinstall it under its own non-root user ( oadmin say ). Then I would change the config file to use port 8080, and then I would login to oadmin to start and stop the server. That way orion is at home in its own little box. Hope that helps, we got to get you going on them servlets as soon as possible. -Barry