Re: Help needed

2001-09-01 Thread Lachezar Dobrev

   Hi.

 I'm trying to get Orion Server to start as a non-root users on Red Hat
 7.1.  I know I need to forward the port from 80 to something above
 1024.  Does any one know how I can do that with iptables.  I've never
 used it before.

  ipchains -I input --protocol tcp \
  --destination-port 80 -j REDIRECT 10240

  If the Orion port is 10240.
  You need to configure your kernel to support redirecting.
  Consult Kernel docs.

 Any help would be appreceated.
 
 
 Bill Wichgers

   Lachezar






RE: Help needed

2001-09-01 Thread Johnny Miller

Instead of IP tables, you could use Apache to proxy port 80 requests to the
port your Orion is listening for.

You set up your virtual host in your apache conf file like this (you need to
make sure you have the Apache proxy module installed):

VirtualHost youripaddress:80
ServerName www.yourdomain.com
ProxyRequests On
RewriteEngine On
RewriteRule ^/(.*) http://www.yourdomain.com:4321/$1 [P]
TransferLog /pathtowhereyouwanttologaccess/access
LogFormat %v %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\
/VirtualHost

(where 4321 is the port number your Orion is listening on.)

If you do that make sure you add this between your website tags to your
web-site xml file (the one in your orion/config dir):
frontend host=www.yourdomain.com port=80 /

You need to bear in mind that it makes your Orion access log files useless
as all request appear to have come from the same IP. All you do is use the
Apache ones instead.

Check out: http://www.orionsupport.com/articles/apachefrontend.html for some
additional info.

Hope this helps.

Johnny


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Wichgers
Sent: 31 August 2001 16:49
To: Orion-Interest
Subject: Help needed


I'm trying to get Orion Server to start as a non-root users on Red Hat
7.1.  I know I need to forward the port from 80 to something above
1024.  Does any one know how I can do that with iptables.  I've never
used it before.


Any help would be appreceated.


Bill Wichgers







Re: Help needed.

2001-08-31 Thread Olekjadr Yaremenko

You can't if you use direct connection to your ejb stuff. Obvious
solution - use servlet as a facade for your server part and use http
with serialization or xml or html or clear text ...

Alex

 Antonio Vazquez wrote:
 
 Hi all,
 I've write a JApplet that comunicates with an EJB. It's work fine but
 I have a problem. I use
 com.evermind.server.ApplicationClientInitialContextFactory and to use
 it from the client I need to put orion.jar in every computer that use
 this applet. Can anybody tell me how I use it without copy orion.jar
 in every computer.
 
 Thanks in advance
 
 Antonio