You should be able to put jess.jar in the webapps/parih/WEB-INF/lib
directory (not classes), or tomcat/shared/lib ought to work,
too. tomcat/common/lib probably would work also, although perhaps not
without a server restart.

Now, the bigger question is whether the relatively old RIH application
will work with Jess 7 without modification or at least without being
recompiled. At least one significant method (Rete.assert()) has been
renamed in Jess 7 (Rete.assertFact()).

I think Ana (sent by Nabble.com) wrote:
> 
> Dear Friends,
> 
> I am trying to simulate the sample jess appliation given in 
> http://grove.cs.jmu.edu/parih/index.jsp 
> 
> my system: 
> OS - XP
> JESS - jess70b5, 
> WebServer/servelet container - Tomcat 5.5
> 
> classpath=CLASSPATH=.;C:\Program Files\Apache Software Foundation\Tomcat
> 5.5\common\lib\se
> rvlet-api.jar;C:\Program Files\Apache Software Foundation\Tomcat
> 5.5\common\lib\
> jsp-api.jar;C:\Jess70b7\lib\jess.jar
> 
> getting the followin error after compilliing and running the application
> 
> root cause 
> 
> java.lang.NoClassDefFoundError: jess/JessException
>       PARIHServlet.startNewSession(PARIHServlet.java:38)
>       PARIHServlet.doPost(PARIHServlet.java:25)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419)
>       
> org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:169)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 
> I have tried copying the jess.jar file to many places such as
> tomcat5.5/common/lib,
> webapps/parih/WEB-INF/classes etc.
> 
> Other servlets are running without problems, 
> 
> this seems to be a very simple application to deploy and try.
> any help is greatly appreciated.
> 
> Ana
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Newbie-in-need-tf1981109.html#a5436642
> Sent from the Jess forum at Nabble.com.
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]
> --------------------------------------------------------------------
> 



---------------------------------------------------------
Ernest Friedman-Hill  
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to