Hi,
I am getting the following errors when I tried to build the example build.sh in weblogic/examples/ejb/basic/beanManaged directory.
.../beanManaged<343> build.sh
Account.java:4: Class javax.ejb.EJBObject not found in import.
import javax.ejb.EJBObject;
^
Account.java:17: Interface javax.ejb.EJBObject of interface examples.ejb.basic.beanManaged.Account not found.
public interface Account extends EJBObject {
^
AccountHome.java:3: Class javax.ejb.CreateException not found in import.
import javax.ejb.CreateException;
^
AccountHome.java:4: Class javax.ejb.EJBHome not found in import.
import javax.ejb.EJBHome;
^
AccountHome.java:5: Class javax.ejb.FinderException not found in import.
import javax.ejb.FinderException;
^
AccountHome.java:18: Interface javax.ejb.EJBHome of interface examples.ejb.basic.beanManaged.AccountHome not found.
public interface AccountHome extends EJBHome {
^
AccountBean.java:11: Class javax.ejb.CreateException not found in import.
import javax.ejb.CreateException;
I have the following weblogic classpath
WEBLOGICCLASSPATH=./license:./classes:./lib/weblogicaux.jar:./myserver/serverclasses:/user/rdevaraj/weblogic/lib
classpath is
#
Java 1
JAVACLASSPATH=$JAVA_HOME/lib/classes.zip:./classes/boot:./eval/cloudscape/lib/cl
oudscape.jar
$JAVA -ms64m -mx64m -classpath $JAVACLASSPATH -Dweblogic.class.path=$WEBLOGICCLA
SSPATH -Dweblogic.home=. weblogic.Server
else
# Java 2
JAVACLASSPATH=./classes/boot:./eval/cloudscape/lib/cloudscape.jar
Java paths are
JAVA_HOME=/usr/local/tools/jdk1.2.2
PRE_CLASSPATH=
POST_CLASSPATH=
JAVA_OPTIONS=-native
I am running this on the SUN Solaris. I am able to compile and run the regular swing programs. The imports in javax.* are found. I downloaded the J2EE.1.2.1 and set the path correctly in my .profile. Can anybody explain what else I have to do?.
Thanks
Raj