Re: Latest Version

2000-08-02 Thread Adam Cassar

found it: 

its

java -DproxyHost=blah -DproxyPort=blah -jar autoupdate.jar


-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Latest Version

2000-08-02 Thread Adam Cassar

How can I get that to use a proxy?

On Wed, Aug 02, 2000 at 11:42:51PM -0600, Mike Clark wrote:
> You can download version 1.1.24 and then use...
> 
> java -jar $ORION_HOME/autoupdate.jar
> 
> This will update the installation to 1.1.30+.
> 
> Mike
> 
> 
> Adam Cassar wrote:
> 
> > I have noticed on previous postings talk about Orion v1.1.30. Where
> > does one get this version? The WWW site only has 1.1.24
> >
> > --
> >
> > Adam Cassar
> > Senior Web Developer
> > ___
> > NetRegistry http://www.netregistry.au.com
> > Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
> > PO Box 270 Broadway NSW 2007 Australia
> 
> --
> //
> //
> //  Mike Clark
> //
> //  Clarkware Consulting
> //  Enterprise Java Architecture, Design, Development
> //
> //  http://www.clarkware.com
> //  [EMAIL PROTECTED]
> //  +1.720.851.2014
> //
> 
> 

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Latest Version

2000-08-02 Thread Mike Clark

You can download version 1.1.24 and then use...

java -jar $ORION_HOME/autoupdate.jar

This will update the installation to 1.1.30+.

Mike


Adam Cassar wrote:

> I have noticed on previous postings talk about Orion v1.1.30. Where
> does one get this version? The WWW site only has 1.1.24
>
> --
>
> Adam Cassar
> Senior Web Developer
> ___
> NetRegistry http://www.netregistry.au.com
> Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
> PO Box 270 Broadway NSW 2007 Australia

--
//
//
//  Mike Clark
//
//  Clarkware Consulting
//  Enterprise Java Architecture, Design, Development
//
//  http://www.clarkware.com
//  [EMAIL PROTECTED]
//  +1.720.851.2014
//






Why taglib's bodycontent's encoding is wrong

2000-08-02 Thread Jen Hsien Huang

I trying to write a tag that transform the content, it works well on W2K
, but when I try to run it on the Linux box, it happen to encoding problem.
I have to use  new String(origion_str.getBytes("8859_1"), "Big5") again to fix it

My default-charset = Big5 , the only different between W2K and Linux is 
the system's default locale.  I think the body content's encoding should be the 
default-charset define in the orion-web.xml, right? but it doesn't work. 

I comes from Taiwain, 
Orion seems have much i18n bug, hope Orion team can help me to fix it.

Regards.,
Jen Hsien Huang 




Latest Version

2000-08-02 Thread Adam Cassar

I have noticed on previous postings talk about Orion v1.1.30. Where
does one get this version? The WWW site only has 1.1.24

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: Error starting HTTP-Server: Permission denied

2000-08-02 Thread Adam Cassar

Thanks for the link Earl.

I recompiled the library and copied libNativeSupport.so to /usr/local/orion/liborion.so

I then started the server with

java -Dnative.user=orion -Djava.library.path=. -jar orion.jar -console2

I receive the following on the output - however the console doesn't start up :(

Setting native user to orion... done.
Orion/1.1.24 initialized

The server starts up, a "ps aux | grep orion" reveals that the server
is still running as root. Is this because:

(1) I am running Orion/1.1.24 or
(2) When a new thread is spawned the server then changes the owner

??

Thanks for the help.

On Wed, Aug 02, 2000 at 08:01:40AM -0600, Earl Marwil wrote:
> Adam,
> 
> See http://www.orionsupport.com/?key=users on how to set this up. I had to 
> recompile the .so file for my environment. Note that the (re)deployment 
> occurs before the server is bound to the port, so that certain files are 
> still owned by root which can create problems downstream. After the port is 
> bound, then the hand off is made to the "native user".
> 
> Hope this helps,
> 
> Earl
> 
> 
> At 09:48 8/2/00 +1000, Adam Cassar wrote:
> >Is there any way to get Orion to drop root privilages after binding to
> >the port?
> >
> >On Mon, Jul 31, 2000 at 05:39:18PM +0200, Mattias Arbin wrote:
> > >
> > >
> > >
> > > > Mattias Arbin wrote:
> > > >
> > > > > I am trying to setup a linux user (Red Hat 6.2) to run orion.
> > > > > When starting Orion I get the error:
> > > > >
> > > > > Error starting HTTP-Server: Permission denied
> > > > > Orion/1.1.37 initialized
> > > > >
> > > > > Nothing in the logs.
> > > > >
> > > > > Any ideas?
> > > > >
> > > > > /Mattias
> > > >
> > > > Hi Mattias,
> > > >
> > > > Normally, that happens when you're trying to launch orion without root
> > > > privileges. Ports below 1024 are reserved and can only be bound by
> > > > root-owned programs.
> > > > There are several solutions, but the easiest is to choose:
> > > >
> > > > 1 - You want Orion to listen to port 80 (the standard http port) and so
> > > > you must launch it on a root prompt
> > > > 2 - You don't mind if Orion does not listen to other port (say, for
> > > > instance, 8080), but you want to launch it from an ordinary user
> > > > account. In this case, you must edit the
> > > > /config/default-web-site.xml
> > > > and on the  > > > port="8080".
> > > >
> > > > In theory either one of these solutions, will make the permission denied
> > > > error go away
> > > >
> > > > Best Regards,
> > > >
> > > > Fábio
> > >
> > > Thanks. That explains the error.
> > > However, my problem was not that I could't start Orion. I have run it as
> > > root until now.
> > > I just thought that it might be good, for security reasons, to create a 
> > user
> > > with
> > > less priviliges than root, to run Orion.
> > >
> > > /Thanks,
> > > Mattias
> > >
> > >
> > >
> >
> >--
> >
> >Adam Cassar
> >Senior Web Developer
> >___
> >NetRegistry http://www.netregistry.au.com
> >Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
> >PO Box 270 Broadway NSW 2007 Australia
> 
> Earl Marwil
> SCIENTECH, Inc.
> 1690 International Way
> Idaho Falls, ID 83402
> 208.525.3717
> 

-- 

Adam Cassar
Senior Web Developer
___
NetRegistry http://www.netregistry.au.com
Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia





Re: protect pages

2000-08-02 Thread Porfiriev Sergey



ôÙ ÚÁÉÎÔÅÒÅÓÏ×ÁÎ × ÓÍÅÎÅ ÍÅÓÔÁ ÒÁÂÏÔÙ. ÉÌÉ 
outsourcing?
 
íÏÓËÏ×ÓËÏÅ ÏÔÄÅÌÅÎÉÅ ÁÍÅÒÉËÁÎÓËÏÊ ÆÉÒÍÙ.
 
åÓÌÉ ÄÁ - ÐÒÉÛÌÉ ÍÎÅ Resume.
 
íÙ ÐÉÛÅÍ ineternet ÐÏÒÔÁÌ ORION, JAVA< EJB, XML, XSL, 
etc
 
 

  - Original Message - 
  From: 
  Savotchkin Egor 
  To: Orion-Interest 
  Sent: Wednesday, August 02, 2000 4:03 
  PM
  Subject: protect pages
  
  Hi all,
      does smdy know how to protect (with SSL) 
  only part of pages in a web app? I only want to protect the "signin" page in 
  the Java Pet Store Demo. Did smdy manage to use CONFIDENTIAL in 
   element of the web.xml?
   
  Thanks in advance, Egor.
   
   
Porfiriev Sergey Boston, MA


SSL and Security

2000-08-02 Thread Daniel Beauregard

I am interested in using secured ejb's and I saw the example that is
provided with Orion
It seems to me that the SSL example is only for securing the websites that
Orion serves, but i only want to develop ebj applications for orion and  I
need them to be secure.

Any comments or insights to Orion and Security would be greatly appreciated.

Daniel






protect pages

2000-08-02 Thread Savotchkin Egor



Hi all,
    does smdy know how to protect (with SSL) 
only part of pages in a web app? I only want to protect the "signin" page in the 
Java Pet Store Demo. Did smdy manage to use CONFIDENTIAL in 
 element of the web.xml?
 
Thanks in advance, Egor.


RE: REFRESH !

2000-08-02 Thread Sarathy Mattaparti

If you made changes to jsp files. when ever you requested that file it'll 
check the time stamp. if the time stamp is different then it'll 
compile/deploy that jsp file.

> > I've heard something today in the list about refreshing an application.
> > I think someone has comment that if you make any change to
> > application.xml or orion-application.xml (I don't know which) orion 
>server
> > makes automatically a redeploy of the application whitout restarting the
> > server !!!
>
>This is true, touching orion-application.xml file will redeploy the
>application (if a change is detected in any of the orion-ejb-jar.xml or
>orion-application-client.xml files of that app's modules)
>
> > Is this correct??? if so..how much time does it takes to detect de
> > changes???
>
>It's fairly instant ?
>
> > I also would like to know how Orion handles Servlet and JSP refreshing.. 
>I
> > mean... if I change a servlet or a JSP ... what does orion do??? does it
> > make a checking just after any invocation or does it make only periodic
> > checkings ???
>
>JSPs etc are refreshed almost instantly (I believe they are checked each
>invocation?)
>
>
>Mike
>
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





Re: Error deploying CMP bean. - SOLVED

2000-08-02 Thread John Sinnott

I looked again at my ejb-jar.xml file and found that I had specified both a
pim-key-class entry as well as a primkey-field.
I removed the primkey-field and everything works so far.

John

- Original Message -
From: "John Sinnott" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Tuesday, August 01, 2000 5:06 PM
Subject: Error deploying CMP bean.


> I am having trouble deploying a CMP entity bean.  The error I get is:
>
> Auto-deploying classifieds-ejb... Error compiling
> file:/C:/Dev/classifieds/classifieds-ejb/: Variable contained illegal
space
> Orion/1.0.3 initialized
>
> I have no idea how to find out which 'variable' this is.  I have
> experimented and found out that if I comment out all sections of the
> ejb-jar.xml file that describes the entity bean, it deploys successfully.
> Is there any place where I can get more details error messages describing
> what in the file is wrong.  I can't see what might be wrong.  I have
checked
> for white space which doesn't seem to belong, and the ejb-jar.xml file
> checks as valid against its DTD.
>
> Thanks
> John Sinnott
>
>
>
>





Re: Orion and CMP

2000-08-02 Thread Robert Krueger

nothing stops you from writing the orion-ejb-jar.xml yourself. orion will 
not touch your settings when the file is parsed augmented and rewritten.

from my experience it's better to let orion write the file (with 
autocreate-tables="off" so you don't get any junk in the db) and then 
change the table and column names and redeploy. it's much less work.

what we do is generate the orion-ejb-jar.xml files with the code generation 
tool that also generates the ejb code and the db schema so it's no work at 
all.

regards,

robert

At 15:39 02.08.00 , Ratz, Peter wrote:
>Hello,
>
>i am new to orion and i am writing my first cmp bean.
>My bean "Customer" has attributes like name, street ... .
>Within my database (Oracle) the table name is "cust" and the column names
>are nam, str ... .
>I know that i can specify a mapping in orion-ejb-jar.xml.
>But this file is generated during deploying my app.
>How can i specify the mapping during assembling my app?
>I would like to set the table name and the field name mapping before
>deploying
>my ear-file.
>
>Thanks
>
>Peter

(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: Error starting HTTP-Server: Permission denied

2000-08-02 Thread Earl Marwil

Adam,

See http://www.orionsupport.com/?key=users on how to set this up. I had to 
recompile the .so file for my environment. Note that the (re)deployment 
occurs before the server is bound to the port, so that certain files are 
still owned by root which can create problems downstream. After the port is 
bound, then the hand off is made to the "native user".

Hope this helps,

Earl


At 09:48 8/2/00 +1000, Adam Cassar wrote:
>Is there any way to get Orion to drop root privilages after binding to
>the port?
>
>On Mon, Jul 31, 2000 at 05:39:18PM +0200, Mattias Arbin wrote:
> >
> >
> >
> > > Mattias Arbin wrote:
> > >
> > > > I am trying to setup a linux user (Red Hat 6.2) to run orion.
> > > > When starting Orion I get the error:
> > > >
> > > > Error starting HTTP-Server: Permission denied
> > > > Orion/1.1.37 initialized
> > > >
> > > > Nothing in the logs.
> > > >
> > > > Any ideas?
> > > >
> > > > /Mattias
> > >
> > > Hi Mattias,
> > >
> > > Normally, that happens when you're trying to launch orion without root
> > > privileges. Ports below 1024 are reserved and can only be bound by
> > > root-owned programs.
> > > There are several solutions, but the easiest is to choose:
> > >
> > > 1 - You want Orion to listen to port 80 (the standard http port) and so
> > > you must launch it on a root prompt
> > > 2 - You don't mind if Orion does not listen to other port (say, for
> > > instance, 8080), but you want to launch it from an ordinary user
> > > account. In this case, you must edit the
> > > /config/default-web-site.xml
> > > and on the  > > port="8080".
> > >
> > > In theory either one of these solutions, will make the permission denied
> > > error go away
> > >
> > > Best Regards,
> > >
> > > Fábio
> >
> > Thanks. That explains the error.
> > However, my problem was not that I could't start Orion. I have run it as
> > root until now.
> > I just thought that it might be good, for security reasons, to create a 
> user
> > with
> > less priviliges than root, to run Orion.
> >
> > /Thanks,
> > Mattias
> >
> >
> >
>
>--
>
>Adam Cassar
>Senior Web Developer
>___
>NetRegistry http://www.netregistry.au.com
>Tel: +61 2 9699 6099 | Fax: +61 2 9699 6088
>PO Box 270 Broadway NSW 2007 Australia

Earl Marwil
SCIENTECH, Inc.
1690 International Way
Idaho Falls, ID 83402
208.525.3717




Orion and CMP

2000-08-02 Thread Ratz, Peter

Hello,

i am new to orion and i am writing my first cmp bean.
My bean "Customer" has attributes like name, street ... .
Within my database (Oracle) the table name is "cust" and the column names
are nam, str ... .
I know that i can specify a mapping in orion-ejb-jar.xml.
But this file is generated during deploying my app.
How can i specify the mapping during assembling my app?
I would like to set the table name and the field name mapping before
deploying
my ear-file.

Thanks

Peter




RE: REFRESH !

2000-08-02 Thread Mike Cannon-Brookes

> I've heard something today in the list about refreshing an application.
> I think someone has comment that if you make any change to
> application.xml or orion-application.xml (I don't know which) orion server
> makes automatically a redeploy of the application whitout restarting the
> server !!!

This is true, touching orion-application.xml file will redeploy the
application (if a change is detected in any of the orion-ejb-jar.xml or
orion-application-client.xml files of that app's modules)

> Is this correct??? if so..how much time does it takes to detect de
> changes???

It's fairly instant ?

> I also would like to know how Orion handles Servlet and JSP refreshing.. I
> mean... if I change a servlet or a JSP ... what does orion do??? does it
> make a checking just after any invocation or does it make only periodic
> checkings ???

JSPs etc are refreshed almost instantly (I believe they are checked each
invocation?)


Mike





Request: replace orion auth with JAAS from sun

2000-08-02 Thread hanasaki


Please.






REFRESH !

2000-08-02 Thread David Sierra Fernandez


I've heard something today in the list about refreshing an application.
I think someone has comment that if you make any change to
application.xml or orion-application.xml (I don't know which) orion server
makes automatically a redeploy of the application whitout restarting the
server !!!

Is this correct??? if so..how much time does it takes to detect de
changes???

I also would like to know how Orion handles Servlet and JSP refreshing.. I
mean... if I change a servlet or a JSP ... what does orion do??? does it
make a checking just after any invocation or does it make only periodic
checkings ???

I think this issues are very important 


THANK YOU VERY MUCH !!!

-
David Sierra Fern ndez
Ingeniero Tecnico de Telecomunicaci¢n
AULA RETECAL (CEDETEL)   Universidad de Valladolid
Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
47011 Valladolid (SPAIN)
--

 -- Sierr@ --





Re: Different Web module shares session

2000-08-02 Thread Tom MAK

Hi Jen,

What is your session referring to, "Servlet session" or "Session Bean".  
Session Bean cannot be "share"?  I also doubt "Servlet session" can be 
shared among applications...May be Orion has some specific 
implementation.


>From: "Jen Hsien Huang" <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: Different Web module shares session
>Date: Tue, 1 Aug 2000 19:09:37 +0800
>
>My application has many web module , I can I share session?
>I have set they are still different session.
>
>Regards.,
>Jen Hsien Huang
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





Re: Database Driver Problem

2000-08-02 Thread Tom MAK

Change --connection-driver="hSql.hDriver"-- to
   --connection-driver="org.hsql.jdbcDriver"--
in data-source.xml
should work...



>From: Truong Di Ly <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: Database Driver Problem
>Date: Wed, 02 Aug 2000 10:55:46 +0200
>
>Hi,
>
>i am just testing the Orion Server,
>but there is a problem:
>
>Error initializing server: DriverManagerDataSource driver
>'org.hsql.jdbcDriver' not found
>
>My data-source.xml is like described in
>Data-sources howto:
>http://www.orionserver.com/faq/#-1148840102
>
>Furthermore i would like to test it with another DBMS like
>Oracle, MySQL or Sybase.
>
>Many thanks in advance,
>Ly
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com





Database Driver Problem

2000-08-02 Thread Truong Di Ly

Hi,

i am just testing the Orion Server,
but there is a problem:

Error initializing server: DriverManagerDataSource driver
'org.hsql.jdbcDriver' not found

My data-source.xml is like described in
Data-sources howto:
http://www.orionserver.com/faq/#-1148840102

Furthermore i would like to test it with another DBMS like
Oracle, MySQL or Sybase.

Many thanks in advance,
Ly




EJB COMPILATION

2000-08-02 Thread David Sierra Fernandez


When I compile my beans I use a similar bat that in J2EE server
implementation:

set ORION=C:\orion
set CPATH=.;%ORION%\orion.jar;%ORION%\ejb.jar;%ORION%\jndi.jar;
javac -classpath %CPATH% AgendaSClient.java 


Am I correct or should I use a different classpath
Any other way of compilate my beans or servlets???

The same when I run a client:

set ORION=C:\orion
set CPATH=.;%ORION%\orion.jar;%ORION%\ejb.jar;%ORION%\jndi.jar;
java -classpath %CPATH% AgendaSClient


Am I correct or should I include other files???

THANK YOU !!

-
David Sierra Fern ndez
Ingeniero Tecnico de Telecomunicaci¢n
AULA RETECAL (CEDETEL)   Universidad de Valladolid
Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
47011 Valladolid (SPAIN)
--

 -- Sierr@ --






Re: user and password defaults ??

2000-08-02 Thread David Sierra Fernandez


The password of admin is set when you install orion, I mean... after
running it you should do:

java jar orion.jar install

and then it displys this and ask for the admin password. This password is
an installation password, it's not a user of principals:

Enter an admin password to use: spain
Confirm admin password: spain
Installation done

This is for admin.jar, instead, if you want to execute a java application
you should specify the user in jndi.properties and then refill the passwd
when orion ask for it. this user and password should be defined in
principals.xml

Hope this helps...



-
David Sierra Fern ndez
Ingeniero Tecnico de Telecomunicaci¢n
AULA RETECAL (CEDETEL)   Universidad de Valladolid
Campus Miguel Delibes   E-Mail: [EMAIL PROTECTED]
47011 Valladolid (SPAIN)
--

 -- Sierr@ --

On Tue, 1 Aug 2000, Daniel Beauregard wrote:

> I am trying to run admin.jar but no matter what i put in for admin or
> password it gives me an invalid user/password exception...
> same when i try to use clients to access my ormi://localhost rmi server,
> which i set up to have user="admin" pass="123"
> and none of these work??
> 
> Please help
> 
> Thanks
> Daniel
> 
> 
> 
>