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)

PostqreSQL with Orion (oid)

2001-03-11 Thread Armin Michel
Hello. My suspicion is that Orion's DB-Mapping (CMP) doesn't work well when it comes to tables that have OID fields. My experiments suggest that whenever a table has to be generated that has OID-fields, the following exception will be thrown just after having executed the ejbCreate() Method

Re: JDom and Orion

2001-03-11 Thread Randahl Fink Isaksen
Well, David Kinnvall, did you ever get into any trouble from replacing the versions of Xerces and Xalan in Orion? Randahl Hi Mark, and the list, I ran into this as well, just two days ago. I tried putting the new xerces.jar in WEB-INF/lib as well as in orion/lib, with no effect.

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

2001-03-11 Thread Jason Smith
If you have control over the deployment assembly maybe you can use the "run-as-specified-identity" security configuration for your Person, then only allow that role to invoke methods on Phone. I may be way off base here since I have never tried to do this, but I thought I would throw it out.

Is Orion compatible with the latest versions of Xalan and Xerces?

2001-03-11 Thread Randahl Fink Isaksen
Is Orion compatible with the latest versions of Xalan and Xerces? - I expect that is a question of whether the latest versions of Xalan and Xerces are backward compatible... does anyone know from (documentation or) experience? R.

RE: Case insensitive primary keys

2001-03-11 Thread Jeff Schnitzer
Thanks for everyone's comments. From: Rafael Alvarez [mailto:[EMAIL PROTECTED]] You can do two things: .- In the EJBCreate change the user name to Upper or Lower case when setting it. Also in the PK class change it to Upper or Lower case. Not a good solution for me, because I want to preserve

UserManager

2001-03-11 Thread Sergei Batiuk
Could anyone please explain how to create a custom user manager for Orion? What is the way to associate the users and groups in the database with the roles and principal of the orion?

Re: JDom and Orion

2001-03-11 Thread David Kinnvall
Actually, no. No problem at all! /David On Sun, 11 Mar 2001, Randahl Fink Isaksen wrote: Well, David Kinnvall, did you ever get into any trouble from replacing the versions of Xerces and Xalan in Orion? Randahl -- David, [EMAIL PROTECTED]

RE: UserManager

2001-03-11 Thread elephantwalker
The easiest way is to use the EJBUser usermanager. You will need to refer to the ejb in your ejb-jar.xml. There is an orion security adapter available for the petstore example, and this works well with the EJBUser usermanager as long as you have the entity bean reference as noted below. Of

mime types for .js

2001-03-11 Thread elephantwalker
There seems to be a *feature* of NS browsers that requires a server mime-type for any javascript which is referenced in a web page. I have looked in the documentation, but can't seem to find the deployment xml file where I can add various mime types. Does anybody know how to add mime types to

Re: EJB Clustering

2001-03-11 Thread Greg Matthews
william, look for the clustering guide on www.orionserver.comin the documentation section, then maybe post some more questions once you've given it a try. it works like you describe, in that starting the load balancer takes all requests and redirects to instances of orion. cheers, greg.

Re: security in web-apps

2001-03-11 Thread Greg Matthews
there shouldn't be a problem with this. you might want to post more information on what url you're using + the config details in server.xml and default-web-site.xml. - Original Message - From: "Kiss Tibor" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Saturday, March

RE: Session cookie and https. PLEASE HELP!!!!

2001-03-11 Thread Juan Lorandi (Chile)
basically, cookies are URL spec (as per the spec, check it out in Netscape Central) URL dependant; if you send a cookie for a URL http://www.yahoo.com then that cookie is valid for that URL only; that cookie won't show up for URL https://www.yahoo.com (note the different protocol, https, instead

RE: mime types for .js

2001-03-11 Thread Jason Smith
look at orion/config/mime.types -jason -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of elephantwalker Sent: Sunday, March 11, 2001 3:33 PM To: Orion-Interest Subject: mime types for .js There seems to be a *feature* of NS browsers that

Stateless Session Bean Initialization Pattern

2001-03-11 Thread Neal Kaiser
Hi. I have a framework as follows: A startup servlet reads in an XML file and creates a message bundle. This message bundle will be used by Servlets and EJBs to pull resources from it. I somehow need a way to initialize the stateless session bean by passing the message bundle to it. When the

Re: mime types for .js

2001-03-11 Thread SCOTT FARQUHAR
global-web-application.xml specifies the file for mime types. in my case it is called mime.types do a search for mime* and you should find it. [EMAIL PROTECTED] 03/12/01 06:32am There seems to be a *feature* of NS browsers that requires a server mime-type for any javascript which is

Re: mime types for .js

2001-03-11 Thread Holden Glova
elephantwalker wrote: There seems to be a *feature* of NS browsers that requires a server mime-type for any javascript which is referenced in a web page. I have looked in the documentation, but can't seem to find the deployment xml file where I can add various mime types. Does anybody

Un Subscribe

2001-03-11 Thread sunita

Problem in Executing the First Example given in the Orion taglib-tutorial Documentation !!

2001-03-11 Thread srinivas
Hi, I have downloaded the Helloworld.jsp, taglib.tld and helloworld .java compiled and got helloworld.class . and created the same directory structure as mentioned in the documentation of taglib-tutorial. I could able to compile HelloWorld.java when i run the HelloWorld.jsp , it produces

SSL Certificates + Security Alert

2001-03-11 Thread Greg Matthews
dear all, i've pretty much got secure pages going with a *test* certificate but receive a windows "security alert" dialog box the *first* time i hit a page in the secure site. if i click "yes" to "do you want to proceed?" then everything seems to work ok and i get the padlock icon in the

Re: SSL Certificates + Security Alert

2001-03-11 Thread Tim Endres
Q: do i get the dialog window appearing because i'm using a test certificate? i.e. will the use of a live certificate mean that i don't get the dialog window appearing? Yes, *if* the certificate chain of that certificate leads to a root certificate that is installed in the user's browser.

Re: Stateless Session Bean Initialization Pattern

2001-03-11 Thread Romen Law
ello, By definition Stateless Session Beans are stateless. How can you initialise something that is stateless? The alternatives are to use Stateful Session Beans or application scope Java Beans in your JSP. cheers romen IT Architect, Business And Data Services IBM GSA TEL: 612-84484716 FAX:

RE: SSL Certificates + Security Alert

2001-03-11 Thread elephantwalker
You will also get this alert if your certificate doesn't exactly match your url with domain name that you used to get the certificate... https://secure.mycompany.com will work if that is the domain name registered with the certificate. But if you are on a intranet, and the server name

RE: security in web-apps

2001-03-11 Thread Christine Hall
REMOVE UNSUBSCRIBE -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Greg Matthews Sent: Monday, March 12, 2001 7:14 AM To: Orion-Interest Subject: Re: security in web-apps there shouldn't be a problem with this. you might want to post more information

RE: Un Subscribe

2001-03-11 Thread Randahl Fink Isaksen
Use the form at orionserver.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED] Sent: 12. marts 2001 05:00 To: Orion-Interest Subject: Un Subscribe winmail.dat

SV: Problem in Executing the First Example given in the Orion taglib-tutorial Documentation !!

2001-03-11 Thread Magnus Rydin
It sounds like your tag library descriptor has faults. Please include your taglib.tld and we can have a look at it. WR -Ursprungligt meddelande-Från: srinivas [mailto:[EMAIL PROTECTED]]Skickat: den 11 mars 2001 20:34Till: Orion-InterestKopia: [EMAIL PROTECTED]Ämne: Problem

Unable to find taglib archive Error even when the jar file is there in the directory

2001-03-11 Thread srinivas
Hello, When i try to execute the first Example taken from the tag-tutorail in orion server documentation. Iam getting the Following error: 500 Internal Server ErrorError parsing JSP page /taglib-tutorial/taglib-tutorial-web/helloWorld.jsp line 1Unable to find taglib archive at file at