-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
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.transaction.*;
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 (Correct)
reference to the client
flamebait
But I think it's a bad idea anyway... it's kinda like "one and a half" layer
programming...
/flamebait
My 2c,
JP
-Original Message-
From: Klaus Thiele [mailto:[EMAIL PROTECTED]]
Sent: Martes, 24 de Octubre de 2000 7:10
To: Orion-Interest
Su
TED]
Sent: Wednesday, October 25, 2000 3:49 AM
Subject: RE: get reference to UserTransaction fails
Are your trying to retrieve something from "java:comp" DIRECTLY from code
not running on Orion?
I have looked (very quickly) at the specs, and I don't think that's
allowed(seems pretty unsafe