RE: RE Orion on Macintosh OSX setup

2002-01-01 Thread Aaron Tavistock

Hmm - I don't know much about aliases, I'm a UNIX head that just happened to
have helped a friend get Orion running under OSX.  :)

Glad to know that works for ya!

-Original Message-
From: Pauline McNamara
To: Orion-Interest
Sent: 12/30/01 1:27 PM
Subject: Re: RE Orion on Macintosh OSX setup

Thanks Aaron, just got a bunch of practice with symlinks along the way
to 
getting Orion set up ;) 

Not quite sure that what I did is actually the key, nor if I did it
exactly 
right, but here's the
story in case others might benefit from it:

Located in the orion directory, I used the ln -s command like this:
ln -s
System/Library/Frameworks/JavaVMFramework/Versions/CurrentJDK/Classes/cl
asses.jar tools.jar

This created not a file, but an alias folder named tools.jar in the
orion 
directory. In the OS's
Finder program, double clicking on the folder gave an error message
stating 
that it couldn't be
opened because the original item could not be found. I put this folder
in the 
trash. Afterwards
Orion worked, but it may have been for other reasons. 

Could it be that the symlink still exists, even if there isn't an alias
for it?

Thanks for the tips, it's encouraging just to know that these kinds of
things 
are being done
successfully with OSX (didn't have to go out and buy a PC, yet).

Regards,
Pauline



--- Aaron Tavistock  wrote:
 I've gotten Orion setup on OSX and there are definately some nuances
to it
 because of Apple's wacky implementation of things.  
 
 On the tools.jar - you'll need to symlink the apple version of the
tools.jar
 into the Orion directory.  THough I can't remeber what apple called
the
 file, I know this worked fine when I found the file (it might be
 classes.zip?).
 
 On the permission denied - its definately because you are trying to
access a
 priveledged port (e.g. port 80).  The change you made to the
configuration
 file will work if you make sure to follow standard XML syntax and put
the
 value in quotes (port=8080).
 
 -Original Message-
 From: Pauline McNamara [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, December 27, 2001 5:57 AM
 To: Orion-Interest
 Subject: Orion on Macintosh OSX setup 
 
 
 Patience with a newbie please... 
 
 I'm setting up Orion on a Mac with OSX 10.1 (so J2SE 1.3.1) and
 have come upon 2 stumbling blocks. Any advice is much appreciated.
 
 First: According to the installation instructions, the JDK's tools.jar
file 
 should be copied into the Orion directory. On the OSX the JDK is
structured
 differently and the
 tools  in the form of a .jar file are not to be found. Any hints?
 
 Second: I went ahead and started orion with  and get
 the 
 following error message:
 Error starting HTTP-Server: Permission denied
  Orion/1.5.2 initialized
 I understand that I can't access port 80 when not logged in at the
root, and
 
 that I probably have to alter the web.xml file to change the port (to
a port
 over 1024). 
 I tried adding this: 
 
 
 but got the same message.
 Could someone please point me in the right direction?
 
 Thanks in advance,
 Pauline
 
 


__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com




Re: RE: Orion on Macintosh OSX setup

2001-12-29 Thread Tim Kelley

[EMAIL PROTECTED] writes:
Second: I went ahead and started orion with java -jar orion.jar and get
the 
following error message:
Error starting HTTP-Server: Permission denied
 Orion/1.5.2 initialized
I understand that I can't access port 80 when not logged in at the root,
and

that I probably have to alter the web.xml file to change the port (to a
port
over 1024). 
I tried adding this: 
web-site host=localhost port=8080
/web-site
but got the same message.
Could someone please point me in the right direction?

Thanks in advance,
Pauline

P:

Use the sudo command to start orion as the superuser:

sudo java -jar orion.jar

It will then prompt for the root password.  That should clear the
permissions error.  This should work fine for development work.  I'm not
enough of a Unix gearhead to know what implications it has for security in
a production environment.

Regards,

T

--
Tim Kelley
MIS Director
Harvard University - DCE

e-mail: [EMAIL PROTECTED]