"Hudalla Kai (QI/LBS3-HI) *" wrote:
> Hi Santiago,
>
> I encounter a similar problem when looking up a DataSource that I configured
> for Jonas. I am looking it up from client code directly, i.e. I did not
> deploy any beans yet. I do get back a javax.naming.Reference object from the
> lookup() method call exactly as you did. Have you solved this problem yet ?
>
No. I am puzzled about this. I think that some version change (jdk1.3 beta,
jdk1.2.2.001, or jndi) caused the problem. The solution we adopted, for the
moment, is to stop using UserTransaction in the client (we did not really needed
it). We will attack the problem when we switch to Jonas 2.0, if it keeps
happening.
Sorry for not being able to help.
>
> Sincerely,
> > Mit freundlichen Grüßen,
> >
> > Kai Hudalla
> > ______________________________________________
> > Robert Bosch GmbH Hildesheim, Abt. QI/LBS3
> > Tel.: 05121/49-2139 Fax: 05121/49172139 (BCN 9024)
> > mailto: [EMAIL PROTECTED]
> ______________________________________________
> There are three kinds of people: those who can count
> and those who can't !
>
> > -----Ursprüngliche Nachricht-----
> > Von: Santiago Gala [SMTP:[EMAIL PROTECTED]]
> > Gesendet am: Mittwoch, 26. April 2000 14:01
> > An: [EMAIL PROTECTED]
> > Betreff: Problem with lookup of the
> > "javax.transaction.UserTransaction"
> >
> > A program that was working with no problems has begun to give a new
> > error. We use Jonas 1.6.1.
> >
> > As far as I know, the only change has been to switch jndi.jar,
> > providerutil.jar, rmiregistry.jar from version 1.1 (date july 1999) to
> > version 1.2 (october 1999)
> >
> > Before, the call ctx.lookup("javax.transaction.UserTransaction")
> > returned a javax.transaction.UserTransaction. Now, it returns a
> > javax.naming.Reference, thus giving a ClassCastException when we try to
> > cast it (no matter if directly or via PortableRemoteObject) to a
> > UserTransaction.
> >
> > Do you know of any workaround for that problem?
> >
> >
> >
> > ----
> > To unsubscribe, send email to [EMAIL PROTECTED] and
> > include in the body of the message "unsubscribe jonas-users".
> > For general help, send email to [EMAIL PROTECTED] and
> > include in the body of the message "help".
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".