RE: Client access to UserTransaction

2002-01-23 Thread Alex Paransky
your choice. -AP_ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Shawn Pourchot Sent: Wednesday, January 23, 2002 11:08 AM To: Orion-Interest Subject: Client access to UserTransaction I sent this to support but maybe someone on this list has already come

Client access to UserTransaction

2002-01-23 Thread Shawn Pourchot
I sent this to support but maybe someone on this list has already come across this problem: I'm having problems getting the UserTransaction for external clients. The following is basically how I'm trying to get at it: env.put(Context.PROVIDER_URL,"ormi://localhost/app"

RE: Using UserTransaction from a standalone client

2001-12-18 Thread The elephantwalker
This was answered at www.elephantwalker.com/rfa?id=271 regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, December 18, 2001 9:48 AM To: Orion-Interest Subject: Using UserTransaction from a

Using UserTransaction from a standalone client

2001-12-18 Thread DPietro
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 UserTransacti

UserTransaction lookup from client

2001-08-05 Thread Tim Burns
Is there anything special I need to specify in the Orion configuration to get a value UserTransaction from a lookup?   I have tried both the following:       public static UserTransaction getTransaction()    throws javax.naming.NamingException {       String name = //java:com/env

RE: How can I get UserTransaction or TransactionManager

2001-07-09 Thread HyungKee Hwang
backed, i.e. new user was still in the database. Tiral 2>> I used ejbContext to get UserTransaction in newUser method of a session bean as follows; ejbContext.getUserTransaction().begin(); create a user newAddress(); ejbContext.getUserTransaction().commit(); And set the session bean&#x

RE: How can I get UserTransaction or TransactionManager

2001-07-08 Thread Haeussler, Heinz
Hi HK, you can't get UserTransaction from an Application-Client-or RMI-Client-Context. This (optional) feature is not supported by Orion. Heinz -Ursprüngliche Nachricht- Von: HyungKee Hwang [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 9. Juli 2001 02:35 An: Orion-Interest Be

RE: How can I get UserTransaction or TransactionManager

2001-07-08 Thread aby
Hi HK, I am getting puzzled now on this. Maybe you could try UserTransaction ut = context.getUserTransaction(); where 'context' is the SessionContext or EntityContext variable which is declared at the top of the EJB as a variable. Kind Regards Aby

RE: How can I get UserTransaction or TransactionManager

2001-07-08 Thread HyungKee Hwang
Thank you Aby I tried "java:comp/env/UserTransaction", but the same error occurred. Any advice appreciated. Regards, -HK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Saturday, July 07, 2001 3:47 PM To: Orio

Re: How can I get UserTransaction or TransactionManager

2001-07-06 Thread aby
Hi HK, I think you should try "java:comp/env/UserTransaction" Regards Aby "HyungKee Hwang" <[EMAIL PROTECTED]>@orionserver.com on 07-07-2001 09:10:55 AM Please respond to Orion-Interest <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] To: Orion-Interest

How can I get UserTransaction or TransactionManager

2001-07-06 Thread HyungKee Hwang
Hello, all. Can you give me some advice how to get UserTransaction or TrasactionManger? I wrote some codes in my application as follows; // Below codes are from Orion FAQ import javax.naming.*; import javax.transaction.*; ... TransactionManager manager = (TransactionManager)new

Re: UserTransaction

2001-06-18 Thread Klaus Thiele
age - > > From: "Jeff Hubbach" <[EMAIL PROTECTED]> > > To: "Orion-Interest" <[EMAIL PROTECTED]> > > Sent: Friday, June 15, 2001 6:05 AM > > Subject: Re: UserTransaction > > > > > Check www.orionserver.com, u

Auto-reply: Re: UserTransaction

2001-06-18 Thread David Rajan
rk. Jeff. Phan Anh Tran wrote: > Yeah, but can I do that from a stand-alone APP running in separate VM? > > Anh > > - Original Message - > From: "Jeff Hubbach" <[EMAIL PROTECTED]> > To: "Orion-Interest" <[EMAIL PROTECTED]> > Se

Re: UserTransaction

2001-06-18 Thread Jeff Hubbach
[EMAIL PROTECTED]> > Sent: Friday, June 15, 2001 6:05 AM > Subject: Re: UserTransaction > > > Check www.orionserver.com, under the FAQ link: > > > > How do I get a reference to the TransactionManager? > > > > > >import javax.naming.*; > >i

RE: UserTransaction

2001-06-16 Thread Eduardo Estefano
way and do it manually (it still has a lot of bugs). I'm talking about the earassembler.jar -Original Message- From: David- [mailto:[EMAIL PROTECTED]] Sent: Friday, June 15, 2001 9:32 PM To: Orion-Interest Subject:Re: UserTransaction hi guys, i m new to ejb and

Re: UserTransaction

2001-06-16 Thread Paolo Ramasso
hi Devid you have to prepare 3 files: 1) a .jar file containig the ejbs classes and the .xml descriptor (under Meta-inf) 2) a .war file containig your jsps, static files, and the web.xml file (under web-inf) 3) a .ear file containing the ejb .jar file the .war file and the application.xml file (un

Re: UserTransaction

2001-06-15 Thread David-
hi guys, i m new to ejb and want to develop them using the orion server...could someone explain where do i put up my ejbs and my jsps..i mean what im looking for is a directory pattern...I tried alot of combos but...does not seem to work... thanks in advance David

Re: UserTransaction

2001-06-15 Thread Phan Anh Tran
Yeah, but can I do that from a stand-alone APP running in separate VM? Anh - Original Message - From: "Jeff Hubbach" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Friday, June 15, 2001 6:05 AM Subject: Re: UserTransaction > C

Re: UserTransaction

2001-06-15 Thread Jeff Hubbach
Check www.orionserver.com, under the FAQ link: How do I get a reference to the TransactionManager? import javax.naming.*; import javax.transaction.*; ... TransactionManager manager = (TransactionManager)new InitialContext().lookup("java:comp/UserTransaction&quo

UserTransaction

2001-06-14 Thread Phan Anh Tran
With orion, Is it possible to look up a user transaction outside an EJB (a stand-alone app for example)?  Thanks    

UserTransaction Once Again!

2001-02-22 Thread Sameer
Hello, My name is Sameer and I am trying to figure out how to start a new transaction from the client of a stateful session bean. After reading the previous mails on this issue, it is evident that getting a reference to the UserTransaction interface is the only way of doing it! (Or is there

Re: get reference to UserTransaction fails

2000-10-26 Thread Karl Avedal
s a performance/stability problem, so I would try to do it in some other way. Regards, Karl Avedal Klaus Thiele wrote: > Hello, > > i'm using transactions within servlets, sessionbeans > with no problems. > > now i'm trying this from an ordinary app-client but it >

RE: get reference to UserTransaction fails

2000-10-25 Thread Juan Lorandi (Chile)
My 2c, JP -Original Message- From: Greg Matthews [mailto:[EMAIL PROTECTED]] Sent: Martes, 24 de Octubre de 2000 21:08 To: Orion-Interest Subject: Re: get reference to UserTransaction fails i was trying to do the same thing, and it sort of makes sense that you can't cont

Re: get reference to UserTransaction fails

2000-10-24 Thread Greg Matthews
i was trying to do the same thing, and it sort of makes sense that you can't control a transaction (UserTransaction) from outside orion (i.e. the ejb container). it does raise the question however about how you would ever maintain any decent level of control over transactions if entity

RE: get reference to UserTransaction fails

2000-10-24 Thread Juan Lorandi (Chile)
the reference to the client But I think it's a bad idea anyway... it's kinda like "one and a half" layer programming... My 2c, JP -Original Message- From: Klaus Thiele [mailto:[EMAIL PROTECTED]] Sent: Martes, 24 de Octubre de 2000 7:10 To: Orion-Interest Subject

Re: get reference to UserTransaction fails

2000-10-24 Thread Joe Walnes
>now i'm trying this from an ordinary app-client but it >caught an exception: > "java:comp/UserTransaction not found" In the JNDI properties, are you specifying the application name as well as the server? e.g. java.naming.provider.url=ormi://localhos

get reference to UserTransaction fails

2000-10-24 Thread Klaus Thiele
Hello, i'm using transactions within servlets, sessionbeans with no problems. now i'm trying this from an ordinary app-client but it caught an exception: "java:comp/UserTransaction not found" what goes wrong? thanks a lot klaus import javax.naming.*; impo

java:comp/UserTransaction not found

2000-10-22 Thread Greg Matthews
  dear all,   i'm sort of still learning about entity beans and wondered if anyone had any pointers for an error i'm getting.   i receive *no* error when i try to obtain a reference to a UserTransaction from a stateless server bean under orion.   i receive the following error whe

Can't use UserTransaction

2000-07-14 Thread Stefano Andreani
I have Orion 1.0, patched with orion.jar 1.1.24, and Cloudscape 3 on a Windows NT system. I'm trying to use transactions with my Stateless Session Bean (yes, Bean managed transaction is specified in ejb deployment descriptor), but I can't obtain a reference to the UserTransact

DeadLock in UserTransaction

2000-07-12 Thread Hans Barnard
Hi I have discovered a deadlock problem with Orion 1.1.16 which I suspect is a bug: I do the following (in the servlet tier): 1. Begin a user transaction (getting the userTransaction from java:comp/UserTransaction). 2. Then create a new entity bean 3. Then execute a finder method which should

RE: UserTransaction.

2000-07-05 Thread Rui Gil
Hi Karl, Well, you really have a way to make us users feel special, don't you... ;) Rui Gil > > Hello Rui, > > Ok, since you want it, we'll implement it. It's put up as a > feature request, so expect it in about a week. >

Re: UserTransaction.

2000-07-05 Thread Karl Avedal
Hello Rui, Ok, since you want it, we'll implement it. It's put up as a feature request, so expect it in about a week. Rui Gil wrote: > Hi Karl, > > Well, you're right, as far as I know the specification doesn't say > that this should be implemented, but it doesn't say the opposite > either... a

RE: UserTransaction.

2000-07-05 Thread Rui Gil
t understand why the implementation is not going to be portable, aren't we talking about standard interfaces here ? Thanks, Rui Gil -Original Message- From: Karl Avedal [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 5 de Julho de 2000 10:26 To: Rui Gil Cc: Orion-Interest Sub

Re: UserTransaction.

2000-07-05 Thread Karl Avedal
Hello Rui, Currently we do not support getting a UserTransaction reference from an application client (the specification does not say that clients should have access to it). We will probably implement it in a future release, but it will then be Orion specific and not portable to every J2EE

UserTransaction.

2000-07-04 Thread Rui Gil
Hi ! I'm trying to use an UserTransaction in a client code. None of the usuals JNDI names work, like, UserTransaction utx = (UserTransaction)initialContext.lookup("java:comp/UserTransaction") What is the default JNDI name where the UserTransaction is bound for clients ? Do I hav

Re: Orion UserTransaction

2000-07-04 Thread Klaus Thiele
> > > > i have a SessionBean: > > > >public class PersonBean implements SessionBean { > > private UserTransaction ut = null; > > private SessionContext ctx; > > [...] > >public void ejbCreate() throws RemoteException, Cr

Re: UserTransaction not found

2000-06-16 Thread Karl Avedal
p("java:comp/UserTransaction"); > but i get always the exception > "java:comp/UserTransaction not found" > what goes wrong? > > questions: > - why to do > tm = (TransactionManager)initial.lookup("java:comp/UserTransaction"); > and not &g

UserTransaction not found

2000-06-16 Thread Klaus Thiele
Hello, as described in your FAQ i tried the (TransactionManager)context.lookup("java:comp/UserTransaction"); but i get always the exception "java:comp/UserTransaction not found" what goes wrong? questions: - why to do tm = (TransactionManager)initial.lookup("

Re: UserTransaction in SessionBean

2000-06-14 Thread Karl Avedal
Hello Klaus, We'll check this out, it does seem weird, Regards, Karl Avedal Klaus Thiele wrote: > Hello, > > i have a SessionBean: > >public class PersonBean implements SessionBean { > private UserTransaction ut = null; > private SessionContext ctx; &

UserTransaction

2000-06-14 Thread Klaus Thiele
Hello, as described in your FAQ i tried the (TransactionManager)context.lookup("java:comp/UserTransaction"); but i get always the exception "java:comp/UserTransaction not found" questions: - why to do tm = (TransactionManager)initial.lookup("java:comp/User

UserTransaction in SessionBean

2000-06-14 Thread Klaus Thiele
Hello, i have a SessionBean: public class PersonBean implements SessionBean { private UserTransaction ut = null; private SessionContext ctx; [...] public void ejbCreate() throws RemoteException, CreateException { ut = ctx.getUserTransaction(); ejb-jar.xml

UserTransaction

2000-03-15 Thread Robert Hargreaves
Hi all, I've seen this posted quite a few times before but no-one seems to know the answer. How do you get a handle to a UserTransaction (on the client, not in a bean)? I've tried the following but with no luck: UserTransaction utx = (UserTransaction)cont

UserTransaction lookup

2000-02-18 Thread Robert Hargreaves
Hi all, How do you get a handle to a UserTransaction (on the client, not in a bean)? I've tried the following but with no luck: UserTransaction utx = (UserTransaction)context.lookup("javax.transaction.UserTransaction"); UserTransaction utx = (UserTransaction)context.lookup

UserTransaction Handle

2000-02-03 Thread dlp
I'm sorry if this is obvious but after going through the docs and the examples I can not find how to get the JTA UserTransaction handle from Orion. The J2EE docs give an example in terms of a SessionBean calling an EntityBean, but not an EJB client. Any pointers would be greatly apprec