RE: Best practices: How to initialize state in EntityBean's super class

2001-02-20 Thread Randahl Fink Isaksen
Thanks for your reply. I think you are right about naming the pseudo-method "ejbCreate()" - makes good sence. I could not help noticing, though, how you set states=null in some of your methods... I don't think that is necessary. If you'd like the Vector called "states" not to be stored just

Opening a secured form in a new browser window

2001-02-20 Thread Paul Kofon
Hi, I've got a page that displays a form for authentication via a servlet. After the process of authentication, the request gets forwarded to a data entry form. This data entry form is a JSP page that checks out to make sure it's the administrator accessing it. It works fine but I'd like it to

RE: Port 23791

2001-02-20 Thread Patrik Andersson
Title: RE: Port 23791 That would be RMI. RMI has som strange perks to it's protocol. Read the spec. The RMI port specified in the rmi.xml is just for admin or whatever one chooses to call it. Applications ask that port for a port to communicate over for different method invocations.

How can I use Application session?

2001-02-20 Thread Hamid Abbasi
Hi , I want to know , How many clients are connecting to my apllication at now. I want to know , How many sessions (not session bean) are active for my application. Thanks

Re: Mixing secure non-secure pages in the same application

2001-02-20 Thread Aniket V U
hi, The solution we are using in our application is to have two instances of the application running, on in secure mode and another in unsecure mode. Whenever we want to access the secure pages, we simply redirect to the secure application and vice versa. There is no session problem either

distribution : samples and demos issues

2001-02-20 Thread Edoardo Comar
I found confusing that the distribution comes with samples scattered in orion/demo orion/applications why ? moreover, the demo apps have web-inf/ejb-jar.xml files that show an ejb 1.2 release !! it's an unknown release to me :-) 1.1 moved to 2.0 ! Edo

RE: Port 23791

2001-02-20 Thread Kev Roberts
This is the default port for the RMI server, see http://www.orionserver.com/docs/rmi.xml.html Kev -Original Message- From: Jim Archer [mailto:[EMAIL PROTECTED]] Sent: 20 February 2001 06:22 To: Orion-Interest Subject: Port 23791 Hi All... Does anyone know why Orion is

RE: Sending a PDF via a servlet to IE 5

2001-02-20 Thread Van Dooren, Damian
Unfortunately setting the content length didn't have any effect on the problem. Thanks anyways for the suggestion. -Original Message- From: Mark Meuer [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 4:03 PM To: Orion-Interest Subject: Re: Sending a PDF via a servlet to IE 5

Flushing EJB cache

2001-02-20 Thread Tony J Brooks
Hi everyone, I want to use the following to flush the EJB cache ... void com.evermind.server.administration.ApplicationAdministrator.flushEJBCache( String p0 ) ... can anybody tell me what the argument 'p0' specifies ? I've had a look for API documentation, but I can't find any. Thanks,

Re: Sending a PDF via a servlet to IE 5

2001-02-20 Thread Thomas Munro
Have you tried setting the Content-disposition header? "Van Dooren, Damian" wrote: Unfortunately setting the content length didn't have any effect on the problem. Thanks anyways for the suggestion. -Original Message- From: Mark Meuer [mailto:[EMAIL PROTECTED]] Sent: Monday,

Re: Is xerces.jar too old ?

2001-02-20 Thread Matt Bauer
Yes it is. Get the latest and put it in orion/ and it will work fine. I also use jdom and it works fine. It will not cause side affects since the only difference is the DOM level supported. Matt Boris Erukhimov wrote: Our application uses XML data exchange wrapped into HTTP. It is handled

Re: Port 23791

2001-02-20 Thread Fabio Silva
Jim Archer wrote: Hi All... Does anyone know why Orion is listening on port 23791? Thanks... Jim Hi There Jim, Orion listens on port 23791 for RMI connections. I have a client that does JNDI lookups to a server that is behind a firewall... I had to activate the port forwarding with

Re: How can I use Application session?

2001-02-20 Thread Danut Prisacaru
I would add: * how can I retrieve the session ID while I am inside an EJB method so I can figure out on each server in the cluster what client is served? * how can I get rid of the session ID that appears in the URL? Thank you! Danut At 01:48 PM 2/20/2001 +0330, Hamid Abbasi wrote: Hi , I want

RE: Opening a secured form in a new browser window

2001-02-20 Thread John Miller
use html target="_blank" in the form tag when submitting it -Original Message- From: Paul Kofon [mailto:[EMAIL PROTECTED]] Sent: 20 February 2001 08:53 To: Orion-Interest Subject: Opening a "secured" form in a new browser window Hi, I've got a page that displays a form for

Third party JDBC error

2001-02-20 Thread Andres Garcia Hourcade
this error is thrown when attempting to make a simple sql "select" in Relativity DBMS through simba JDBC.- can anyone help me with this error or tell me what i have to read ? many thanks java.sql.SQLException: [Simba JDBC Client]null at

NOVICE Question about orion and mysql

2001-02-20 Thread Andres Garcia Hourcade
Thanks a lot, i did what you tell me,but i am still getting this msg. Warning: Unable to create new entry, caught: "javax.ejb.CreateException", message is: "Error creating EntityBean: General error: Unknown database 'addressbookdb'". obviusly i do not know how tell orion server that it must

RE: Sending a PDF via a servlet to IE 5

2001-02-20 Thread Van Dooren, Damian
Okay I think I've got a work around for it, thanks for everyones suggestions. I set the ContentLength I need to determine if the browser is IE5, then set the Content-disposition header to "attachment;filename=\"somefilename.pdf\"" else set the Content-disposition header to

RE: Flushing EJB cache

2001-02-20 Thread Tony J Brooks
To answer my own question - it is the JNDI name. -Original Message- From: Tony J Brooks [mailto:[EMAIL PROTECTED]] Sent: 20 February 2001 09:48 To: Orion Interest Cc: [EMAIL PROTECTED] Subject: Flushing EJB cache Hi everyone, I want to use the following to flush the EJB cache ...

Re: Is xerces.jar too old ?

2001-02-20 Thread KirkYarina
Has anyone tried Xalan Java 2.0.0 yet? If so, how well did it work? Kirk Yarina At 08:23 AM 2/20/01 -0600, you wrote: Yes it is. Get the latest and put it in orion/ and it will work fine. I also use jdom and it works fine. It will not cause side affects since the only difference is the DOM

Re: Sending a PDF via a servlet to IE 5

2001-02-20 Thread Mike Hoolehan
Damian, my company ran into the same problem constructing pdf files through a perl script. The problem is with IE5, specifically the manner in which it attempts to detect the content type of server output. The content-type mime header is unfortunately one of the last things it peeks at.

RE: Is xerces.jar too old ?

2001-02-20 Thread Russ White
I have, and it rocks. Much easier interfaces. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of KirkYarina Sent: Tuesday, February 20, 2001 11:28 AM To: Orion-Interest Subject: Re: Is xerces.jar too old ? Has anyone tried Xalan Java 2.0.0 yet? If so,

Auto-Deploying Application

2001-02-20 Thread Eduardo Estefano
I'm having a user/password configuration problem somewhere in the XML descriptors. Sometimes I run the application and it's fine. Then, when I redeploy (by editing the application.xml file), I get the following error: Auto-deploying CitySolutions (Assembly had been updated)... Error binding to

RE: Best practices: How to initialize state in EntityBean's super class

2001-02-20 Thread Conrad Chan
Normally I would reset all my variables when my bean is passivated or removed. That would let garabage collector to clean up those variables sooner since those values aren't valid any more after bean passivated or removed. This means differently than marking a variable transient. Hope this

[OT] Javamail API

2001-02-20 Thread Robert S. Sfeir
Does anyone know of a good tutorial for 'rookies' on using the JavaMail API? I just want to learn how to build a bean which allows me to send emails out after an insert. Thanks much. R Robert S. Sfeir Director of Software Development PERCEPTICON corporation San Francisco, CA 94123 w -

RE: Sending a PDF via a servlet to IE 5

2001-02-20 Thread Russ White
One fix I have found is to construct your url in a way the it end with ".pdf" for example http://www.apes.com/test.jsp?target=test.jsp This is of course clunky and awfully ugly, but it works. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Hoolehan

Re: Sending a PDF via a servlet to IE 5

2001-02-20 Thread Mike Hoolehan
Damian, my company ran into the same problem constructing pdf files through a perl script. The problem is with IE5, specifically the manner in which it attempts to detect the content type of server output. The content-type mime header is unfortunately one of the last things it peeks at.

Re: NOVICE Question about orion and mysql

2001-02-20 Thread Brian Wing Shun Chan
Orion doesn't create databases automatically. Orion does create tables automatically. - Brian On Tue, 20 Feb 2001, Andres Garcia Hourcade wrote: Thanks a lot, i did what you tell me,but i am still getting this msg. Warning: Unable to create new entry, caught: "javax.ejb.CreateException",

RE: archives

2001-02-20 Thread Trond Nilsen
Is there a web site that contains archives of this mailing list so that I don't ask stuff that has already been asked? Yep.. Check out http://www.mail-archive.com/orion-interest%40orionserver.com/ Trond.

RE: archives

2001-02-20 Thread Kemp Randy-W18971
Yes. I don't know the exact name, but it is found in the security primer document at www.jollem.com. -Original Message- From: Paul Wheaton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 20, 2001 2:08 PM To: Orion-Interest Subject: archives Is there a web site that contains

AW: archives

2001-02-20 Thread Bernhard Broo
the archives are under : - http://www.mail-archive.com/orion-interest@orionserver.com/ Berni -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Paul Wheaton Gesendet: Dienstag, 20. Februar 2001 21:08 An: Orion-Interest Betreff: archives

Re: [OT] Javamail API

2001-02-20 Thread Christian Sell
theres an example in the distribution which you can copy the code from... - Original Message - From: "Robert S. Sfeir" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 8:15 PM Subject: [OT] Javamail API Does anyone know of a good tutorial for

RE: NOVICE Question about orion and mysql

2001-02-20 Thread DSmith
Hi Andres, I'm sorry, I didn't get that error. Orion automatically creates tables in MySQL for CMP entity beans on my system, after just doing what I suggested earlier. Your error sounds like the "database" is invalid, like the URL you're using is pointing to the wrong MySQL database? Just a

Re: Flushing EJB cache

2001-02-20 Thread Peter Kua
hi tony, may i know what this method does?? thanks, peter - Original Message - From: "Tony J Brooks" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, February 20, 2001 5:52 PM Subject: RE: Flushing EJB cache To answer my own question -

RE: Sending a PDF via a servlet to IE 5

2001-02-20 Thread Arved Sandstrom
This IE problem is a known issue. The Cocoon FAQ covers a hack that fixes it. Regards, Arved Sandstrom -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike Hoolehan Sent: Tuesday, February 20, 2001 2:00 PM To: Orion-Interest Subject: Re: Sending a PDF

Re: Sending a PDF via a servlet to IE 5

2001-02-20 Thread Christofer Sandberg
If you are using a servlet to get the PDF from the database, try a quick and dirty solution by calling your servlet with some additional pathinfo. Ex: URL to your servlet: /servlet/PdfServlet Try using this instead: /servlet/PdfServlet/apdffile.pdf This might trick IE5 as it can get the content

archives

2001-02-20 Thread Paul Wheaton
Is there a web site that contains archives of this mailing list so that I don't ask stuff that has already been asked? __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/

Re: New Orion Primer (2nd try)

2001-02-20 Thread Lynch
Thanks, Ernst. But since ANT is currently 1.2, and the tag copyfile is already deprecated, would you mind using copy in the build.xml? Thanks, Lynch The new version of the Orion Primer is in place again. * http://www.jollem.com/orion-primer/ Any comments would be appreciated. If I

No Subject

2001-02-20 Thread Chia, Pei Yen
Hi, I'm trying to look for examples on MessageDrivenBean and i can't seem to find it at the orion website. Also, the latest downloadable version of orion server from "www.orionserver.com" is version 1.4.5. I gathered from the mailing list that most of you are already using version 1.4.7 ...

Re: Examples of XML / XSLT

2001-02-20 Thread Ernst de Haan
Why would you need Orion if you want to have an introduction to XML and XSL/XSLT ? BTW: I don't know any good tutorials on XSLT. I just used an example XSLT stylesheet, written by Joseph, modified it, analyzed it, etc., until I figured out the idea. Then I used the XSL spec (at

New Orion Primer (2nd try)

2001-02-20 Thread Ernst de Haan
The new version of the Orion Primer is in place again. * http://www.jollem.com/orion-primer/ The old version is still available here: * http://www.jollem.com/~ernst/orion-primer_old/ Besides adding the source files that were missing, I've made the following changes since the previous