Using two RMI configurations for a single server

2002-01-31 Thread Joni Suominen
pplication. As I understood it, it can only be done per-server. A path to rmi.xml is specified in server.xml. JNDI can be easily setup per application in many ways but is there way to do the same for RMI configuration? If not, I think I have to split up the frontend server instance too? Thanx! -- Joni

ORMI problem

2001-08-28 Thread Joni Suominen
to set up a stupid "ping" application which periodically makes HTTP requests and keeps the connection alive ;) -- Joni [EMAIL PROTECTED]

Re: Some questions on Orion

2001-07-16 Thread Joni Suominen
't had any problems. The LDAP operations I've done are very basic though (listing, adding and deleting entries). -- Joni [EMAIL PROTECTED]

Startup script for HP-UX

2001-07-10 Thread Joni Suominen
-shutdown force -- Joni [EMAIL PROTECTED]

Re: SV: LDAP and EJBs

2001-07-10 Thread Joni Suominen
sRow() fails by throwing an EJBException. In this case can the container's transaction manager somehow rollback the LDAP operations done earlier in ldapDelegate.writeLdapEntry() method? -- Joni [EMAIL PROTECTED] > Patrik Andersson wrote: > > You would have one sessionbean being busi

LDAP and EJBs

2001-07-05 Thread Joni Suominen
JNDI. 1. Is this possible? 2. Can I use container managed transactions? Thanks a lot! -- Joni [EMAIL PROTECTED]

Re: Debugging and orion

2001-06-28 Thread Joni Suominen
-err.log -- Joni [EMAIL PROTECTED] > "Nusairat, Joseph F." wrote: > > OK its an older thread ... but i dont have time to read them all > > I was just wondering ... if i run Orion as a service ... how do i see > the System.out.printlns? > > Does it write

Different JNDI context factories

2001-06-28 Thread Joni Suominen
tier from ejb tier. -- Joni [EMAIL PROTECTED]

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

2001-06-01 Thread Joni Suominen
Hi Daniel, See some answers below. Daniel López wrote: > > Hi Joni, > > That sounds pretty interesting, however, I still have some doubts. > Let's see: > .- Where do you get the user from (the one you use with > user.getSubject()). Can these users be specified dynami

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

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

2001-05-31 Thread Joni Suominen
.PagePermission "admin"; }; This way it is easy to implement multiuser Java applications where accesses are controlled on per-user or per-group level. JAAS is also integrated to the JDK 1.4, like the new logging API you mentioned. -- Joni [EMAIL PROTECTED] Daniel López wrote: > >

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

2001-05-30 Thread Joni Suominen
dges to execute the request. AuthorizationFilter utilizes the forthcoming Java Authentication and Authorization service (http://java.sun.com/products/jaas/). All in all, I have a pretty flexible system with a very little own code. Joni [EMAIL PROTECTED] Daniel López wrote: > > Hi, >

Re: finderException in home interface of CMP ??

2001-05-22 Thread Joni Suominen
. -- Joni [EMAIL PROTECTED] Eddie wrote: > > I understand your point and I completely agree that it's illogical. That's > why I started testing around and found out that it's not necessary to throw > a finderexception in case of a "return collection". > Like I see i

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 (other

Re: finderException in home interface of CMP ??

2001-05-21 Thread Joni Suominen
le return object (orion doesn't complain, but gives > "strange" runtime errors). > > So when a finder returns a collection I don't throw a finderException!! Is > this correct ? No. Every finder method should declare that it throws FinderException. Joni [EMAIL PROTECTED]

Load balancing advice needed

2001-05-18 Thread Joni Suominen
would you distribute the required processes on those three servers? -- Joni [EMAIL PROTECTED]

Re: Generating primary keys

2001-05-15 Thread Joni Suominen
t to be 16 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

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]

Problems with SAPDB

2001-05-14 Thread Joni Suominen
ethod calls getGroupNames() on a CMP entity bean and the above exception is thrown. All these EJB calls are done from servlet conatiner within a single request. What can make the connection closed during this process? Any help appreciated a lot! -- Joni [EMAIL PROTECTED]

Re: Servlet Mapping Recursion Problem

2001-05-11 Thread Joni Suominen
technology being used. Clients only see URLs which are always ending .html (so .jsps are not exposed outside, their function is only to provide the view part in MVC pattern) 3. It is possible to dynamically change the URL mapping by calling appropriate methods in front servlet. -- Joni [EMAIL

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 > > -Orig

Stateless bean and remove

2001-05-11 Thread Joni Suominen
e demo. On the other hand in Wrox Press's book "Professional Java Server Programming, J2EE Edition" they call remove() on stateless session beans. Currently I don't use remove() with stateless session beans. Should I? -- Joni [EMAIL PROTECTED]

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

2001-05-07 Thread Joni Suominen
thing is that it requires some extra code (and an extra EJB call) when doing simple things (like mentioned in previous mails). But I later hope to resolve this extra programming overhead by using code generators. -- Joni [EMAIL PROTECTED]

Re: JavaMail

2001-05-04 Thread Joni Suominen
d you can include it in your product. This release includes IMAP, POP3, and SMTP providers as well. Please do read the LICENSE and ensure that you understand it. The JavaBeans Activation Framework is also free for use under a similar license. -- Joni [EMAIL PROTECTED]

Re: remote shutdown of orion 1.4.8

2001-05-04 Thread Joni Suominen
ion so that it stops all Java procesesses too? -- Joni [EMAIL PROTECTED]

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

2001-05-02 Thread Joni Suominen
relating to tag. See: http://www.mail-archive.com/orion-interest%40orionserver.com/msg12780.html There's also Linux Virtual Server project which is aimed for load balancing: http://www.linuxvirtualserver.org/ Joni [EMAIL PROTECTED] "Joseph B. Ottinger" wrote: > > Sure, it&

Orion and Apache Soap javax.naming.NameNotFoundException

2001-04-30 Thread Joni Wilson
is my dd.xml: http://xml.apache.org/xml-soap/deployment"; id="urn:ejbhello"> org.apache.soap.server.DOMFaultListener I wrote my own provider just changing the Context Provider and Full Context factory name. Any help or ideas is appreciated! joni wilson

Re: MVC/XML Framework Comments please

2001-04-28 Thread Joni Suominen
n Model-2-Brew. That's what we do also nowdays. We use Struts with some own add ons which allow us to configure the caching policies and access control lists for each action in struts-config.xml. Business objects and processes are without an exception implemented as EJBs. Joni [EMAIL PROTECTED]

sendRedirect and bug

2001-04-26 Thread Joni Suominen
excellent way to speed up Orion. It is very fast with static files (gifs, jpegs etc.) and with a simple rules + HTTP headers it is possible to cache dynamic pages too. You can contact me in case you want more information. -- Joni [EMAIL PROTECTED]

Orion slow with GIF images!

2001-04-20 Thread Joni Suominen
be a misconfiguration with my Orion setup? I use Orion 1.4.7 in RedHat 7.0 Linux. Do you have any idea what could be wrong? Or do you need better problem description etc.? Thank you! -- Joni [EMAIL PROTECTED]

RE: Complex O/R and EJB 2.0 CMP

2001-01-08 Thread Suominen, Joni
methods and Select-methods > (forgive me > for errors it has been some time since I read the spec). And it doesn't support container managed relationships between dependent objects. Joni

RE: Orion JSP form validation and redisplay...

2000-12-13 Thread Suominen, Joni
glibs, Struts works just fine with Orion. There was some bug in earlier versions with "Missing resource Action.MESSAGE" but I suppose it is fixed now. Joni

RE: Orion JSP form validation and redisplay...

2000-12-12 Thread Suominen, Joni
mework to do this. It implements a Model-View-Controller design pattern on top of JSPs and servlets. Please check out http://jakarta.apache.org/struts/ Joni

RE: support EJB2.0 or not?

2000-10-19 Thread Joni
, please let me know if you manage to find out how to specify container managed relationships between dependent objects. :) E.g. Address->ZipCode (this a stupid example but anyway...) Joni [EMAIL PROTECTED]

EJB 2.0 CMP question

2000-10-12 Thread Joni
l-and-error development cycle :) Joni [EMAIL PROTECTED]

EJB 2.0: can dependent objects have dependent objects?

2000-10-10 Thread Joni
() Can dependent objects have container managed relationships between other dependent objects? Have I misinterpreted the spec (section 9.4.4.1) or is this something which is not yet supported in Orion? Joni [EMAIL PROTECTED]