Hi Dirk,

I've managed too sort this problem out thanks, your comment actual resolved
another problem for me.

However I get the following when I attempt to execute:

[root@server sb]#
java -Djava.naming.provider.url="rmi://123.100.100.0:1099/" sb.ClientOp
Cannot lookup UserTransaction: java.lang.ClassCastException:
javax.naming.Reference

Out from my EJBserver:

[root@server sb]# JOnAS - Version 1.5
Cannot load JDBC driver : java.lang.ClassNotFoundException: jdbc.idbDriver
JDBC DataSource jdbc_1 is mapped on InstantDB1.properties
EJBHome:sb.JOnASOpBeanOpHome for OpBean available

For sb example i'm not too worried about the JBDC error, however as you can
see the EJBServer is operating. So i checked AdmServer, and the output is as
follows:

[root@server sb]# AdmServer -l
+ AdmServer -l
AdmServer -l
AdmServer -l :  Bean 0 in the JOnAS server = sb.JOnASOpBeanOpHome

[root@server sb]# AdmServer -L
+ AdmServer -L
AdmServer -L
AdmServer -L :  Name 0 in the JNDI context =
javax.transaction.UserTransaction
AdmServer -L :  Name 1 in the JNDI context = OpHome
AdmServer -L :  Name 2 in the JNDI context = jdbc_1
AdmServer -L :  Name 3 in the JNDI context = jonas_Adm
AdmServer -L :  Name 4 in the JNDI context = TMFactory

So everything looks OK, so why do I get the above error when I attempt to
execute    the client application ???  I've attempted to run the client
application from server and from a sperate machine and I get the same error.
On the seperate machine I copied the sb.ClientOp related files across and
added them to the CLASSPATH.  But i still get the same error ???

Any help would be much appreciated

Best Regards,

Chris.

-----Original Message-----
From: dirk [mailto:dirk]On Behalf Of Dirk Haase
Sent: 10 February 2000 10:16
To: [EMAIL PROTECTED]
Subject: Re: The final hurdle


Hi Chris,

did GenDD and GenIC work correctly? Did you start EJB in the same
directory where Op.ser is located?

dirk


Chris Hill wrote:
>
> Hi all,
>
> Can anyone enlighten me on the following error message when i run JOnAS
> v1.5:
>
> JOnAS - Version 1.5
> Cannot read Session Deployment descriptor Op.ser
>
> Setup is as follows:
>
> redhat v6.0
> jdk 1.1.8 blackdown
> i've added all the relevant jar files too the CLASSPATH for JOnAS and JDK,
> rmi & provider, jndi, jta, jdbc
>
> On my server machine I execute as:
>
> cd $JONAS_ROOT/examples/src/sb
> . $JONAS_ROOT/bin/config.env
> rmiregistry &
> EJBServer &
>
> If I pass this hurdle I will be able to execute the client program against
> sb.ClientOp
>
> Any help would be much appreciated.
>
> Best Regards,
>
> Chris
>
> ----
> 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".

--
Dirk Haase     mailto: [EMAIL PROTECTED]

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

Reply via email to