I am a user of NT server, upon downloading and configuring Cygnus Tools
(Unix emulation tool for Windows) and jonas 2 

I have run registry and attempted to run EJBServer and got following
exception: Cannot rebind UserTransaction:
javax.naming.CommunicationException: Can't Find SerialContextProvider Jonas
Cannot start Transaction Service

I also could not get EJBServer to read jndi.properties file but I followed a
suggestion from one of the guys participating
in this discussion group, namely I modified EJBServer script as follows:

. $JONAS_ROOT/bin/config.env
java -Dinstall.root=$JONAS_ROOT
-Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFacto
ry -Djava.naming.provider.url=rmi://localhost:1099
-Djava.security.policy=$JONAS_ROOT/java.policy $*
org.objectweb.jonas.server.Server 

I am including my path and classpath: (residing in bashrc) file

PATH=$JONAS_ROOT:/bin:/usr/local/bin:$JONAS_ROOT:$JONAS_ROOT/bin:$PATH
CLASSPATH="$JONAS_ROOT/;/jta-spec1_0_1/lib/jta-spec1_0_1.jar;/jndi1_2_1/lib/
jndi.jar;/jndi1_2_1/lib/providerutil.jar;/jndi1_2_1/lib/rmiregistry.jar;/j2s
dkee1.2.1/lib/j2ee.jar;$JONAS_ROOT/lib/JEREMIE_jonas.jar;$JONAS_ROOT/lib/jpp
.jar;$JONAS_ROOT/lib/RMI_jonas.jar;/jdk1.2.2/lib/jdbc2_0-stdext.jar;/j2sdkee
1.2.1/lib/ejb.jar;/objectweb/jonas/externals/castor.jar;/objectweb/jonas/ext
ernals/jonathan;/objectweb/jonas/externals/private_jonas.jar;/objectweb/jona
s/externals/xerces.jar;$CLASSPATH"

as you can see /jta-spec1_0_1/lib/jta-spec1_0_1.jar is in my classpath as
suggested in FAQ

--------

I am also included "some" content of config file

SPS=\   
JDBCEXT_CLASSES=/jdk1.2.2/lib/jdbc2_0-stdext.jar
EJB11_CLASSES=/j2sdkee1.2.1/lib/ejb.jar
JTA_CLASSES=/jta-spec1_0_1/lib/jta-spec1_0_1.jar        
JNDI_HOME=/jndi1_2_1
JNDI_CLASSES=$JNDI_HOME/lib/jndi.jar$SPS$JNDI_HOME/lib/providerutil.jar$SPS$
JNDI_HOME/lib/rmiregistr y.jar
IDB_HOME=/idb3_13
IDB_CLASSES=$IDB_HOME/lib/idb.jar$SPS$IDB_HOME/lib/idbexmpl.jar
#ORACLE_CLASSES=/usr/local/lib/classes111.zip
#JDBC_CLASSES=$IDB_CLASSES$SPS$ORACLE_CLASSES
JDBC_CLASSES=$IDB_CLASSES

# RMI or JEREMIE
OBJECTWEB_ORB=RMI
export OBJECTWEB_ORB

ALL HELP GREATLY APPRECIATED, I REALLY WANT TO USE THIS TECHNOLOGY!
----
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