Re: OrionTime out
I wont swear this is the answer, but in the data-sources file there is a "inactivity-timeout" tag that you may need to set. Min happens to be ="30" I assume this means minutes. "John Tsimikas" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 01/14/02 10:20 AM Please respond to Orion-Interest To: Orion-Interest <[EMAIL PROTECTED]> cc: Subject:OrionTime out Orion occasionally returns the following error when calling certain EJBs within my java app. "com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: timed out" All the EJBs are stateless and are bean managed. I would like to increase the timeout value, but the only tag I can find is a tag called in web.xml and this doesn't seem appropriate. I would appreciate if anyone could point me in the right direction. John
Using UserTransaction from a standalone client
Can someone tell me how to configure properly to lookup a UserTransaction? I have a standalone client that references a jndi.properties file to connect to our app server and make use of EJB's. When I try to add a UserTransaction lookup I get name not found. Do I have to add UserTransaction to an xml config file somewhere? What does the entry have to look like? Thanks.
finder queries
Can some one help me out on this? I want to implement a findByName. I've looked at findquery.html and finders.html and am still having trouble. I want a findByName but I dont want to edit the orio-ejb-jar.xml file, I want to put the string into the Bean. Where? In the bean, the home, or the remote. And how do you do a partial? (findquery.html shows a "full:" I have yet to find any docs that describe the use of this method) I guess I want something like findByName_query="partial: where prov_name = $1" and I dont know how. thanks.