IIS, Orion, virtual host

2001-04-25 Thread olivier

Hi,

For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
x.x.x.21. (modification in the connection setting and the hosts file)
I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
Is is because the port are the same that I can't start both of them at the
same time (they complain that the address is in use).

Or is it possible and I don't know how to do it ???

Thanks,

olivier





How to cluster more than one Orion on a net.

2001-04-25 Thread Lachezar Dobrev

   I need to know how does Orion (and if it can at all) cluster.
   Excuse my bad English. I mean:
   I have a couple of EJBs. I need to deploy them on more than one machine
to unleash more computing power. However I am not aware of the way. I mean.
I was really able to open a connection to an EJB and even do some work with
a couple of EJBs with one and the same interface, but that do different
jobs...
   Now I have to implement some way to deploy these on more than one
machine... Something like looking up an EJB without knowing every machine it
is being deployed on...

   U... It may sound very complicated, but I'm having trouble explaining
my idea in English :(

   If anyone has something that can help. Please answer.

   May the shade of the tree strengthen you.
   Lachezar






Is the list dead?

2001-04-25 Thread Ismael

Hi all,

Is the list still running?

The number of mails received have decreased to 0 !!!

Are you still there??





Update to 1.4.8 gives strange table names after deployment ???

2001-04-25 Thread Eddie

Great to see there is a new version of Orion, my compliments.

I performed the upgrade through autoupdate.jar and redpoyed my applications,
whereby I first removed the applications from the application deployment
dir.

The orion-ejb-jar-xml that Orion generates contains incorrect table names
which were correct in 1.4.7, see below for the first part of the
orion-ejb-jar.xml file. It transforms table=sgsusr to
:table=nl_unwired_sgs_um_User  which isn't correct I suppose.
Can someone please tell me what goes wrong, as I can't access my database
like this ??
BTW: The orion-application contains: autocreate-tables=false.

Eddie

my orion-ejb.jar.xml:
?xml version=1.0?
?xml version=1.0?
!DOCTYPE orion-ejb-jar PUBLIC -//Evermind//DTD Enterprise JavaBeans 1.1
runtime//EN http://www.orionserver.com/dtds/orion-ejb-jar.dtd;

orion-ejb-jar deployment-version=1.4.8 deployment-time=e4a8a4f467
 enterprise-beans
  entity-deployment table=sgsusr name=nl.unwired.sgs.um.User
location=nl.unwired.sgs.um.User data-source=jdbc/postgresEJBDS
exclusive-write-access=false



--- The above is transformed to:

!DOCTYPE orion-ejb-jar PUBLIC -//Evermind//DTD Enterprise JavaBeans 1.1
runtime//EN http://www.orionserver.com/dtds/orion-ejb-jar.dtd;

orion-ejb-jar deployment-version=1.4.8 deployment-time=e614c0c4f1
 enterprise-beans
  entity-deployment name=nl.unwired.sgs.um.User
location=nl.unwired.sgs.um.User wrapper=UserHome_EntityHomeWrapper8
table=nl_unwired_sgs_um_User data-source=jdbc/postgresEJBDS





RE: orion 1.4.8 bug

2001-04-25 Thread elephantwalker

Is it just me, or was this the last orion-interest mail?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Matthew R
Bauer
Sent: Monday, April 23, 2001 6:15 PM
To: Orion-Interest
Subject: orion 1.4.8 bug


I have several ejb 2.0 beans.  I get the following error when deploying
them (did not exist in 1.4.7):

Error in application hermes: Error loading package at
file:/opt/orion/applications/hermes/administratorEjb.jar,
abstract-schema-name not specified for entity 'TheCompanySettings', it
must be specified for EJB 2.0 style CMP beans

Yet in the ejb 2.0 dtd it states that abstract-schema-name does not need
to exist.  Any one else have this problem?  do I need to fill out a
bugzilla.

mattba






RE: Is the list dead?

2001-04-25 Thread Rob Lapensee

Curiously, there were no e-mail's on Tuesday...
Otherwise, lots and lots of e-mail's...

Rob Lapensee
Director of Technology
Delfour Corporation
www.delfour.com
[EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ismael
Sent: Wednesday, April 25, 2001 6:56 AM
To: Orion-Interest
Subject: Is the list dead?

Hi all,

Is the list still running?

The number of mails received have decreased to 0 !!!

Are you still there??





Orion support company

2001-04-25 Thread Bernard Sauterel

I wonder if somebody saw on Orion web site,  that
there's now an official support company: Cadrion.

For me it's good news.

On Mec, 25 avr 2001, Joseph B. Ottinger [EMAIL PROTECTED] wrote:

The list is DEAD? NO MAILS!??!

OH NO! ORION HAS BEEN SOLD TO BEA AFTER ALL!

On Wed, Apr 25, 2001 at 12:56:21PM +0200, Ismael wrote:
 Hi all,
 
 Is the list still running?
 
 The number of mails received have decreased to 0 !!!
 
 Are you still there??
 

-- 
---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant







RE: IIS, Orion, virtual host

2001-04-25 Thread Ron White

What exactly is the error message? There are a couple of different ones
pertaining to different config files.

Thanks,
Ron White

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of olivier
Sent: Wednesday, April 25, 2001 3:51 AM
To: Orion-Interest
Subject: IIS, Orion, virtual host


Hi,

For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
x.x.x.21. (modification in the connection setting and the hosts file)
I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
Is is because the port are the same that I can't start both of them at the
same time (they complain that the address is in use).

Or is it possible and I don't know how to do it ???

Thanks,

olivier






RE: IIS, Orion, virtual host

2001-04-25 Thread Ron White

Ok that means that IIS is grabbing both addresses. In the properties page of
IIS, you need to make sure that it is only set for your .20 address. See the
attached doc for what I mean.

Thanks,
Ron White

-Original Message-
From: olivier [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 8:30 AM
To: [EMAIL PROTECTED]; Orion-Interest
Subject: RE: IIS, Orion, virtual host


this is the error message I have:
Error starting HTTP-Server: Address in use: JVM_Bind


-Original Message-
From: Ron White [mailto:[EMAIL PROTECTED]]
Sent: 25 April 2001 13:22
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: RE: IIS, Orion, virtual host


What exactly is the error message? There are a couple of different ones
pertaining to different config files.

Thanks,
Ron White

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of olivier
Sent: Wednesday, April 25, 2001 3:51 AM
To: Orion-Interest
Subject: IIS, Orion, virtual host


Hi,

For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
x.x.x.21. (modification in the connection setting and the hosts file)
I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
Is is because the port are the same that I can't start both of them at the
same time (they complain that the address is in use).

Or is it possible and I don't know how to do it ???

Thanks,

olivier




 example.doc


Re: orion 1.4.8 bug (fwd)

2001-04-25 Thread Hani Suleiman

Resending as this didn't seem to make it the first time...

-- Forwarded message --
Date: Mon, 23 Apr 2001 21:55:04 -0400 (EDT)
From: Hani Suleiman [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: Re: orion 1.4.8 bug

Third bullet point on page 192 of the EJB 2.0 final draft says

'the bean provider must specify a unique abstract schema name for an
entity using the abstract-schema-name deployment description element'

The DTD states:

'The optional abstract-schema-name element must be specified for an entity
bean with container managed persistence and cmp-version 2.x'

So 1.4.8 seems correct in enforcing this...

Hani

On Mon, 23 Apr 2001, Matthew R Bauer wrote:

 I have several ejb 2.0 beans.  I get the following error when deploying
 them (did not exist in 1.4.7):
 
 Error in application hermes: Error loading package at
 file:/opt/orion/applications/hermes/administratorEjb.jar,
 abstract-schema-name not specified for entity 'TheCompanySettings', it
 must be specified for EJB 2.0 style CMP beans
 
 Yet in the ejb 2.0 dtd it states that abstract-schema-name does not need
 to exist.  Any one else have this problem?  do I need to fill out a
 bugzilla.
 
 mattba
 
 
 






RE: IIS, Orion, virtual host

2001-04-25 Thread Paul Medcraft


You can't have two applications on one machine listening on the same port,
although they could both use the same IP. Try setting them both to use x.20
and put orion on a different port.

Paul 

 -Original Message-
 From: olivier [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:30
 To: Orion-Interest
 Subject: RE: IIS, Orion, virtual host
 
 
 this is the error message I have:
 Error starting HTTP-Server: Address in use: JVM_Bind
 
 
 -Original Message-
 From: Ron White [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:22
 To: Orion-Interest
 Cc: [EMAIL PROTECTED]
 Subject: RE: IIS, Orion, virtual host
 
 
 What exactly is the error message? There are a couple of 
 different ones
 pertaining to different config files.
 
 Thanks,
 Ron White
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
 Sent: Wednesday, April 25, 2001 3:51 AM
 To: Orion-Interest
 Subject: IIS, Orion, virtual host
 
 
 Hi,
 
 For some reason, I have set 2 IP addresse to my machine (NT). 
 x.x.x.20 and
 x.x.x.21. (modification in the connection setting and the hosts file)
 I have configured IIs to use x.20, on port 80, and Orion x.21 
 on port 80.
 Is is because the port are the same that I can't start both 
 of them at the
 same time (they complain that the address is in use).
 
 Or is it possible and I don't know how to do it ???
 
 Thanks,
 
 olivier
 
 
 

http://www.iii.co.uk 
Interactive Investor International is a leading UK Internet personal 
finance service that provides individuals with the capability to identify, 
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor 
International plc, is regulated by the SFA.




Re: Orion support company

2001-04-25 Thread Joseph B. Ottinger

Orion's web site is still up? Every time I go to www.orionserver.bea.com,
it comes back with an error. I knew they didn't update the site often, but
taking it off the web seems a bit extreme.


On Wed, Apr 25, 2001 at 02:30:09PM +0200, Bernard Sauterel wrote:
 I wonder if somebody saw on Orion web site,  that
 there's now an official support company: Cadrion.
 
 For me it's good news.
 
 On Mec, 25 avr 2001, Joseph B. Ottinger [EMAIL PROTECTED] wrote:
 
 The list is DEAD? NO MAILS!??!
 
 OH NO! ORION HAS BEEN SOLD TO BEA AFTER ALL!
 
 On Wed, Apr 25, 2001 at 12:56:21PM +0200, Ismael wrote:
  Hi all,
  
  Is the list still running?
  
  The number of mails received have decreased to 0 !!!
  
  Are you still there??
  
 
 -- 
 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://epesh.com/ IT Consultant
 
 
 

-- 
---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant




interesting singleton serialization issue (Java / JSP POSSIBLY ORION QUESTION)

2001-04-25 Thread Arno Grbac


ASSUMPTION: It appear that all objects in a JSP file get serialized.

Q1: Is there an equivalent of TRANSIENT in JSP, ..since transient doesn't
work?

Q2: Is there any other way to control serialization?

NOTE: I have the singleton class working nicely with a factory class. The
problem
is that I need a reference to the singleton in the JSP file, ..so it gets
serialized
twice (ONCE FROM BY THE FACTORY - ONCE BECAUSE IT'S IN JSP FILE, ..NOT SO
GOOD).

Current fix includes taking the implements Externalizable away from the
singleton,
but leaving the read/writeExternal functions in the class, so the factory
can call
them. The only problem is that JSP/Orion reports that the object is not
Serializable,
..but in reality the object gets serialized elsewhere (not a bug, just looks
wrong).

Any suggestions?

Thanks,
-arnox





RE: IIS, Orion, virtual host

2001-04-25 Thread Hani Suleiman

Sounds like either both machines are binding to the same IP, or one or the
other is binding to the stack and not the IP you're specifying.

Hani

On Wed, 25 Apr 2001, olivier wrote:

 this is the error message I have:
 Error starting HTTP-Server: Address in use: JVM_Bind
 
 
 -Original Message-
 From: Ron White [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:22
 To: Orion-Interest
 Cc: [EMAIL PROTECTED]
 Subject: RE: IIS, Orion, virtual host
 
 
 What exactly is the error message? There are a couple of different ones
 pertaining to different config files.
 
 Thanks,
 Ron White
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
 Sent: Wednesday, April 25, 2001 3:51 AM
 To: Orion-Interest
 Subject: IIS, Orion, virtual host
 
 
 Hi,
 
 For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
 x.x.x.21. (modification in the connection setting and the hosts file)
 I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
 Is is because the port are the same that I can't start both of them at the
 same time (they complain that the address is in use).
 
 Or is it possible and I don't know how to do it ???
 
 Thanks,
 
 olivier
 
 
 
 





RE: orion http server performance/load handling

2001-04-25 Thread olivier

For one thing, this isn't a fair comparison as you're using different
numbers of layers
asp-db
vs
jsp(I assume?)-ejb-db
I know it is not fair.
But the result contracdict what I was expecting (orion slower because of
more work/layers, but IIS crashing earlier because direct access).

I have to review my code. The answer could be here.

Olivier

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hani Suleiman
Sent: 25 April 2001 13:35
To: Orion-Interest
Subject: Re: orion http server performance/load handling


For one thing, this isn't a fair comparison as you're using different
numbers of layers

asp-db

vs

jsp(I assume?)-ejb-db

but I agree that the connection url not found error is disturbing. Why
not submit a test app to bugzilla, I'm sure the orion folk would be
interested in fixing this (since it does sound like a bug)

Hani

On Wed, 25 Apr 2001, olivier wrote:

 Hi,

 I have developped 2 little web app using ASP/IIS for one,
 struts/JSP/EJB/Orion for the other. They both access the same database
using
 the same store proc, the pages are the same...
 However the EJB access the database, transform the resultset into objects
 arrays, while in the ASP the access is direct from the page and result are
 not converted into objects.

 I have written a simple client that create some thread, each thread
executes
 several connection, all simultaneously.
 Orion is faster up to 150 connections.
 But at 200, Orion cannot respond to all requests (error like connection
URL
 not found), on the first ones (quite a lot though), while IIS keeps
running,
 slowly but running.

 Are their any settings I could change to get it better. ?


 Cheers,

 Olivier












RE: Is the list dead?

2001-04-25 Thread Kemp Randy-W18971

The mail has slowed down, but is still up and running.  Less mail is also a
good sign, in that the number of problems or issues is very low. 

-Original Message-
From: Ismael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 5:56 AM
To: Orion-Interest
Subject: Is the list dead?


Hi all,

Is the list still running?

The number of mails received have decreased to 0 !!!

Are you still there??





RE: Charting/Graphing libraries

2001-04-25 Thread William Jones

JClass Chart and JClass Server Chart are quite usable.
(c.f. http://www.sitraka.com/software/jclass/)

-Original Message-
From: Van Dooren, Damian [mailto:[EMAIL PROTECTED]]
Sent: 25 April 2001 13:46
To: Orion-Interest
Subject: Charting/Graphing libraries


Does anyone have any suggestions for a good charting/graphing library to use
within a servlet to generate jpgs or gifs preferably from XML data.

Thanks.

-
Damian Van Dooren
Information Technology
The Investment Centre

 




Charting/Graphing libraries

2001-04-25 Thread Van Dooren, Damian

Does anyone have any suggestions for a good charting/graphing library to use
within a servlet to generate jpgs or gifs preferably from XML data.

Thanks.

-
Damian Van Dooren
Information Technology
The Investment Centre

 




RE: Update to 1.4.8 gives strange table names after deployment ???

2001-04-25 Thread Paul Knepper

In changes.txt line 10 states:
Moved orion-ejb-jar.xml's inclusion path in an ejb-jar to the META-INF/
directory from the orion/ directory for consistency.

Did you move your orion-ejb-jar.xml file?

-Original Message-
From: Eddie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 4:12 AM
To: Orion-Interest
Subject: Update to 1.4.8 gives strange table names after deployment ???


Great to see there is a new version of Orion, my compliments.

I performed the upgrade through autoupdate.jar and redpoyed my applications,
whereby I first removed the applications from the application deployment
dir.

The orion-ejb-jar-xml that Orion generates contains incorrect table names
which were correct in 1.4.7, see below for the first part of the
orion-ejb-jar.xml file. It transforms table=sgsusr to
:table=nl_unwired_sgs_um_User  which isn't correct I suppose.
Can someone please tell me what goes wrong, as I can't access my database
like this ??
BTW: The orion-application contains: autocreate-tables=false.

Eddie

my orion-ejb.jar.xml:
?xml version=1.0?
?xml version=1.0?
!DOCTYPE orion-ejb-jar PUBLIC -//Evermind//DTD Enterprise JavaBeans 1.1
runtime//EN http://www.orionserver.com/dtds/orion-ejb-jar.dtd;

orion-ejb-jar deployment-version=1.4.8 deployment-time=e4a8a4f467
 enterprise-beans
  entity-deployment table=sgsusr name=nl.unwired.sgs.um.User
location=nl.unwired.sgs.um.User data-source=jdbc/postgresEJBDS
exclusive-write-access=false



--- The above is transformed to:

!DOCTYPE orion-ejb-jar PUBLIC -//Evermind//DTD Enterprise JavaBeans 1.1
runtime//EN http://www.orionserver.com/dtds/orion-ejb-jar.dtd;

orion-ejb-jar deployment-version=1.4.8 deployment-time=e614c0c4f1
 enterprise-beans
  entity-deployment name=nl.unwired.sgs.um.User
location=nl.unwired.sgs.um.User wrapper=UserHome_EntityHomeWrapper8
table=nl_unwired_sgs_um_User data-source=jdbc/postgresEJBDS





Re: Is the list dead?

2001-04-25 Thread Joseph B. Ottinger

The list is DEAD? NO MAILS!??!

OH NO! ORION HAS BEEN SOLD TO BEA AFTER ALL!

On Wed, Apr 25, 2001 at 12:56:21PM +0200, Ismael wrote:
 Hi all,
 
 Is the list still running?
 
 The number of mails received have decreased to 0 !!!
 
 Are you still there??
 

-- 
---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant




RE: IIS, Orion, virtual host

2001-04-25 Thread olivier

this is the error message I have:
Error starting HTTP-Server: Address in use: JVM_Bind


-Original Message-
From: Ron White [mailto:[EMAIL PROTECTED]]
Sent: 25 April 2001 13:22
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: RE: IIS, Orion, virtual host


What exactly is the error message? There are a couple of different ones
pertaining to different config files.

Thanks,
Ron White

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of olivier
Sent: Wednesday, April 25, 2001 3:51 AM
To: Orion-Interest
Subject: IIS, Orion, virtual host


Hi,

For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
x.x.x.21. (modification in the connection setting and the hosts file)
I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
Is is because the port are the same that I can't start both of them at the
same time (they complain that the address is in use).

Or is it possible and I don't know how to do it ???

Thanks,

olivier






1.4.8

2001-04-25 Thread Jeff Hubbach

Did anyone else notice that 1.4.8 was on the website for a day, then
taken back down?

Jeff.

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com







RE: Orion support company

2001-04-25 Thread Yuri V. Turban

Orion's web site is still up? Every time I go to www.orionserver.bea.com,
it comes back with an error. 

You must be kidding !!! -:)





Re: Dynamic Loading of a Data Source

2001-04-25 Thread Milton S

I have tried it and it does not seem to work or at least how I am doing it.

To test it I have a functioning Oracle data source. I cut this data source
out of the \config\data-source.xml descriptor file. I then restart Orion.
Orion cannot find the data-source when I run my application. With Orion
still running I paste the data source back into the \config\data-source.xml
descriptor file and save it, Orion does not pick up the change.

Is there some configuration setting that needs tweeking. Do I need to hook
into the JNDI? Any advice on how to do this, if it is possible, would be
greatly appreciated.

Hani Suleiman wrote:

 Try it! I think it does work

 On Wed, 25 Apr 2001, Milton S wrote:

  Is it possible to dynamically load a new data source to Orion after it
  has
  started?
 
 
 





RE: ...need urgent help!

2001-04-25 Thread Nijhawan, Sumit

What do you mean by a connection to Orion?  A servlet or an EJB component.
You can make http connections to a servlet or JSP running in Orion.  Let me
know if you need help with that.  I haven't tried invoking EJBs from
standalone clients.

-Original Message-
From: Tobias Streckel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 8:39 AM
To: Orion-Interest
Subject: ...need urgent help!


Hello,

how can I make an coded connection between orion an my standalone java
client?

I think I must use the jce but how?

Thanks

Tobi





RE: ...need urgent help!

2001-04-25 Thread Dean Parker

A few more details please. Do you want to encode transmission from the Orion
server to a standard java application sitting on another node in a single
corporate LAN? Why? That would be no different than all of the other normal
LAN data flowing around in a corporation. If you want to encode transmission
from an app server to a java client over the general Internet, you might try
making your java app into an RMI server, then save the stub and skeleton
files in the app server classpath. This will allow you to do a lookup of the
RMI server from the app server. You can then use JCE to generate a symmetric
key shared between the app server and the rmi server. Just encode your data
before sending it to the RMI server and decode it when it arrives.

The actual details of all this is what I get paid for, and I don't feel like
typing that much.

:-)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tobias
Streckel
Sent: Wednesday, April 25, 2001 9:39 AM
To: Orion-Interest
Subject: ...need urgent help!


Hello,

how can I make an coded connection between orion an my standalone java
client?

I think I must use the jce but how?

Thanks

Tobi







...need urgent help!

2001-04-25 Thread Tobias Streckel

Hello,

how can I make an coded connection between orion an my standalone java
client?

I think I must use the jce but how?

Thanks

Tobi





RE: orion http server performance/load handling

2001-04-25 Thread olivier

The error I get is:
java.net.ConnectException: Connection refused: no further information

I have changed my test so I don't access any page involving database
connection (JDBC access). It is the same. Around 200, problems.

Olivier

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Victor Salaman
Sent: 25 April 2001 14:01
To: Orion-Interest
Subject: RE: orion http server performance/load handling


I suspect this is a problem with your jdbc access layer...

To troubleshoot make simple program accessing the data directly with
just the jdbc driver and test.

-Original Message-
From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 8:35 AM
To: Orion-Interest
Subject: Re: orion http server performance/load handling


For one thing, this isn't a fair comparison as you're using different
numbers of layers

asp-db

vs

jsp(I assume?)-ejb-db

but I agree that the connection url not found error is disturbing. Why
not submit a test app to bugzilla, I'm sure the orion folk would be
interested in fixing this (since it does sound like a bug)

Hani

On Wed, 25 Apr 2001, olivier wrote:

 Hi,

 I have developped 2 little web app using ASP/IIS for one,
 struts/JSP/EJB/Orion for the other. They both access the same database
using
 the same store proc, the pages are the same...
 However the EJB access the database, transform the resultset into
objects
 arrays, while in the ASP the access is direct from the page and result
are
 not converted into objects.

 I have written a simple client that create some thread, each thread
executes
 several connection, all simultaneously.
 Orion is faster up to 150 connections.
 But at 200, Orion cannot respond to all requests (error like
connection URL
 not found), on the first ones (quite a lot though), while IIS keeps
running,
 slowly but running.

 Are their any settings I could change to get it better. ?


 Cheers,

 Olivier













...need urgent help!

2001-04-25 Thread Tobias Streckel

Hello,

how can I make an coded connection between orion an my standalone java
client?

I think I must use the jce but how?

Thanks

Tobi





Re: HOW TO SETUP ORION TO DYNAMICALLY LOAD CLASSES VIA RMI/JNDI

2001-04-25 Thread Earl Marwil

 From my recent investigation on jndi and orion, I would suggest the 
following approach:

On servers 1 and 3, add a line in the orion/config/rmi.xml like

server host=server2.my.com username=adminUser password=123abc /

Server 1 must also have jar file(s) with the interface classes of all the 
ejb's that it will be referencing. One location that works is in orion/lib.

The orion/config/data-sources.xml holds the url to each data source. This 
will be specific to whatever database and host you are using. There should 
be plenty of examples in the mail archives.

Regards,

Earl

At 11:24 4/10/2001 -0700, you wrote:
Hello,

Any thoughts on the following would be GREATLY APPRECIATED!

I have an Orion EJB/Servlet/JSP application I am attempting to configure to
run on several different machines.  Each machine will perform a different
function:

Machine 1 = Orion Web container for Servlets/JSP
Machine 2 = Orion EJB Server for two separate EJB Jar files
Machine 3 = Orion EJB Server for a third EJB Jar file
Machine 4 = Database

My question:
Does anyone know the process for configuring Orion for such a multi-machine
setup?
Do you deploy all files to each machine and then set up the JNDI.properties
file to tell the server which machine to execute files from?
Or, do you only install the files to be executed on each machine (i.e. only
the EJB-JAR file?
If so, how do the other machines access files that are not located locally
in the Orion classpath?  Dynamic class loading?

ANY HELP or pointers to a reference would be GREAT!!

Thanks,
Josh Motto



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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





Re: Dynamic Loading of a Data Source

2001-04-25 Thread Hani Suleiman

Try it! I think it does work

On Wed, 25 Apr 2001, Milton S wrote:

 Is it possible to dynamically load a new data source to Orion after it
 has
 started?
 
 
 





RE: Charting/Graphing libraries

2001-04-25 Thread Tim Burns

Hi,
One thing I have read about is Batik http://xml.apache.org/batik/index.html.
It uses SVG which is an XML-based vector graphics library.  I plan to use
this product in a coming project, and would love to hear if anyone else out
there is using it.

Best,
Tim
--
Tim Burns http://tim.owlmountain.com
Senior Software Engineer
Object Computing Inc. http://www.ociweb.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Van Dooren,
Damian
Sent: Wednesday, April 25, 2001 7:46 AM
To: Orion-Interest
Subject: Charting/Graphing libraries
   
   
Does anyone have any suggestions for a good charting/graphing
library to use
within a servlet to generate jpgs or gifs preferably from XML data.
   
Thanks.
   
-
Damian Van Dooren
Information Technology
The Investment Centre
   
   
   
   
   






RE: Charting/Graphing libraries

2001-04-25 Thread Michael J. Cannon

Batik works, but you need a plug-in to interpret the SVG on the client
(although you could pass an applet to the client, too).

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Tim Burns
 Sent: Wednesday, April 25, 2001 10:36 AM
 To: Orion-Interest
 Subject: RE: Charting/Graphing libraries


 Hi,
 One thing I have read about is Batik
 http://xml.apache.org/batik/index.html.
 It uses SVG which is an XML-based vector graphics library.  I plan to use
 this product in a coming project, and would love to hear if
 anyone else out
 there is using it.

 Best,
 Tim
 --
 Tim Burns http://tim.owlmountain.com
 Senior Software Engineer
 Object Computing Inc. http://www.ociweb.com

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Van Dooren,
 Damian
 Sent: Wednesday, April 25, 2001 7:46 AM
 To: Orion-Interest
 Subject: Charting/Graphing libraries


 Does anyone have any suggestions for a good charting/graphing
 library to use
 within a servlet to generate jpgs or gifs preferably from XML data.

 Thanks.

 -
 Damian Van Dooren
 Information Technology
 The Investment Centre













Re: ...need urgent help!

2001-04-25 Thread denis despinoy

What do u mean by coded connection ?

Are u referring to secure ! If so we used the jsse
package to implement an ssl protocol. Otherwise u can
configure orion with a secure option for server
authentication. see the ssl tutorial online at the
orion website select resource and click on
orionsupport there u'll find some guidelines.

Hope this help !

denis 

--- Tobias Streckel [EMAIL PROTECTED] wrote:
 Hello,
 
 how can I make an coded connection between orion an
 my standalone java
 client?
 
 I think I must use the jce but how?
 
 Thanks
 
 Tobi
 
 


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




RE: IIS, Orion, virtual host

2001-04-25 Thread Ron van Pol

Seems to me that there can run only one process on a particular port. Once
IIS is already running on port 80 Orion will be unable to bind to that port
since it is already in use by IIS. Same goes if you start orion before IIS.
Then IIS, will not be able to start since Orion already has port 80 in use.

Ron

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
 Sent: Wednesday, April 25, 2001 9:51 AM
 To: Orion-Interest
 Subject: IIS, Orion, virtual host


 Hi,

 For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
 x.x.x.21. (modification in the connection setting and the hosts file)
 I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
 Is is because the port are the same that I can't start both of them at the
 same time (they complain that the address is in use).

 Or is it possible and I don't know how to do it ???

 Thanks,

 olivier









1.4.8 faster than 1.4.7

2001-04-25 Thread KirkYarina

1.4.8 to 1.4.7:

create: 0.7 (create 1000 EBs)
set:0.7 (call all setters on created beans)
get:0.6 (call all getters on 1000 beans)
get(value object): 0.5  (get 1000 ebs as value objects)
remove: 0.6 (remove 1000 ebs)

and the environment is Win98, HypersonicSQL, jdk Sun 1.3.0 Client VM.  The 
only change was an autoupdate to 1.4.8.

Like all benchmarks YMMV

Kirk Yarina





Re: Problem accessing EJB from client

2001-04-25 Thread Earl Marwil

The lookup must be in the same named application as the ejb server, so the 
provider url must include the application name like ormi://localhost/app_name

This is the most likely cause of a NameNotFoundException.

At 19:45 4/23/2001 +0100, you wrote:
Hi,

I am successfully accessing my Session Bean from my servlets (servlet and
EJB are packaged in an EAR).
   Context ctx = new InitialContext();
   Object ref  = ctx.lookup(UserManager);
   UserManagerHome home = (UserManagerHome)PortableRemoteObject.narrow
(ref,user.ejb.UserManagerHome.class);
   UserManager userManager = home.create();

I would like now to access the EJB another client (another JVM).
My client is initialized like this:

 ht.putContext.INITIAL_CONTEXT_FACTORY,
 com.evermind.server.rmi.RMIInitialContextFactory);
 ht.put(Context.PROVIDER_URL, ormi://localhost/);
 ht.put(Context.SECURITY_PRINCIPAL, admin);
 ht.put(Context.SECURITY_CREDENTIALS, admin);

 Context ctx = new InitialContext( ht );

But when I do:
   Object ref  = ctx.lookup(UserManager);

I have :
 [junit] BEFORE LOOKUP
 [junit] javax.naming.NameNotFoundException: UserManager not found
 [junit] at com.evermind.server.rmi.RMIContext.lookup(JAX)
 [junit] at
javax.naming.InitialContext.lookup(InitialContext.java:350)

Is there something obvious I am missing ??

Thanks,

Olivier





Un Subscribe

2001-04-25 Thread Anthony Daniello







Orion JNDI using web-to-ejb and client-to-ejb

2001-04-25 Thread Earl Marwil

I have been following with interest recent questions about how Orion's JNDI 
works in regard to the following scenarios:

(1) one instance of Orion hosting web components, and another instance 
hosting ejb components

(2) a client application accessing ejb components on an Orion server

An analysis with a simple Hello example that also lists the various JNDI 
contexts under different configurations has been revealing. Under Orion 
1.4.7, I was successful in running both scenarios. With the release of 
Orion 1.4.8 yesterday, I have rerun the tests. Inspecting the context 
listings, things make much more sense in 1.4.8 than 1.4.7, although the 
functional behavior is nearly identical. (Orion 1.4.7 allows a web 
application to access ejb's in different named application; Orion 1.4.8 
does not, at least with the configurations I have tried. Neither 
application is the parent (orion specific) of the other.)

Although the discussion below is somewhat lengthy, I hope it will help 
others who are looking into these questions. (The zip files are not 
attached to this post. If this is of interest, I will see about providing 
them to orionsupport.)




The tests involve a web component, an ejb component, and a client 
application. The ejb is a session bean that issues a greeting (Hello). The 
greeting is set as an environment entry in the ejb-jar.xml. This component 
is deployed under several applications and the greeting is used to 
distinguish which ejb is accessed in the different tests. Another method 
returns a list the context names relative to a given root name. This 
method delegates to a helper class, ContextProbe, that recursively lists 
the names in the context. ContextProbe is also called from the web 
component. The web component consists of a hello.jsp that uses a title 
environment entry to further distinguish the tests. Finally, there are two 
request parameters accepted by the jsp: ejbName - to dynamically try 
different ejb names (e.g. ejb/Hello, java:comp/env/ejb/Hello) to lookup in 
the context; and target: to specify the target of the greeting.


To run the tests, I set up 3 separate instances of the orion server and one 
client. Four corresponding zip file contain the configuration files, web 
and ejb components, and the orion deployment files. Unzipping one of the 
server#.zip files in a fresh install of orion (plus the tools.jar file) 
gives a ready-to-run instance of orion, or client.


Server 1:

runs web and ejb components to test behavior within the same instance of orion

- web site on port 8801
- rmi server on port 23801

- deploy ejb component under the default app as ejb/Hello
- deploy ejb twice under hello app 1 as ejb/Hi and ejb/BonJour
- deploy ejb under hello app 2 as ejb/Howdy

- deploy web component under default app as /hello0-web
- deploy web component under hello app 1 as /hello1-web
- deploy web component under hello app 2 as /hello2-web

 From the url localhost:8801/hello1-web/?ejbName=name_to_lookup, the 
following results are observed:

ejb/Hello - works, by virtue of parent application concept in orion
ejb/Hi - works since in the same app
ejb/BonJour - works since in the same app
ejb/Howdy - fails, not in this app
java:comp/env/ejb/Hello - fails, since no ejb-ref defined in web.xml
java:comp/env/ejb/Hi - fails, since no ejb-ref defined in web.xml
java:comp/env/ejb/BonJour - works with ejb-ref defined in web.xml
java:comp/env/ejb/Howdy - fails, not in this app, not mapped in web.xml
java:comp/env/ejb/xxx - works, ejb-link defined in web.xml
java:comp/env/ejb/yyy- works, ejb-ref location=... defined in 
orion-web.xml (location specified in orion-web.xml takes precedence over 
ejb-link in web.xml)

This behavior seems correct. The resulting web pages include the contexts 
listings from both the web component and the ejb component. The context 
listings under orion 1.4.8 make much more sense than under 1.4.7. Yet there 
is one puzzling inconsistency (not that I understand the other parts of the 
context).

Under 1.4.8 the subcontext java:comp starting with  is disjoint with the 
context listed starting with java:comp. From the url 
localhost:8801/hello0-web/

under the default context, the subcontext java:comp contains:

Name: Administrator ClassName: 
com.evermind.server.administration.ApplicationAdministrator
Name: ResourceFinder ClassName: 
com.evermind.server.administration.ResourceFinder
Name: ServerAdministrator ClassName:
com.evermind.server.administration.ApplicationServerAdministrator
Name: ApplicationClientConnector ClassName:
com.evermind.server.administration.ApplicationClientConnector

while starting at java:comp

Name: UserTransaction ClassName: com.evermind._du
Name: RoleManager ClassName: com.evermind._hg
Name: Logger ClassName: com.evermind._kwb
Name: UserManager ClassName: com.evermind.server.XMLUserManager
Name: env ClassName: com.evermind._hi
Name: ThreadPool ClassName: com.evermind._hf

Bug or feature?



RE: IIS, Orion, virtual host

2001-04-25 Thread olivier

I wanted to create virtual host to avoid having to type IP:port in the
browser.
I know it works if I use different ports. I was using loopback (127.0.0.1:80
and 127.0.0.1:8080). But I would like to avoid that.
In IIS, you can have 2 sites running on the same port, as long as they have
2 different addresses.

But it looks like it is something I have done wrong anyway...can't see what
though.

Thanks,

Olivier

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul Medcraft
Sent: 25 April 2001 14:16
To: Orion-Interest
Subject: RE: IIS, Orion, virtual host



You can't have two applications on one machine listening on the same port,
although they could both use the same IP. Try setting them both to use x.20
and put orion on a different port.

Paul

 -Original Message-
 From: olivier [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:30
 To: Orion-Interest
 Subject: RE: IIS, Orion, virtual host


 this is the error message I have:
 Error starting HTTP-Server: Address in use: JVM_Bind


 -Original Message-
 From: Ron White [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:22
 To: Orion-Interest
 Cc: [EMAIL PROTECTED]
 Subject: RE: IIS, Orion, virtual host


 What exactly is the error message? There are a couple of
 different ones
 pertaining to different config files.

 Thanks,
 Ron White

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
 Sent: Wednesday, April 25, 2001 3:51 AM
 To: Orion-Interest
 Subject: IIS, Orion, virtual host


 Hi,

 For some reason, I have set 2 IP addresse to my machine (NT).
 x.x.x.20 and
 x.x.x.21. (modification in the connection setting and the hosts file)
 I have configured IIs to use x.20, on port 80, and Orion x.21
 on port 80.
 Is is because the port are the same that I can't start both
 of them at the
 same time (they complain that the address is in use).

 Or is it possible and I don't know how to do it ???

 Thanks,

 olivier




http://www.iii.co.uk
Interactive Investor International is a leading UK Internet personal
finance service that provides individuals with the capability to identify,
compare, monitor and buy online a number of financial products and services.

Interactive Investor Trading Limited, a subsidiary of Interactive Investor
International plc, is regulated by the SFA.





Dynamic Loading of a Data Source

2001-04-25 Thread Milton S

Is it possible to dynamically load a new data source to Orion after it
has
started?





Re: IIS, Orion, virtual host

2001-04-25 Thread Boris Erukhimov

See http://www.orionsupport.com/articles/vhosts.html

olivier wrote:
 
 I wanted to create virtual host to avoid having to type IP:port in the
 browser.
 I know it works if I use different ports. I was using loopback (127.0.0.1:80
 and 127.0.0.1:8080). But I would like to avoid that.
 In IIS, you can have 2 sites running on the same port, as long as they have
 2 different addresses.
 
 But it looks like it is something I have done wrong anyway...can't see what
 though.
 
 Thanks,
 
 Olivier
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Medcraft
 Sent: 25 April 2001 14:16
 To: Orion-Interest
 Subject: RE: IIS, Orion, virtual host
 
 You can't have two applications on one machine listening on the same port,
 although they could both use the same IP. Try setting them both to use x.20
 and put orion on a different port.
 
 Paul
 
  -Original Message-
  From: olivier [mailto:[EMAIL PROTECTED]]
  Sent: 25 April 2001 13:30
  To: Orion-Interest
  Subject: RE: IIS, Orion, virtual host
 
 
  this is the error message I have:
  Error starting HTTP-Server: Address in use: JVM_Bind
 
 
  -Original Message-
  From: Ron White [mailto:[EMAIL PROTECTED]]
  Sent: 25 April 2001 13:22
  To: Orion-Interest
  Cc: [EMAIL PROTECTED]
  Subject: RE: IIS, Orion, virtual host
 
 
  What exactly is the error message? There are a couple of
  different ones
  pertaining to different config files.
 
  Thanks,
  Ron White
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
  Sent: Wednesday, April 25, 2001 3:51 AM
  To: Orion-Interest
  Subject: IIS, Orion, virtual host
 
 
  Hi,
 
  For some reason, I have set 2 IP addresse to my machine (NT).
  x.x.x.20 and
  x.x.x.21. (modification in the connection setting and the hosts file)
  I have configured IIs to use x.20, on port 80, and Orion x.21
  on port 80.
  Is is because the port are the same that I can't start both
  of them at the
  same time (they complain that the address is in use).
 
  Or is it possible and I don't know how to do it ???
 
  Thanks,
 
  olivier
 
 
 
 
 http://www.iii.co.uk
 Interactive Investor International is a leading UK Internet personal
 finance service that provides individuals with the capability to identify,
 compare, monitor and buy online a number of financial products and services.
 
 Interactive Investor Trading Limited, a subsidiary of Interactive Investor
 International plc, is regulated by the SFA.




2 web apps in an ear

2001-04-25 Thread Mike Weissman

Can I deploy an ear that contains 2 .war files or 2 web apps?  I was
able to add a 2nd web module within my application.xml.  The war expands
correctly.  The second war is a servlet.  I cannot seem to access this
servlet.  
When I put a second entry in my default-web-site.xml then the first does
not work.  I am sure I am just missing a config item.
thanx ahead of time,
mike
-- 
##
Michael Weissman e-mail: [EMAIL PROTECTED]  
Clarent Corporation 303-734-5003 Fax 303-734-4244
1221 W. Mineral Ave.  Littleton, Co 80120 
In the land of the dark, the ship of the sun is 
drawn by the grateful dead -- Egyptian Book of the Dead
##




RE: IIS, Orion, virtual host

2001-04-25 Thread olivier

Now I have tried with a different port (IIS is on 80)
web-site host=x.x.x.20 port=8080 display-name=Default Orion WebSite
virtual-hosts=mySite.Java

I still have this JVM_Bind error, but if I type http://mySite.java:8080, I
get something.
...
still don't see what is wrong.

How many file should I have to modify?
So far, I have:
default-web-site.xml
my-web-site.xml (to make sure that they don't use the same)
hosts (NT)
TCP/IP configuration

Olivier

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ron van Pol
Sent: 25 April 2001 16:24
To: Orion-Interest
Subject: RE: IIS, Orion, virtual host


Seems to me that there can run only one process on a particular port. Once
IIS is already running on port 80 Orion will be unable to bind to that port
since it is already in use by IIS. Same goes if you start orion before IIS.
Then IIS, will not be able to start since Orion already has port 80 in use.

Ron

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
 Sent: Wednesday, April 25, 2001 9:51 AM
 To: Orion-Interest
 Subject: IIS, Orion, virtual host


 Hi,

 For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
 x.x.x.21. (modification in the connection setting and the hosts file)
 I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
 Is is because the port are the same that I can't start both of them at the
 same time (they complain that the address is in use).

 Or is it possible and I don't know how to do it ???

 Thanks,

 olivier










A Chinese question!

2001-04-25 Thread myczy

Hi,
everybody
I come from China,, My English level is not good , read my letter patiently, OK? ! 
Have one a piece of question Is install and wonder ORION how to start INTERCLIENT 
under LINUX INTERBASE the data base I under LINUX I! ! It know I go and download at 
pieces of solutions:1 . ftp : / / updates . redhat . com / 7.0/ i386 / glibc-2 . 
2-5.i386.rpm 2 . ftp : / / carrier . ision . net / pub / ftp . redhat . com / i386 / 
en / RedHat / RPMS / ncurses4-5 . 0-2.i386.rpm 3 . ftp : / / firebird . sourceforge . 
net / pub / firebird / release / FirebirdSS-0 . 9-1.i386.Rpm but I can't download them 
! ! Could you tell me that everybody has other methods ? Thank you! ! !
__

==ÐÂÀËÃâ·Ñµç×ÓÓÊÏä 
(http://mail.sina.com.cn)
ÍøÀïÑ°Ëýǧ°Ù¶È!ûÓÐÁÄÓÑËÙÅä,ÔõÄܳÉË«³É¶Ô? (http://newchat.sina.com.cn)




Re: Orion support company

2001-04-25 Thread Hao H Ngo

I guess I was cause about an hour later I got my confirmation.  Thanks
though.  Sorry.

- Original Message -
From: Yuri V. Turban [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 8:37 AM
Subject: RE: Orion support company


 Orion's web site is still up? Every time I go to www.orionserver.bea.com,
 it comes back with an error.

 You must be kidding !!! -:)








graphing software

2001-04-25 Thread Kemp Randy-W18971

I have been working with the graphing software at www.ve.com/kavachart, and it is free 
and used by many major companies.  I am not sure if my first kava chart message was 
received.




RE: 1.4.8

2001-04-25 Thread Charlie Ma

It seems that everyone on this list is using at least 1.4.7, whereas I
cannot find anything more recent than 1.4.5 on www.orionserver.com.  Where
are you guys getting these more updated versions??

-charlie

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Hubbach
Sent: Wednesday, April 25, 2001 9:11 AM
To: Orion-Interest
Subject: 1.4.8


Did anyone else notice that 1.4.8 was on the website for a day, then
taken back down?

Jeff.

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com









CLOB in CMP of Orion 1.4.0

2001-04-25 Thread HyungKee Hwang








Hello all,



I found that CLOB column couldn¡¯t be retrieved in CMP of Orion, i.e. null value
is always returned despite a value is stored in the column of the table.

I¡¯m using Oracle 8.1.7 and Orion 1.4.0.



To check the problem, you can follow below steps



1. let¡¯s assume that the following table exists in the
database and corresponding CMP exists

test
table

id
number

name
varchar2(255)

description
clob

2. insert data into Oracle database with SQL*Plus.

3. startup Orion server

4. check whether or not CLOB data show up in the
application

(I
could see the value of the name column, but there was no the value of the description)



Any comment appreciated.










remote shutdown of orion 1.4.8

2001-04-25 Thread chris . chang

Folks,

The following remote shutdown command does not work anymore in 1.4.8 (it
works fine in 1.4.7), any ideas? bug?

java -jar admin.jar ormi://localhost admin password -shutdown

P.S.
already verified the password is correct in
[orion-home]/config/principals.xml

Thanks in advance!

Chris




JDBC connection pooling and ORION

2001-04-25 Thread Hao H Ngo

Can someone tell me how to get JDBC connection pooling to work?
Maybe some examples?  I can't find anything on connection pooling.
I have successfully made a JDBC connection to postgres, but I would like
to grab connections from a pool and release to that pool.

Help?






Dynamic Loading of a Data Source

2001-04-25 Thread Milton S

Is it possible to dynamically load a new data source to Orion after it
has
started?





RE: Orion support company

2001-04-25 Thread Kemp Randy-W18971

You have the web site wrong.  It should be www.beanowowner.orionservernomore.com

-Original Message-
From: Yuri V. Turban [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 10:37 AM
To: Orion-Interest
Subject: RE: Orion support company


Orion's web site is still up? Every time I go to www.orionserver.bea.com,
it comes back with an error. 

You must be kidding !!! -:)





How to deploy simple HelloWorld type EJB?

2001-04-25 Thread Harley Rana

Hi i am having trouble accessing a simple session bean from a stand alone
client.
The bean looks like its been deploy correctly.
Here's the steps that i have done on windows 2000.
1. Create class files, this is the director structure.
 e:\beans\test\
 e:\beans\test\TestRemote
 e:\beans\test\TestEJB
 e:\beans\test\TestHome
2. Create ejb-jar.xml.  Not sure i am coding it right??
 e:\beans\Meta-Inf\
 e:\beans\Meta-Inf\ejb-jar.xml
3. Create these files into testEJB.jar
4. Create ear file.
 e:\apps\
 e:\apps\testEJB.jar
 e:\apps\Meta-Inf\
 e:\apps\Meta-Inf\application.xml
5. put the ear file into the orion\application
6. add application entry into the server.xml file.
7. start orion and it does unpack the ear file with no errors.

now i want to get the client access the bean.
8. create the Client.java file in the same directory as the EJB source
files.
e:\beans\test\Client
9. add application-client.xml
e:\beans\test\Meta-inf\application-client.xml

Now when i try and run this client a dialog pops up to enter the user,pass
word,and server.
The 2 messages printed out are;
Got context.
java.lang.SecurityException: No such domain/application: test/TESTApp

So i think i'm pretty close to getting it to work. The problems lies in the
xml files and correctly setting the JNDI mappings.

Not sure if or how to make the orion xml file like orion-ejb-jar.xml, and
orion-application.xml.
I would love some help getting the xml conig working!
Thanks for any help you can give, Harley Rana.

This is the client.

package test;

import javax.naming.*;
import java.util.Hashtable;
import javax.rmi.PortableRemoteObject;

class Client {

  public static void main(String[] args) {

System.setProperty(java.naming.factory.initial,com.evermind.server.Applic
ationClientInitialContextFactory);
System.setProperty(java.naming.provider.url,
  ormi://localhost/test/TESTApp);

try {
  InitialContext jndiContext = new InitialContext();
  System.out.println(Got context);
  Object ref  = jndiContext.lookup(test/TestApp);
  System.out.println(Got reference);
  TestHome home = (TestHome)
   PortableRemoteObject.narrow (ref, TestHome.class);
  TestRemote test = home.create();
  System.out.println(Calling EJB);
  System.out.println(test.getTest()); // should return a simple String.
} catch(Exception e) {
  System.out.println(e.toString());
}
  }
}





Orion performance meassures ?

2001-04-25 Thread Tony Fonager

We are experimenting with Orion as an alternative to IIS on Windows 2000.

But how do I meassure such things as hits pr. second, errors pr. seconds
and so on, like I am used to under Windows 2000 and IIS, using the
performance monitor ?

Is there ANY statistics in Orion, which you can retrieve during runtime ?

Thanks in advance!


-
Regards,
Tony Fonager

Netcoders ApS - http://www.netcoders.dk
Copenhagen, Denmark




1.4.8 faster than 1.4.7

2001-04-25 Thread KirkYarina

1.4.8 to 1.4.7:

create: 0.7 (create 1000 EBs)
set:0.7 (call all setters on created beans)
get:0.6 (call all getters on 1000 beans)
get(value object): 0.5  (get 1000 ebs as value objects)
remove: 0.6 (remove 1000 ebs)

and the environment is Win98, HypersonicSQL, jdk Sun 1.3.0 Client VM.  The 
only change was an autoupdate to 1.4.8.

Like all benchmarks YMMV

Kirk Yarina





RE: Charting/Graphing libraries

2001-04-25 Thread Kemp Randy-W18971

I am working with a free package now at www.ve.com/kavachart. They come with
either a servlet or applet version, and there is a developers kit at a cheap
price.  

-Original Message-
From: Van Dooren, Damian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 7:46 AM
To: Orion-Interest
Subject: Charting/Graphing libraries


Does anyone have any suggestions for a good charting/graphing library to use
within a servlet to generate jpgs or gifs preferably from XML data.

Thanks.

-
Damian Van Dooren
Information Technology
The Investment Centre

 




RE: ...need urgent help!

2001-04-25 Thread Andre Vanha

Tobi,
it sounds like you're trying to use ejb's deployed in your orion server from
a stand-alone java app, and you want the communication channel between your
app and the orion server to be encrypted.  

Athough I'm not sure it'll work, you might want to look at Orion's RMI-HTTP
tunnelling.  It enables RMI requests to run over http.  If you then install
a secure certificate and enable https you might be enable to tunnel RMI over
HTTPS, securing your channel.

Although there is a document (not very informative) on how to enable
RMI-HTTP tunneling the one for RMI-HTTPS says To be written.  Sounds like
it's possible but you might have to do some hacking at it to get it to work.


The docs can be found here:
http://www.orionserver.com/docs/index.html

-Original Message-
From: Tobias Streckel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 7:39 AM
To: Orion-Interest
Subject: ...need urgent help!


Hello,

how can I make an coded connection between orion an my standalone java
client?

I think I must use the jce but how?

Thanks

Tobi





RE: IIS, Orion, virtual host

2001-04-25 Thread Hani Suleiman

Sounds like either both machines are binding to the same IP, or one or the
other is binding to the stack and not the IP you're specifying.

Hani

On Wed, 25 Apr 2001, olivier wrote:

 this is the error message I have:
 Error starting HTTP-Server: Address in use: JVM_Bind
 
 
 -Original Message-
 From: Ron White [mailto:[EMAIL PROTECTED]]
 Sent: 25 April 2001 13:22
 To: Orion-Interest
 Cc: [EMAIL PROTECTED]
 Subject: RE: IIS, Orion, virtual host
 
 
 What exactly is the error message? There are a couple of different ones
 pertaining to different config files.
 
 Thanks,
 Ron White
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of olivier
 Sent: Wednesday, April 25, 2001 3:51 AM
 To: Orion-Interest
 Subject: IIS, Orion, virtual host
 
 
 Hi,
 
 For some reason, I have set 2 IP addresse to my machine (NT). x.x.x.20 and
 x.x.x.21. (modification in the connection setting and the hosts file)
 I have configured IIs to use x.20, on port 80, and Orion x.21 on port 80.
 Is is because the port are the same that I can't start both of them at the
 same time (they complain that the address is in use).
 
 Or is it possible and I don't know how to do it ???
 
 Thanks,
 
 olivier
 
 
 
 





JOKE RE: Orion support company

2001-04-25 Thread Mike Cannon-Brookes

Okok everyone - for those confused. Orion did NOT get bought by BEA.

JoeO was just making a joke, which obviously quite a few people missed.

Call it a late April fools prank ;)

REPEATING: Orion has not been bought by BEA.

-mike

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Robert S.
 Sfeir
 Sent: Thursday, April 26, 2001 4:33 AM
 To: Orion-Interest
 Subject: RE: Orion support company


 At 11:37 AM 4/25/2001 -0400, you wrote:
  Orion's web site is still up? Every time I go to
 www.orionserver.bea.com,
  it comes back with an error.

 What's orionserver.bea.com?  Dude how about www.orionserver.com, I didn't
 know BEA bought Orion... or did I miss some crazy post somewhere?

 R




 Robert S. Sfeir
 Director of Software Development
 PERCEPTICON corporation
 San Francisco, CA 94123
 w - http://www.percepticon.com/
 e- [EMAIL PROTECTED]
 t - (415) 749-2900 x205








Unknown Source (2nd attempt)

2001-04-25 Thread Eric Knight

We have our project happily working with the web component and the ejb
components
living on a single machine. We'd now like to separate them, each on separate
Orion boxes.
We tried following some of the explanations on the Orion mailing list
archive, but the 
ejb machine complains loudly about a NullPointerException - 
at ObjectInputStream.InputClassDescription (Unknown Source) when we start up
the web machine.
So it seems the client machine is trying to connect to the ejb machine but
it's failing for some reason...

We made the following settings on the client machine:

in the orion-application.xml file for the web deployment we add the
following line:
ejb-module remote=true path=EJBCOMP / (EJBCOMP is the name of the ejb
component)

and this to the rmi.xml file:
server host=n.n.n.n username=admin password=123/
where n.n.n.n is the machine with the ejb component.

the username and password seem to be the default admin info in the 
principals.xml file.

What are we missing? Are we supposed to register the client with the ejb
host
somehow besides a username and password?

Thanks very much!

---
Eric Knight
Ninth House Network
[EMAIL PROTECTED]






Re: Problem accessing EJB from client

2001-04-25 Thread Earl Marwil

The lookup must be in the same named application as the ejb server, so the 
provider url must include the application name like ormi://localhost/app_name

This is the most likely cause of a NameNotFoundException.

At 19:45 4/23/2001 +0100, you wrote:
Hi,

I am successfully accessing my Session Bean from my servlets (servlet and
EJB are packaged in an EAR).
   Context ctx = new InitialContext();
   Object ref  = ctx.lookup(UserManager);
   UserManagerHome home = (UserManagerHome)PortableRemoteObject.narrow
(ref,user.ejb.UserManagerHome.class);
   UserManager userManager = home.create();

I would like now to access the EJB another client (another JVM).
My client is initialized like this:

 ht.putContext.INITIAL_CONTEXT_FACTORY,
 com.evermind.server.rmi.RMIInitialContextFactory);
 ht.put(Context.PROVIDER_URL, ormi://localhost/);
 ht.put(Context.SECURITY_PRINCIPAL, admin);
 ht.put(Context.SECURITY_CREDENTIALS, admin);

 Context ctx = new InitialContext( ht );

But when I do:
   Object ref  = ctx.lookup(UserManager);

I have :
 [junit] BEFORE LOOKUP
 [junit] javax.naming.NameNotFoundException: UserManager not found
 [junit] at com.evermind.server.rmi.RMIContext.lookup(JAX)
 [junit] at
javax.naming.InitialContext.lookup(InitialContext.java:350)

Is there something obvious I am missing ??

Thanks,

Olivier





Re: ...need urgent help!

2001-04-25 Thread Streckel

Okay Okay :-))

I'm using a standalone Java Client to connect the orionserver over the
network.
I want to use crypto. between client and orionserver.

Thanks again

tobi


- Original Message -
From: Dean Parker [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, April 25, 2001 7:34 PM
Subject: RE: ...need urgent help!


 A few more details please. Do you want to encode transmission from the
Orion
 server to a standard java application sitting on another node in a single
 corporate LAN? Why? That would be no different than all of the other
normal
 LAN data flowing around in a corporation. If you want to encode
transmission
 from an app server to a java client over the general Internet, you might
try
 making your java app into an RMI server, then save the stub and skeleton
 files in the app server classpath. This will allow you to do a lookup of
the
 RMI server from the app server. You can then use JCE to generate a
symmetric
 key shared between the app server and the rmi server. Just encode your
data
 before sending it to the RMI server and decode it when it arrives.

 The actual details of all this is what I get paid for, and I don't feel
like
 typing that much.

 :-)


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Tobias
 Streckel
 Sent: Wednesday, April 25, 2001 9:39 AM
 To: Orion-Interest
 Subject: ...need urgent help!


 Hello,

 how can I make an coded connection between orion an my standalone java
 client?

 I think I must use the jce but how?

 Thanks

 Tobi