W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 2000

Re: how to load jar files while starting jigsaw ?

From: jean-gui <jlalanne@largemedium.com>
Date: Tue, 8 Aug 2000 17:46:09 +0100
Message-ID: <013d01c00158$29ad58b0$3201a8c0@largemedium.com>
To: <www-jigsaw@w3.org>
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 
Received on Tuesday, 8 August 2000 11:47:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:34 GMT