Hello out there,

I have installed jonas_jdk1.2 binary dist.

I can start the EJBServer, however I cannot compile the examples.

When I run compile.sh i get this:

# sh compile.sh
+ [ -d ../../classes ]
+ javac -d ../../classes Op.java OpBean.java OpHome.java ClientOp.java
Op.java:28: Class javax.ejb.EJBObject not found in import.
import javax.ejb.EJBObject;
       ^
Op.java:33: Interface javax.ejb.EJBObject of interface sb.Op not found.
public interface Op extends EJBObject {
                            ^
OpBean.java:28: Class javax.ejb.EJBException not found in import.
import javax.ejb.EJBException;
       ^
OpBean.java:29: Class javax.ejb.EJBObject not found in import.
import javax.ejb.EJBObject;
       ^
OpBean.java:30: Class javax.ejb.SessionBean not found in import.
import javax.ejb.SessionBean;
       ^
OpBean.java:31: Class javax.ejb.SessionContext not found in import.
import javax.ejb.SessionContext;
       ^
OpBean.java:32: Class javax.ejb.SessionSynchronization not found in
import.
import javax.ejb.SessionSynchronization;
       ^
OpBean.java:38: Interface javax.ejb.SessionSynchronization of class
sb.OpBean no
t found.
public class OpBean implements SessionBean, SessionSynchronization {
             ^
OpBean.java:38: Interface javax.ejb.SessionBean of class sb.OpBean not
found.
public class OpBean implements SessionBean, SessionSynchronization {
                               ^
OpHome.java:28: Class javax.ejb.CreateException not found in import.
import javax.ejb.CreateException;
       ^
OpHome.java:29: Class javax.ejb.EJBHome not found in import.
import javax.ejb.EJBHome;
       ^
OpHome.java:34: Interface javax.ejb.EJBHome of interface sb.OpHome not
found.
public interface OpHome extends EJBHome {
                                ^
ClientOp.java:76: Class javax.ejb.CreateException not found in try.
        try {
        ^
ClientOp.java:126: Method remove() not found in interface sb.Op.
            t1.remove();
                     ^
14 errors
+ GenIC -d ../../classes ejb-jar.xml
ERROR: Home class not found for bean Op: sb.OpHome
GenIC ERROR: When reading the Deployment Descriptors for ejb-jar.xml

My CLASSPATH is:

# echo $CLASSPATH
/usr/local/jonas_jdk1.2/:/usr/local/lib/ejb.jar:/usr/local/lib/idb.jar:/usr/loca

l/lib/idbexmpl.jar:/usr/local/lib/idbf.jar:/usr/local/lib/jdbc2_0-stdext.jar:/us

r/local/lib/jndi.jar:/usr/local/lib/jta-spec1_0_1.jar:/usr/local/lib/provideruti

l.jar:/usr/local/lib/rmiregistry.jar

I am running solaris 7.

Does anyone know why the compile script cannot find javax.ejb stuff?

----
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