RE: newbie user...help

2001-05-11 Thread elephantwalker
Check out orionsupport, there's a simple howto on this: http://www.orionsupport.com/articles/vhosts.html regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of g vasantha kumar Sent: Friday, May 11, 2001 9:42 PM To: Orion-Interes

newbie user...help

2001-05-11 Thread g vasantha kumar
hi orion works fine and am able to run all demos.i don't understand the virtual directory mode.i want my webapp to run with a url , http://mycompany.com...instead of http://127.0.0.1/mycompany. help out.thanx in advance. __ Do You Yahoo!? Yahoo!

Re: Session Invalidate Exception

2001-05-11 Thread Noah Nordrum
Session Invalidate ExceptionServlet Spec == 7.2 Creating a Session Because HTTP is a request-response based protocol, a session is considered to be new until a client "joins" it. A client joins a session when session tracking information has been successfull

How to tell when a user first log's in?

2001-05-11 Thread Jeremy C
Is it possible to attach a hook, or some means of detemining when a user first log's in? I use DataSourceUserManager... What I would like to do is two things, 1. In my top frame, indicate who you are logged in as 2. Check the last time you have changed your password, and prompt for a password

RE: Standar Template

2001-05-11 Thread Mike Cannon-Brookes
Consider SiteMesh a prebuilt filter for the purpose of implementing HTML decorators ;) Trust me - try it! -mike Mike Cannon-Brookes - Founder, Core Developer OpenSymphony - http://www.opensymphony.com "The Open Source J2EE Component Project" Latest News - Cache in on faster, more reliable JSPs

RE: Session Invalidate Exception

2001-05-11 Thread Kesav Kumar
Title: Session Invalidate Exception If there is no valid session getSession(false) should return null is in't it?   Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] http://www.voquette.com Voquette...Delivering Sound Information -Original Message

Are the JMSConnections are pooled?

2001-05-11 Thread Kesav Kumar
Title: Are the JMSConnections are pooled? When we create QueueConnection or TopicConnection from corresponding ConnectionFactory are they actually pooled?  When I close my QueueConnection is the actual connection gets closed or it goes to connection pool?  Is there any way I can veryfy the con

How to map between logical relationship in EJB and physical schema ?

2001-05-11 Thread Chirag Desai
Hi, I have EJB2.0 beans that uses 2.0, 1-n relationship to update two tables. In the database, I have physical schema that defines 1-n relationship between these two tables. >From the EJB code, I could do update to this logical relationship using Collection as per EJB2.0 spec. But it looks like

Authentication App Design

2001-05-11 Thread cybermaster
Hi list,   I am starting to design & write an Authentication App Server that can be used by independent, distributed apps - e.g. by Orion Apps (e.g. a servlet filter) for authentication/login.  The app could run on Orion, but in itself be independent. For each supported platform or applic

Re: Basic Authentication

2001-05-11 Thread Bill Winspur
I 've learned how to get basic authentication going, given Brian's suggestion, and a little more trial and error. Things that I would like to add to the authentication-primer at jollem (if I had the time this week) include: 1. You need the tag in web.xml 2. you need the tag in orion-applicatio

RE: Session Invalidate Exception

2001-05-11 Thread Jason Coward
Title: Session Invalidate Exception Kesav:   I believe that when you call request.getSession(false), it will not create a new session if a valid one does not already exist.  If you want to create a new one, right after invalidation of a previous session, call request.getSession() or request.

RE: JMS or just function ??

2001-05-11 Thread Ed Bras
Thanks for the advice guys. The thing I have in mind is to build a logwrapper around log4j to not only log to a file but also send a sms/mail etc.. and to keep track of the already send sms to overcome resending within a short period. I was thinking about a jms EJB logger, that is: it communic

How to map logical relationship into physical schema ?

2001-05-11 Thread Chirag Desai
Hi, I have EJB2.0 beans that uses 2.0, 1-n relationship to update two tables. In the database, I have physical schema that defines 1-n relationship between these two tables. >From the EJB code, I could do update to this logical relationship using Collection as per EJB2.0 spec. But it looks like

Re: Servlet Mapping Recursion Problem

2001-05-11 Thread Bill Winspur
Thanks Joni, very elegant. I've started down that route (ie. having externally visible urls that are different to the internally visible urls), but hadn't thought of driving the whole thing off a configuration file. Neat. The application provider could package it with the app, leaving the front

RE: Stateless bean and remove

2001-05-11 Thread Ed Bras
Hi Frank, I was wandering how I can control/influence the lifetime of my stateless bean, as I am storing some data in private variables to overcome large calculation times, so that the next time a web user requests the same data it's already there (after a fixed time I do refresh it if the sam

Session Invalidate Exception

2001-05-11 Thread Kesav Kumar
Title: Session Invalidate Exception When we call invalidate() method on the session what happens? I was doing the following and I am getting a strange error.  This is just a testcondition I am giving to reproduce my error.  The reality is much complex.     session.setAttribute("kesav",

RE: orionconsole and firewall -> hangs !??

2001-05-11 Thread Ed Bras
Thanks Frank, I know I can do that, to found out which ports orionconsole needs to be open, however I am not the owner of the firewall, another company is responsible for the firewall. I can only tell them which ports they should open, when I know the ports! Eddie >From: Frank Eggink <[EM

RE: orionconsole and firewall -> hangs !??

2001-05-11 Thread Andre Vanha
Eddie, It looks like the orion console uses the ORMI protocol. The default port for ormi is 23791. You could edit rmi.xml to specify a different port. Andre -Original Message- From: Eddie [mailto:[EMAIL PROTECTED]] Sent: Friday, May 11, 2001 8:45 AM To: Orion-Interest Subject: orioncons

Re: Standar Template

2001-05-11 Thread KirkYarina
From his message headers it looks like it spent a *long* time in a mail queue. I'd guess the original did the same and he assumed it'd been lost. We have no performance problems with precompiled XSLT on every page; perhaps you should reconsider your opinion. We're even using xalan, reported

Re: DeadLock with 25 users

2001-05-11 Thread KirkYarina
I believe this is discussed in past; see the archives ( http://www.mail-archive.com/orion-interest%40orionserver.com/ ). Try increasing max-connections in data-sources.xml Kirk Yarina At 09:13 AM 5/11/01 +0200, you wrote: >Hello, we just start some benchs with 25 fake users, here is the exept

Re: Servlet Mapping Recursion Problem

2001-05-11 Thread Joni Suominen
Hi Bill! I am using a front servlet pattern with Orion. I use Struts but I suppose this approach should work in any framework. 1. The front servlet mapping in web.xml: action *.html So all the requests ending to .html are processed by the front-end servlet. 2. All the valid URL's

RE: Stateless bean and remove

2001-05-11 Thread Frank Eggink
Nope, as a rule you will have a limited number of stateless session beans at anyone moment instantiated in your container, due to the nature of a stateless bean. The container can 'garbage collect' them. Guess it will do that after some time out. If you are seriously concerned about resource us

RE: JMS or just function ??

2001-05-11 Thread Frank Eggink
In general you use JMS for three purposes: 1. The message receiver is not always accessible (due for instance to the unreliable nature of the internet) but you do want guaranteed delivery. 2. You would like to give clients the option to subscribe at will (allthough you probably can do this using

RE: orionconsole and firewall -> hangs !??

2001-05-11 Thread Frank Eggink
A good firewall can log packages that are denied. For example ipchains on Linux can log any packet that matches a specific rule. If you log all denied packages and start orion with the console you'll find out easily what the ports are ... Guess you can do this trick with other firewall as well

Re: JMS or just function ??

2001-05-11 Thread John Hogan
A benefit is that your app can send messages and can forget about them. It doesn't need to wait for anything to complete. This means you don't have to keep your user waiting, who may be on the other end of something like an http request. Users don't like to wait. It's not appropriate for e

Re: JMS or just function ??

2001-05-11 Thread Gary Shea
Eddie ([EMAIL PROTECTED]) wrote: >Hope to get an answer on this question: > Can someone please tell me when/why to use JMS ? and what his impact is on >performance to comparision to for example a function-call of another bean and >application ?? > > I like to use it but the above is still a bit

Re: CLUSTERING PROBLEM FINALLY SOLVED!!

2001-05-11 Thread Mike N. Christoff
SV: CLUSTERING PROBLEM FINALLY SOLVED!! The application-creation-howto document was intended to show how to deploy a full application to Orion, not how to tie a web-application to the default application. This have been mentioned on this list numerous times, together with responses on how to do t

RE: CLUSTERING PROBLEM FINALLY SOLVED!!

2001-05-11 Thread Tony J. Brooks
  Hi Mike,   I don't doubt you when you say you've had problems, but plenty of others (including myself) have managed to cluster Orion easily in the past (okay - I don't include the loadbalancer.jar in that statement about it being easy - when we were using it, it was buggy as hell, and qui

RE: Servlet Mapping Recursion Problem

2001-05-11 Thread elephantwalker
Bill,   yeh...we need the apache url re-writting stuff in a servlet. That's an issue with orion. I think the opensymphony people are writing something.   There is a simple workaround. Have a forward.jsp as your welcome page for the default app. In the forward.jsp, use this code:   <% Str

Re: findByAll() ... finding everything!

2001-05-11 Thread Jeff Hubbach
Jeremy, Look at the orion-ejb-jar.xml file that is generated (if you're using the defaults, it should be in $ORION_HOME/application-deployments///orion-ejb-jar.xml) and look for a tag. Compare it to this document http://www.orionserver.com/docs/orion-ejb-jar.xml.html Essentialy you're going to

Servlet Mapping Recursion Problem

2001-05-11 Thread Bill Winspur
In my web.xml I set up the servlet mapping, for a (front) servlet to handle all requests for the web app, to '/'. This works to the extent that all requests are passed to the servlet. BUT... if I do a forward to another resource from the servlet, the servlet's doGet() method is invoked recur

JMS or just function ??

2001-05-11 Thread Eddie
Hope to get an answer on this question: Can someone please tell me when/why to use JMS ? and what his impact is on performance to comparision to for example a function-call of another bean and application ??   I like to use it but the above is still a bit unclear to me.   Thanks, Eddie

orionconsole and firewall -> hangs !??

2001-05-11 Thread Eddie
Please tell me which ports I need to open such that orionconsole can monitor an orion server that is behind a firewall. I have some orion servers that I can monitor well, but one is behind a firewall and the orionconsole just "hangs" when I add the server and click on it (at least I was impatient

Re: Standar Template

2001-05-11 Thread Joni Suominen
Using a filter sounds like a good idea. It is a natural way to implement Decorator design pattern. -- Joni [EMAIL PROTECTED] Smith Jason wrote: > > Maybe you could use a filter? > > Check out the filter tutorial at http://www.orionserver.com/ > > /Jason > > -Original Message- > From:

Re: Standar Template

2001-05-11 Thread Joseph B. Ottinger
Dave, why are you resending this to the Orion-Interest list? You've seen a few ways to do it - a bad suggestion to use XSLT on every page, plus SiteMesh, plus a few others. Read the responses, mmmkay? On Thu, 10 May 2001, Dave Ford wrote: > I want to create a web app in which every page on the s

Orion 1.4.8 page reload stalls

2001-05-11 Thread Dale M. Boresz
Hi, I recently upgraded to version Orion 1.4.8 from version 1.4.5, and discovered that when a page (jsp) initially loads and displays, the message bar at the bottom of the browser window (Netscape) indicates that it is still trying to download something, while the indicated transfer rate drops a

RE: Standar Template

2001-05-11 Thread Smith Jason
Maybe you could use a filter? Check out the filter tutorial at http://www.orionserver.com/ /Jason -Original Message- From: Dave Ford [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 9:17 PM To: Orion-Interest Cc: Dan Tharp Subject: Standar Template I want to create a web app in

Standar Template

2001-05-11 Thread Dave Ford
I want to create a web app in which every page on the site has a standard header along the top and a standard menu along the left edge (a pretty standard thing). I came up with 2 ways of doing this: 1. Use a table tag and jsp:include tags on EVERY page:

Re: Problems with overridden templates in Xalan 2

2001-05-11 Thread Robert Kr?ger
check out 2.6.1 and 2.6.2 of the XSLT recommendation and you'll know why this happens and what you need to do to solve your problem and please post this type of question to a xalan mailing list in the future. HTH robert On Friday 11 May 2001 11:57, you wrote: > Hi! > > We use Xalan 2 and hav

Stateless bean and remove

2001-05-11 Thread Joni Suominen
Hi! This question should propably be asked in EJB-INTEREST mailing-list but I raise it here since I am not currently following it. So apologize me if you feel that this is a bit offtopic. The question is simple: Is it required to call the remove() method on stateless session bean after finishing

JNDI help please

2001-05-11 Thread David Ekholm
> I am desperately trying to understand how the JNDI service works. I want > to be able to lookup EJBs thru the fully specified path, i.e > java:comp/env/ejb/BeanJndiName, but it only works with BeanJndiName > directly. This is not so much problem as the second one: I store > environment vars in

JNDI help please

2001-05-11 Thread David Ekholm
I am desperately trying to understand how the JNDI service works. I want to be able to lookup EJBs thru the fully specified path, i.e java:comp/env/ejb/BeanJndiName, but it only works with BeanJndiName directly. This is not so much problem as the second one: I store environment vars in web.xml. Th

Problems with overridden templates in Xalan 2

2001-05-11 Thread Andrew Storoshenko
Hi! We use Xalan 2 and have templates with the same name in two xsl-files. In the first file this template is defined, and It’s overridden, if necessary, in the second file. Since that, we’ve got problem that previously we had not (when we use Xalan 1). It seems that Xalan 2.01 doesn’t all

Re: Standar Template

2001-05-11 Thread Daniel Lopez
Hi, I haven't looked much into SiteMesh, but, just looking at the overview, it seems to me that you still have to generate the content of the different sites that you want to "mesh", and if they look totally different then you are out of luck. We are using the same approach that Jeff is talking ab