I removed the dot "." as you advised me but it still doesnÄ«t work.
here is the jigsaw.bat:
set CLASSPATH=Jigsaw;..\classes\jigsaw.zip;..\classes\servlet.jar
set CLASSPATH=%CLASSPATH%;E:\Jigsaw205\Jigsaw\jboss-client.jar
set CLASSPATH=%CLASSPATH%;E:\Jigsaw205\Jigsaw\jnp-client.jar
set CLASSPATH=%CLASSPATH%;E:\Jigsaw205\Jigsaw\ejb.jar
set CLASSPATH=%CLASSPATH%;E:\Jigsaw205\Jigsaw\interest-client.jar
echo ---------------------
echo CLASSPATH=%CLASSPATH%
java -classpath %CLASSPATH% org.w3c.jigsaw.Main -root ..\Jigsaw
pause
and here is the jigadmin.bat:
set CLASSPATH=Jigsaw;..\classes\jigsaw.zip;..\classes\jigadmin.jar;.
set CLASSPATH=%CLASSPATH%;E:\Jigsaw205\Jigsaw\jboss-client.jar
set CLASSPATH=%CLASSPATH%;E:\Jigsaw205\Jigsaw\jnp-client.jar
set CLASSPATH=%CLASSPATH%;E:\Jigsaw205\Jigsaw\ejb.jar
set CLASSPATH=%CLASSPATH%;E:\Jigsaw205\Jigsaw\interest-client.jar
echo --------------------
echo CLASSPATH=%CLASSPATH%
java -classpath %CLASSPATH% org.w3c.jigadmin.Main -root ..\Jigsaw http://127.0.0.1:8009/
pause
and I got the following message error when I tried my servlet which is using the session bean interest.class from the
app server EJBOSS :
javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory]
---> the class org.jnp.interfaces.NamingContextFactory is located in the jnp-client.jar
I donÄ«t see where is the problem ...
Jean-Guillaume