Re: EJB finder methods.

2000-08-29 Thread James Ho
Hi Paul I am a newbie in EJB...so don't know if this will really helps.. I guess u implement the finder methods in the bean class? and also modify the Home interface file to add that method in. Regards, James Where do I specify my own finder methods in my entity bean.

Bean Instance Pooling

2000-08-29 Thread Santosh S
Hi, Is there any way I can specify the number of Session Bean Instances to be created and pooled. TIA regards santosh s:) __ Santosh S Trigyn Technologies Ltd.(formerly eCapital Solutions) Tel. : 98450 63496 www : http://www.trigyn.com

jetspeed

2000-08-29 Thread Saphari.com - www.saphari.com
has any one gotten JetSpeed "java.apache.org/jetspeed" to work correctly with orion server. using 1.2.4 under linux with jdk 1.3 from SUN. the error i keep getting is:"java.lang.NoClassDefFoundError" this is happening for both 1.1 and 1.2b1 of Jetspeed. i can get it to workunder Tomcat. but i

Re: When usin taglibs where to put the jarfile on the deploytool?

2000-08-29 Thread Jacek Laskowski
Ismael Blesa Part wrote: On my jsp I use invoke the taglib with: %@ taglib uri="/isumtags.jar" prefix="isum" % Above line tells that "uri" points out either to an entry in WEB-INF/web.xml file called /isumtags.jar being inside taglib-location's or references /isumtags.jar directly as tag

Standalone app and SSL tunnelling

2000-08-29 Thread Bernard Sauterel
I finally made the SSL communication working: I replaced the "$JAVAHOME/jre/lib/security/cacerts" of client system with "keystore" file used on server (I changed his name to "cacerts"). Quick and dirty. Issue now is client and orion server hang after first context creation: Here's the code -

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

Re: Obtaining an SSL Certificate

2000-08-29 Thread Dale Bronk
Did you get a 40-bit or 128-bit cert? Orion informed me we can use 128-bit if we get the domestic JSSE from Sun. Dale - Original Message - From: Mike Fontenot [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Monday, August 28, 2000 11:15 AM Subject: Obtaining an SSL

RE: EJB finder methods.

2000-08-29 Thread Roman Kagan
First of all implement the Entity Bean with Container Managed Persistence. In that case you'll need to have finder method declared in Home interface and implemented in Primary Key class. YOU WILL NOT HAVE finder METHOD IN EJB CLASS for CMP. It will be written by the container at the deployment

Binding to JNDI from a client

2000-08-29 Thread Mike Cannon-Brookes
Guys I'd REALLY appreciate any help with this one ;) Whenever I try to bind an object to JNDI from an autostarted client Orion (and the client) freezes. ctx = new InitialContext(); log("Binding portlets to JNDI"); ctx.rebind("java:comp/env/daemon/portal/portlets",

RE: Obtaining an SSL Certificate

2000-08-29 Thread Mike Fontenot
I got a 40 bit cert. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dale Bronk Sent: Tuesday, August 29, 2000 6:07 AM To: Orion-Interest Subject: Re: Obtaining an SSL Certificate Did you get a 40-bit or 128-bit cert? Orion informed me we can

RE: EJB finder methods.

2000-08-29 Thread Jeremy Cowgar
In a finder method, how do you automatically have a custom SQL statement...For instance: CREATE TABLE names ( nameID int, fname char(20), lname char(20), city char(40)) Collection findByCity(String sCity); I would like to set an ORDER BY lname in my finder

RE: J2EE Application Security

2000-08-29 Thread Will Glozer
I am currently working on the security design for our application and seem to be working on the same issues that you are. I intend to provide a complete ACL based security infrastructure at the EJB level. J2EE's method level security is far from sufficient for my purposes. For example:

Re: jetspeed

2000-08-29 Thread Derek Akers
Hey arthur How did you get it to work under Tomcat? I had a world of problems with it, and so moved to orion. Listen, if you find the answer to installation on Orion, or if you want to work together to try and get it working, let me know. Derek Akers Eldan Software Toronto, Ontario

jsp deployment

2000-08-29 Thread Derek Akers
Here's my current problem: I have managed to deploy a simple app of html, jsp and one bean that holds some variables, but for some reason I keep getting a "page cannot be displayed" error when trying to access the jsp pages through a browser. I have used the deployment structure outlined

OrionCMTConnection not closed

2000-08-29 Thread Chris Miller
I have a BMP bean (3rd party, but I have the source code) that writes to a database. The write is fine and gets committed seemingly without problems. Once I continue surfing around the site however Orion then throws the following exception: OrionCMTConnection not closed, check your code!

RE: EJB finder methods.

2000-08-29 Thread Mike Cannon-Brookes
Yes, Unfortunately at the moment there is no way to port finders in orion-ejb-jar.xml from server to server. You can include this file in the .jar though and Orion will deploy it with your finders intact. (Other servers will just ignore it as far as I know) Mike -Original Message-

Re: RMI vs. HTTPTunneling

2000-08-29 Thread Cory Adams
Also RMI is supposed to automatically use http tunneling if it can not make a connection on a particular port. You have to install a proxying cgi function on your web server (behind the firewall) that will provide the forwarding. Check java.sun.com and search for HTTP Tunneling. Cory At 09:17

Re: OrionCMTConnection not closed

2000-08-29 Thread Tony Abbott
Sounds to me like their code is missing a close() on the database connection. You always need to do a close() on the connection so that it can be reused within the connection pool. -t On Tue, Aug 29, 2000 at 04:03:29PM +0100, Chris Miller wrote: I have a BMP bean (3rd party, but I have the

RE: DataSourceUserManager methods

2000-08-29 Thread Juan Pablo Lorandi
I don't think it's obfuscation, only the console calls these methods, they're like convenience methods or something like that and they should have been superseeded in release versions, by the methods we know: getUserCount(), et al The problem's root is at AbstractUserManager, which declares these

A problem with jspInit()?

2000-08-29 Thread Norman Jefferies
I have a simple test program that is demostrating that the orion server is calling the jspInit() routine every time the page is requested! I understand that it should only be called once when loaded, has anybody else seen this? Instead of always showing one, it actually increments! Orionserver

xml

2000-08-29 Thread Derek Akers
OK, so I figured out what was wrong with the whole jsp deployment thing... I had not ensured the correct directory structure to conform to my packaging under myapp-ejb. anyhow, here's a new question: has ANYONE implemented xml schemas with xsl/t on orion? if so, could you please help me

RE: DataSourceUserManager methods

2000-08-29 Thread Arved Sandstrom
Hi, Juan I'm not sure I agree with your appreciation of the 3 methods I am referring to: addToGroup(), removeFromGroup(), and getGroups() are not final in AbstractUserManager (they aren't in that API at all). I can go along with your characterization of them as "convenience" methods, though, as

RE: DataSourceUserManager methods

2000-08-29 Thread Juan Pablo Lorandi
I use Orion 1.1.24 (it's IMHO the stablest release so far) In this release, the ackward-named methods within AbstractUserManager are final-- I can send the .class or .java if you like. I also agree that UserManagers API are an absolutely must have, specially if you need to couple the security

JNDI Service Providers

2000-08-29 Thread McLain, Mark
Background... I would like to have Orion Application Server store its object references in a Win2000 Active Directory via a JNDI LDAP service provider. I would also like to have my client applications access these same object references via a JNDI LDAP service provider. Question 1. Does Orion

Vendor specific data sources?

2000-08-29 Thread Jason von Nieda
Hi everyone. I am starting to move my legacyish apps over to the data-source.xml method way of getting connections and have a few questions. Before now, I had been using a ConnectionPool of my own design but it appears that I should be leaving this up to the application server now. I created a

RE: Caribou Lake JDBC driver to Ingres Database

2000-08-29 Thread Kelly, Jeff
Thank you Rick I now have Orion taking via the cariboulakes JDBC driver Ingres 2 I am running the lesson 2 from sun writing enterprise applications Thanks Jeff -Original Message- From: Rick Bos [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 29, 2000 11:59 PM To: Orion-Interest

What does the error - com.evermind.server.rmi.RMIConnectionException: Object reference no longer valid (Disconnected)

2000-08-29 Thread Santosh S
Hi, I have a session bean which returns an array of Objects.I get this error while trying to return the application. The complete stacktrace is below com.evermind.server.rmi.RMIConnectionException: Object reference no longer valid (Disconnected) at