Dear Friends,
I am new to EJB technology,and i am using HF for EJB.
in the first chapter when i try to compile the 3 java files of the EJB, I got errors in compilation like :
package javax.ejb does not exist
import javax.ejb.*;
^
I use JDK 1.4,
I have tried to put j2ee.jar in the classpath but no use,i have tried to put the jar file in /jre/lib/ext ,it compiled fine,but when i wanted to start the server,i got the following error:
Warning: This J2EE SDK release is designed to run on J2SE 1.3
No local string for j2ee.listenPort
J2EE server listen port: 1050
No local string for j2ee.naming
Naming service started: 1050
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for idle_resource_threshold_error
No local string for binding.datasource
No local string for binding.datasource
No local string for binding.datasource
No local string for binding.datasource
No local string for binding.datasource
No local string for binding.datasource
java.lang.ClassNotFoundException: COM.cloudscape.core.RemoteXaDataSource
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.sun.enterprise.repository.JdbcXAResource.createDataSource(JdbcXAR
esource.java:69)
and so on...
so what shall i do?
Thanks in advance,
Rose