PetStore Demo for Orion

2000-06-14 Thread Kirk Kalvar
Has anyone successfully run the Pet Store Demo under Orion? The installation instructions for Pet Store for Orion werent exactly accurate and I think this maybe the reason the login feature as well as catalog search feature is not working properly. Thanks, Kirk S. Kalvar

UserTransaction

2000-06-14 Thread Klaus Thiele
Hello, as described in your FAQ i tried the (TransactionManager)context.lookup("java:comp/UserTransaction"); but i get always the exception "java:comp/UserTransaction not found" questions: - why to do tm = (TransactionManager)initial.lookup("java:comp/UserTransaction"); and not

RE: PetStore Demo for Orion

2000-06-14 Thread Kalvar, Kirk
Additionally the PetStore Demo on the Orion web site has both of these features working properly. Kirk S. Kalvar, Software Engineer DRS Electronic Systems Group -Original Message- From: Kirk Kalvar [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, June 14, 2000 05:59 To: Orion-Interest

RE: find by Set

2000-06-14 Thread Joe Walnes
I would like to make a finder method like this: Collection findByIds( Set idSet ) which should make a query like: "SELECT * FROM a WHERE a.id IN ?" Is anything like this possible in Orion? I posted a similar question last week, and it turns out... no. Oh well, I'm sure it won't be long

RE: Can't deploy example atm with datasource db2

2000-06-14 Thread Joe Walnes
How can I change the type-mapping from longvarbinary to longvarchar for the LogEntries ? If you look in [orion-dir]/config/database-schemas you will find a bunch of xml files with type-mappings for various databases. Copy one of these files to db2.xml and edit it to reflect the appropriate

Accessing transaction in entity bean

2000-06-14 Thread Jens Stutte
Hi, i have a question, if it is possible to bypass the spec's limitation on transactions in entity beans. I'd like to get the current transaction in an entity beans business method, in order to register a Synchronization object, which will be called at the end of the transaction. Doing the

RE: Can't deploy example atm with datasource db2

2000-06-14 Thread Matthias_Weiler
Hi Esa, Hi Joe ! Thank you for the quick reponse, but my question was not so exactly. Sorry. I know database-schemes. The field "value" is generated for the serialized "LogEntryBeans" from orion. In the database-schemes the "type" is the Java-Class and the "name" is the Column-Type in the

Two Instances of orion

2000-06-14 Thread Hashim Merchant
I have one instance of orion running on the default port 80 now I want to run another instance of orion on another port (say 88) by using java -jar orion.jar also i should be able to shut this instance down using java -jar shutdown.jar and all this time the previous instance of orion should

RE: Can't deploy example atm with datasource db2

2000-06-14 Thread Joe Walnes
In the database-schemes the "type" is the Java-Class and the "name" is the Column-Type in the database. So the entry for name should be name="long varchar", but what is the entry for type ? java.io.Serializable -Joe Walnes

BMP connection pooling

2000-06-14 Thread KirkYarina
I'm running a series of performance tests as both a learning tool and to assist our chief designer, and am converting our test suite from CMP to BMP. I'm confused about how Orion manages jdbc connection pooling. The mail archive discussion I found , from last November, is adding to the

Re: Two Instances of orion

2000-06-14 Thread Pedro Garcia Lopez
Hi, In orion/config/default-web-app.xml change the web port number. If you want to use EJBs you must also change the rmi port number in rmi.xml, and of course change the url in your application client's jndi.properties file. Regards, About shutdown I cannot help, I use CTRL+C ;-) Hashim

RE: PetStore Demo for Orion

2000-06-14 Thread Earl Marwil
Kirk, I have recently gone through this. Here are my observations on what to do. Referring to the steps in Orion's estore-install.txt file: re: 2) There are two data sources required, one for "jdbc/EstoreDataSource" and one for "jdbc/InventoryDataSource". For example: data-source

Re: BMP connection pooling

2000-06-14 Thread Karl Avedal
Hello Kirk, You should use the datasource specified by the EJB-location. In your case that is jdbc/DefaultEJBDS. Regards, Karl Avedal KirkYarina wrote: I'm running a series of performance tests as both a learning tool and to assist our chief designer, and am converting our test suite from

Re: Two Instances of orion

2000-06-14 Thread Karl Avedal
Hello Hashim, You set the port to listen to for a certain site in the web-site.xml file. You don't need two instances of Orion to serve 2 different ports, just set up a new site (for example by copying the default-web-site.xml, modifying it, and linking it from server.xml). However, if you do

very basic question

2000-06-14 Thread Clint Scott
I have a most basic problem that I can't seem to get beyond. I've read the FAQ, mailing list archives, and all docs. I have a new application I want to deploy (app1). It has only static html in it. I've created the application dir structure as noted in the "how to create an application" I've

Re: very basic question

2000-06-14 Thread Karl Avedal
Hello Clint, how does your dir structure and your configuration look? It would make it easier for us to help Regards, Karl Avedal Clint Scott wrote: I have a most basic problem that I can't seem to get beyond. I've read the FAQ, mailing list archives, and all docs. I have a new application

FW: Two Instances of orion

2000-06-14 Thread Victor A. Salaman
Forwarded for the benefit of everyone -Original Message- From: Victor A. Salaman Sent: Wednesday, June 14, 2000 12:45 PM To: 'Hashim Merchant' Subject: RE: Two Instances of orion Hi Hashim: First, you don't need to run two different instances of Orion.

Re: UserTransaction in SessionBean

2000-06-14 Thread Karl Avedal
Hello Klaus, We'll check this out, it does seem weird, Regards, Karl Avedal Klaus Thiele wrote: Hello, i have a SessionBean: public class PersonBean implements SessionBean { private UserTransaction ut = null; private SessionContext ctx; [...] public void

urgent: error accessing jar file

2000-06-14 Thread Christian Sell
Hello, Q1: I have a JSP tag library which uses the ECS library from apache. Both my tag library and ECS reside as *.jar files in /WEB-INF/lib. When my test page is loaded, the initialization code of ECS reads a property file from the jar with the following statement: static { try

Just starting with Orion - some issues

2000-06-14 Thread DSmith
Hello List, (It was great meeting some of you at the JavaOne conference, hello to you all!) For my first try at Orion, I migrated a little quick dirty site from JRun 2.3.3b153. The site is just made up of JSP pages with inline Java doing various simple things. Here are some issues I