RE: specify datasource for entity bean

2000-11-15 Thread Rick Bos
Put orion-ejb-jar.xml in this directory: /ear/ejb/orion/orion-ejb-jar.xml .ie /ear/ejb/META-INF/ejb-jar.xml /ear/ejb/orion/orion-ejb-jar.xml Normally I deploy first, and then move the created orion-ejb-jar.xml from application-deployments to this location. I believe it is also possible to

RE: Deployment

2000-11-10 Thread Rick Bos
I think the placement is : /ear/META-INF/orion-application.xml /ear/ejb/orion/orion-ejb-jar.xml I am not sure why the orion-ejb-jar.xml is in an orion directory instead of the META-INF directory. -Original Message- From: Jim Crossley [SMTP:[EMAIL PROTECTED]] Sent: November 10, 2000

RE: Latest version

2000-11-09 Thread Rick Bos
You have to do: java -jar autoupdate.jar to automatically update. -Original Message- From: Todd Huss [SMTP:[EMAIL PROTECTED]] Sent: November 9, 2000 3:02 PM To: Orion-Interest Subject: Latest version I see people on the list talking about version 1.4.4. Where is that

RE: orion-*.xml

2000-11-03 Thread Rick Bos
The other orion*.xml files seem to go in the same directory as their analogues, but the orion-ejb-jar.xml goes in an orion directory : ear/ejb/META-INF/ejb-jar.xml ear/ejb/orion/orion-ejb-jar.xml -Original Message- From: Gerald Gutierrez [SMTP:[EMAIL PROTECTED]] Sent: November 3,

RE: EJB Help..

2000-10-20 Thread Rick Bos
I just have my ejb classes in their own directory: ear/ejb/source ear/web/WEB-INF/classes I have a makefile in the /ear directory that recompiles all the servlets and ejb. I do have to restart the application after changes to the EJBs. -Original Message- From: Duffey, Kevin

RE: Log Analyzers and files

2000-10-17 Thread Rick Bos
The log files are in $ORION_HOME/log: default-web-access.log global-application.log rmi.log server.log -Original Message- From: Kemp Randy-W18971 [SMTP:[EMAIL PROTECTED]] Sent: October 17, 2000 11:56 AM To: Orion-Interest Subject: Log Analyzers and files Please forgive

RE: Orion under Solaris

2000-10-17 Thread Rick Bos
We run orion under a user account where it was installed. We unzipped the orion.zip as the user, then run it using java -jar orion.jar. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kemp Randy-W18971 Sent: Tuesday, October 17, 2000 4:43 PM To:

RE: ANSWER: How to use pooled connections in Orion?

2000-10-07 Thread Rick Bos
I have a question. If I only specify a location, not a pooled location, does Orion not do any connection pooling ? For example, if I have several container managed entity beans from the same database, would Orion share the same connection for these ? Thanks. -Original Message- From:

RE: Orion Sybase

2000-09-18 Thread Rick Bos
We used Orion with Sybase ASE 11.9.2 This was our data-source: data-source name="appurvey" class="com.evermind.sql.ConnectionDataSource" location="jdbc/appsurvey" pooled-location="jdbc/appsurve y" xa-location="jdbc/xa/appsurvey" ejb-location="jdbc/appsurvey"

RE: create a web-app not through a .ear ??

2000-09-16 Thread Rick Bos
/application I must have been missing the module tags. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of ³¯§Ê¹Å Sent: Saturday, September 16, 2000 5:19 AM To: Orion-Interest Subject: Re: create a web-app not through a .ear ?? Hello, Rick Bos: Thanks for your

RE: create a web-app not through a .ear ??

2000-09-15 Thread Rick Bos
You should be able to do : in orion/config/server.xml application name="myname" path="mypath" in orion/config/default-web-site.xml : web-app application="myname" name="web" root="/myname" / The directory structure for your project would be : mypath/META-INF/application.xml mypath/web

RE: about orion-ejb-jar.xml

2000-09-07 Thread Rick Bos
It goes in this location in an ear file: ejb/orion/orion-ejb-jar.xml Or, in a jar file: orion/orion-ejb-jar.xml -Original Message- From: cuenot jerome [SMTP:[EMAIL PROTECTED]] Sent: September 7, 2000 8:14 AM To: Orion-Interest Subject: about orion-ejb-jar.xml Hello all,

RE: SQL Trace

2000-09-07 Thread Rick Bos
Look in application-deployments/your-app/ejb/orion-ejb-jar.xml -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: September 7, 2000 8:28 AM To: Orion-Interest Subject: SQL Trace I've seen this question asked before, but don't recall an answer (I

RE: Mapping CMP Entity bean fields to an existing database table

2000-09-07 Thread Rick Bos
You can put the modified orion-ejb-jar.xml in : /ear/ejb/orion/orion-ejb-jar.xml. The modified archive will then be deployed next time. Search the mail archives on www.orionserver.com for more detailed instructions. -Original Message- From: Krishnan Raghunathan [SMTP:[EMAIL

RE: Performance for static files

2000-09-07 Thread Rick Bos
I have experienced similar delays with framesets. On the intranet there was a small delay, but with an outside connection the delay was quite long. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dale Bronk Sent: Thursday, September 07, 2000 7:56 PM

RE: ejb question

2000-09-06 Thread Rick Bos
I would put this class at: \cart\cart-ejb\cart\CartHome.class The WEB-INF\classes directory is for servlet classes. -Original Message- From: Derek Akers [SMTP:[EMAIL PROTECTED]] Sent: September 6, 2000 10:38 AM To: Orion-Interest Subject: ejb question I am

RE: Database connection Pooling in Orion

2000-09-06 Thread Rick Bos
There is a max-connections attribute to the data-source in: http://www.orionserver.com/dtds/data-sources.dtd -Original Message- From: Vimal Kansal [SMTP:[EMAIL PROTECTED]] Sent: September 6, 2000 12:50 PM To: Orion-Interest Subject: Database connection Pooling in Orion

RE: EJB finder methods.

2000-08-29 Thread Rick Bos
For Container Managed Persistence beans, you just add the method to the Home interface: public Collection findByField1 ( String field1 ) throws FinderException , RemoteException ; The container will automatically write the finder method for you. For Bean Managed Persistence beans, you put the

RE: Caribou Lake JDBC driver to Ingres Database

2000-08-29 Thread Rick Bos
To do object to relational mapping you have to modify the file: orion/application-deployments/your_app/ejb/orion-ejb-jar.xml after you deploy the entity beans. You can put the file in : ear/ejb/orion/orion-ejb-jar.xml in your ear file or

Number of connections opened

2000-08-17 Thread Rick Bos
I am creating an application that uses both CMP and BMP entity beans to connect to a database. There is only one database in the application. The development version of the Ingres database only allows five connections to be open. I am always running out of connections in Orion. Is there a

RE: Different data-sources for different applications?

2000-08-16 Thread Rick Bos
You can modify this in orion-ejb-jar.xml. This file is found in orion/application-deployments/your-app/ejb You can copy this file to /ear/ejb/orion/orion-ejb-jar.xml and modify it there. ( where ear is your development directory and ejb is your Enterprise Java Bean directory). Hope this

EJB Client

2000-08-14 Thread Rick Bos
I am trying to access my EJB from a Unix command line client. I am on Solaris using JDK 1.2.2. When I create my initial context, I get this exception : java.lang.ClassFormatError: __Proxy1 (Repeative method name/signature) Exception in thread "main" java.lang.InstantiationError: No location

EntityBean fields with new Orion

2000-08-09 Thread Rick Bos
I have a question about the javax.ejb.EntityBean in Orion. I was using introspection to get the declared fields of my entity bean instance: Fields [] fields = myEJB.getClass().getDeclaredFields(); I was using this in a function transferEntityToData(

EJB client on Solaris.

2000-08-08 Thread Rick Bos
When I try to run a simple console client application accessing an EJB, I get this error : __Proxy1 ERROR! Shared library ioser12 could not be found. Exception in thread "main" java.lang.UnsatisfiedLinkError: specialLoadClass at

RE: EJB client on Solaris.

2000-08-08 Thread Rick Bos
OK, removing the j2ee.jar fixed the ioser12 error. Now, I am getting this error: Exception in thread "main" java.lang.InstantiationError: No location specified for ejb-ref Applicant This is my application-client.xml : ?xml version="1.0"?

RE: FindBy method

2000-08-08 Thread Rick Bos
In your Home.java: public Collection findByPublishable ( String str ) ; This should create the same SQL. Look in orion/application-deployments/your-app/orion-ejb-jar.xml after you deploy it. Use it like this: Collection c = findByPublishable("Yes"); Iterator iter =

Orion client application on Solaris

2000-08-03 Thread Rick Bos
When I try to run a simple console client application accessing an EJB, I get this error : __Proxy1 ERROR! Shared library ioser12 could not be found. Exception in thread "main" java.lang.UnsatisfiedLinkError: specialLoadClass at

Multiple datasources and CMP

2000-07-30 Thread Rick Bos
If I have several datasources, how do I specify which one a CMP Entity bean is to use ?

RE: Multiple datasources and CMP

2000-07-30 Thread Rick Bos
d not seem to have an affect. -Original Message- From: Robert Krueger To: Orion-Interest Sent: 7/30/00 2:37 PM Subject: Re: Multiple datasources and CMP At 08:43 30.07.00 , Rick Bos wrote: If I have several datasources, how do I specify which one a CMP Entity bean is to use ? look at

Multiple developers with Orion

2000-07-28 Thread Rick Bos
We have several developers working with Orion at the same time. We currently have a single instance of Orion which must be restarted when changes are made. Each user has a separate application that points to their working directory. Each user has a separate web location:

library-path in server.xml

2000-07-27 Thread Rick Bos
What happened to the library-path entry in server.xml. I see it mentioned in the mailing list, but it is not in application-server.dtd. How else do I set the classpath for Orion ? In particular I want to locate .properties files in my servlets.

Deploying and principals.xml

2000-07-25 Thread Rick Bos
Whenever I deploy an application for the first time, I get a message saying : application-deployments/app-name/principals.xml not found. I then create a principals.xml in that location and the application deploys correctly. Is there a way to include the

Re: Shutting down in Windows NT.

2000-07-23 Thread Rick Bos
I did that. Now I get this message: Christian Sell wrote: you will have to upgrade to the latest version. This can be done with the command java -jar autoupdate.jar f:\orionjava -jar admin.jar ormi://localhost admin 123 -shutdown Write: 28 getCodedNotation:

Datasources

2000-07-18 Thread Rick Bos
If I have two data sources in /config/data-sources.xml. Where do I specify which data source I want to use in my EJB ? Do I have to edit the orion-ejb-jar.xml in the application-deployments directory ? Thanks.

Entity bean creation

2000-07-14 Thread Rick Bos
Is there a tool for creating an entity EJB ( Home, Remote and EJB) from a JDBC database table ? Thanks.

Client application

2000-07-06 Thread Rick Bos
I have orion running on Solaris and have successfully created an EJB and Servlet application. I now want to write a Java Swing application running on my Windows machine that accesses this EJB running on Solaris. Do you have an example ot this ? What jar

Deploying application

2000-06-27 Thread Rick Bos
I have a simple Entity bean application that deploys in the Sun reference implementation, but when I try to deploy it in orion, I get : Auto-deploying Transaction.jar... Error compiling file:/export/home/bos/orion/orion/applications/TransactionApp/Transaction.ja r:

Samples on Solaris

2000-06-19 Thread Rick Bos
1.2.1 under SunOS 5.7. Rick Bos OCAS Research and Development Engineer http://www.ocas.on.ca 1-888-892-2228 x241