"Krajewski,Jon" wrote:
>
> Hello,
> I am having trouble getting the EJBServer started. Here is the stack
> trace, jndi.properties, and jonas.properties respectively. Any help would be
> appreciated. I am running on Windows 2000, jdk1.3, and JOnAS 2.2.7.
>
> C:\JONAS>EJBServer
>
> ** STACK TRACE **
>
> C:\JONAS>java -classpath ;c:\JONAS\examples\classes;c:\JONAS
> JOnAS Server, version 2.2.7, running on Jeremie.
> TransactionService: Cannot rebind TM:
> javax.naming.NamingException: registry context error: rebind
> java.rmi.MarshalException: exception preparing marsh
> java.net.ConnectException: Connection refused: conne
> JOnAS: Cannot start Transaction Service : EJBServer halting
>
> ** JNDI PROPERTIES **
>
> # If you use Jeremie only
> java.naming.factory.initial
> org.objectweb.jeremie.libs.services.registry.jndi.JRMIInitialContextFactory
> java.naming.provider.url jrmi://
>
> # if you use rmi only
> #java.naming.factory.initial
> com.sun.jndi.rmi.registry.RegistryContextFactory
> #java.naming.provider.url rmi://
>
> # In both cases
> java.naming.factory.url.pkgs org.objectweb.jonas.naming
>
> ** JONAS PROPERTIES **
>
> //default settings
>
> thanks in advanced,
>
> Jonathan Krajewski
> Software Architects
> [EMAIL PROTECTED]
>
> ----
> This list is cross-posted to two mail lists. To unsubscribe,
> follow the instructions below for the list you subscribed to.
> For objectweb.org: send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe ejb-container-group".
> For enhydra.org: send email to [EMAIL PROTECTED] and include
> in the body of the message "unsubscribe ejb-container-group".
It seems that the registry is not found. Did you run it first ?
You must make sure that the registry is running before starting
EJBServer (it is not started automatically yet)
The script is: registry.bat
--
Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]
-> Download our EJBServer at http://www.evidian.com/ejb <-
----
This list is cross-posted to two mail lists. To unsubscribe,
follow the instructions below for the list you subscribed to.
For objectweb.org: send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe ejb-container-group".
For enhydra.org: send email to [EMAIL PROTECTED] and include
in the body of the message "unsubscribe ejb-container-group".