Re: Orion Powered Sites

2000-10-20 Thread Jason Rimmer

Results from NetCraft's "what's it running?" tool,
http://www.netcraft.com:

 http://www.redbull.com - Unable to determine
 http://www.javalobby.com - Running Orion/1.0.3 on Solaris
 http://www.vpro.nl - Running Orion/0.8.1n on Linux
 http://www.linuxtoday.com.au - Running Orion/1.3.8 on Linux
 http://wap.hjemmenett.no - Unable to determine
 http://www.headlinewatch.com - Running Orion/1.0.3 on Solaris
 http://news.partsbase.com - Running Orion/1.0.3 on Solaris
 http://australia.internet.com - Running Orion/1.3.8 on Linux
 http://www.yesitworks.com - Running Orion/1.1.9 on Solaris
 http://www.internetstockreport.com.au - Running Orion/1.3.8 on Linux
 http://www.e-mediamarketer.com.au - Running Orion/1.3.8 on Linux

--
Jason Rimmer
[EMAIL PROTECTED]


- Original Message -
From: "Gordon Sell" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, October 19, 2000 10:27 PM
Subject: Re: Orion Powered Sites


 Try these(they are from the orion site)

 http://www.redbull.com
 http://www.javalobby.com
 http://www.vpro.nl
 http://www.linuxtoday.com.au
 http://wap.hjemmenett.no
 http://www.headlinewatch.com
 http://news.partsbase.com
 http://australia.internet.com
 http://www.yesitworks.com
 http://www.internetstockreport.com.au
 http://www.e-mediamarketer.com.au

 Cheers
 Gordon






Re: ALTERNATIVES TO JDK1.3

2000-10-20 Thread Ismael Blesa Part


Have you tried with JIKES



David Sierra Fernandez wrote:


 Could you tell me if there is an alternative compiler to jdk 1.3?
 I'm looking for other compilers but they should compile all my
 middleware components (servlets, JSPs,EJBs,JavaBeans)

 TIA

  -- Sierr@ --





RE: Deploying the java pet store?

2000-10-20 Thread Dumitru Sbenghe

at www.orionsupport.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert
Nicholson
Sent: Friday, October 20, 2000 8:33 AM
To: Orion-Interest
Subject: Deploying the java pet store?


Where can I find the instructions on deploying the new java pet store with
Orion 1.3.8?

---
Robert Nicholson
Email: [EMAIL PROTECTED]
AOL  : rydmerlin





SV: Orion Powered Sites

2000-10-20 Thread Klaus . Myrseth

wap.hjemmenett.no is running Orion 0.6.2 :)

Klaus

-Opprinnelig melding-
Fra: Jason Rimmer [mailto:[EMAIL PROTECTED]]
Sendt: 20. oktober 2000 08:00
Til: Orion-Interest
Emne: Re: Orion Powered Sites


Results from NetCraft's "what's it running?" tool,
http://www.netcraft.com:

 http://www.redbull.com - Unable to determine
 http://www.javalobby.com - Running Orion/1.0.3 on Solaris
 http://www.vpro.nl - Running Orion/0.8.1n on Linux
 http://www.linuxtoday.com.au - Running Orion/1.3.8 on Linux
 http://wap.hjemmenett.no - Unable to determine
 http://www.headlinewatch.com - Running Orion/1.0.3 on Solaris
 http://news.partsbase.com - Running Orion/1.0.3 on Solaris
 http://australia.internet.com - Running Orion/1.3.8 on Linux
 http://www.yesitworks.com - Running Orion/1.1.9 on Solaris
 http://www.internetstockreport.com.au - Running Orion/1.3.8 on Linux
 http://www.e-mediamarketer.com.au - Running Orion/1.3.8 on Linux

--
Jason Rimmer
[EMAIL PROTECTED]


- Original Message -
From: "Gordon Sell" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, October 19, 2000 10:27 PM
Subject: Re: Orion Powered Sites


 Try these(they are from the orion site)

 http://www.redbull.com
 http://www.javalobby.com
 http://www.vpro.nl
 http://www.linuxtoday.com.au
 http://wap.hjemmenett.no
 http://www.headlinewatch.com
 http://news.partsbase.com
 http://australia.internet.com
 http://www.yesitworks.com
 http://www.internetstockreport.com.au
 http://www.e-mediamarketer.com.au

 Cheers
 Gordon






RE: Orion in production

2000-10-20 Thread Holmes, George (TWIi London)

www.opengolf.com

This is the official web site for the British Open Golf tournament.  Did 30
million page impressions/day (ish) for the four days of the Open.

George

GEORGE HOLMES

TWI Interactive
Media House
Burlington Lane
LONDON
W4 2TH
ENGLAND

TEL: +44 208 233 5631
FAX: +44 208 233 7701
CELL: +44 7968 918813


-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: 19 October 2000 22:13
To: Orion-Interest
Subject: Orion in production


Hi!

I have been using orion for about 6 months now, and now, as I'm finishing my
app, I need to sell orion to my customers...
For this, it would be *VERY* valuable to have a list of sites (on the
internet or intranets) which use orion...

So, basically, what I have in mind is that anybody on this list that wishes
to report a site as being partiallly/fully powered by orion,
report it to my email address, [EMAIL PROTECTED], so that I can make a list
of these, to publish it on WWW

I think this will prove useful for us all.

TIA,

JP




Re: Shutdown sequence not working

2000-10-20 Thread Ismael Blesa Part

With the orionserver installed as default and  having the disabled="true"
property on principals.xml it works fine for me on Windows 2000.
Have you modified some config files from Orion (orion/config) ?

Drew Kidder wrote:

 If by "enable user admin" you mean not having the disabled="true" property
 set for that user (or whatever it is), that's not the case. I have removed
 that property. And I would think that orion should tell me that the user is
 invalid, rather than the wrong number of arguments.

 How would I enable the admin user, aside from removing that tag that is
 present in the default principals.xml file?

 At 12:51 PM 10/19/2000 -0500, you wrote:
 Hi Drew,
 
 you should edit principals.xml and enable user admin. Your command is fine,
 atleast it works for me.
 But I have found a problem with this command on Unix with J2SE 13. It
 kills the
 server but not the process , then you cannot restart the orion server.

 --
 Andrew Kidder
 L3 SW/Support Engineer, IBU
 Tivoli Systems

 512-436-4544
 [EMAIL PROTECTED]
 http://www.tivoli.com





When I send a mail to the list I receive a Mail Error: message blocked.

2000-10-20 Thread Ismael Blesa Part

Your mail cannot be delivered to the following address(es):

[EMAIL PROTECTED], 553 From [EMAIL PROTECTED], message
blocked.

Please check the above address(es) and then try again.

 Header of the source mail attached 

Received: from druid.evermind.net([195.84.237.200]) by china.com(JetMail
2.5.3.0)
with SMTP id jm1b39edaded; Wed, 18 Oct 2000 12:55:18 -
Received: from druid.evermind.net (IDENT:[EMAIL PROTECTED]
[127.0.0.1])
by druid.evermind.net (8.9.3/8.9.3) with SMTP id MAA06760;
Wed, 18 Oct 2000 12:05:15 -0100
Received: from capitular.tissat.es (capitular.tissat.es [195.77.30.34])
by paladin.evermind.net (8.9.3/8.9.3) with ESMTP id NAA14618
for [EMAIL PROTECTED]; Wed, 18 Oct 2000 13:03:13 -0400
Received: from tissat.es ([195.77.30.86]) by capitular.tissat.es
  (Netscape Messaging Server 3.6)  with ESMTP id AAA356C
  for [EMAIL PROTECTED];
  Wed, 18 Oct 2000 12:03:33 +0200
Message-ID: [EMAIL PROTECTED]
Date: Wed, 18 Oct 2000 12:03:28 +0200
From: "Ismael Blesa Part" [EMAIL PROTECTED]
X-Mailer: Orion ListServer
X-Accept-Language: en
MIME-Version: 1.0
To: Orion-Interest [EMAIL PROTECTED]
Subject: How to know which changes have been done on each new
orionserver 
 version?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: Orion-Interest [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]




Re: Shutdown sequence not working

2000-10-20 Thread Per Fredrik Plars

try this:

java -jar orion.jar -install


From: Drew Kidder [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: Shutdown sequence not working
Date: Thu, 19 Oct 2000 16:26:00 -0500
MIME-Version: 1.0
Received: from [195.84.237.200] by hotmail.com (3.2) with ESMTP id 
MHotMailBBB8C7FD00B6D82197C9C354EDC804450; Thu Oct 19 16:00:22 2000
Received: from druid.evermind.net (IDENT:[EMAIL PROTECTED] 
[127.0.0.1])by druid.evermind.net (8.9.3/8.9.3) with SMTP id XAA05038;Thu, 
19 Oct 2000 23:36:42 -0100
Received: from corp.tivoli.com (corp.tivoli.com [216.140.178.60])by 
paladin.evermind.net (8.9.3/8.9.3) with ESMTP id AAA16317for 
[EMAIL PROTECTED]; Fri, 20 Oct 2000 00:25:30 -0400
Received: from bonehead.tivoli.com (bonehead.dev.tivoli.com 
[146.84.38.179])by corp.tivoli.com (8.9.3/8.9.0) with ESMTP id QAA03937for 
[EMAIL PROTECTED]; Thu, 19 Oct 2000 16:26:17 -0500 (CDT)
From [EMAIL PROTECTED] Thu Oct 19 16:01:32 2000
Message-Id: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
X-Mailer: Orion ListServer
In-Reply-To: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]

If by "enable user admin" you mean not having the disabled="true" property
set for that user (or whatever it is), that's not the case. I have removed
that property. And I would think that orion should tell me that the user is
invalid, rather than the wrong number of arguments.

How would I enable the admin user, aside from removing that tag that is
present in the default principals.xml file?


At 12:51 PM 10/19/2000 -0500, you wrote:
Hi Drew,

you should edit principals.xml and enable user admin. Your command is 
fine,
atleast it works for me.
But I have found a problem with this command on Unix with J2SE 13. It
kills the
server but not the process , then you cannot restart the orion server.


--
Andrew Kidder
L3 SW/Support Engineer, IBU
Tivoli Systems

512-436-4544
[EMAIL PROTECTED]
http://www.tivoli.com




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

Share information about yourself, create your own public profile at 
http://profiles.msn.com.





RE: Orion in production

2000-10-20 Thread Holmes, George (TWIi London)

Sorry, site was running on NT4 using Sun JDK 1.3

George

GEORGE HOLMES

TWI Interactive
Media House
Burlington Lane
LONDON
W4 2TH
ENGLAND

TEL: +44 208 233 5631
FAX: +44 208 233 7701
CELL: +44 7968 918813


-Original Message-
From: Holmes, George (TWIi London) [mailto:[EMAIL PROTECTED]]
Sent: 20 October 2000 09:14
To: Orion-Interest
Subject: RE: Orion in production


www.opengolf.com

This is the official web site for the British Open Golf tournament.  Did 30
million page impressions/day (ish) for the four days of the Open.

George

GEORGE HOLMES

TWI Interactive
Media House
Burlington Lane
LONDON
W4 2TH
ENGLAND

TEL: +44 208 233 5631
FAX: +44 208 233 7701
CELL: +44 7968 918813


-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: 19 October 2000 22:13
To: Orion-Interest
Subject: Orion in production


Hi!

I have been using orion for about 6 months now, and now, as I'm finishing my
app, I need to sell orion to my customers...
For this, it would be *VERY* valuable to have a list of sites (on the
internet or intranets) which use orion...

So, basically, what I have in mind is that anybody on this list that wishes
to report a site as being partiallly/fully powered by orion,
report it to my email address, [EMAIL PROTECTED], so that I can make a list
of these, to publish it on WWW

I think this will prove useful for us all.

TIA,

JP




Re: SV: Orion Powered Sites

2000-10-20 Thread Robert Krueger

At 10:08 20.10.00 , you wrote:
wap.hjemmenett.no is running Orion 0.6.2 :)

Klaus

-Opprinnelig melding-
Fra: Jason Rimmer [mailto:[EMAIL PROTECTED]]
Sendt: 20. oktober 2000 08:00
Til: Orion-Interest
Emne: Re: Orion Powered Sites


 Results from NetCraft's "what's it running?" tool,
http://www.netcraft.com:

  http://www.redbull.com - Unable to determine

and all other local sites (redbull.de redbull.nl etc.) run 1.3.8 on linux

  http://www.javalobby.com - Running Orion/1.0.3 on Solaris
  http://www.vpro.nl - Running Orion/0.8.1n on Linux
  http://www.linuxtoday.com.au - Running Orion/1.3.8 on Linux
  http://wap.hjemmenett.no - Unable to determine
  http://www.headlinewatch.com - Running Orion/1.0.3 on Solaris
  http://news.partsbase.com - Running Orion/1.0.3 on Solaris
  http://australia.internet.com - Running Orion/1.3.8 on Linux
  http://www.yesitworks.com - Running Orion/1.1.9 on Solaris
  http://www.internetstockreport.com.au - Running Orion/1.3.8 on Linux
  http://www.e-mediamarketer.com.au - Running Orion/1.3.8 on Linux

--
Jason Rimmer
[EMAIL PROTECTED]


robert

- Original Message -
From: "Gordon Sell" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, October 19, 2000 10:27 PM
Subject: Re: Orion Powered Sites


  Try these(they are from the orion site)
 
  http://www.redbull.com
  http://www.javalobby.com
  http://www.vpro.nl
  http://www.linuxtoday.com.au
  http://wap.hjemmenett.no
  http://www.headlinewatch.com
  http://news.partsbase.com
  http://australia.internet.com
  http://www.yesitworks.com
  http://www.internetstockreport.com.au
  http://www.e-mediamarketer.com.au
 
  Cheers
  Gordon



(-) 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: Orion in production

2000-10-20 Thread Robert Krueger

At 10:00 20.10.00 , you wrote:
Sorry, site was running on NT4 using Sun JDK 1.3

good point (including the jdk in the list)

the redbull sites run sun jdk1.3 release hotspot server version

robert

George

GEORGE HOLMES

TWI Interactive
Media House
Burlington Lane
LONDON
W4 2TH
ENGLAND

TEL: +44 208 233 5631
FAX: +44 208 233 7701
CELL: +44 7968 918813


-Original Message-
From: Holmes, George (TWIi London) [mailto:[EMAIL PROTECTED]]
Sent: 20 October 2000 09:14
To: Orion-Interest
Subject: RE: Orion in production


www.opengolf.com

This is the official web site for the British Open Golf tournament.  Did 30
million page impressions/day (ish) for the four days of the Open.

George

GEORGE HOLMES

TWI Interactive
Media House
Burlington Lane
LONDON
W4 2TH
ENGLAND

TEL: +44 208 233 5631
FAX: +44 208 233 7701
CELL: +44 7968 918813


-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: 19 October 2000 22:13
To: Orion-Interest
Subject: Orion in production


Hi!

I have been using orion for about 6 months now, and now, as I'm finishing my
app, I need to sell orion to my customers...
For this, it would be *VERY* valuable to have a list of sites (on the
internet or intranets) which use orion...

So, basically, what I have in mind is that anybody on this list that wishes
to report a site as being partiallly/fully powered by orion,
report it to my email address, [EMAIL PROTECTED], so that I can make a list
of these, to publish it on WWW

I think this will prove useful for us all.

TIA,

 JP

(-) 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





EJB 2.0 1-1 mapping entity-depobj problem

2000-10-20 Thread Joel Shellman

I get the following error during deployment:

"Method public abstract CP CB.getPrefs() can not be declared abstract"

 relationships
  ejb-relation
   ejb-relation-nameC-CP/ejb-relation-name
   ejb-relationship-role
ejb-relationship-role-namec-p/ejb-relationship-role-name
multiplicityone/multiplicity
role-source
 ejb-nameC/ejb-name
/role-source
cmr-field
 cmr-field-nameprefs/cmr-field-name
 cmr-field-typeCP/cmr-field-type
/cmr-field
   /ejb-relationship-role
   ejb-relationship-role

ejb-relationship-role-namecontactprefs-belongs-to-contact/ejb-relationshi
p-role-name
multiplicityone/multiplicity
role-source
 dependent-nameCP/dependent-name
/role-source
/ejb-relationship-role
  /ejb-relation
 /relationships

In the CP bean, I have:
public abstract CP getprefs();

What's wrong with that?

Thanks,

Joel Shellman






Re: Orion in production

2000-10-20 Thread Sven van 't Veer

"Juan Lorandi (Chile)" wrote:
 
 Hi!
 
 I have been using orion for about 6 months now, and now, as I'm finishing my
 app, I need to sell orion to my customers...
 For this, it would be *VERY* valuable to have a list of sites (on the
 internet or intranets) which use orion...
 
 So, basically, what I have in mind is that anybody on this list that wishes
 to report a site as being partiallly/fully powered by orion,
 report it to my email address, [EMAIL PROTECTED], so that I can make a list
 of these, to publish it on WWW
 
 I think this will prove useful for us all.
www.cachoeiro.net
www.snpc.com.br

-- 
==
Sven E. van 't Veer  
http://www.cachoeiro.net
Java Developer  [EMAIL PROTECTED]
==




Choosing a JNDI name for a remote home interface

2000-10-20 Thread Paul Hammant

Hi,

Is it possible to assign a JNDI name to a home interface?  It is
possible with other EJB containers.  e.g. I might want...

"mycompany.RenderFarmHome"

rather than

"java:comp/env/ejb/RenderFarmHome"

This is particularly useful if I have a bean that can be deployed into
JBoss as well as Orion.

TIA,

- Paul H





RE: Orion in production

2000-10-20 Thread Frank Eggink

As of interest. What sort of configuration were the running?

Frank

On Friday, October 20, 2000 10:14 AM, Holmes, George (TWIi London) 
[SMTP:[EMAIL PROTECTED]] wrote:
 www.opengolf.com
 
 This is the official web site for the British Open Golf tournament.  Did 30
 million page impressions/day (ish) for the four days of the Open.
 
 George
 
 GEORGE HOLMES
 
 TWI Interactive
 Media House
 Burlington Lane
 LONDON
 W4 2TH
 ENGLAND
 
 TEL: +44 208 233 5631
 FAX: +44 208 233 7701
 CELL: +44 7968 918813
 
 
 -Original Message-
 From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
 Sent: 19 October 2000 22:13
 To: Orion-Interest
 Subject: Orion in production
 
 
 Hi!
 
 I have been using orion for about 6 months now, and now, as I'm finishing my
 app, I need to sell orion to my customers...
 For this, it would be *VERY* valuable to have a list of sites (on the
 internet or intranets) which use orion...
 
 So, basically, what I have in mind is that anybody on this list that wishes
 to report a site as being partiallly/fully powered by orion,
 report it to my email address, [EMAIL PROTECTED], so that I can make a list
 of these, to publish it on WWW
 
 I think this will prove useful for us all.
 
 TIA,
 
   JP
 




RE: Orion in production

2000-10-20 Thread Frank Eggink

I don't know what's the downside of believing these statistics.

On http://www.netcraft.com:

click on 'what's that site running'
click on 'help'
click on 'range'
click on 'Index' (of Sept 2000 of course)
Hit Ctrl-F and search for orion.

It tells you 1238 servers are running orion. (If you want your boss to go ahead with 
orion, don't show him number 5 on the list!)

Frank

On Friday, October 20, 2000 12:38 PM, Sven van 't Veer [SMTP:[EMAIL PROTECTED]] wrote:
 "Juan Lorandi (Chile)" wrote:
  
  Hi!
  
  I have been using orion for about 6 months now, and now, as I'm finishing my
  app, I need to sell orion to my customers...
  For this, it would be *VERY* valuable to have a list of sites (on the
  internet or intranets) which use orion...
  
  So, basically, what I have in mind is that anybody on this list that wishes
  to report a site as being partiallly/fully powered by orion,
  report it to my email address, [EMAIL PROTECTED], so that I can make a list
  of these, to publish it on WWW
  
  I think this will prove useful for us all.
 www.cachoeiro.net
 www.snpc.com.br
 
 -- 
 
==
 Sven E. van 't Veer  
 http://www.cachoeiro.net
 Java Developer
[EMAIL PROTECTED]
 
==
 




Re: EJB 2.0 1-1 mapping entity-depobj problem

2000-10-20 Thread Kris Keener

Joel,
   Did you declare "prefs" as a cmp-field in the
entity declaration? For example:
entity
   ...
   cmp-field
  field-nameprefs/field-name
   /cmp-field
   ...
/entity

   I was getting the same exception until I made the
above change. 

--- Joel Shellman [EMAIL PROTECTED] wrote:
 I get the following error during deployment:
 
 "Method public abstract CP CB.getPrefs() can not be
 declared abstract"
 
  relationships
   ejb-relation
ejb-relation-nameC-CP/ejb-relation-name
ejb-relationship-role


ejb-relationship-role-namec-p/ejb-relationship-role-name
 multiplicityone/multiplicity
 role-source
  ejb-nameC/ejb-name
 /role-source
 cmr-field
  cmr-field-nameprefs/cmr-field-name
  cmr-field-typeCP/cmr-field-type
 /cmr-field
/ejb-relationship-role
ejb-relationship-role
 

ejb-relationship-role-namecontactprefs-belongs-to-contact/ejb-relationshi
 p-role-name
 multiplicityone/multiplicity
 role-source
  dependent-nameCP/dependent-name
 /role-source
 /ejb-relationship-role
   /ejb-relation
  /relationships
 
 In the CP bean, I have:
 public abstract CP getprefs();
 
 What's wrong with that?
 
 Thanks,
 
 Joel Shellman
 
 
 
 
 


__
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/




searchable mail archive

2000-10-20 Thread Derek Akers




 Some of you may be interested in 
knowing that there is a searchable archive for this mailing list at

http://www.mail-archive.com/orion-interest%40orionserver.com/

This may help you in determining if a question has 
already been asked and answered in one form or another.

Cheers!

d.Akers.


RE: Orion in production

2000-10-20 Thread J.T. Wenting

Very narrow range of top-level domains. No European or Asian domains at
all...


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Frank Eggink
 Sent: Friday, October 20, 2000 14:09
 To: Orion-Interest
 Subject: RE: Orion in production


 I don't know what's the downside of believing these statistics.

 On http://www.netcraft.com:

 click on 'what's that site running'
 click on 'help'
 click on 'range'
 click on 'Index' (of Sept 2000 of course)
 Hit Ctrl-F and search for orion.

 It tells you 1238 servers are running orion. (If you want your
 boss to go ahead with orion, don't show him number 5 on the list!)

 Frank

 On Friday, October 20, 2000 12:38 PM, Sven van 't Veer
 [SMTP:[EMAIL PROTECTED]] wrote:
  "Juan Lorandi (Chile)" wrote:
  
   Hi!
  
   I have been using orion for about 6 months now, and now, as
 I'm finishing my
   app, I need to sell orion to my customers...
   For this, it would be *VERY* valuable to have a list of sites (on the
   internet or intranets) which use orion...
  
   So, basically, what I have in mind is that anybody on this
 list that wishes
   to report a site as being partiallly/fully powered by orion,
   report it to my email address, [EMAIL PROTECTED], so that I
 can make a list
   of these, to publish it on WWW
  
   I think this will prove useful for us all.
  www.cachoeiro.net
  www.snpc.com.br
 
  --
 
 ==
 
  Sven E. van 't Veer
  http://www.cachoeiro.net
  Java Developer
 [EMAIL PROTECTED]
 
 ==
 
 






Cluster and session-attributes

2000-10-20 Thread Nicklas Andersson

Hi,

we have configured a cluster with the web-part over two machines.
They are placed on the same net with a load balancer which listens
to 172.23.20.58:100 and selects between 172.23.20.29:8090/172.23.20.58:8090.

They are in a so called cluster-island and everything goes just fine
with easy JSP- and HTML-pages. BUT... when it comes to sharing session and
their attributes something goes wrong when we do a
"session.removeAttribute("X");"

Does anyone know why? Here are some fileconfigurations for you:
1) Start of the load balancer:
C:\cm\orionjava -jar loadbalancer.jar -host 172.23.20.58 -port 100
Balancer initialized...
Added island number 1 to the cluster...
Discovered server LKPS031/172.23.20.29:8090...
Discovered server LKPS031/172.23.20.29:8090...

2) start of Orion:
C:\cm\orionjava -jar orion.jar
Orion/1.3.8 initialized

3) Our config-files:
orion-web.xml
?xml version="1.0"?
!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application
2.3//EN" "http://www.orionserver.com/dtds/orion-web.dtd"
orion-web-app
deployment-version="1.3.8"
jsp-cache-directory="./persistence"
temporary-directory="./temp"
servlet-webdir="/servlet/"
cluster-config host="230.0.0.1" id="1" port="9127" /
/orion-web-app

cm-web-site.xml
?xml version="1.0"?
!DOCTYPE web-site PUBLIC "Orion Web-site"
"http://www.orionserver.com/dtds/web-site.dtd"
web-site host="172.23.20.58" port="8090" display-name="Framfab CM WebSite"
cluster-island="1"
!-- The default web-app for this site, bound to the root --
default-web-app application="cmweb" name="webfiles" /
access-log path="../log/default-web-access.log" /
frontend host="172.23.20.58" port="100" /
/web-site

web.xml
?xml version="1.0"?
!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"
web-app
display-nameFramfab Content Management/display-name
descriptionWebfiles for FFCM application/description
distributable /
login-config
auth-methodBASIC/auth-method
/login-config
/web-app

Our easy examples comes here:
1) A JSP-page to set/get and remove attributes:
pre
%
try {
session.setAttribute("cmCluster", "Hello World!");
out.println("1");
out.println(session.getAttribute("cmCluster"));
out.println("2");
out.println(":" + session.getAttribute("cmChrister") + ":");
out.println("3");
session.removeAttribute("cmCluster");
out.println("4");
session.removeAttribute("cmChrister");
out.println("5");
} catch (Throwable t) { out.println(t); }
%
/pre
2) Result:
1
Hello World!
2
:null:
3
--- java.lang.StackOverflowError

The same error appears when we uses another page but orion types all the
error to the page like this:
500 Internal Server Error
java.lang.StackOverflowError
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
at
com.evermind.server.http.ClusteredHttpSession.removeAttribute(JAX)
at com.evermind.server.http.EvermindHttpSession.removeValue(JAX)
... Continues ...

Can anyone help us with this problem? What can it be? Doesn't it seem
strange
that 

Re: Orion in production

2000-10-20 Thread Jason Rimmer

I doubt WebLogic and Orion compete against each other much.  While you
and I know that Orion's a capable server, for the business types Orion
at US$1500/machine is a bit different from WebLogic's US$17000/cpu.
Not to mention Netcraft's WebLogic results are skewed as a free hosting
provider, NameZero, hosts 500,000 static html sites on it.

Frank Eggink wrote:
 
 I don't know what's the downside of believing these statistics.
 
 On http://www.netcraft.com:
 
 click on 'what's that site running'
 click on 'help'
 click on 'range'
 click on 'Index' (of Sept 2000 of course)
 Hit Ctrl-F and search for orion.
 
 It tells you 1238 servers are running orion. (If you want your boss to go ahead with 
orion, don't show him number 5 on the list!)
 
 Frank
 
 On Friday, October 20, 2000 12:38 PM, Sven van 't Veer [SMTP:[EMAIL PROTECTED]] wrote:
  "Juan Lorandi (Chile)" wrote:
  
   Hi!
  
   I have been using orion for about 6 months now, and now, as I'm finishing my
   app, I need to sell orion to my customers...
   For this, it would be *VERY* valuable to have a list of sites (on the
   internet or intranets) which use orion...
  
   So, basically, what I have in mind is that anybody on this list that wishes
   to report a site as being partiallly/fully powered by orion,
   report it to my email address, [EMAIL PROTECTED], so that I can make a list
   of these, to publish it on WWW
  
   I think this will prove useful for us all.
  www.cachoeiro.net
  www.snpc.com.br
 
  --
  
==
  Sven E. van 't Veer
  http://www.cachoeiro.net
  Java Developer
[EMAIL PROTECTED]
  
==
 

-- 
Jason Rimmer
[EMAIL PROTECTED]




Orion Powered Sites

2000-10-20 Thread Juan Lorandi (Chile)

Thanks a lot!
The list has grown a lot - fixed the links, and so on...

It still is at http://www.rifleman.com.ar/orionsites.htm
And it still is at a freeservers site...

I have contacted Joe Ottinger, and he has told me, he has nothing else to do
at orionsupport.com...

I'm working on an J2EE App to handle the list in a more flexible manner (I'm
getting nuts trying to keep up with it!)

Anyway, write me any thoughts, flames, etc. to MY email
(mailto:[EMAIL PROTECTED]), as an effort to keep the list unflooded

TIA,

Rifle




Orion powered sites - update

2000-10-20 Thread Jason Rimmer

www.opengolf.com is running Orion/1.0.3 on NT4 using Sun's JDK 1.3
www.cachoeiro.net is running Orion/1.3.8 on Linux
www.snpc.com.br is running Orion/1.3.8 on Linux 
www.redbull.com (de, nl, etc.) is running Orion/1.3.8 on Linux
wap.hjemmenett.no is running Orion/0.8.4j on NT4 or Windows 98 
www.javalobby.com - Running Orion/1.0.3 on Solaris
www.vpro.nl - Running Orion/0.8.1n on Linux
www.linuxtoday.com.au - Running Orion/1.3.8 on Linux
www.headlinewatch.com - Running Orion/1.0.3 on Solaris
news.partsbase.com - Running Orion/1.0.3 on Solaris
australia.internet.com - Running Orion/1.3.8 on Linux
www.yesitworks.com - Running Orion/1.1.9 on Solaris
www.internetstockreport.com.au - Running Orion/1.3.8 on Linux
www.e-mediamarketer.com.au - Running Orion/1.3.8 on Linux

Changes:
o Confirmation of RedBull sites
o Confirmation of wap.hjemmenett.no
o Addition of cachoeiro.net, snpc.com.br, and opengolf.com

-- 
Jason Rimmer
[EMAIL PROTECTED]




Re: Cluster and session-attributes

2000-10-20 Thread Mike Atkin

- Original Message -
From: "Nicklas Andersson" [EMAIL PROTECTED]
 Hi,

 we have configured a cluster with the web-part over two machines.
 They are placed on the same net with a load balancer which listens
 to 172.23.20.58:100 and selects between
172.23.20.29:8090/172.23.20.58:8090.

 They are in a so called cluster-island and everything goes just fine
 with easy JSP- and HTML-pages. BUT... when it comes to sharing session and
 their attributes something goes wrong when we do a
 "session.removeAttribute("X");"

I've already reported it as a bug ( bugzilla no. 92 ).  Fixed in 1.4.1

Mike






Re: Orion powered sites - update

2000-10-20 Thread Joel Shellman

You can add www.ants.com to that list: Orion 1.3.8 on Linux

-joel shellman
http://www.ants.com/

- Original Message - 
From: "Jason Rimmer" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, October 20, 2000 10:13 AM
Subject: Orion powered sites - update


 www.opengolf.com is running Orion/1.0.3 on NT4 using Sun's JDK 1.3
 www.cachoeiro.net is running Orion/1.3.8 on Linux
 www.snpc.com.br is running Orion/1.3.8 on Linux 
 www.redbull.com (de, nl, etc.) is running Orion/1.3.8 on Linux
 wap.hjemmenett.no is running Orion/0.8.4j on NT4 or Windows 98 
 www.javalobby.com - Running Orion/1.0.3 on Solaris
 www.vpro.nl - Running Orion/0.8.1n on Linux
 www.linuxtoday.com.au - Running Orion/1.3.8 on Linux
 www.headlinewatch.com - Running Orion/1.0.3 on Solaris
 news.partsbase.com - Running Orion/1.0.3 on Solaris
 australia.internet.com - Running Orion/1.3.8 on Linux
 www.yesitworks.com - Running Orion/1.1.9 on Solaris
 www.internetstockreport.com.au - Running Orion/1.3.8 on Linux
 www.e-mediamarketer.com.au - Running Orion/1.3.8 on Linux
 
 Changes:
 o Confirmation of RedBull sites
 o Confirmation of wap.hjemmenett.no
 o Addition of cachoeiro.net, snpc.com.br, and opengolf.com
 
 -- 
 Jason Rimmer
 [EMAIL PROTECTED]
 
 





XML+XSL+Japanese Woes (and solution!)

2000-10-20 Thread Dylan Parker

Hello, all.

Had a problem. Solved it. Now going to tell you about it =)

Environment:
Orion 1.3.8 using XML+JSP+XSL to generate HTML using XSLTServlet (from the old
OrionSupport.com) with SAXON (and xerces/xalan whichever wasn't replaced)

Problem:
Japanese characters in an HTML form when passed to a servlet in Orion (and then
put into a database) were garbled.

Solution:
I read in the FAQ about setting the default-charset in the orion-web.xml file..
but when we set this (to UTF-8) the whole xml+xsl chain broke down... but sometimes it
DIDN'T break down and it would work...

The problem was two things... first the jspcache was being kept if you just
change the default-charset.. so if the pages were already generated... and Orion
was NOW using the new charset.. then they worked..

But if you remove the cache and the pages are re-generated... the XML+XSL chain
breaks.. and the user just gets fed the XML. Which is just wrong wrong wrong. =)

This cache problem MAY or MAY NOT be a bug... I guess it is since changing the
character set of the generated pages should cause them to be re-generated.
Thoughts?

We discovered the problem is that the servlet-chaining is based off of the
mime-type for the in-progress generated page... before setting default-charset
it was (text/xml) and the page was correctly passed to the XSL servlet... but
after setting default-charset to UTF-8... the mime-type now appears as
(text/xml;charset=utf-8) ... and is never passed to the XSL Servlet (since it
doesn't match to one of the specified servlet chaining elements).

The fix? Add a new servlet-chaining parameter to your global web application xml file
like so :
  [ global-web-application.xml ]
  servlet-chaining servlet-name="xsl" mime-type="text/xml" /
  servlet-chaining servlet-name="xsl" mime-type="text/xml;charset=utf-8" /

The first line already existed.. and the second one if for this new occurence..
you would add in whatever charset you are using... mind you this only applies if
you are passing along to XSL of course =)

Maybe I don't need two... and just a * would work. Eg: (text/xml*) ? Maybe I'll
give it a try...

The problem might be occuring since Orion passes the mime-type with the charset
WITHOUT a space in between... and with a space it would still work fine. BUt I
can't check this...

A full day of hair pulling out finally figured out. Hope this can help someone
else and prevent them from pre-mature baldness =)

There are also about three or four other internationalization issues and
problems that we solved.. but I thought I would mention this one since it
relates to Orion. If you are having internationalization problems then maybe I
can give you some advice.

Thanks,
Dylan Parker






How to recover from incorrect user password

2000-10-20 Thread Vidur Dhanda

Hello,

I want to force the user to enter a username/password when using the
application.  When the application creates a new InitialContext, Orion
prompts for a username/password. However, if the user enters an
incorrect password, Orion correctly throws a Security exception.  When
the application attempts the process again, Orion does not prompt for a
username/password but immediately throws a SecurityException.  Is this a
bug?

On a related note, after obtaining an InitialContext, if the application
closes it, and then tries to create another InitialContext, it gets a
NPE.  Is this related to the problem described above?

Thanks,
Vidur







RP: How to recover from incorrect user password

2000-10-20 Thread Vidur Dhanda

Sorry, I forgot to attach the stacktrace.

Hello,

I want to force the user to enter a username/password when using the
application.  When the application creates a new InitialContext, Orion
prompts for a username/password. However, if the user enters an
incorrect password, Orion correctly throws a Security exception.  When
the application attempts the process again, Orion does not prompt for a
username/password but immediately throws a SecurityException.  Is this a
bug?

On a related note, after obtaining an InitialContext, if the application
closes it, and then tries to create another InitialContext, it gets a
NPE.  Is this related to the problem described above?
Here's the stacktrace:
java.lang.NullPointerException: 

at
com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(JAX)

at
com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(JAX)

at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)

at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)

at javax.naming.InitialContext.init(InitialContext.java:222)

at javax.naming.InitialContext.init(InitialContext.java:198)

at com.epistemic.km.KMClient.getContext(KMClient.java:70)


Thanks,
Vidur




Re: Modified Servlets

2000-10-20 Thread Cory Adams

Look in the global-web-application.xml for:

orion-web-app
jsp-cache-directory="./persistence"
servlet-webdir="/servlet"
development="true"


If you set development=true Orion will not only pickup the change in the
java source file but it will even recompile if for you.  This really aids
in development time in that it saves you a step within your editor.

Otherwise I believe that Orion will always pick up a modified servlet.
This may not be true for supporting classes.  Somebody else mentioned
touching a particular file to make the servlet engine pull the classes in
again

Cory

At 09:33 AM 10/20/00 -0400, [EMAIL PROTECTED] wrote:
To whom this may concern:

What do I need to set in Orion to allow it to realize when a servlet has
been modified that it should use that new version of the servlet.

Thanks,
Andy







Re: Orion Powered Sites

2000-10-20 Thread Jason Rimmer

That's appreciated.  If you'd like an Orion place to host the list, as
well as other Orion materials, I'm game to set it up and run it.

"Juan Lorandi (Chile)" wrote:
 
 Thanks a lot!
 The list has grown a lot - fixed the links, and so on...
 
 It still is at http://www.rifleman.com.ar/orionsites.htm
 And it still is at a freeservers site...
 
 I have contacted Joe Ottinger, and he has told me, he has nothing else to do
 at orionsupport.com...
 
 I'm working on an J2EE App to handle the list in a more flexible manner (I'm
 getting nuts trying to keep up with it!)
 
 Anyway, write me any thoughts, flames, etc. to MY email
 (mailto:[EMAIL PROTECTED]), as an effort to keep the list unflooded
 
 TIA,
 
 Rifle

-- 
Jason Rimmer
[EMAIL PROTECTED]




RE: EJB Help..

2000-10-20 Thread Duffey, Kevin

Thanks.

I only meant to use the /classes folder because my ejb code is in the same
project as the rest of my code (Servlets, javabeans, action classes, etc).
Since it all compiles to the same one folder, I assume I will have to "move"
the ejb compiled classes every time I compile them. What I was hoping for
was a way to not have to do this..instead, just let the whole project
compile to the WEB-INF/classes folder (all my code), and then have Orion
pick up on the ejb changes from that point. It appears to me from what
everyone is saying I will have to use some sort of script every time I make
a change to an ejb, which my first thoughts is a pain in the ass. Its very
easy to develop servlets, action classes, javabeans, core classes, but ejb
not only requires 3 classes per component, but lots of "special" work just
to get the thing deployed. Then, every time you make a change, it requires
the same process. I would think turn-around time for ejb development is on
the order of a couple of minutes for every change you make. That results in
a lot slower development cycle than I am currently using.

Worse, I have started hearing alot of people turn away from ejb and going
back to servlets because of development time, and performance. Supposedly
the ejb stuff isn't living up to all the hype. However, I look at what the
ejb container does for you (connection pooling, transactions, security,
instance pooling, etc) and it seems there is alot of stuff I wont have to do
on the side of persistence, transactions and security..so maybe the extra
time is worth it? ;)

Anyways..I did as one person suggested in this list, I set up in my
application.xml like so:

module
  ejb/path/www/WEB-INF/classes//ejb
/module

and Orion seems to be finding the classes (the ejb). However, I keep seeing
an error appear. It says something like:

Error compiling class c:/path/www/WEB-INF/classes/  Login.java
LoginBean.java LoginHome.java  can't find method create()in LoginBean.java

Its a very strange message to me. If I change the module path, it tells me
it can't find the classes. If I delete the classes, it also tells me it
can't find them. So I assume the path is set correctly in the module ejb
tag..as it is finding the classes. I am just not sure why the heck its
giving me some compiler error..or why its even trying to compile them..they
are already compiled.

Anyways..I'll keep plugging away.


 -Original Message-
 From: Stanislav Maximov [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 19, 2000 6:34 PM
 To: Orion-Interest
 Subject: RE: EJB Help..
 
 
 Kevin,
 look inside the news-application example bundled with Orion, 
 lots of things
 will become clear for you after that.
 www-dir/WEB-INF/classes directory is for servlet classes, 
 not for EJBs.
 You'll see how to deploy EJBs in that example and in 
 documentation as well.
 
 stas@
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
 Duffey, Kevin
  Sent: Friday, October 20, 2000 3:45 AM
  To: Orion-Interest
  Subject: RE: EJB Help..
 
 
  Thanks for the note. One thing..since I compile all of my 
 classes into the
  www/WEB-INF/classes dir, should I put a META-INF in the 
 /classes dir, and
  just point the module to the WEB-INF/classes folder? Would 
 that work?
 
  Not that I want you to tell me everything, ok..I do, but 
 what exactly do I
  need to get EJB deployed in that way? My first stab that I 
 want to do is
  create a login process. I would like to use statless session
  beans, and also
  use an entity bean..using CMP. I created 3 classes, Login, 
 LoginBean and
  LoginHome. I have them in com.mycompany.ejb package. That 
 compiles to
  www/WEB-INF/classes dir. So do I make application.xml like so:
 
  module/www/WEB-INF/classes/module
 
  where the com folder starts? Or do I actually have to point them
  directly to
  the .class files themselves? If the classes are compiled in 
 a package, I
  assume I need to point the ejb module setting to the root 
 package right?
  Furthermore, do I need that ejb.xml file in META-INF? If so, what
  should it
  be set to if I am using an expanded dir? Lastly, how the 
 heck to I get the
  entity bean added..is that a forth class, or a whole set of 
 3 different
  classes, one being the entity bean, the other two being 
 like the home and
  remote objects? It seems kind of silly that I would need 6
  classes to do the
  login process..3 for the session/logic stuff, and 3 for the
  entity/database
  mapping.
 
  Thanks so much..I appreciate the help.
 
 
   -Original Message-
   From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]]
   Sent: Thursday, October 19, 2000 3:39 PM
   To: Orion-Interest
   Subject: RE: EJB Help..
  
  
   Kevin,
  
   With any *ar file in Orion, you can use a directory instead.
  
   eg
   module
 ejb./myejbs.jar/ejb
   /module
  
   can just be
  
   module
 ejb./myejbs/ejb
   /module
  
   where ./myejbs is a directory structure which 

RE: Orion in production

2000-10-20 Thread Duffey, Kevin

Wow! That's pretty impressive results. What sort of hardware are you
running?

As my performance test showed, on a single PIII650 I was able to generate on
average about 4.5million page hits a day (on a simple login process
anyways).


 -Original Message-
 From: Holmes, George (TWIi London) [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 20, 2000 1:14 AM
 To: Orion-Interest
 Subject: RE: Orion in production
 
 
 www.opengolf.com
 
 This is the official web site for the British Open Golf 
 tournament.  Did 30
 million page impressions/day (ish) for the four days of the Open.
 
 George
 
 GEORGE HOLMES
 
 TWI Interactive
 Media House
 Burlington Lane
 LONDON
 W4 2TH
 ENGLAND
 
 TEL: +44 208 233 5631
 FAX: +44 208 233 7701
 CELL: +44 7968 918813
 
 
 -Original Message-
 From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
 Sent: 19 October 2000 22:13
 To: Orion-Interest
 Subject: Orion in production
 
 
 Hi!
 
 I have been using orion for about 6 months now, and now, as 
 I'm finishing my
 app, I need to sell orion to my customers...
 For this, it would be *VERY* valuable to have a list of sites (on the
 internet or intranets) which use orion...
 
 So, basically, what I have in mind is that anybody on this 
 list that wishes
 to report a site as being partiallly/fully powered by orion,
 report it to my email address, [EMAIL PROTECTED], so that I 
 can make a list
 of these, to publish it on WWW
 
 I think this will prove useful for us all.
 
 TIA,
 
   JP
 




RE: EJB Help..

2000-10-20 Thread Duffey, Kevin

I think the thing I am looking for here is the same "ease of development" of
servlets. I have a single project like so:

com
com/path
com/path/core
com/path/ejb
com/path/ui
com/path/ui/beans
com/path/ui/actions
com/path/ui/servlets
com/path/ui/tags

This is one project file (using Kawa 4.10). I then build the whole project
and it all compiles to WEB-INF/classes. This is how we develop all of our
code. So, Orion, using a web-app deployed to it, knows that all the classes
are in WEB-INF/classes and finds them (with no classpath setting in the
environment I might add!). What I am hoping to achieve is to somehow get the
ejb deployment stuff to point to WEB-INF/classes/com/path/ejb to find all
the ejbs, so that I can edit my code, compile the package (or the whole
project) and Orion will pick up on them right away (or with a restart). This
would all be done without me having to do anything extra, such as packaging
the ejb into a .jar file, or having to specially compile the ejb package to
a different dir, or having to move the ejb classes into a different folder!
For the hell of it, I put a META-INF folder below the WEB-INF/classes where
I put the ejb-jar.xml file, and Orion seems to be looking for the classes in
the right place..which is what I want. I just get this error that I reported
in a previous response to this list about this subject, and it appears it
wont find the ejbs.

Now, I used the Orion Primer and the Orion CMP Primer as examples, and the
Orion Primer had nothing in the web.xml but the Orion CMP Primer did..it had
an ejb-ref tag in it. I don't have this in my web.xml, so I am wondering if
this is required, or why it is in the Orion CMP Primer, but not the Orion
Primer web.xml example.

Thanks.



 -Original Message-
 From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, October 19, 2000 2:03 PM
 To: Orion-Interest
 Subject: RE: EJB Help..
 
 
 I acomplish this by simply:
 
 Creating a directory (in orion\applications) with the same 
 name than the ear
 (directory: Test.ear)
 then there I put the contents of my .ear, then repeat the process for
 ejb-jar and war files...
 
 then, simply put your updated classes there(below your 
 ejb-jar dir, like say
 orion\applications\Test.ear\ejb-jar-ic.jar
 to update the descriptor, use earassembler and open your .ear 
 dir within
 orion\applications.
 
 Works great for me!
 
 HTH,
 
 JP
 
 -Original Message-
 From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
 Sent: Jueves, 19 de Octubre de 2000 16:37
 To: Orion-Interest
 Subject: EJB Help..
 
 
 Hi all,
 
 I am trying my hand at EJB with Orion, and I am wondering if 
 there is any
 way to avoid the hassle of always having to package the ejb 
 classes into a
 .jar file, and so on. Is there any way at all to develop and 
 deploy ejbs
 using an expanded dir structure, much like in the development 
 of a .war
 file..where you have the whole www dir, WEB-INF, etc 
 expanded..but then jar
 it up and rename it to .war for deployment? It seems rather 
 tedious on ejb
 development every time a change is made, the whole thing has to be
 repackaged and deployed. I know there are some tools, such as 
 JBuilder,
 VisualCafe, etc that do this for you somewhat nicely..but 
 even those take a
 little bit of time to do it. So, for the purposes of 
 development, where many
 changes are happening on any regular basis, how can I quickly 
 develop and
 test ejb, with Orion, or any app server for that matter. I do want the
 ability for the context.lookup() call to work. The reason 
 is..I have two
 computers, networked. I want to develop the ejbs on one 
 computer, and have
 my www stuff on the other hitting them over the network so 
 that i can get
 some kind of feel of the performance. I have a 4-way switch, so I can
 develop www stuff, then switch over to the other computer and 
 do some ejb
 stuff. I will run one instance of Orion on each computer. 
 However, I don't
 mind also being able to run www and ejb stuff in the same on 
 instance on one
 computer, as long as the lookup stuff is used the same way, 
 even though the
 ejb's are running locally.
 
 Any pointers on how to set up Orion to do this, including the
 application.xml module tag (how to point it to the right 
 place instead of
 the ejb.jar file, for example so that the ejbs will get 
 picked up by the
 server), web.xml, orion-web.xml, server.xml, etc..anything 
 that needs to be
 done to get this to work.
 
 Thanks so much for any help.
 




RE: Orion Powered Sites

2000-10-20 Thread Duffey, Kevin

We have gone production with our admin site, and about to cluster it too.
Its running Win2K, JDK 1.3 and Orion 1.2.9. Runs smoothly, and very fast.
The IBM NetFinity 4000r dual PIII550 with 512MB RAM and SCSI III RAID hds
problably help! :)


 -Original Message-
 From: Alan Mc Sherry [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 20, 2000 4:14 AM
 To: Orion-Interest
 Subject: RE: Orion Powered Sites
 
 
 Has anybody gone to production with orion on Win 2000?
 Has anybody tried and failed ?
 
 Thanks,
 Alan.
 
 [EMAIL PROTECTED]
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Friday, October 20, 2000 09:08
 To: Orion-Interest
 Subject: SV: Orion Powered Sites
 
 
 wap.hjemmenett.no is running Orion 0.6.2 :)
 
 Klaus
 
 -Opprinnelig melding-
 Fra: Jason Rimmer [mailto:[EMAIL PROTECTED]]
 Sendt: 20. oktober 2000 08:00
 Til: Orion-Interest
 Emne: Re: Orion Powered Sites
 
 
 Results from NetCraft's "what's it running?" tool,
 http://www.netcraft.com:
 
  http://www.redbull.com - Unable to determine
  http://www.javalobby.com - Running Orion/1.0.3 on Solaris
  http://www.vpro.nl - Running Orion/0.8.1n on Linux
  http://www.linuxtoday.com.au - Running Orion/1.3.8 on Linux
  http://wap.hjemmenett.no - Unable to determine
  http://www.headlinewatch.com - Running Orion/1.0.3 on Solaris
  http://news.partsbase.com - Running Orion/1.0.3 on Solaris
  http://australia.internet.com - Running Orion/1.3.8 on Linux
  http://www.yesitworks.com - Running Orion/1.1.9 on Solaris
  http://www.internetstockreport.com.au - Running Orion/1.3.8 on Linux
  http://www.e-mediamarketer.com.au - Running Orion/1.3.8 on Linux
 
 --
 Jason Rimmer
 [EMAIL PROTECTED]
 
 
 - Original Message -
 From: "Gordon Sell" [EMAIL PROTECTED]
 To: "Orion-Interest" [EMAIL PROTECTED]
 Sent: Thursday, October 19, 2000 10:27 PM
 Subject: Re: Orion Powered Sites
 
 
  Try these(they are from the orion site)
 
  http://www.redbull.com
  http://www.javalobby.com
  http://www.vpro.nl
  http://www.linuxtoday.com.au
  http://wap.hjemmenett.no
  http://www.headlinewatch.com
  http://news.partsbase.com
  http://australia.internet.com
  http://www.yesitworks.com
  http://www.internetstockreport.com.au
  http://www.e-mediamarketer.com.au
 
  Cheers
  Gordon
 
 
 
 




URL Pathing

2000-10-20 Thread APapada

Ok, I've spent the last week converting an  ecomerce system I developed,
using Resin as my webserver, to allow it to run on Orion because Orion is
the only web server that assumes a '/' means to begin the path search from
the application context root rather than the current directory.  Now I find
that it may not always be the case.  In this particular application, I pop
up a sub window within my current browser window and from that sub window,
redirect to another another page within the main browser window and close
the sub-window.  When I attempt to use the '/' for my starting reference,
Orion now thinks that I'm referencing the server root directory.  When I
try to add the application context to my url, it then attempts to redirect
my request to the application context, within the application context.  Is
this a bug?  It is really confusing on how this server executes requests.

Thanks,
Andy





Do EJB 2.0 dependent object classes work as per the spec?

2000-10-20 Thread Jim Archer

Hi All...

I'm just wondering if dependent object classes in Orion 1.4.0 work as laid 
out in the EJB 2.0 PD2 spec.

I have been trying to get it to work as the spec says but have gotton a 
number of errors from Orion when I start it, mostly complaining that the 
get/set methods for the dependent object class in the EJB should not be 
declared abstract, which they clearly must be per the spec.

I looked at the ATM example, and saw that the LogEntry dependent object 
class is serializable and set up as a CMP field of an entity. Also, it 
declares the deepCopy method, all of which is worng for EJB 2.0 PD2. But 
its methods are abstract, which is right for 2.0.

So I'm just wondering if anyone has gotton it to work as per the spec. If 
so, I'll keep trying. If anyone knows that it does not work, I would 
appreciate knowing, so I can stop beating my head against the brick wall. 
If it works kinda-sorta with tricks, what are the tricks?

Thanks very much...

Jim











RE: EJB Help..

2000-10-20 Thread Rick Bos

I just have my ejb classes in their own directory:

ear/ejb/source
ear/web/WEB-INF/classes

I have a makefile in the /ear directory that recompiles all the
servlets and ejb.

I do have to restart the application after changes to the EJBs.


 -Original Message-
 From: Duffey, Kevin [SMTP:[EMAIL PROTECTED]]
 Sent: October 20, 2000 2:17 PM
 To:   Orion-Interest
 Subject:  RE: EJB Help..
 
 Thanks.
 
 I only meant to use the /classes folder because my ejb code is in the same
 project as the rest of my code (Servlets, javabeans, action classes, etc).
 Since it all compiles to the same one folder, I assume I will have to
 "move"
 the ejb compiled classes every time I compile them. What I was hoping for
 was a way to not have to do this..instead, just let the whole project
 compile to the WEB-INF/classes folder (all my code), and then have Orion
 pick up on the ejb changes from that point. It appears to me from what
 everyone is saying I will have to use some sort of script every time I
 make
 a change to an ejb, which my first thoughts is a pain in the ass. Its very
 easy to develop servlets, action classes, javabeans, core classes, but ejb
 not only requires 3 classes per component, but lots of "special" work just
 to get the thing deployed. Then, every time you make a change, it requires
 the same process. I would think turn-around time for ejb development is on
 the order of a couple of minutes for every change you make. That results
 in
 a lot slower development cycle than I am currently using.
 
 Worse, I have started hearing alot of people turn away from ejb and going
 back to servlets because of development time, and performance. Supposedly
 the ejb stuff isn't living up to all the hype. However, I look at what the
 ejb container does for you (connection pooling, transactions, security,
 instance pooling, etc) and it seems there is alot of stuff I wont have to
 do
 on the side of persistence, transactions and security..so maybe the extra
 time is worth it? ;)
 
 Anyways..I did as one person suggested in this list, I set up in my
 application.xml like so:
 
 module
   ejb/path/www/WEB-INF/classes//ejb
 /module
 
 and Orion seems to be finding the classes (the ejb). However, I keep
 seeing
 an error appear. It says something like:
 
 Error compiling class c:/path/www/WEB-INF/classes/  Login.java
 LoginBean.java LoginHome.java  can't find method create()in LoginBean.java
 
 Its a very strange message to me. If I change the module path, it tells
 me
 it can't find the classes. If I delete the classes, it also tells me it
 can't find them. So I assume the path is set correctly in the module ejb
 tag..as it is finding the classes. I am just not sure why the heck its
 giving me some compiler error..or why its even trying to compile
 them..they
 are already compiled.
 
 Anyways..I'll keep plugging away.
 
 
  -Original Message-
  From: Stanislav Maximov [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, October 19, 2000 6:34 PM
  To: Orion-Interest
  Subject: RE: EJB Help..
  
  
  Kevin,
  look inside the news-application example bundled with Orion, 
  lots of things
  will become clear for you after that.
  www-dir/WEB-INF/classes directory is for servlet classes, 
  not for EJBs.
  You'll see how to deploy EJBs in that example and in 
  documentation as well.
  
  stas@
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of 
  Duffey, Kevin
   Sent: Friday, October 20, 2000 3:45 AM
   To: Orion-Interest
   Subject: RE: EJB Help..
  
  
   Thanks for the note. One thing..since I compile all of my 
  classes into the
   www/WEB-INF/classes dir, should I put a META-INF in the 
  /classes dir, and
   just point the module to the WEB-INF/classes folder? Would 
  that work?
  
   Not that I want you to tell me everything, ok..I do, but 
  what exactly do I
   need to get EJB deployed in that way? My first stab that I 
  want to do is
   create a login process. I would like to use statless session
   beans, and also
   use an entity bean..using CMP. I created 3 classes, Login, 
  LoginBean and
   LoginHome. I have them in com.mycompany.ejb package. That 
  compiles to
   www/WEB-INF/classes dir. So do I make application.xml like so:
  
   module/www/WEB-INF/classes/module
  
   where the com folder starts? Or do I actually have to point them
   directly to
   the .class files themselves? If the classes are compiled in 
  a package, I
   assume I need to point the ejb module setting to the root 
  package right?
   Furthermore, do I need that ejb.xml file in META-INF? If so, what
   should it
   be set to if I am using an expanded dir? Lastly, how the 
  heck to I get the
   entity bean added..is that a forth class, or a whole set of 
  3 different
   classes, one being the entity bean, the other two being 
  like the home and
   remote objects? It seems kind of silly that I would need 6
   classes to do the
   login process..3 for the session/logic stuff, 

RE: Orion in production

2000-10-20 Thread Duffey, Kevin

I would say..Orion has almost no publicity other than word of mouth right
now. Orion is just starting out compared to WebLogic, IIS, and what not.
Give them some time..people are reluctant to turn to a small company with
such a cheap price. I hate to say it, and I hope they don't change their
price, but believe it or not, if Orion raised its license price to say
$10,000 per server (hopefully not cpu), they might actually get more
interest. I think there is still a lot of testing and what not to do before
they should do that, if they even want to. Quite frankly, I like what they
are doing. They offer a kick-ass server for a affordable price..very good
for small to medium sized companies to use. There are a LOT more small to
medium sized companies than big companies, so even if they are 1/10th the
price (or 1/40th if you compare 4 cpu servers), I would be that the Orion
team will see a lot of sales in the small/medium market, which could
actually give them alot more money in the bank. On top of that, I don't know
how many people Orion employs, but I know WebLogic is over 1500 people,
large facility, etc. WebLogic spends a hell of a lot more on salaries,
travel expenses, marketing, etc. In my opinion..maybe its just me, but I
trust Orion or Apache over the big names. Plus..as I said, I can't start up
my own company using WebLogic. I can with Orion. Better yet, Orion has thus
far beat the hell out of every major (and as far as I can tell..every small)
vendor of app servers (J2EE supporters I should say) as far as staying ahead
of the ballgame, offering great performance, the best J2EE support, and the
easiest to set up. I played around with WebLogic for two weeks (on and off)
and still couldn't get my simple JSP page to show up. WebSphere was a
nightmare, and while Resin was easy to work with, its not a full J2EE app
server. IIS is easy enough, but its not J2EE, so fork that choice. JRun
sucks..we have used it, tried JRun 3.0 and were not happy with it.
SilverStream had nothing fancy in my opinion..they are in the same boat as
IBM WebSphere..about a year late for the full J2EE support. I can't even
believe IBM WebSphere still doesn't support Servlet 2.2 and JSP 1.1! I don't
care how many billions you put into your software..if it doesn't even meet
the standards that have been in place for almost a year now..it sure doesn't
say a lot to me that the money is being spent in the right places!
OAS..well, I have heard nothing but bad things about Oracles solution, and
this coming from some neigbors that develop the Oracle software! Meanwhile,
you have little itty bitty Orion (Ok..they are big to me! ;) over here
support EJB 2.0, Servlet 2.3, full J2EE support, clusterable, easy to set
up, fast, etc..

I sound like I am a sales man for Orion, but you know..I tend to read up and
test alot of the latest stuff and Orion kicks the competitions ass hands
down. Maybe if JRun, or someone else came out with much better products I
would be on those mailing lists. I just don't see that happening.

Ok..I went off..sorry. Go with Orion!


 -Original Message-
 From: Frank Eggink [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 20, 2000 5:09 AM
 To: Orion-Interest
 Subject: RE: Orion in production
 
 
 I don't know what's the downside of believing these statistics.
 
 On http://www.netcraft.com:
 
 click on 'what's that site running'
 click on 'help'
 click on 'range'
 click on 'Index' (of Sept 2000 of course)
 Hit Ctrl-F and search for orion.
 
 It tells you 1238 servers are running orion. (If you want 
 your boss to go ahead with orion, don't show him number 5 on 
 the list!)
 
 Frank
 
 On Friday, October 20, 2000 12:38 PM, Sven van 't Veer 
 [SMTP:[EMAIL PROTECTED]] wrote:
  "Juan Lorandi (Chile)" wrote:
   
   Hi!
   
   I have been using orion for about 6 months now, and now, 
 as I'm finishing my
   app, I need to sell orion to my customers...
   For this, it would be *VERY* valuable to have a list of 
 sites (on the
   internet or intranets) which use orion...
   
   So, basically, what I have in mind is that anybody on 
 this list that wishes
   to report a site as being partiallly/fully powered by orion,
   report it to my email address, [EMAIL PROTECTED], so 
 that I can make a list
   of these, to publish it on WWW
   
   I think this will prove useful for us all.
  www.cachoeiro.net
  www.snpc.com.br
  
  -- 
  
 ==
 
  Sven E. van 't Veer  
  http://www.cachoeiro.net
  Java Developer  
 [EMAIL PROTECTED]
  
 ==
 
  
 




Re: EJB Help..

2000-10-20 Thread Joel Shellman

 the same process. I would think turn-around time for ejb development is on
 the order of a couple of minutes for every change you make. That results
in
 a lot slower development cycle than I am currently using.

Today, I have been making changes to my ejbs, compling them, "touch"ing (ie.
resaving so it's modification date is newer) the application.xml file, and
instantly Orion redeploys and I can retest. The process takes a matter of
seconds.

 on the side of persistence, transactions and security..so maybe the extra
 time is worth it? ;)

There is some ramp up, but once you get used to it, it's not really that
much slower, if it is at all.

   ejb/path/www/WEB-INF/classes//ejb

 Error compiling class c:/path/www/WEB-INF/classes/  Login.java
 LoginBean.java LoginHome.java  can't find method create()in LoginBean.java

Double check your ejb-jar.xml--are you setting LoginHome as your Home
interface in there? Is there a LoginHome.create() method declared? Is there
a LoginBean.ejbCreate() method defined?

-joel shellman
http://www.ants.com/





deploy EJB without using .ear file

2000-10-20 Thread kung


HI all

I am new to orion, and have been trying to deploy my sample bean (in sample-ejb.jar) 
onto orion, following the
orion-primer tutorial. 

Basically, I jar the sample-ejb.jar file and an application.xml file into the 
sample.ear file.

Then I deploy the .ear file by adding the following line to the server.xml file:

application name="sample" path="..the path.." /

It works, but I am not sure it is the appropriate way to do it. What I mean is that is 
there any way I can deploy my sample-ejb.jar directly without jaring it further into 
the .ear file, and depoly the sample-ejb.jar directly onto orion?

Thanks a lot.







RE: Orion in production

2000-10-20 Thread Duffey, Kevin

I would like to ammend my previous post. I don't actually know if Orion has
marketing/publicity, and I am not in a position to say they are just
starting out. I apologize if I spoke with my head up my rear..I believe my
intention was to hype up Orion for all the hard work the team has done to
give us a great product, not to make it sound like they are a small company.
My point being, I had a very difficult time getting my boss to go with Orion
over WebLogic, and even so he still wants to use WebLogic, we just don't
want to spend the money right now. Alot of companies for some reason feel
the name is bigger than the actual work behind it. It sucks..but that
appears to be the way alot of business run. When you have a VC give you $72
million as we have received in the past year, its hard to use a product
nobody is familiar with, over one that is touted the best, even if the price
costs 10 to 20 times more. I of all people have had a hard time trying to
understand why our company would want to waste so much money on a proudct
that isn't even on par with the standards (as they claim to be) as Orion is.

Anyways..Just wanted to clear that up incase I got some people thinking
Orion is small. In actuality, they are big, and they will get bigger!

 -Original Message-
 From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 20, 2000 12:05 PM
 To: Orion-Interest
 Subject: RE: Orion in production
 
 
 I would say..Orion has almost no publicity other than word of 
 mouth right
 now. Orion is just starting out compared to WebLogic, IIS, 
 and what not.
 Give them some time..people are reluctant to turn to a small 
 company with
 such a cheap price. I hate to say it, and I hope they don't 
 change their
 price, but believe it or not, if Orion raised its license price to say
 $10,000 per server (hopefully not cpu), they might actually get more
 interest. I think there is still a lot of testing and what 
 not to do before
 they should do that, if they even want to. Quite frankly, I 
 like what they
 are doing. They offer a kick-ass server for a affordable 
 price..very good
 for small to medium sized companies to use. There are a LOT 
 more small to
 medium sized companies than big companies, so even if they 
 are 1/10th the
 price (or 1/40th if you compare 4 cpu servers), I would be 
 that the Orion
 team will see a lot of sales in the small/medium market, which could
 actually give them alot more money in the bank. On top of 
 that, I don't know
 how many people Orion employs, but I know WebLogic is over 
 1500 people,
 large facility, etc. WebLogic spends a hell of a lot more on salaries,
 travel expenses, marketing, etc. In my opinion..maybe its 
 just me, but I
 trust Orion or Apache over the big names. Plus..as I said, I 
 can't start up
 my own company using WebLogic. I can with Orion. Better yet, 
 Orion has thus
 far beat the hell out of every major (and as far as I can 
 tell..every small)
 vendor of app servers (J2EE supporters I should say) as far 
 as staying ahead
 of the ballgame, offering great performance, the best J2EE 
 support, and the
 easiest to set up. I played around with WebLogic for two 
 weeks (on and off)
 and still couldn't get my simple JSP page to show up. WebSphere was a
 nightmare, and while Resin was easy to work with, its not a 
 full J2EE app
 server. IIS is easy enough, but its not J2EE, so fork that 
 choice. JRun
 sucks..we have used it, tried JRun 3.0 and were not happy with it.
 SilverStream had nothing fancy in my opinion..they are in the 
 same boat as
 IBM WebSphere..about a year late for the full J2EE support. I 
 can't even
 believe IBM WebSphere still doesn't support Servlet 2.2 and 
 JSP 1.1! I don't
 care how many billions you put into your software..if it 
 doesn't even meet
 the standards that have been in place for almost a year 
 now..it sure doesn't
 say a lot to me that the money is being spent in the right places!
 OAS..well, I have heard nothing but bad things about Oracles 
 solution, and
 this coming from some neigbors that develop the Oracle 
 software! Meanwhile,
 you have little itty bitty Orion (Ok..they are big to me! ;) over here
 support EJB 2.0, Servlet 2.3, full J2EE support, clusterable, 
 easy to set
 up, fast, etc..
 
 I sound like I am a sales man for Orion, but you know..I tend 
 to read up and
 test alot of the latest stuff and Orion kicks the 
 competitions ass hands
 down. Maybe if JRun, or someone else came out with much 
 better products I
 would be on those mailing lists. I just don't see that happening.
 
 Ok..I went off..sorry. Go with Orion!
 
 
  -Original Message-
  From: Frank Eggink [mailto:[EMAIL PROTECTED]]
  Sent: Friday, October 20, 2000 5:09 AM
  To: Orion-Interest
  Subject: RE: Orion in production
  
  
  I don't know what's the downside of believing these statistics.
  
  On http://www.netcraft.com:
  
  click on 'what's that site running'
  click on 'help'
  click on 'range'
  click on 'Index' (of 

Re: Modified Servlets

2000-10-20 Thread APapada


Thank you very much





RE: EJB Help..

2000-10-20 Thread robert

And you're probably on unix or using ANT.

When you start adding EJBs you start to think about using ANT or some
other "make" like tool as you have to do more.





RE: Modified Servlets

2000-10-20 Thread Duffey, Kevin

Go to
/orion-install-dir/application-deployments/app-name/web-app-name/orion-web
.xml

This file looks something like so:

?xml version="1.0"?
!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application
2.3//EN" "http://www.orionserver.com/dtds/orion-web.dtd"

orion-web-app
deployment-version="1.3.7"
development="true"
jsp-cache-directory="./persistence"
temporary-directory="./temp"
servlet-webdir="/servlet/"

session-tracking autoencode-absolute-urls="true" /
/orion-web-app



See the development="true" up there..thats a good thing. The next thing you
need to do is add a source-directory="/path/" below the development
(Actually..anywhere..but inside the orion-web-app/orion-web-app tag. Set
the path to your hd:/path/dir. For example, I have my source code in
c:\applications\app-name\source\code\com\company-name\ui\ etc. I would set
the tag like so:

orion-web-app deployment-version="1.3.7" development="true"
source-directory="c:\applications\app-name\source\code\"
jsp-cache-directory="./persistence" temporary-directory="./temp"
servlet-webdir="/servlet/"

That will not only reload your servlet, but ANY source you have. It
basically is a 1 to 1 with your .java files in the source directory to your
.class compiled files in the WEB-INF/classes dir. Infact, although I haven't
been able to fully test this, Orion should pick up any changes you make to
the .java file, and compile it and deploy it for you..but I am not sure
about the compiling part. I generally edit a source, save it, compile it,
and Orion picks it up..redploys the app for me.

There is, however a VERY important point to keep in mind. Make sure ANY (and
I do mean ANY) objects that are going to be stored in the HttpSession
implement the Serializable interface properly. When Orion redeploys a
web-app for you, it saves the http session objects (persists them), reloads
all the classes, then loads the objects back into the HttpSession for you.
This way, your app keeps its state across redployments. This is also how it
works for restarts of the server. You can restart the server (while in
production) and all data in the HttpSession should be serialized out to
disk, then reloaded as soon as the server is started, so that if someone was
logged in to your site, for example, they would still be logged in. However,
you shouldn't ever need to restart the server if your code is done right
(serialization, etc). 


 To whom this may concern:
 
 What do I need to set in Orion to allow it to realize when a 
 servlet has
 been modified that it should use that new version of the servlet.
 
 Thanks,
 Andy
 




RE: Orion in production

2000-10-20 Thread Juan Lorandi (Chile)

I completly agree with your posts, but I beg I'm allowed to differ in one
thing...

Big Companies don't make enterprises like Evermind or BEA Systems rich...
directly...
But these BIG names make for BIG hype... as you're well aware of;
That's why your boss thinks Weblogic is the way to go...
That's why I have requested data to make the OPS list...

And also, lack of support  documentation is becoming now, as most
developers are finishing
their work and reach deployment time(from what I pick up of many mails in
this list), a critical point about orion. 
Many of us are reaching the point where we have to prove no only that
orion's the best, but that it also is a good business 
choice. This is unfairly hard due to little colaboration from Evermind's
team regarding, as said, support  documentation,
tough it clearly seems to be changing.

Perhaps its time for a change(and I hope it's a change that will keep my
sorry a~s working with Orion ;-)

JP


-Original Message-
From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
Sent: Viernes, 20 de Octubre de 2000 16:27
To: Orion-Interest
Subject: RE: Orion in production
Importance: High


I would like to ammend my previous post. I don't actually know if Orion has
marketing/publicity, and I am not in a position to say they are just
starting out. I apologize if I spoke with my head up my rear..I believe my
intention was to hype up Orion for all the hard work the team has done to
give us a great product, not to make it sound like they are a small company.
My point being, I had a very difficult time getting my boss to go with Orion
over WebLogic, and even so he still wants to use WebLogic, we just don't
want to spend the money right now. Alot of companies for some reason feel
the name is bigger than the actual work behind it. It sucks..but that
appears to be the way alot of business run. When you have a VC give you $72
million as we have received in the past year, its hard to use a product
nobody is familiar with, over one that is touted the best, even if the price
costs 10 to 20 times more. I of all people have had a hard time trying to
understand why our company would want to waste so much money on a proudct
that isn't even on par with the standards (as they claim to be) as Orion is.

Anyways..Just wanted to clear that up incase I got some people thinking
Orion is small. In actuality, they are big, and they will get bigger!

 -Original Message-
 From: Duffey, Kevin [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 20, 2000 12:05 PM
 To: Orion-Interest
 Subject: RE: Orion in production
 
 
 I would say..Orion has almost no publicity other than word of 
 mouth right
 now. Orion is just starting out compared to WebLogic, IIS, 
 and what not.
 Give them some time..people are reluctant to turn to a small 
 company with
 such a cheap price. I hate to say it, and I hope they don't 
 change their
 price, but believe it or not, if Orion raised its license price to say
 $10,000 per server (hopefully not cpu), they might actually get more
 interest. I think there is still a lot of testing and what 
 not to do before
 they should do that, if they even want to. Quite frankly, I 
 like what they
 are doing. They offer a kick-ass server for a affordable 
 price..very good
 for small to medium sized companies to use. There are a LOT 
 more small to
 medium sized companies than big companies, so even if they 
 are 1/10th the
 price (or 1/40th if you compare 4 cpu servers), I would be 
 that the Orion
 team will see a lot of sales in the small/medium market, which could
 actually give them alot more money in the bank. On top of 
 that, I don't know
 how many people Orion employs, but I know WebLogic is over 
 1500 people,
 large facility, etc. WebLogic spends a hell of a lot more on salaries,
 travel expenses, marketing, etc. In my opinion..maybe its 
 just me, but I
 trust Orion or Apache over the big names. Plus..as I said, I 
 can't start up
 my own company using WebLogic. I can with Orion. Better yet, 
 Orion has thus
 far beat the hell out of every major (and as far as I can 
 tell..every small)
 vendor of app servers (J2EE supporters I should say) as far 
 as staying ahead
 of the ballgame, offering great performance, the best J2EE 
 support, and the
 easiest to set up. I played around with WebLogic for two 
 weeks (on and off)
 and still couldn't get my simple JSP page to show up. WebSphere was a
 nightmare, and while Resin was easy to work with, its not a 
 full J2EE app
 server. IIS is easy enough, but its not J2EE, so fork that 
 choice. JRun
 sucks..we have used it, tried JRun 3.0 and were not happy with it.
 SilverStream had nothing fancy in my opinion..they are in the 
 same boat as
 IBM WebSphere..about a year late for the full J2EE support. I 
 can't even
 believe IBM WebSphere still doesn't support Servlet 2.2 and 
 JSP 1.1! I don't
 care how many billions you put into your software..if it 
 doesn't even meet
 the standards that have been in place for almost a 

Re: URL Pathing

2000-10-20 Thread Christian Sell

to my understanding, with sendRedirect(), orion always interprets a starting
"/" as relative to the current web app. All other servers take it relative
to the default web app (= server document root).


-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Date: Freitag, 20. Oktober 2000 23:45
Subject: URL Pathing


Ok, I've spent the last week converting an  ecomerce system I developed,
using Resin as my webserver, to allow it to run on Orion because Orion is
the only web server that assumes a '/' means to begin the path search from
the application context root rather than the current directory.  Now I find
that it may not always be the case.  In this particular application, I pop
up a sub window within my current browser window and from that sub window,
redirect to another another page within the main browser window and close
the sub-window.  When I attempt to use the '/' for my starting reference,
Orion now thinks that I'm referencing the server root directory.  When I
try to add the application context to my url, it then attempts to redirect
my request to the application context, within the application context.  Is
this a bug?  It is really confusing on how this server executes requests.

Thanks,
Andy







RE: Do EJB 2.0 dependent object classes work as per the spec?

2000-10-20 Thread Jim Archer

Thanks, Tim. I do have that tag in place. I'll have to review PD1 and see 
how dependent objects work under that spec. Hopefully, there are not huge 
differences.

Jim


--On Friday, October 20, 2000 4:29 PM -0400 Tim Drury 
[EMAIL PROTECTED] wrote:


 I was getting the same thing until I added
 cmp-version2.x/cmp-version to the entity
 area.  You don't need the ejb2 DTD.

 -tim


 -Original Message-
 From: Jim Archer [mailto:[EMAIL PROTECTED]]
 Sent: Friday, October 20, 2000 2:54 PM
 To: Orion-Interest
 Subject: Do EJB 2.0 dependent object classes work as per the spec?


 Hi All...

 I'm just wondering if dependent object classes in Orion 1.4.0
 work as laid
 out in the EJB 2.0 PD2 spec.

 I have been trying to get it to work as the spec says but
 have gotton a
 number of errors from Orion when I start it, mostly
 complaining that the
 get/set methods for the dependent object class in the EJB
 should not be
 declared abstract, which they clearly must be per the spec.

 I looked at the ATM example, and saw that the LogEntry
 dependent object
 class is serializable and set up as a CMP field of an entity.
 Also, it
 declares the deepCopy method, all of which is worng for EJB
 2.0 PD2. But
 its methods are abstract, which is right for 2.0.

 So I'm just wondering if anyone has gotton it to work as per
 the spec. If
 so, I'll keep trying. If anyone knows that it does not work, I would
 appreciate knowing, so I can stop beating my head against the
 brick wall.
 If it works kinda-sorta with tricks, what are the tricks?

 Thanks very much...

 Jim
















RE: Remote object callback from a session bean

2000-10-20 Thread Juan Lorandi (Chile)

Message Beans, regretably, they're only a public draft at this moment, tough
orion already provides some support for them

-Original Message-
From: John D'Ausilio [mailto:[EMAIL PROTECTED]]
Sent: Viernes, 20 de Octubre de 2000 17:22
To: Orion-Interest
Subject: Remote object callback from a session bean 


Tell me if I'm insane or not ...

I have a session bean, and one of the services it provides is a long-running
process which needs to inform the object on whose behalf it is running when
various events occur.

1. Client gets the session bean and calls createProcess(processID, this) ...
passing itself along
2. Session bean does it's thing, create a process and gives it the client
object reference
3. As the process processes, at various points it calls receiveEvent() on
the client object reference

Seems to me that this should be feasible using standard RMI stuff .. I made
an interface extending Remote that exposes the receiveEvent call, made the
client class extend UnicastRemoteObject, and ran rmic on the class to
generate a stub. The stub source looks sensible. Everything actually runs
without error, but the client callback never gets executed and the client
finishes but never terminates, as there are a couple of RMI-related threads
that never die.

I've successfully tested some vanilla RMI stuff and made remote object
calls, but I had to create a .java.policy file. Is there some equivalent
mechanism that needs to be set up for Orion?

Has anyone tried anything this funky? Is there an easier/saner way to do
this?

Thanks!
jd





RE: Remote object callback from a session bean

2000-10-20 Thread John D'Ausilio

Actually, I'm using message-driven beans successfully in this same system.
Unfortunately, it dosn't really help here .. if I use a message-driven bean,
then *it* will have to do the callback to the client code (which likely will
not work in the same fashion) .. and the client itself can't be a message
bean because you can't have regular 'session bean' type methods on it ..
only the message handling stuff.

jd

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Juan Lorandi
 (Chile)
 Sent: Friday, October 20, 2000 5:54 PM
 To: Orion-Interest
 Subject: RE: Remote object callback from a session bean


 Message Beans, regretably, they're only a public draft at this
 moment, tough
 orion already provides some support for them

 -Original Message-
 From: John D'Ausilio [mailto:[EMAIL PROTECTED]]
 Sent: Viernes, 20 de Octubre de 2000 17:22
 To: Orion-Interest
 Subject: Remote object callback from a session bean


 Tell me if I'm insane or not ...

 I have a session bean, and one of the services it provides is a
 long-running
 process which needs to inform the object on whose behalf it is
 running when
 various events occur.

 1. Client gets the session bean and calls
 createProcess(processID, this) ...
 passing itself along
 2. Session bean does it's thing, create a process and gives it the client
 object reference
 3. As the process processes, at various points it calls receiveEvent() on
 the client object reference

 Seems to me that this should be feasible using standard RMI stuff
 .. I made
 an interface extending Remote that exposes the receiveEvent call, made the
 client class extend UnicastRemoteObject, and ran rmic on the class to
 generate a stub. The stub source looks sensible. Everything actually runs
 without error, but the client callback never gets executed and the client
 finishes but never terminates, as there are a couple of
 RMI-related threads
 that never die.

 I've successfully tested some vanilla RMI stuff and made remote object
 calls, but I had to create a .java.policy file. Is there some equivalent
 mechanism that needs to be set up for Orion?

 Has anyone tried anything this funky? Is there an easier/saner way to do
 this?

 Thanks!
 jd






Re: EJB 2.0 1-1 mapping entity-depobj problem

2000-10-20 Thread Joel Shellman

Thank you very much. That was indeed the problem.

-joel

- Original Message -
From: "Kris Keener" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, October 20, 2000 6:10 AM
Subject: Re: EJB 2.0 1-1 mapping entity-depobj problem


 Joel,
Did you declare "prefs" as a cmp-field in the
 entity declaration? For example:
 entity
...
cmp-field
   field-nameprefs/field-name
/cmp-field
...
 /entity

I was getting the same exception until I made the
 above change.

 --- Joel Shellman [EMAIL PROTECTED] wrote:
  I get the following error during deployment:
 
  "Method public abstract CP CB.getPrefs() can not be
  declared abstract"
 
   relationships
ejb-relation
 ejb-relation-nameC-CP/ejb-relation-name
 ejb-relationship-role
 
 
 ejb-relationship-role-namec-p/ejb-relationship-role-name
  multiplicityone/multiplicity
  role-source
   ejb-nameC/ejb-name
  /role-source
  cmr-field
   cmr-field-nameprefs/cmr-field-name
   cmr-field-typeCP/cmr-field-type
  /cmr-field
 /ejb-relationship-role
 ejb-relationship-role
 
 

ejb-relationship-role-namecontactprefs-belongs-to-contact/ejb-relationshi
  p-role-name
  multiplicityone/multiplicity
  role-source
   dependent-nameCP/dependent-name
  /role-source
  /ejb-relationship-role
/ejb-relation
   /relationships
 
  In the CP bean, I have:
  public abstract CP getprefs();
 
  What's wrong with that?
 
  Thanks,
 
  Joel Shellman
 
 
 
 
 


 __
 Do You Yahoo!?
 Yahoo! Messenger - Talk while you surf!  It's FREE.
 http://im.yahoo.com/







Re: EJB 2.0 1-1 mapping entity-depobj problem

2000-10-20 Thread Joel Shellman

I'm seeing a lot of conflicting views about that on this list. Is that
supposed to be in the orion-ejb-jar.xml file or the ejb-jar.xml file? I have
not put that in anywhere, but things seem to be working fine (did a few 1:1
dep obj's today). Why are some people saying that is required? Is it
required in the orion-ejb-jar.xml file? If so, that would make a little more
sense as we didn't write our own one yet, just relied on Orion doing that
for us at this stage.

Thanks,

-joel shellman

- Original Message -
From: "Tim Drury" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, October 20, 2000 7:29 AM
Subject: RE: EJB 2.0 1-1 mapping entity-depobj problem



 I had to put in cmp-version2.x/cmp-version in
 the entity area for my ejb2.0 stuff to be
 recognized by Orion.  I did NOT need the 2.0 DTD.

 -tim


  -Original Message-
  From: Joel Shellman [mailto:[EMAIL PROTECTED]]
  Sent: Friday, October 20, 2000 6:00 AM
  To: Orion-Interest
  Subject: EJB 2.0 1-1 mapping entity-depobj problem
 
 
  I get the following error during deployment:
 
  "Method public abstract CP CB.getPrefs() can not be declared abstract"
 
   relationships
ejb-relation
 ejb-relation-nameC-CP/ejb-relation-name
 ejb-relationship-role
  ejb-relationship-role-namec-p/ejb-relationship-role-name
  multiplicityone/multiplicity
  role-source
   ejb-nameC/ejb-name
  /role-source
  cmr-field
   cmr-field-nameprefs/cmr-field-name
   cmr-field-typeCP/cmr-field-type
  /cmr-field
 /ejb-relationship-role
 ejb-relationship-role
 
  ejb-relationship-role-namecontactprefs-belongs-to-contact/e
  jb-relationshi
  p-role-name
  multiplicityone/multiplicity
  role-source
   dependent-nameCP/dependent-name
  /role-source
  /ejb-relationship-role
/ejb-relation
   /relationships
 
  In the CP bean, I have:
  public abstract CP getprefs();
 
  What's wrong with that?
 
  Thanks,
 
  Joel Shellman
 
 
 







RE: Orion in production - Let's sell support!

2000-10-20 Thread Jim Archer

Hello all...

--On Friday, October 20, 2000 5:35 PM -0300 "Juan Lorandi (Chile)" 
[EMAIL PROTECTED] wrote:

 And also, lack of support  documentation is becoming now, as most
 developers are finishing
 their work and reach deployment time(from what I pick up of many mails in
 this list), a critical point about orion.
 Many of us are reaching the point where we have to prove no only that
 orion's the best, but that it also is a good business
 choice. This is unfairly hard due to little colaboration from Evermind's
 team regarding, as said, support  documentation,
 tough it clearly seems to be changing.

This is a key issue. There is an old saying that time is money. Not true in 
software. Time is far more valuable than money. Money can be raised but 
time can not. Orion is reasonably priced for the product itself. However, 
if using Orion means a lot of trial and error development and no official 
support from the vendor, the costs in extra consumption of developers time 
and oppertunity loss from delayed market entry could easily exceed the 
price tag of Weblogic.

Don't get me wrong, I like Orion. I like it alot. Currently, our intention 
is to complete development on it and then license it and deploy with it and 
hopefully sell it with our product. This goal would be one heck of a lot 
easier to obtain if we had official support from the vendor. Right now, 
there are people here banging their heads on the wall just trying to guess 
at what works and what dossen't, whats implemented and whats not. It's 
tireing.

Anybody want to help me start a business selling Orion support on a 900 
number? Just charge several dollars a minute, on an incident by incident 
basis. If the support is competant, it would sell big. Heck, we could make 
more money then Evermind! Big Grin OK, just kidding, but this is a 
serious issue.

Jim






RE: EJB Help..

2000-10-20 Thread Jim Archer

What types of relationships do you feel EJB 2.0 can't adequately support? I 
have been studying 2.0 CMP carefully, and it seems to be quite powerfull. 
There may be holes in it, but it can handle the majority of real works 
cases.

Jim


--On Friday, October 20, 2000 12:28 PM -0700 [EMAIL PROTECTED] wrote:

 If you don't use an object-relational mapping tool you're still in for a
 lot of hurt with EJB if you have a complex data model. I don't think CMP
 really addresses the kind of data models large systems have. Nor does the
 relationship support in EJB 2.0 either. I think you'll end up doing JDBC
 BMP with your Session and Entity beans. Performance is only an issue when
 you make everything a stateful session bean or an entity bean. There are
 rules for when it's appropriate to make things entity beans. There still
 isn't a whole lot of useful information around on design EJBs yet though
 with most of it only explaining the basics including the ORA book.

 On Fri, 20 Oct 2000, Duffey, Kevin wrote:

 Thanks.

 I only meant to use the /classes folder because my ejb code is in the
 same project as the rest of my code (Servlets, javabeans, action
 classes, etc). Since it all compiles to the same one folder, I assume I
 will have to "move" the ejb compiled classes every time I compile them.
 What I was hoping for was a way to not have to do this..instead, just
 let the whole project compile to the WEB-INF/classes folder (all my
 code), and then have Orion pick up on the ejb changes from that point.
 It appears to me from what everyone is saying I will have to use some
 sort of script every time I make a change to an ejb, which my first
 thoughts is a pain in the ass. Its very easy to develop servlets, action
 classes, javabeans, core classes, but ejb not only requires 3 classes
 per component, but lots of "special" work just to get the thing
 deployed. Then, every time you make a change, it requires the same
 process. I would think turn-around time for ejb development is on the
 order of a couple of minutes for every change you make. That results in
 a lot slower development cycle than I am currently using.

 Worse, I have started hearing alot of people turn away from ejb and going
 back to servlets because of development time, and performance. Supposedly
 the ejb stuff isn't living up to all the hype. However, I look at what
 the ejb container does for you (connection pooling, transactions,
 security, instance pooling, etc) and it seems there is alot of stuff I
 wont have to do on the side of persistence, transactions and
 security..so maybe the extra time is worth it? ;)

 Anyways..I did as one person suggested in this list, I set up in my
 application.xml like so:

 module
   ejb/path/www/WEB-INF/classes//ejb
 /module

 and Orion seems to be finding the classes (the ejb). However, I keep
 seeing an error appear. It says something like:

 Error compiling class c:/path/www/WEB-INF/classes/  Login.java
 LoginBean.java LoginHome.java  can't find method create()in
 LoginBean.java

 Its a very strange message to me. If I change the module path, it
 tells me it can't find the classes. If I delete the classes, it also
 tells me it can't find them. So I assume the path is set correctly in
 the module ejb tag..as it is finding the classes. I am just not sure
 why the heck its giving me some compiler error..or why its even trying
 to compile them..they are already compiled.

 Anyways..I'll keep plugging away.


  -Original Message-
  From: Stanislav Maximov [mailto:[EMAIL PROTECTED]]
  Sent: Thursday, October 19, 2000 6:34 PM
  To: Orion-Interest
  Subject: RE: EJB Help..
 
 
  Kevin,
  look inside the news-application example bundled with Orion,
  lots of things
  will become clear for you after that.
  www-dir/WEB-INF/classes directory is for servlet classes,
  not for EJBs.
  You'll see how to deploy EJBs in that example and in
  documentation as well.
 
  stas@
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]On Behalf Of
  Duffey, Kevin
   Sent: Friday, October 20, 2000 3:45 AM
   To: Orion-Interest
   Subject: RE: EJB Help..
  
  
   Thanks for the note. One thing..since I compile all of my
  classes into the
   www/WEB-INF/classes dir, should I put a META-INF in the
  /classes dir, and
   just point the module to the WEB-INF/classes folder? Would
  that work?
  
   Not that I want you to tell me everything, ok..I do, but
  what exactly do I
   need to get EJB deployed in that way? My first stab that I
  want to do is
   create a login process. I would like to use statless session
   beans, and also
   use an entity bean..using CMP. I created 3 classes, Login,
  LoginBean and
   LoginHome. I have them in com.mycompany.ejb package. That
  compiles to
   www/WEB-INF/classes dir. So do I make application.xml like so:
  
   module/www/WEB-INF/classes/module
  
   where the com folder starts? Or do I actually have to point them
   directly to
   the .class files 

RE: EJB Help..

2000-10-20 Thread Jim Archer

Kevin, your "Home interface" class, the LoginHome object, should have a 
create() method. In fact, you can have several create methods if you like, 
each with a different parameter list (yes, you can have no create methids, 
but thats a special case no relevant here). The Orion primer does show a 
create method. Check out steps 4 and 5. Look for helloHome.create().

Once you have gotton an instance of your home interface object, you call 
its create method and it returnes to you an instance of your EJB's remote 
interface.

As for compiling, In EJB 1.1 Orion has to generate the RMI stubs and 
skeletons for your classes and it has to compile those. In EJB 2.0, Orion 
has to create actual classes that extens the abstract classes you wrote, 
and these have to be compiled.

In both cases, you must have the JDK installed and not just the JRE for 
this reason.

Good luck...

Jim



--On Friday, October 20, 2000 1:21 PM -0700 "Duffey, Kevin" 
[EMAIL PROTECTED] wrote:

 HI,

 Double check your ejb-jar.xml--are you setting LoginHome as your Home
 interface in there? Is there a LoginHome.create() method
 declared? Is there
 a LoginBean.ejbCreate() method defined?

 Hmm..I don't have a LoginHome.create()..the Orion Primer didn't show
 that. I have a Login.java, LoginBean.java and LoginHome.java. I think
 Login.java is the only one with a create() method in it. Should both the
 "interface" classes have a create() in it?

 Also, why is Orion trying to compile it if its already compiled? Or is
 this some sort of "assembly" routine Orion does? I assume from what I
 read that the EJB server "implements" the interfaces..so is it generating
 its own code at runtime and that is what compiling is failing?

 Thanks again.