pro_java_server thread: Pb running Activatable sample, from "Programming J2EE" chapter 2
Hello,
I have a problem when trying to get the "Activatable" sample
running. Here are the instructions I use :
1. javac *.java
2. rmic HelloServer
3. rmiregistry -J-Djava.security.policy=registerit.policy
4. rmid -J-Djava.security.policy=registerit.policy
5. java -Djava.security.policy=registerit.policy
-Djava.rmi.server.codebase=file:///home/dod/development/tests/java/j2ee/Chap02/Activatable
RegisterIt
When processing step 5, I get the following error message :
"Exception java.rmi.activation.ActivationException:
ActivationSystem not running; nested exception is:
java.rmi.NotBoundException: java.rmi.activation.ActivationSystem"
What do I do wrong ?
I am using JDK 1.3.1 on Debian GNU/Linux.
Thanks.
Dominique