sendRedirect and frontend host=.. port=.. / bug

2001-04-26 Thread Joni Suominen
Hi! There seems to be a bug in Orion (1.4.7) with sendRedirect and frontend host=.. port=.. / tag (from web-site.xml). I have understood the meaning of frontend tag so that it is used in HTTP REDIRECTS if relative URL is used in a method HttpServletResponse.sendRedirect. E.g.

Re: MVC/XML Framework Comments please

2001-04-28 Thread Joni Suominen
Cory Updyke wrote: My issue with XML/XSL transformations is this: My theory for the presentation tier is to keep it as simple as possible. Occasionally, you find a designer who has every right to be a engineer, but designs because they enjoy it. This person will scoff(sp?) at the simplicity

Re: Is it possible to have Apache as Reverse Proxy (front-end) and LoadBalancer ?

2001-05-02 Thread Joni Suominen
Take a look at Squid (http://www.squid-cache.org). I have successfully used it as a front-end accelerator with Orion. With simple redirect rules I guess you can use it as a load balancer too. It is open source, very stable and available for most platforms. Although I found a possible bug in Orion

Re: remote shutdown of orion 1.4.8

2001-05-04 Thread Joni Suominen
[EMAIL PROTECTED] wrote: Folks, The following remote shutdown command does not work anymore in 1.4.8 (it works fine in 1.4.7), any ideas? bug? java -jar admin.jar ormi://localhost admin password -shutdown Hi! It is a bit unclear for me how the shutdown process should work. When I

Re: JavaMail

2001-05-04 Thread Joni Suominen
Nijhawan, Sumit wrote: Hi, Does anyone know of any products (other than Orion) using and being distributed with Sun's reference implementation of the JavaMail API (mail.jar and activation.jar)? Is anyone aware of any licensing issues for distributing these jars freely? Thanks. From

Re: FW: custom finder in CMPs (SLSB facade)

2001-05-07 Thread Joni Suominen
Armin Michel wrote: IMHO, facades are only useful when they do some extra-work, e.g. consolidating the work with many other EJBs. When you just use a facade to plainly forward any request to exactly one EntityBean (1:1 relationship between facades and EntityBeans) than it's not worth the

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

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: Dave

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: servlet-mapping servlet-nameaction/servlet-name url-pattern*.html/url-pattern /servlet-mapping So all the requests

Problems with SAPDB

2001-05-14 Thread Joni Suominen
Hi! I am in a middle of changing our database from HypersonicSQL to SAPDB. In theory it should be easy ;) This is how I have proceeded: 1. I created a database-schema for SAPDB (actually I found a one from this mailing list and copied it). I put that file to $ORION_DIR/config/database-schemas/.

Re: Problems with SAPDB (correction)

2001-05-14 Thread Joni Suominen
I meant column names when I wrote row names. As far as I know the row's usually don't have any names ;) Stupid me... Anyway, the problems remain... Joni [EMAIL PROTECTED]

Re: Generating primary keys

2001-05-15 Thread Joni Suominen
numbers but this is easy to change just by tweaking the constants: LOW_LENGTH and LOW_MAX. UidGenerator.java: ## package org.shiftctrl.uid.persistence; import java.rmi.RemoteException; import javax.ejb.EJBObject; /* * @author Joni Suominen * @version */ public interface

Load balancing advice needed

2001-05-18 Thread Joni Suominen
Hi! I am currently planning the new production environment for our service. The idea is to have following harware setup: 1 firewall (which used for loadbalancing too) 2 Linux/Intel boxes as frontend servers (both running HTTP accelerators and web containers) 1 UNIX server as a backend server

Re: finderException in home interface of CMP ??

2001-05-21 Thread Joni Suominen
Joni Suominen wrote: Eddie wrote: To me it's a bit unclear when I need to throw a FinderException in the finder methods in the Home interface with CMP. ? Now I only throw a finderException in case of - the findByPrimareyKey (otherwise orion complaints), - and in case of a single

Re: finderException in home interface of CMP ??

2001-05-22 Thread Joni Suominen
- Original Message - From: Joni Suominen [EMAIL PROTECTED] To: Orion-Interest [EMAIL PROTECTED] Sent: Monday, May 21, 2001 6:41 PM Subject: Re: finderException in home interface of CMP ?? Joni Suominen wrote: Eddie wrote: To me it's a bit unclear when I need to throw

Re: bugs in @page extends=.... in Orion implementation?

2001-05-30 Thread Joni Suominen
Hi! I have implemented these features as externalized filters. The reason for this was that I use a MVC 2 product which is developed independently (Jakarta Struts http://jakarta.apache.org/struts/). Like Marcel said the beauty of filters is that they are independent from the rest of the

Re: bugs in @page extends=.... in Orion implementation?

2001-05-31 Thread Joni Suominen
to the application user that performs the request? I didn't think this standard could be used for that, if it is, I might go for it ;). regards, Dan Joni Suominen wrote: Hi! I have implemented these features as externalized filters. The reason for this was that I use a MVC 2 product which

Re: Writing an external client

2001-05-31 Thread Joni Suominen
Hi Kevin! Please check that applications\CricetApp is in your CLASSPATH. -- Joni [EMAIL PROTECTED] Kevin Jones wrote: I want to access a javax.sql.DataSource from an external client, or, failing that an EKB Session bean. Looking at the (scant) Orion docs I have to do something like this

Re: Using JAAS for authentication (Was: bugs in @page extends=...)

2001-06-01 Thread Joni Suominen
implementation. Regards and thanks for the info, D. Joni Suominen wrote: Hi Daniel, JAAS is not necessarily tied to the OS user. Actually you can tie it to the OS user by using proper login modules which can authenticate if a user is already logged into an OS. However, in a true

Different JNDI context factories

2001-06-28 Thread Joni Suominen
Hi! I made an experiment with a setup where ejb components are deployed in another server than web components. Orion provides three types of JNDI context factories: com.evermind.server.rmi/RMIInitialContextFactory com.evermind.server.ApplicationClientInitialContextFactory

Re: Debugging and orion

2001-06-29 Thread Joni Suominen
Hi, You can use -out and -err commandline swiches to specify where System.outs and System.errs are written. For example: $JAVA_HOME/bin/java -server -jar orion.jar \ -config $ORION_HOME/config/server.xml \ -out $ORION_HOME/log/server-out.log \ -err

LDAP and EJBs

2001-07-06 Thread Joni Suominen
Hi everyone! I have a use case where I need to interface an LDAP directory and a relational database within a same transaction. That is, to create a new row to RDBMS from session bean using entity bean and to create an LDAP entry from the same session bean using Sun's LDAP provider through JNDI.

Re: SV: LDAP and EJBs

2001-07-10 Thread Joni Suominen
as there is an active transaction associated to the thread calling it. regards, Patrik Andersson -Ursprungligt meddelande- Från: Joni Suominen [mailto:[EMAIL PROTECTED]] Skickat: den 6 juli 2001 08:32 Till: Orion-Interest Ämne: LDAP and EJBs Hi everyone! I have a use case where

Startup script for HP-UX

2001-07-10 Thread Joni Suominen
Hi! Does any of you have a proper Orion startup script for HP-UX? I found a one from Orion support which works fine in Linux but not in HP-UX. I also have problems to shutdown Orion in HP-UX. Nothing happens when I issue: /opt/java1.3/bin/java -jar admin.jar ormi://localhost admin passwd

Re: Some questions on Orion

2001-07-16 Thread Joni Suominen
Kevin Duffey wrote: I will get my try at LDAP soon and I recall seeing some posts here on LDAP, so I would imagine it works with LDAP..of what company I have no idea. I've been using OpenLDAP (http://www.openldap.org) with Sun's LDAP provider in Linux. So far I haven't had any problems. The

ORMI problem

2001-08-29 Thread Joni Suominen
Hi all, I've noticed a strange bug in our latest production environment relating to the behaviour of Orion's RMI protocol (ORMI). I'm running Orion's web containers in different network segment than Orion's ejb containers. So, the RMI traffic is going through a firewall which is between these

Using two RMI configurations for a single server

2002-01-31 Thread Joni Suominen
Hello, I am running two instances of Orion on my backend segment. Both servers run their own EJB applications. They are not clustered, shared or anything like that and they accept RMI connections to separate ports. Then I have one instance of Orion running on front-end. This instance is deployed