Fw: UN-SUBSCRIBE

2001-06-14 Thread Louis Daniel Cucinella
UN-SUBSCRIBE

SV: response.sendRedirect problem

2001-06-14 Thread Patrik Andersson
Title: SV: response.sendRedirect problem Don't write a full URL In the sendRedirect(param) call. Use an URI instead. Do: response.sendRedirect(/some/place/file.html); instead of: response.sendRedirect(http://host.domain:port/some/place/file.html); -Ursprungligt meddelande-

Re: Force Logon after X minutes

2001-06-14 Thread Lachezar Dobrev
One can use in a servlet, or a JSP: excerpt if ( session.getAttribute(logged_out) != null ){ response.sendError(response.SC_UNAUTHORIZED, Logout...); return; } end excerpt Whenever you want your user logged out: set a session attribute called logged_out. On the main

Context Root

2001-06-14 Thread bchoi
I'd like to ask a trival question. I hope some expert out there could humour me. I'm studying how orion works and I met with the following. How is the context-root tag in the META-INF/applications.xml file used ? I initially thought it was used to refer to the website url (based on the

RE: response.sendRedirect problem

2001-06-14 Thread Simon Kitching
Title: SV: response.sendRedirect problem Hi Rafael, I don't think Patrik's suggestion is the answer; you should be able to sendf ully-qualified URLs in redirects (forwards, on the other hand, do need to be within the same serveri nstance). I suggest that you try connecting to orion via

RE: order of tags in xml configuration files

2001-06-14 Thread Yves Bossel
Hi, I do agree with ElephantWalker: be VERY careful with the order of tags AND attributes. We have spent a lot of time looking for NullPointerException because of wrong order of attributes in a data-sources.xml Yves Bossel -Original Message- From: elephantwalker [mailto:[EMAIL

Re: Counting CMP entities

2001-06-14 Thread Russ White
That would work fine but would be very expensive. I would create a getCount() method and have that method do a simple JDBC call and return the count. This way the container does not have the added overhead of creating/marshalling the collection. - Original Message - From:

No Subject

2001-06-14 Thread Sonny Satan
Hello everyone, Where EJB and CMP entities. I know only plain Servlets and Java. Thanks -- obtene tu webmail gratuito en: http://www.yocreo.com

Re: response.sendRedirect problem

2001-06-14 Thread john_haasbeek
The path you provide to response.sendRedirect should be run through response.encodeRedirectURL first. This may help solve the problem because it will generate an absolute, fully qualified URL. John H. Rafael Alvarez [EMAIL PROTECTED]@orionserver.com on 06/13/2001 05:43:35 PM Please

Re: Counting CMP entities

2001-06-14 Thread Sergei Batiuk
Dear elephatwalker, It looks like a big perfomance hit for both database and container to count entities in such a way. Another decision is to talk directly to db, which is also notgood. Browsing EJB 2.0 documentation, I found out that there is an ejbSelect() method that allows to perform

Orion 1.5.2

2001-06-14 Thread Darren Mosley
Hi Ignore my mails about clustering - its all working dandy now. I've been using Orion 1.3.8 with my web-app (using a stateless session bean) and its been ok for quite a while. But when i upgraded (using autupdate) to 1.5.2 my EJB didnt work anymore. Anyone had problems? I tried it on

debug jsp pages and where is the source

2001-06-14 Thread Wendell Nichols
When I access a jsp page which uses a tag library I get an error: 500 Internal Server Error Error parsing JSP page /ectsdemo/TagLibDemos/booklist.jsp line 15 Bean type 'String' not found I suspect that this is a problem creating the java file from the jsp page related to the tag extra

Re: debug jsp pages and where is the source

2001-06-14 Thread Wendell Nichols
Well I made the jsp page work by explicitly importing "java.lang.String", as opposed to "java.lang.*" as I had done for other servers. Because this shouldn't bother other servers I'm ok with it. I still need to have access to the jsp.java files for debugging purposes before Orion will be an

Re: Force Logon after X minutes

2001-06-14 Thread Joshua Goodall
Returning a 401 HTTP response to the user should be sufficient to force current IE and Netscape browsers to re-request user credentials. However I have noticed that many versions (including IE5.5) will cache the password thus allowing the user to simply hit enter to re-authenticate. It is

Re: debug jsp pages and where is the source

2001-06-14 Thread Wendell Nichols
Oops, I got had by a deployment thing, (orion didn't recompile the jsp file when the TEI class changed...). The thing that actually fixed the jsp compile problem was changeing the tei class from new VariableInfo("eCTSResult", "String", true, VariableInfo.NESTED), to new

RE: Counting CMP entities

2001-06-14 Thread elephantwalker
Sergei, I ran into this problem once before...sorry about the performance, I didn't know how big your beans were. What I did was create an entity bean which was just the list of pk's for the other bean...I mean that's all. Then call the list, findByPK(1), and return the list of pk's from

Orion can't find Cloudscape database

2001-06-14 Thread Lou Farho
How do I tell Orion where to find my Cloudscape database? Here is what I have for the data source:

Undeliverable:

2001-06-14 Thread Mail Delivery Subsystem
Important information! This e-mail has not been delivered to [EMAIL PROTECTED] The receiver's mailbox is full. When the mailbox has been emptied you will be able to resend this e-mail. Best regards Telia Internet

RE: debug jsp pages and where is the source

2001-06-14 Thread Michael A Third
You have to use the fully qualified class name, ie java.lang.String for this to work. Michael -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Wendell NicholsSent: Thursday, June 14, 2001 10:59 AMTo: Orion-InterestCc: [EMAIL

Undeliverable:

2001-06-14 Thread Mail Delivery Subsystem
Important information! This e-mail has not been delivered to [EMAIL PROTECTED] The receiver's mailbox is full. When the mailbox has been emptied you will be able to resend this e-mail. Best regards Telia Internet

groups and usermanager

2001-06-14 Thread Lawrence Fry
Has anybody used more than one group outside of the defaultGroups for a usermanager? I have found that if you use EJBUserManager, and use more than one group in the EJBUser_groups table.. username='somename' value='my-admins,my-users' Only the first group in the list is used (my-admins), the

how do I unsubscribe?

2001-06-14 Thread Bryan Young
I know I sound like a total newbie, but at this point I just don't care. How do I unsubscribe from this list? I tried the web site's unsubscribe (three times over four days) with no luck. The initial message sent when I joined had no useful information.

RE: debug jsp pages and where is the source

2001-06-14 Thread Gregory T Stickley
If you want to see the java source files compiled from the jsp pages then add developmenttrue/development to your web-application.xml file. There was another thread that mentions this with additional information titled Cached code. Karl Avedal was the responder. email signature goes

Undeliverable:

2001-06-14 Thread Mail Delivery Subsystem
Important information! This e-mail has not been delivered to [EMAIL PROTECTED] The receiver's mailbox is full. When the mailbox has been emptied you will be able to resend this e-mail. Best regards Telia Internet

Undeliverable:

2001-06-14 Thread Mail Delivery Subsystem
Important information! This e-mail has not been delivered to [EMAIL PROTECTED] The receiver's mailbox is full. When the mailbox has been emptied you will be able to resend this e-mail. Best regards Telia Internet

RE: Counting CMP entities

2001-06-14 Thread Jeff Schnitzer
It's not necessarily true that findAll().size() would be expensive. A slick container implementation would delay the actual query until the first method call on the Collection. If size() is the first method called, the container could easily perform the proper select count(*). The question

RE: Orion 1.5.2

2001-06-14 Thread Eduardo Estefano
I had some problems after upgrading to 1.5.2. The app told me it upgraded but it didn't. I wiped out the directory, installed orion fresh again (1.4.5), did the upgrade again and it all worked fine. Perhaps I had some file locked when I did the update, who knows. -Original Message-

Undeliverable:

2001-06-14 Thread Mail Delivery Subsystem
Important information! This e-mail has not been delivered to [EMAIL PROTECTED] The receiver's mailbox is full. When the mailbox has been emptied you will be able to resend this e-mail. Best regards Telia Internet

Re: debug jsp pages and where is the source

2001-06-14 Thread Scot Weber
Wendell, orion-web-app jsp-cache-directory=./persistence servlet-webdir=/servlet development=false-- Change this to true persistence-path=./persistence/state.ser Then . . . Assuming all things are equal and you have a default web app called

Problems with bidirectional CMR

2001-06-14 Thread Harris Simon
I am trying to get a bi-directional container managed relationship working in Orion 1.5.2 but it keeps creating an intermediate table. Is there anyway to stop this? There is no need for the extra table. Here is my example: Change[1]-[*]Objection create table change ( change_id

Undeliverable:

2001-06-14 Thread Mail Delivery Subsystem
Important information! This e-mail has not been delivered to [EMAIL PROTECTED] The receiver's mailbox is full. When the mailbox has been emptied you will be able to resend this e-mail. Best regards Telia Internet