> Eujene Chung wrote:
>
> How to run entity bean in examples(jonas demo)?
> Hi all!
> I had installed successfully but I can't run Entity beans in examples
> directory(Jonas demo).
>
> 1.EJBServer -Djava.security.policy=$JONAS_ROOT/java.policy
> 2.cd /jonas_jdk1.2/examples/src/eb and complie
> 3.run
> java -Djava.naming.provider.url="rmi://203.248.69.64:1099"
> -Djava.naming.factory.initial="com.sun.jndi.rmi.registry.RegistryContextFactory"
> .ClientAccountImplHome
>
> On running, I find error message.
> ====Error
> Message===========================================================
> Getting a UserTransaction object from JNDI
> Cannot lookup UserTransaction:
> javax.naming.ServiceUnavailableException [Root ex
> ception is java.rmi.ConnectException: Connection refused to host:
> 203.248.69.64;
> nested exception is:
> java.net.ConnectException: Connection refused: no further information]
> =============================================================================
> Does anybody know a solution for this problem?
> Please, help me!
>
Are you sure that rmiregistry is running on your host, with the correct
port number defined by the java.naming.provider.url property in your
jonas.properties file?
If not, run the script $JONAS_ROOT/bin/registry.
Regards,
--
Philippe
Philippe Coq Groupe Bulll/BullSoft/OpenMaster Phone: (33) 04 76 29 78
49
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED] http://www-frec.bull.com
Download our EJBServer at http://www.bullsoft.com/ejb
----
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".