Sharing datasource

2002-05-17 Thread Linus Larsen
If the same EJB application is running on lets say two servers, and are sharing the same datasource. Do I have to configure the orion-ejb- jar.xml and set the exclusive-write-access=false for every entity deployment (on both servers) sharing the datasource, to avoid inconsistency in the

Re: OT: Session Related

2002-03-18 Thread Linus Larsen
Put and Get is deprecated, use session.setAttribute(foo)/ session.getAttribute(foo) instead. /Linus On Sunday, March 17, 2002, at 04:55 PM, Stephen Davidson wrote: Hi Michael. The following line in your servlets should handle you; request.getSession().put(keyObject, valueObject);

Re: timed events

2002-03-14 Thread Linus Larsen
One solution would be to write a client-application which contains a timer and timertasks. The client could for example send a JMS message to a MDB which triggers an event. The client could be autostarted together with your application (most app-servers has a way of doing this). In this way

Bug?!

2002-03-13 Thread Linus Larsen
Updating from 1.5.2 to 1.5.4 Everything seems to work just fine except for one thing. When I use a Filter mapped to one of my servlets a strange error occures. Orion throws a java.lang.NoClassDefFoundError: javax/servlet/Config In my code I have no references to that class. And for all I know

100 Continue

2002-03-05 Thread Linus Larsen
Hi Im having a propblem sending a POST to a servlet in orion Im trying to send a POST from a PDA with Windows CE installed The servlet just parses the stream and stores the content in a database When the POST is submitted, everything after the 100 Continue response is being stored in the

Re: Where to put JAAS classfiles (loginmodules) when using it from a web app

2002-02-12 Thread Linus Larsen
According to the atlassian owerview over orion classloaders, it should be possible to use the Class-Path: attribute in your manifest file of your .jar file, orion should load those classes. I´ve tried but never got it to work, it seems orion ignoring the Class-Path: attribute (this works on

Re: Row limit for finder methods ?!

2002-02-12 Thread Linus Larsen
You could either edit the orion-ejb-jar.xml. And change the generated SQL, but this will be overwritten next time orion is started. Another way is to specify a finder query in your EJBHome inteface like this: String findByRecipient_query = Message.recipient = $1; Collection

log4j + client-application

2002-02-09 Thread Linus Larsen
Hello I want to use log4j together with my application. I.e I want all my servlets, jsps, ejbs and clients toshare the same logfiles. I've implemented log4j according to the tip the atlassian guy gave (don't remember his name).Put the log4j.jar in orion/lib, add libary path="config" to

Client execution...

2002-01-31 Thread Linus Larsen
I am wondering if Orion executes the application clients stated as auto-start in orion-application.xml in separate threads? one for each client? I have three clients in my application, one initclient which populates the db first time the app is started, one schedular and one client

getHeaderNames();

2002-01-28 Thread Linus Larsen
Does anyone know why the request.getHeaderNames() returns the headernames as uppercase in orion? regards /Linus