BUG: EJBHome.remove(Object) fails to remove session bean...

1999-12-26 Thread Alex Paransky
Section 5.3.2 of the ejb1_1-spec.pdf talks about being able to call EJBHome.remove(...) api to remove a session bean. When a remove is added to the Cart in the sample ejb tutorial, the following exception is produced: System/communication error: IO Error: Cannot invoke remove(Object primaryKey)

Are session beans reused?

1999-12-26 Thread Alex Paransky
I created a stateless session bean. My client creates the bean, and then calls remove on the bean. Every time the bean is created by the client, a new session object is created on the server (I know, because of a System.out.println in the constructor of the bean). I thought sessions were

Deploying EJB bean, does not bind home in to naming context...

2000-03-20 Thread Alex Paransky
I created an EJB bean, and deployed it. E:\work\orionjava -jar d:\java\orion\orion.jar Auto-deploying ClassType... done. Orion/0.9.4 initialized Since I am not getting any error messages, I assume that everything went fine. After this, I try to run the client to display the names of beans

RE: Deploying EJB bean, does not bind home in to naming context...

2000-03-20 Thread Alex Paransky
jb.ClassType" location="SHIT/ClassType" wrapper="EntityHomeWrapper1" table="AUSTXDEV.CLASS_TYPES" /entity-deployment /enterprise-beans assembly-descriptor default-method-access security-role-mapping impliesAll="t

Please help, with deploying EJB bean....

2000-03-22 Thread Alex Paransky
Everything is deployed but, the home is not bound to the registry, or I cannot find the home in the registry. What configuration file do I need to check? Thanks. -AP_

RE: Please help, with deploying EJB bean....

2000-03-22 Thread Alex Paransky
od-name*/method-name /method trans-attributeNotSupported/trans-attribute /container-transaction /assembly-descriptor /ejb-jar What else do I need to do? Are there any other files to configure? Thanks -AP_ -Original Message- From: Alex Paransky Sent: Wednesday, Ma

RE: Frustration

2000-03-22 Thread Alex Paransky
Join the club. I have been trying to get some help on deploying a simple EJB Bean for the last 3 days. There are no messages of exceptions from ORION. Everything appears to deploy correctly, but I cannot find the 'home' bound in to the naming space. At this point, I don't have the time,

Application-client xml not used for name resolution...

2000-03-27 Thread Alex Paransky
I created and deployed an ejb using ejb-jar.xml. I created an application-client.xml. However, no matter what name I use in ejb-ref-name tag, I am unable to bind to it. I am able to bind directly to the name given in the ejb-jar.xml. For example if ejb-jar.xml contains:

RE: JNDI Question

2000-03-27 Thread Alex Paransky
Change deactivated="true" to deactivated="false" in principals.xml. -AP_ -Original Message- From: Frank Apap [mailto:[EMAIL PROTECTED]] Sent: Monday, March 27, 2000 2:21 PM To: Orion-Interest Subject: JNDI Question I am trying to make a program that connects to my database using

JNDI naming confusion...

2000-03-27 Thread Alex Paransky
When my jndi.properties contains: java.naming.provider.url=ormi://localhost, I can bind to "jdbc/DefaultDS", but not any of my application objects When my jndi.properties contains: java.naming.provider.url=ormi://localhost/citysearch, I can bind to application objects, but not to jdbc/DefaultDS.

Placing resources in to Orion/JNDI...

2000-03-28 Thread Alex Paransky
I have a resource which needs to be available for all the EJB objects to use. I would like to create this resource and bind it in to JNDI context. This is a singleton resource. I am not sure of how to accomplish this with Orion. In other servers, there is a way to execute some "startup" code

Starting transaction on client...

2000-03-31 Thread Alex Paransky
I am trying the following code to start a client transaction: Context context = new InitialContext(); UserTransaction utx = (UserTransaction) context.lookup("java:comp/UserTransaction"); utx.begin(); I get an exception from Orion: javax.naming.NameNotFoundException:

Find by primary key, does not seem to work as expected...

2000-03-31 Thread Alex Paransky
The method call to findByPrimaryKey to a CMP bean results in: ejbFindByPrimaryKey followed by ejbActivate followed by ejbLoad followed by ejbStore I am a bit confused, why would ejbActivate and ejbStore be called. Since this is right after server restart, there should not be an ejbActivate,

No examples of client demarcated transactions...

2000-03-31 Thread Alex Paransky
I just did a grep for all the source code which came with Orion, and there are NO examples of client demarcated transactions. Would someone be so kind to post an example of how a client can obtain a transaction? I tried to sample code in the J2EE spec, but it did not work. Thanks. -AP_

Using primkey-field produces errors...

2000-04-03 Thread Alex Paransky
ERROR: Auto-deploying com/citysearch/ejb/ClassType... Error compiling file:/E:/work/citysearch/com/citysearch/ejb/ClassType/: Variable contained illegal space Here is how my ejb-jar.xml looks like, when I remove the primkey-field.../primkey-field I get the above mentioned error. When I don't

Using a char field in a CMP produces deployment errors...

2000-04-03 Thread Alex Paransky
When I use a "char" as one of the fields in my CMP, I get an error from orion: EntityBeanWrapper0.java:986: Method getChar(int) not found in interface java.sql.ResultSet. this.object.namespace = set.getChar(3); ^

Is CMP is useless?

2000-04-03 Thread Alex Paransky
Is it my imagination, but the minute any kind of complex finding is required on an entity bean, CMP becomes useless. For example, I have entities called EMPLOYEE, PERSON, and SEX (M/F/Other you know). EMPLOYEE is a PERSON with SEX. I have a function in EmployeeHome, findFemaleEmployees().

RE: Is CMP is useless?

2000-04-04 Thread Alex Paransky
PROTECTED] cc: Subject: RE: Is CMP is useless? I don't knowI never thought Employees and sex mixed that well anyways -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Monday, April 03, 2000 9:04 PM To: Orion-Interest Subject

Time-out and deadlock exceptions while running two clients accessing the same session bean...

2000-04-05 Thread Alex Paransky
Orion 0.9.4, Windows NT, JDK 1.2.2-001 I have a Session bean which executes a finder on a BMP entity bean to return an Enumeration to the client. I start two clients, which create a Session bean, and call the method which starts the whole thing rolling. I notice, that only ONE client is

How do I get an instance of javax.transaction.TransactionManager?

2000-04-05 Thread Alex Paransky
I am trying to interface TOPLink with Orion. The last thing I need to do is get an instance of javax.transaction.TransactionManager. How do I do this in Orion? Thanks. -AP_

Pretty much a show stopper...

2000-04-06 Thread Alex Paransky
Does any one know how to get the TransactionManager from Orion? -AP_

RE: Admin Tools

2000-04-07 Thread Alex Paransky
A good way to learn what the XML files do, is look at the J2EE specification. There are standard files, which are not really documented in Orion, but are documented to a great extend in the J2EE specification. Then there are specific orion deployment files. These are not documented too well,

Multiple clients calling session bean get exceptions after a while...

2000-04-07 Thread Alex Paransky
I have a simple Session BEAN with 1 method which prints a message to the server's console. I start two clients, each looks up the home and creates a new session bean. They start calling the function in a tight loop. After some time (100 to 500) calls one of the client stops calling. A bit

The deadlocks in 0.9.4 appear to be fixed in 0.9.6 eom

2000-04-10 Thread Alex Paransky

RE: Orion 0.9.6 [was: Re: Error in ejbPassivate: java.lang.InternalError: Werent current caller]

2000-04-11 Thread Alex Paransky
Use java -jar autoupdate.jar in the orion directory. -AP_ -Original Message- From: Garret Wilson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 11, 2000 7:51 AM To: Orion-Interest Subject: Orion 0.9.6 [was: Re: Error in ejbPassivate: java.lang.InternalError: Werent current caller]

RE: Problem retrieving dependents after Orion restart

2001-03-05 Thread Alex Paransky
ng name="id" persistence-name="ownerId" / /fields /cmp-field-mapping /entity-ref /cmp-field-mapping /properties /cmp-field-mapping /value-mapping /collection-mapping /cmp-field-mapping ejb-ref

RE: Problem retrieving dependents after Orion restart

2001-03-05 Thread Alex Paransky
one know what the problem is? Thanks. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Monday, March 05, 2001 6:13 PM To: Orion-Interest Subject: RE: Problem retrieving dependents after Orion restart Here is an excerpt from

RE: Problem retrieving dependents after Orion restart

2001-03-05 Thread Alex Paransky
of entities can have phones, but since all the entities are identified with the same type of primary key, I can store that in the 'ownerId' field in the phone table. Thanks. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Monday, March

RE: Problem retrieving dependents after Orion restart

2001-03-06 Thread Alex Paransky
the same??? Anyways, it seems Orion is quite non-informative about semantical errors, so I have entered a bug report about this issue (#349). R. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: 6. marts 2001 04:59 To: Orion-Interest

RE: Problem retrieving dependents after Orion restart

2001-03-06 Thread Alex Paransky
one. Jeff -Original Message----- From: Alex Paransky [mailto:[EMAIL PROTECTED]] Sent: Monday, March 05, 2001 10:37 PM To: Orion-Interest Subject: RE: Problem retrieving dependents after Orion restart Has any one been able to get the Entity(1) to Dependent(N) relationship working? I a

Using Orion with Apache...

2001-03-07 Thread Alex Paransky
If I follow the documentation on http://orionsupport.com and configure Apache as reverse proxy, how do I deal with SSL? In other words, if user is trying to access https://www.bigcorp.com/myapp/index.jsp which is configured to proxy to ORION, do I still need to install the SSL on the Orion

RE: Using Orion with Apache...

2001-03-07 Thread Alex Paransky
this? Thanks for your help. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Wednesday, March 07, 2001 12:10 AM To: Orion-Interest Subject: Using Orion with Apache... If I follow the documentation on http://orionsupport.com and configure

Implementing CMP finders with non-native argument types...

2001-03-11 Thread Alex Paransky
I am creating a finder which takes a type of Target object to find. So, my home interface looks like this: Collection findByTarget(Target o) The SQL I want to ultimately generate should look something like this: select * from myTable where id = ?1.getId(); Please note, that what's

EJB encapsulation (data hiding) pattern... Is there such a thing?

2001-03-11 Thread Alex Paransky
I am trying to model a Person having many Phones with two Entity beans. Person and Phone are both entity beans. But I do not want to allow anyone to manipulate the Phone directly. I only want Person to be able to: Person.addPhone(PhoneValue) Person.removePhone(PhoneKey)

How to use CMP to find by custom types...

2001-03-15 Thread Alex Paransky
I am trying to implement Collection findByTarget(Target t) throws FinderException, RemoteException, method using Orion's CMP. My target is defined as follows: public class Target implements java.io.Serializable { private long id; private String for; ... public long getId() {return

Exception occurs when client is first started after orion restart...

2001-03-15 Thread Alex Paransky
I start Orion 1.4.7 and then run my client. I get an exception. I run the client again, this time it works correctly. The client does not have any persistent state, so the "SAME" code and functions are executed every time. The following trace shows, the first time I run, and then the second

Common access method for homes...

2001-03-15 Thread Alex Paransky
I am trying to create a class than can be used to access the home of a particular bean. For example, if I have an EJB called UserEntity, I would create a special class called UserEntityHomeFinder which can be used to easily obtain a home: public class UserEntityHomeFinder { private static

Problems with JNDI lookups of ejb-ref-name defined in application-client.xml from a client application...

2001-03-15 Thread Alex Paransky
I have a client application which has META-INF with the following application-client.xml definition: application-client ejb-ref ejb-ref-nameejb/id/ejb-ref-name ejb-ref-typeSession/ejb-ref-type homecom.indnet.model.id.IdSessionHome/home remotecom.indnet.model.id.IdSession/remote

RE: Problems with JNDI lookups of ejb-ref-name defined inapplication-client.xml from a client application...

2001-03-16 Thread Alex Paransky
o ejb-link where both are NOT the same string? Thanks. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Thursday, March 15, 2001 2:11 PM To: Orion-Interest Subject: Problems with JNDI lookups of ejb-ref-name defined in application-clien

RE: Problems with JNDI lookups of ejb-ref-name defined inapplication-client.xml from a client application...

2001-03-16 Thread Alex Paransky
b-ref-name defined in application-client.xml from a client application... Did you try looking up "java:comp/env/ejb/id" ? WR -Ursprungligt meddelande- Frn: Alex Paransky [ mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ] S

RE: Problems with JNDI lookups of ejb-ref-name defined in application-client.xml from a client application...

2001-03-16 Thread Alex Paransky
prungligt meddelande- Från: Alex Paransky [mailto:[EMAIL PROTECTED]] Skickat: den 15 mars 2001 14:11 Till: Orion-Interest Ämne: Problems with JNDI lookups of ejb-ref-name defined in application-client.xml from a client application... I have a client application which has META-INF w

RE: Problems with JNDI lookups of ejb-ref-name defined inapplication-client.xml from a client application...

2001-03-16 Thread Alex Paransky
your problem. From page 377 of Enterprise JavaBeans, 2nd Edition (Oreilly): "The ejb-link value must match one of the ejb-name values declared in the same deployment descriptor." That is, it's only valid if you're using an ejb-jar.xml to define multiple beans. Jeff Hubbach. Alex Para

JNDI problems from client applications!!!

2001-03-16 Thread Alex Paransky
This error message occurs when I have an application-client.xml without any ejb-ref entities in there and orion server has been restarted prior to start up of client. The second time around client works correctly. Exception in thread "main" javax.naming.NamingException: Disconnected: Unknown c

Questions regarding 1-n bi-directional relationships...

2001-03-16 Thread Alex Paransky
I have an entity called Account, and User. One Account can have many Users (bi-directional relationship). When I add a new User to the Account, the relationship table gets updated, but the AccountId field in the User table is not updated. Is this normal? It thought that

RE: Orion Memory Configuration

2001-03-22 Thread Alex Paransky
Use java's runtime memory options to configure (-Xm -Xs). -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of McLellan, Richard Sent: Thursday, March 22, 2001 7:23 AM To: Orion-Interest Cc: Hogan, John Subject: Orion Memory Configuration Hello all,

RE: Question regarding servers as clients to other servers...

2001-03-22 Thread Alex Paransky
as clients to other servers... Hey Alex...How are you Have you tried in WEB-INF/classes/META-INF/application-client.xml Claudio -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Thursday, March 22, 2001 3:58 PM To: Orion

RE: Question regarding servers as clients to other servers...

2001-03-22 Thread Alex Paransky
PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Thursday, March 22, 2001 3:58 PM To: Orion-Interest Subject: RE: Question regarding servers as clients to other servers... I have one application talking with another on a different server. In the first application I try

RE: Question regarding servers as clients to other servers...

2001-03-22 Thread Alex Paransky
PROTECTED]]On Behalf Of Alex Paransky Sent: Thursday, March 22, 2001 5:25 PM To: Orion-Interest Subject: RE: Question regarding servers as clients to other servers... Hi Claudio, what makes Orion look into WEB-INF/classes? To find the META-INF? Thanks -AP_ -Original Message-

What does domain was null message mean in the following exception???

2001-03-22 Thread Alex Paransky
java.lang.NullPointerException: domain was null at com.evermind.server.rmi.RMIServer.fw(JAX) at com.evermind.server.rmi.RMIServer.e7(JAX) at com.evermind.server.rmi.RMIInitialContextFactory.getInitialContext(JAX) at

Specification for java.naming.provider.url...

2001-03-23 Thread Alex Paransky
Orion's documentation talks about specifying the java.naming.provider.url in the following format: java.naming.provider.url=ormi://localhost/domain (application) At a different time, I was having a problem trying to connect one Orion Server (JSP) to another Orion Server using

RE: Performance problems...

2001-03-25 Thread Alex Paransky
What is the maximum number of connections that you have configured your database pool to? Could you be running out of connections? Are you properly releasing the connections back to the pool, and closing results set which might not be needed? During the time that the site is "frozen" (as you

RE: Does any one has a solution for the domain was null message???

2001-03-30 Thread Alex Paransky
The problem, is that I AM connecting to ANOTHER server from a client. It's just happends that the client is an Orion. Using ApplicationInitialContextFactory attempts to read META-INF/application.xml, but I need to specify ejb-ref, env-ref and other such entries which you cannot be put into

RE: JBoss verses Orion

2001-04-02 Thread Alex Paransky
I don't think that getting a NullPointerException when trying to use a feature is complaint. I feel that the support of such a product is almost as important as the product it's self. Any commercial company that cannot support it's users, will fail. If there is not enouph people to support the

Finder queries...

2001-04-02 Thread Alex Paransky
I have defined the following finder for the relationship (Account has many Users) - (User has One Account): query query-method method-namefindByAccountLogin/method-name method-params method-paramjava.lang.String/method-param method-paramjava.lang.String/method-param

RE: Help me please domain was nul message is killing me here...

2001-04-03 Thread Alex Paransky
me here... Alex - Is there any chance you could zip up a small amount of code that recreates your problem? You had better include examples of your orion config files too. Or at least if you could provide lots of information code snippets and the like - that would be great! Give us what you can and we

RE: Does any one has a solution for the domain was null message???

2001-04-03 Thread Alex Paransky
Earl, I was only replying to your message where you indicate: "I suggest you try the ApplicationInitialContextFactory instead of theApplicationClientInitialContextFactory in your situation." I was only saying that using ApplicationInitialcontextFactory will not work in my case. There is

RE: Does any one has a solution for the domain was null message???

2001-04-04 Thread Alex Paransky
Just like I can write a client that can connect to any server (after specifying proper values to new InitialContext), I should be able to do the same thing from any Java Code (with certain limitations). This should be regardless of where the Java code is running. Why should I get a

Various levels transaction support on Orion...

2001-04-06 Thread Alex Paransky
Somewhere I read that Orion does not support client starting transactions. Is my web-application considered a client? Can I start a transaction inside of my web-application? What if web application is running on a server different from my EJB application (using the RMI.XML configuration)?

Callbacks on session beans... are they legal?

2001-04-09 Thread Alex Paransky
Is it legal for session bean A to create session bean B, and pass it to session bean C so that C can call on B? For example, if A is acting as a controller, B is acting as a factory, and C is acting as an algorithm. So a controller needs to execute an algorithm which requires a factory as one

Home methods...

2001-04-09 Thread Alex Paransky
Does Orion support user home methods? I am trying to create a method in my session bean, but I get the following exception from orion: Error compiling file:/C:/work/individualnetwork/deployment/development/symbiosis/enterprise/ server/service/: Invalid session-EJBHome interface method defined

RE: Home methods...

2001-04-09 Thread Alex Paransky
Sorry, my bad. No home methods for sessions. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Monday, April 09, 2001 5:13 PM To: Orion-Interest Subject: Home methods... Does Orion support user home methods? I am trying

Slow performance with large EJB-JAR.XML file...

2001-04-11 Thread Alex Paransky
We have been putting all our beans in a single ejb-jar.xml. However, it's taking Orion noticably slower to deploy new changes. I am wondering what (if any) problems associated with splitting each bean into it's own ejb-jar.xml and treating it as an independent module. Any help would be

RE: W3C Log Format

2001-04-12 Thread Alex Paransky
Hitesh, if you look at the documentation located at http://www.orionserver.com/docs/web-site.xml.html you will notice that there are few options available for the formatting of the output log. Here is some text from this file: access-log format="$ip - $user - [$time] '$request' $status $size"

How to enable UserManager support for arbitrary user...

2001-04-13 Thread Alex Paransky
We have developed a web application with our own user/group schema. Creating a UserManager to map our schema seems pretty trivial. What we are NOT clear on is how to tell Orion that a particular user has logged in. For example, we start our application with a LOGIN.JSP page, which accepts user

RE: How to enable UserManager support for arbitrary user...

2001-04-13 Thread Alex Paransky
the session, find the User object which I stored in there, and execute this call with the user.login and user.password? Thanks. -AP_ -Original Message- From: Tim Endres [mailto:[EMAIL PROTECTED]] Sent: Friday, April 13, 2001 3:04 PM To: Orion-Interest Cc: Alex Paransky Subject: Re: How

RE: How to enable UserManager support for arbitrary user...

2001-04-14 Thread Alex Paransky
rManager, which can either be your class or one of the UserManagers that ship with Orion. DataSourceUserManager looks up password and group information in a table. Jeff -Original Message- From: Alex Paransky [mailto:[EMAIL PROTECTED]] Sent: Friday, April 13, 2001 3:20 PM To: Orion-Interes

RE: Null pointer bug?

2001-04-15 Thread Alex Paransky
Can you post some code? The code of your Control bean, and the code of the TestBean that you are creating. Also post the code for your primary key classes. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Bergstresser Sent: Sunday, April 15,

Does Orion support container managed relationships among entities inmultiple EJB-JAR files???

2001-04-27 Thread Alex Paransky
I am trying to breakup my one giant ejb-jar file into different multiple ejb-jar files, and I was wondering if Orion supports relationships between two Container Managed Entity beans in different ejb-jar files. Is there a section in the SPEC that talks about this? Thanks. -AP_

Is this a 1.4.8 bug??

2001-04-27 Thread Alex Paransky
The following exception occurs when I move to 1.4.8, but DOES NOT occur in 1.4.7: Exception in thread main com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: java.lang.InternalError: Was not in used mode at

Does any one else see any problems with latest PDF2?

2001-04-27 Thread Alex Paransky
into multiple, smaller, ejb-jar files for the purpose of managing and controlling change. With over 100 EJBs a single ejb-jar becomes very unmanageable. Are there any solutions to these problems? Thanks. Alex Paransky Individualnetwork.com

RE: ejb 2.0 proposed final draft #2 is out

2001-04-27 Thread Alex Paransky
Title: RE: ejb 2.0 proposed final draft #2 is out Ooops, my bad. -AP_ -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex ParanskySent: Friday, April 27, 2001 12:37 PMTo: Orion-InterestSubject: RE: ejb 2.0 proposed final draft #2 is

Can any one be so kind to help me with this problem...

2001-04-27 Thread Alex Paransky
In this example, I have followed a one-to-one unidirectional relationship to AddressEntity type. I seem to get a valid reference, but when I proceed to execute a method (AddressEntity.getId() in this case), I get NoSuchObjectException. The second time, it works correctly and I do not get an

RE: Advanced OR mapping

2001-04-30 Thread Alex Paransky
I have been able to do amazing things with Orion's OR mapping. What specific problem are you having? As you have described: Product - ProductType Product - Supplier - Country Product - Packing Unit Attribute - AttributeType Media - MediaType Price - Currency Price - ClientType Price - SalesTax

Colon missing from the Content-Location, in HTTP header...

2001-05-08 Thread Alex Paransky
We are looking at the header which orion returns, and it appears that there is a : missing after the http//. Is this a bug. Is there something I can do to put the colon after content location? HTTP/1.1 200 OK Date: Tue, 08 May 2001 16:52:18 GMT Server: Orion/1.4.7 Content-Location:

RE: Simple Java Doubts

2001-05-08 Thread Alex Paransky
1. Use synchronization with the synchronized keyword 2. Since a server cannot open an http port to the remote client, I don't think HTTP can be used from the server side to notify client of changes. Client would have to either: a. Use polling, by making http requests every so often b. Use

RE: Colon missing from the Content-Location, in HTTP header...

2001-05-08 Thread Alex Paransky
OOps, once more I spoke before looking. Orion 1.4.8 corrected this problem -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Paransky Sent: Tuesday, May 08, 2001 10:02 AM To: Orion-Interest Subject: Colon missing from the Content-Location

How to execute a SUM function???

2001-05-31 Thread Alex Paransky
I need to do something like this: select sum(price) from lineitem; I have an entity bean called LineItem, with a field called price (getPrice()/setPrice(float)). How can I make this work with Orion? Thanks. -AP_

Is ejbSelect supported in Orion 1.5.1???

2001-05-31 Thread Alex Paransky
I am trying to use ejbSelect method, but getting the following exception: Auto-deploying model (ejb-jar.xml had been touched since the previous deployment)... Error compiling C:\work\individualnetwork\deployment\development\symbiosis\enterprise\server \model: Illegal abstrac t method in

Question regarding usage of the transaction context...

2001-06-16 Thread Alex Paransky
In HTTP world a single HttpServletRequest ties together execution of multiple Servlets on the same http request. It is similar to the way a Transaction ties together multiple API calls to various EJB objects. Like a common thread, both HttpServletRequest and a Transaction meander through

Is location attribute always necessary in orion-ejb-jar.xml for properlookup operation?

2001-06-21 Thread Alex Paransky
Every time I deploy a bean, I seem to have to go into orion-ejb-jar and update every new ejb-ref-name with the location attribute indicating where on the naming tree the home can be found. If I don't do this, I get all kind of lookup errors. Is there a solution to this, or is this normal? -AP_

BUG: Show stopper!!!!! max-tx-retries

2001-06-22 Thread Alex Paransky
There seems to be a SERIOUS bug in Orion 1.5.2. It turns out that you cannot disable the max-tx-retries AT ALL!!! Setting it to 0 removes it as a TAG from orion-ejb-jar.xml. The next time around, it adds max-tx-retries=3. There is NO WAY to disable the max-tx-retries. This seems like a

How to reference arrays when creating finders in orion-ejb-jar.xml???

2001-06-30 Thread Alex Paransky
I have a home finder method with the following signature: Collection findByTypes(TypeEntity[] types) throws RemoteException; Is there a way to implement this method using CMP by either directly writing the query in ejb-jar.xml, or using orion-ejb-jar.xml method? I am using Orion 1.5.2.

RE: Question about port listener

2001-07-01 Thread Alex Paransky
Not everything using EJB has to BE an EJB. In your example, any kind of EJB would be a poor choice for a port listener, due to the passivation/activation constraints that you have to deal with. So: a. If you choose to create a stateless session bean, the container could create a number of

RE: Bi-directional N-to-N support does it work in orion?

2001-07-03 Thread Alex Paransky
it work in orion? Current OrionServer 1.5.2 is EJB2.0PFD1 compliant, not EJB2.0PFD2. Not speaking for the developers, but merely surmising, I would suspect that it will remain PFD1 until the spec is in final. No sense chasing a rabit down the hole! =) - scot Alex Paransky wrote: I read some

RE: best way to build a link to work in different deploymentconfigurations??

2001-07-20 Thread Alex Paransky
Instead of deploying on different path, how about deploying in a different website on a different port? -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Thompson Sent: Friday, July 20, 2001 8:02 AM To: Orion-Interest Subject: best way to build

RE: Disappearing env-entry-mapping from orion-ejb-jar.xml

2001-07-21 Thread Alex Paransky
That's strange, we have made extensive modifications to our orion-ejb-jar in the area of query specifications, and they seem to persist ok. The thing we could not get working is the max-tx-retry parameter keeps resetting to 3, but Magnus said it was fixed in the next release, 1.5.3 I assume.

Difference between default-web-app and web-app with root attribute??

2001-08-05 Thread Alex Paransky
Inside of default-web-site.xml, what is the difference between indicating: default-web-app application=default name=defaultWebApp / AND web-app application=default name=defaultWebApp root=/ / Is there a functional difference between these two specifications? Thanks. -AP_

having to specify location attribute in orion-ejb-jar.xml...

2001-08-06 Thread Alex Paransky
For some reason, I always have to specify the location= attribute on every ejb-ref-name in orion-ejb-jar.xml. If I don't do this, the beans cannot find each other through an ejb-ref tag. I am using the link tag in ejb-jar.xml, but that does not translate into a location attribute in

NullPointerException during deployment...

2001-08-08 Thread Alex Paransky
I just spent 3 hours tracking a NullPointerException which occured during deployment of an ejb-jar.xml (Orion 1.5.2 Windows 2000, JDK 1.3.1). For the benefit of everyone else: If you get a NullPointerException without any other messages from orion during deployment, check to make sure that any

RE: ORA-01000: maximum open cursors exceeded Exception

2001-08-14 Thread Alex Paransky
: 888-452-0399 textmsg: [EMAIL PROTECTED] -Original Message- From: Alex Paransky [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 6:51 PM To: Orion-Interest Subject: ORA-01000: maximum open cursors exceeded Exception We have been using the server more frequently now

RE: ORA-01000: maximum open cursors exceeded Exception

2001-08-14 Thread Alex Paransky
889 6840(R) VoquetteDelivering Sound Information -Original Message- From: Alex Paransky [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 6:51 PM To: Orion-Interest Subject: ORA-01000: maximum open cursors exceeded Exception We have been using the server more frequently now

RE: ORA-01000: maximum open cursors exceeded Exception

2001-08-15 Thread Alex Paransky
(); for example, causes an error (because rs == null for example) then the code would get thrown into the catch block and nothing else would get closed. At the very least I would remove the try - catch that is inside the finally block. Cheers, Dennis Alex Paransky wrote: We are not using any

RE: ORA-01000: maximum open cursors exceeded Exception

2001-08-15 Thread Alex Paransky
for example) then the code would get thrown into the catch block and nothing else would get closed. At the very least I would remove the try - catch that is inside the finally block. Cheers, Dennis Alex Paransky wrote: We are not using any direct connections to the database. We only use CMP

I think, I will start a support site too....

2001-08-22 Thread Alex Paransky
(in style of Andy Rooney) I see everyone is starting their support sites for Orion. I think it's a poor solution for something that's broken, mainly, this mailing list. How many support sites do we actually have now? Why is it such a problem to keep the mailing list up and running? Now, we

RE: List rant (was RE: Virtual DirecTory -- Help)

2001-08-26 Thread Alex Paransky
You are missing the point. The list is broken most of the time. You send your message at 6:21am, I get it at 7:32am. More than 1 hour later. Sometimes, I get at 2 hours later, 20 hours later, 24 hours later. Many times I don't get it at all. What good is it to have a list that you cannot

RE: External EJB Client

2001-08-28 Thread Alex Paransky
Make sure your default directory (the directory you are in) is JUST above the META-INF where the application-client.xml resides. So if you are in the default directory, and do a ls or DIR you will see META-INF. Then, start your client from this directory regardless of where the client is

RE: Design strategy

2001-10-01 Thread Alex Paransky
I am not sure if your analysis is quite correct. The Group(1)-User(*) relationship is not quite correct, since User might want to be in two groups at the same time. For example, John can be in the group of Chemistry Professor, as well as Substitute Teacher. Your relationship implies that a

RE: Design strategy

2001-10-02 Thread Alex Paransky
1) It seemed to me that a class was merely a container of N groups. From your example, it seems that group (chemistry professor) was just a sub-group of a group called (Professor). In other words: Professor | +-- Chemistry Professor I was not aware of other fields in the Class, and this was

ejbLoad is getting called during a transaction

2001-10-02 Thread Alex Paransky
I have a piece of code that looks like this: debug(Before); for (int i = 0; i values.length; i++) programValueEntityHome.create(us, attribute, values[i]); debug(After); For some reason an ejbLoad is sneaking into the picture. As you can see from the following output, when Before prints

RE: OR mapping (1/* relationship between 2 entity beans)

2001-10-03 Thread Alex Paransky
Orion is pretty good as far as keeping the relationships in orion-ejb-jar.xml current. We have not been using BMP, but mostly 2.0 style CMP, and this particular area has been working for us without a flaw. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On

  1   2   >