Hi Anne,

 

It looks like Java bin directory is not on a path

Try SET PATH=%PATH%;[Your Java BIN directory e.g. D:\JDK1.3\BIN;.]

 

Regards,

 

Miro Halas

 

-----Original Message-----
From: Anne Devine [mailto:[EMAIL PROTECTED]]
Sent
:
Saturday, August 04, 2001 9:27 AM
To: [EMAIL PROTECTED]
Subject: RMIRegistry Bad Command or file name

 

Hi there,

 

Im new to Jonas and have been trying to install version 2.3 under Win98 running jdk1.3.  Ive set environment variables for JONAS_ROOT and Path in autoexec.bat as follows:

 

SET JONAS_ROOT=c:\PROGRA~1\Jonas
SET PATH=%PATH%;%JONAS_ROOT\bin\nt

 

I have also altered the config_env to include:

 

Set JNDI_HOME=C:\PROGRA~1\jndi
Set JNDI_CLASSES=%JNDI_HOME%\lib\jndi.jar;%JNDI_HOME%\lib\providerutil.jar;%JNDI_HOME%\lib\rmiregistry.jar

 

Set JMS_HOME=C:\PROGRA~1\jms1.0.2
Set JMS_CLASSES=%JMS_HOME%\lib\jms.jar

 

When I run CheckEnv.bat all is OK.

 

When I try to run the EJBserver.bat it gives the error TransactionService cannot rebind TM:

     javax.naming.ServiceUnavailable Exception [Root exception is java.rmi.ConnectException:

Connection refused to host:local host; nested exception is:

     java.net.ConnectException: Connection refused:no further information]

Jonas: Cannot start Transaction Service: EJB Server halting

 

I have read over previous postings and it has been pointed out that registry.bat has to be running first.  When I do this it comes up with:

 

RmiRegistry

Bad command or file name

 

The code I think which may be causing the problem in registry.bat is:

 

:Rmi
@Echo on
RmiRegistry %1 %2 %3 %4 %5 %6 %7 %8 %9
@Echo off
Goto End

 

I do not know anything about .bat files.  Is this the problem?  If not does anyone know what it is?

 

Thanks in advance,

 

Anne Devine

Reply via email to