Gopi Rajagopal wrote:
> 
> .............
>
> Are the examples supposed to run as is (after compiling) or are code changes
> needed?
> 

Examples must run without any code changes.
Only installation and configurations steps are needed before compiling,
then launching.

> 
>..............
>
> When I run the client code it hangs after a few print statements.
> 
> K:\bullejb\JONAS\examples\classes>java eb.ClientAccount AccountImplHome
> Getting a UserTransaction object from JNDI
> Connecting to the AccountHome
> Getting the list of existing accounts in database
> 109 John Smith 0.0
> 
> At this point there is no entry for John Smith in the db table.
> 
> I have tried both populated and empty accountsample tables.
> 
> What am I missing here?
> 

Sorry, but I don't known why the client hangs.
Nevertheless, I remember I had problems when I run this example on
Oracle,
if I did not disconnected from Oracle after creating the 'accountsample'
table via sqlplus with the SQL script 'Account.sql'.
(So don't forget to exit to sqlplus).

Moreover the previous traces, you give, of the eb.ClientAccount show
that the table 'accountsample' is not ok.
Don't hesitate to re-run the SQL script provided in
examples/src/eb/Account.sql
to reinitialize this table in your Oracle database.
Indeed, the eb.ClientAccount is supposed to run correctly
(without getting exception) provided that the table 'accountsample'
contains particular rows.

I hope this help you.
Kind regards.
Hélène.
-- 
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]   http://www.evidian.com
  Phone: 33.4.76.29.73.53            Fax: 33.4.76.29.76.00
  Download our EJB Server JOnAS at http://www.objectweb.org
----
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