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"); Context

RE: Client access to UserTransaction

2002-01-23 Thread Alex Paransky
of 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

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 UserTransaction

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

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/UserTransaction

RE: How can I get UserTransaction or TransactionManager

2001-07-09 Thread HyungKee Hwang
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's TXN attribute to Bean but, the result was the same as above. Any advice

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: Orion-Interest Subject

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

Re: How can I get UserTransaction or TransactionManager

2001-07-07 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 [EMAIL PROTECTED] cc: Subject: How can

Re: UserTransaction

2001-06-19 Thread Klaus Thiele
AM Subject: Re: UserTransaction 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

Re: UserTransaction

2001-06-18 Thread Jeff Hubbach
it wouldn't work. 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] Sent: Friday, June 15, 2001 6:05 AM Subject: Re: UserTransaction Check

Auto-reply: Re: UserTransaction

2001-06-18 Thread David Rajan
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] Sent: Friday, June 15, 2001 6:05 AM Subject: Re: UserTransaction Check www.orionserver.com, under

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

RE: UserTransaction

2001-06-16 Thread Eduardo Estefano
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 want to develop

UserTransaction

2001-06-15 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

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); Jeff

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 Check www.orionserver.com, under the FAQ link

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

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

RE: get reference to UserTransaction fails

2000-10-25 Thread Juan Lorandi (Chile)
-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 control a transaction (UserTransaction

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.*; import javax.t

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://localhost/myapp

RE: get reference to UserTransaction fails

2000-10-24 Thread Juan Lorandi (Chile)
bject: get reference to UserTransaction fails 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 i

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 beans

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 when i try

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 UserTransaction object

DeadLock in UserTransaction

2000-07-13 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 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

RE: UserTransaction.

2000-07-05 Thread Rui Gil
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 Subject: Re: UserTransaction

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... and

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: Orion UserTransaction

2000-07-04 Thread Klaus Thiele
: public class PersonBean implements SessionBean { private UserTransaction ut = null; private SessionContext ctx; [...] public void ejbCreate() throws RemoteException, CreateException { ut = ctx.getUserTransaction(); ejb-jar.xml: session

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 have

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

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; [...] public void

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(&quo