RE: Back to basics

2000-09-27 Thread Magnus Rydin
Title: RE: Back to basics This list is full of references to the Orion Primer and Orion CMP Primer, check it out. -Original Message- From: Duwayne [mailto:[EMAIL PROTECTED]] Sent: den 27 september 2000 01:03 To: Orion-Interest Subject: Back to basics I am just getting

SV: Cascade Delete

2000-09-27 Thread Klaus . Myrseth
Cascading delete is something that some database servers support, so far i havent seen anywhere that Orion is to support that in the buissiness layer. What you can do is make your own ejbRemove implementation that will do a cascading delete in a beanmanaged Entity bean. Klaus Myrseth

Orionserver and RMI Over IIOP support

2000-09-27 Thread Giorgio Angiolini
We are going to evaluate some application server (J2EE Compliant). We have a question . What about the RMI Over IIOP support of orionserver ? Thank's in advance ! Giorgino e Silvietta (A.K.A. Giorgio Angiolini and Silvia Sartoris) Ciao !

Re: Cascade Delete

2000-09-27 Thread Stefan Frank
Take a look at the ejb2.0-Specification(e.g. http://www.sdmagazine.com/uml/thinking/s0010to.shtml): Things like Dependent Objects have become a little bit clearer, and so it became clearer, what a cascading delete on the object-level means. greetings Stefan Frank - Original Message -

Where to put orion-ejb-jar.xml in the jar file

2000-09-27 Thread Goel, Deepak
Hello, I have been able to successfully deploy some CMP EJBs on Orion server. The issue is that I have to copy the orion-ejb-jar.xml file to the application-deployments directory if I change this file. Is it possible to include this file in the jar file for EJBs. I tried adding this file to

Caching and object pooling in Orion

2000-09-27 Thread Goel, Deepak
Hello everyone, This question has been asked before in this mailing list but there has been no answer yet. I hope that there is some response this time. The questions are: 1. Does Orion implement EJB object caching? If yes, I'll appreciate some details on what has been implemented. 2. I want to

FW: Primary Key problem

2000-09-27 Thread Goel, Deepak
Hi Amir, I'm interested in finding how were you able to make Orion work with JDBC-ODBC layer. I was able to do it but I keep on getting error from the ODBC driver "Connection is busy with results from the previous statement". This I have seen to be a limitation of SQL Server driver, not of Orion

Hashtable mapping

2000-09-27 Thread Mikko Kurki-Suonio
Hi, I have a little trouble using OR-mapping for fields of type java.util.Hashtable. I'm using the fieldname_keyType... trick to give Orion clues about the stored values, which are just simple strings. Orion initially seems to generate the intermediate code ok, but a little later on it

Re: Where to put orion-ejb-jar.xml in the jar file

2000-09-27 Thread Klaus Thiele
Hello, I have been able to successfully deploy some CMP EJBs on Orion server. The issue is that I have to copy the orion-ejb-jar.xml file to the application-deployments directory if I change this file. Is it possible to include this file in the jar file for EJBs. I tried adding this file to

RE: Cascade Delete

2000-09-27 Thread Lopez Esteban
-Mensaje original- De: Stefan Frank [SMTP:[EMAIL PROTECTED]] Enviado el: Miércoles, 27 de Septiembre de 2000 06:29 a.m. Para: Orion-Interest Asunto: Re: Cascade Delete Take a look at the ejb2.0-Specification(e.g. http://www.sdmagazine.com/uml/thinking/s0010to.shtml):

File permissions

2000-09-27 Thread Lopez Esteban
Hi All I have a servlet that uses a class to read a property file, I am using a BASIC logging for my web application and I can't read the property file because I don't have read permission. The server throws the follow exception: 500 Internal Server Error

Associating SSL certs with appropriate site

2000-09-27 Thread Dale M. Boresz
To any SSL guru's: I have two (servlet/jsp) web sites set up (CompanyA and CompanyB), with each site capable of being accessed normally and via SSL. I have a certificate for each site, and both certificates are contained in a common "keystore". I am unable to persuade the Orion server to

RE: EJB example needed

2000-09-27 Thread Lynch Wu()
Title: Hi Magnus Thanks for your valuable reply. But Orion only teaches how to deply the ATM app,not how to build it. I've tried to search the mail list archive, too. Thousands of them are EJB-related. I'll try to figure it out, anyway. But including the steps of building such an app in

RE: EJB example needed

2000-09-27 Thread Lynch Wu()
Title: Sorry. Guess it's www.znerd.demon.nl/orion-primer

RE: EJB example needed

2000-09-27 Thread Magnus Rydin
Title: Hi again, the Orion Primer and CMP Primer is just that. The ATM will be fully documented in the future, but will never have the purpose of showing how to develop applications. It will be aimed at showing the latest additions to Servlets/JSP/EJB as they come along. Check out the

methodException

2000-09-27 Thread Tom Klaasen
Stumbled across Yet Another Obscure Error Message. Does anybody has any idea what this error message means, and what can be done about it? It seems to me that a variable is used that is not defined, but since this is generated code, I don't understand why the variable is not defined... Any help

Re: Caching and object pooling in Orion

2000-09-27 Thread KirkYarina
I'm also like to hear the answers - we're also seeing an apparent database write per CMP bean reference. At this point our test programs (not our real application...) are clients that access entity beans directly, rather than going through a session bean facade. We've speculated that the

Re: Associating SSL certs with appropriate site

2000-09-27 Thread Sanjay
Hi Dale, Well I have a similar problem where in I have incorporated global server certificate which comes in two part( two certificates) but it just takes up the private key in CSR rather than the trusted certificates . contact Orion people (not by mail but by phone as they dont response fast on

Re: referencing Counter in counter.jar - how?

2000-09-27 Thread Stefan Arentz
On Wed, Sep 27, 2000 at 03:26:07PM +0200, Stefan Arentz wrote: I'm stuck with the following error: javax.ejb.CreateException: Naming Exception: Counter not found in Photo Bean From PhotoBean.java I do: newId = CounterUtils.getNextID("java:comp/env/Counter","Photo"); Nevermind!

Can't set QueueReceiver for TemporaryQueue - Invalid Queue Exception

2000-09-27 Thread Cathleen Dull
Help - I am stuck! Has anyone used a TemporaryQueue on Orion? I get an Invalid Queue Exception when trying to create a QueueReceiver for a TemporaryQueue. The exception and the QueueTestSender and QueueTestReceiver classes are attached below. The error occurs when I run the QueueTestSender,

Re: FW: Primary Key problem

2000-09-27 Thread Tony Abbott
AFAIK the JDBC-ODBC bridge is single threaded - that's probably what you were running into... -t On Wed, Sep 27, 2000 at 06:20:48AM -0400, Goel, Deepak wrote: Hi Amir, I'm interested in finding how were you able to make Orion work with JDBC-ODBC layer. I was able to do it but I keep on

Re: ONe - one dependent relation - orion bug?

2000-09-27 Thread Nick Newman
I reported this in Bugzilla as #45, #46. (I don't know how it got there twice!) Nick At 04:07 PM 9/26/00 -0700, you wrote: Hi, whenever i try to persist a 1-1 relationship between a bean and dependent class i get the following exception during deployment Auto-deploying Cart

Re: referencing Counter in counter.jar - how?

2000-09-27 Thread alexchud
HI, newId = CounterUtils.getNextID("java:comp/env/Counter","Photo"); should be newId = CounterUtils.getNextID("java:comp/env/ejb/Counter","Photo"); You have even defined it right in your descriptor :).. Alex. :) - Original Message - From: Stefan Arentz [EMAIL PROTECTED] Date:

Re: Cascade Delete

2000-09-27 Thread Nick Newman
Hi, If you are using EJB 2.0 then (according to the draft specs) it is up to you to decide if dependent objects are deleted or not. However, if you are using EJB 1.1 and are storing a Collection of things in an Entity bean, then IMHO the container MUST delete the dependent objects along with

Re: Caching and object pooling in Orion

2000-09-27 Thread Tony Abbott
I'd also like to know a bit more about how the caching works. As for all those "unnecessary" database writes - I guess they're there to help ensure data integrity in the event of a crash... You can eliminate many of them though - from the FAQ: Q: I am using CMP Entity beans and call many

Re: Caching and object pooling in Orion

2000-09-27 Thread BAC10000
I have experienced the same thing too. Would be very helpful if someone from orion team could provide some info on this.

RE: Cascade Delete

2000-09-27 Thread Reddy Krishnan
Hi Klaus, Thanks for the reply. As per EJB2 spec there is a createDependentObject abstract method for each dependent object but no deleteObject. In which case to remove the dependent objects we have to write some JDBC code and call it in BEans ejbRemove method. If i were to do that the

Re: Caching and object pooling in Orion

2000-09-27 Thread KirkYarina
I should have mentioned that I've already added isModified() to our entity beans; sorry. I'm seeing an ejbStore on every setXxxx call; isModified() eliminated the ejbStore that was occurring on every getter. My previous assumption that the container could tell gets from sets and not store

Error while trying to deploy

2000-09-27 Thread Chris Evans
Hey, has anybody got an idea about this error??? Auto-deploying guid-factory-ejb.jar (No previous deployment found)... java.lang.ArrayIndexOutOfBoundsException at com.evermind.server.ejb.compilation.fx.af1(JAX, Compiled Code) at com.evermind.server.ejb.compilation.fv.sm(JAX) at

RE: Can't set QueueReceiver for TemporaryQueue - Invalid Queue Exception

2000-09-27 Thread Jai Jones
I'm unable to use Temporary Queues either. It definitely looks like a bug. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Cathleen Dull Sent: Wednesday, September 27, 2000 11:53 AM To: Orion-Interest Subject: Can't set QueueReceiver for TemporaryQueue

One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Dave Ford
I have one physical machine with one IP address. This one ip address is associated with three domain names. Each domain name should pull up a different web-site. I currently have 3 web-sites defined in server.xml: web-site path="c:\@web\@OrionConfig\web-site-1.xml" / web-site

RE: Cascade Delete

2000-09-27 Thread Reddy Krishnan
Hi, Regarding the same cascade delete problem. I have a clearFields() method which empties each of the collection holding relationships or dependent objects. If i call this from the client the objects gets deleted properly. But if i call this inside the ejbRemove() ( call clearFields() then

Re: Associating SSL certs with appropriate site

2000-09-27 Thread Dale M. Boresz
"Van Dooren, Damian" wrote: You should be using two different files for your keystores, on for CompnayA and one for CompanyB. -Original Message- From: Dale M. Boresz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 27, 2000 8:03 AM To: Orion-Interest Subject:

Problem with PostFileInputStream

2000-09-27 Thread Jason von Nieda
I am trying to read a HTTP uploaded file using FilePostParser and PostFileInputStream. I can read the file byte by byte, but if I try to read it in chunks I get an AIOB exception. Here's my code with a comment on the line that blows up. More commentary below. - Hashtable params = new

Re: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Jason von Nieda
Your second example is the correct one. You can also set the host value to "[ALL]" to make things easier. - Original Message - From: "Dave Ford" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, September 27, 2000 2:33 PM Subject: One IP - 3 Sites - 3 Domain Names

Re: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Karl Avedal
Hello Dave, Dave Ford wrote: I have one physical machine with one IP address. This one ip address is associated with three domain names. Each domain name should pull up a different web-site. I currently have 3 web-sites defined in server.xml: web-site

Re: Error while trying to deploy

2000-09-27 Thread Karl Avedal
Hello Chris, Looks like it's either a bad error message from Orion or some other bug. Either way, can you submit it to Bugzilla and add an ejb-jar that demonstrates the behaviour as an attachement? Regards, Karl Avedal Chris Evans wrote: Hey, has anybody got an idea about this error???

RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Mike Cannon-Brookes
The second one here is correct. I have 12 domains running on one IP and it works perfectly. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Ford Sent: Thursday, September 28, 2000 5:33 AM To: Orion-Interest Subject: One IP - 3 Sites - 3

RE: Cascade Delete

2000-09-27 Thread Nick Newman
I don't think it's wrong to call business methods from ejbRemove. See bugzilla bug #37. Nick At 12:53 PM 9/27/00 -0700, you wrote: Hi, Regarding the same cascade delete problem. I have a clearFields() method which empties each of the collection holding relationships or dependent objects. If

RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Andre Vanha
As far as I know what you're trying to accomplish is impossible. A web server binds to an IP addresses. The domain names are just pointers to the same IP address. So in effect your're trying to run 3 webserver on the same exact IP. You could bind to different ports, but then your URLs would

RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Sarathy Mattaparti
Hi, I experienced the same problem and i couldn't find the solution. A suggestion.. 1. install iis or apache as main webserver and configure the virtual hosts. 2. run orion as a second server on different port and you know from there.. Sarathy As far as I know what you're trying to

RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Stanislav Maximov
This is not correct. It is absolutely possible to have several hosts on one IP address. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andre Vanha Sent: Thursday, September 28, 2000 2:07 AM To: Orion-Interest Subject: RE: One IP - 3 Sites - 3

RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread David Morton
What are you guys talking about? I have orion running 10 web sites on same IP. Use Virtual-Hosting.Did i misunderstand your question? http://www.orionserver.com/docs/web-site.xml.html virtual hosting works by checking the host in the request.if it sees the virtual-host

RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Duffey, Kevin
Actually, Orion has the ability to work with Virtual Domains. I forget exactly how this works, but you can use one IP to bind to many domain names, by setting up each domain as a virtual domain. This is much like how ISPs allow each of their clients to have their own www.mycompany.com route to

Re: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Christof Baumgärtner
"Duffey, Kevin" wrote: Actually, Orion has the ability to work with Virtual Domains. I forget exactly how this works, It's pretty easy. Starting with browser versions 3 the browsers included not only the URI (like it is specified in HTTP/0.9 already) but the full URL into the HTTP request.