Hi all,
I can't execute the sb example.
Please, what is wrong?
Marcia.
my path and lasspath -
setenv JONAS_ROOT /home/sirius/pasin/objectweb/jonas/output
setenv OBJECTWEB_ORB RMI
setenv CLASSPATH ${CLASSPATH}.:/home/sirius/pasin/JavaGroups/JavaGroups-0.9.9.9.1.jar
setenv CLASSPATH
${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/externals/j2ee/jndi.jar
setenv CLASSPATH
${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/externals/j2ee/jta-spec1_0_1.jar
setenv CLASSPATH ${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/externals/j2ee/jms.jar
setenv CLASSPATH
${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/externals/j2ee/private_jonas.jar
setenv CLASSPATH
${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/externals/j2ee/jdbc2_0-stdext.jar
setenv CLASSPATH
${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/externals/j2ee/providerutil.jar
setenv CLASSPATH
${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/externals/j2ee/rmiregistry.jar
setenv CLASSPATH ${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/externals/j2ee/ejb.jar
setenv CLASSPATH ${CLASSPATH}:${JONAS_ROOT}
setenv CLASSPATH
${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/output/config/jndi.properties
setenv CLASSPATH
${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/output/config/jonas.properties
setenv CLASSPATH
${CLASSPATH}:/home/sirius/pasin/objectweb/jonas/output/examples/classes
setenv JONAS_CLASSES ${JONAS_ROOT}/lib/${OBJECTWEB_ORB}_jonas.jar
setenv CLASSPATH ${CLASSPATH}:${JONAS_CLASSES}
setenv PATH ${PATH}:${JONAS_ROOT}/bin/unix
setenv PATH ${PATH}:${JONAS_CLASSES}
setenv PATH ${PATH}:/home/sirius/pasin/objectweb/jonas/output/config/jndi.properties
setenv PATH ${PATH}:/home/sirius/pasin/objectweb/jonas/output/config/jonas.properties
setenv PATH ${PATH}:/home/sirius/pasin/objectweb/jonas/output/examples/classes
--------------------------------
my error-
7 pasin@castor:~/objectweb/jonas/output/examples/src/sb % compile.sh
+ [ -d ../../classes ]
+ javac -d ../../classes Op.java OpBean.java OpHome.java ClientOp.java
+ GenIC -d ../../classes ejb-jar.xml
GenIC for JOnAS 2.3: Bean 'Op' generation...
8 pasin@castor:~/objectweb/jonas/output/examples/src/sb % rmiregistry 1099 &
[1] 4978
9 pasin@castor:~/objectweb/jonas/output/examples/src/sb % ps
PID TTY TIME CMD
4978 pts/2 0:01 rmiregis
4840 pts/2 0:00 csh
10 pasin@castor:~/objectweb/jonas/output/examples/src/sb % EJBServer &
[2] 4991
11 pasin@castor:~/objectweb/jonas/output/examples/src/sb % JOnAS Server, version 2.3,
running on rmi.
Cannot load JDBC driver : java.lang.ClassNotFoundException:
org.enhydra.instantdb.jdbc.idbDriver
Mapping ConnectionManager jdbc:idb=Account.prp on jdbc_1
EJB container : Op available
EJBServer is ready
11 pasin@castor:~/objectweb/jonas/output/examples/src/sb % java sb.ClientOp
Cannot lookup UserTransaction: javax.naming.NoInitialContextException: Need to specify
class name in environment
or system property, or as an applet parameter, or in an application resource file:
java.naming.factory.initial
-----
the file jndi.properties
# JNDI configuration for RMI only
java.naming.factory.initial com.sun.jndi.rmi.registry.RegistryContextFactory
#java.naming.provider.url rmi://localhost:1099
java.naming.provider.url rmi://143.54.13.3:1099
java.naming.factory.url.pkgs org.objectweb.jonas.naming
----
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".