Thanks a lot for all your help.  It worked.  As suggested, the changes done were
- updated WEB-INF\lib\jess.jar in jsr94-j2ee.war
- updated jsr94-j2ee.ear with jsr94-j2ee.war from above

Thanks again.
Regards,
Ashish





[EMAIL PROTECTED] wrote:

> I think ashish wrote:
> > Ernest,
> >
> > Thanks for your mail.
>
> Well, thank you for forcing me to download this damn thing and see
> what is going on. Here's the scoop: the package does not include a
> jess.jar file, which is correct. -But- the jsr94-j2ee.war file (a WAR
> file is a "web archive" file, a packaged J2EE appliction, for those
> not familiar with these things) -does- contain an expired jess.jar.
> So to fix the problem, you have to unpack the WAR file, replace
> jess.jar, repack it, and recreate the EAR file, which contains a copy
> of the WAR file (I don't understand why they shipped both.)
>
> > I had already downloaded and copied jess.jar under jsr94-1.0\lib\.
>
> I guess this doesn't do anything -- it's the JAR in the WAR file that
> is being used. Sorry -- this was what I suggested you do and it was a
> pointless exercise.
>
> > Also replaced the jess classes in jsr94-ri.jar from jess.jar of jess61a5 and
> > rearchived jsr94-ri.jar.
>
> This pretty much destroyed that file, I think. jsr94-ri.jar does NOT
> contain Jess -- only the reference driver, in the package
> org.jcp.jsr94.jess. There's nothing wrong with these as shipped and
> Jess itself doesn't come with any of these classes.
>
> I'll add information about this to the page on the Jess web site about
> JSR94.
>
> >
> > Still get the same exceptions and errors (using j2ee 1.3.1 and jdk 1.4.1_01).
> >
> > In the cmd (j2ee session) window:
> > *** RulesManagedConnectionFactory constructor
> > ********** RulesManagedConnectionFactory.setRuleServiceProviderClass:
> > org.jcp.jsr94.jess.RuleServiceProviderImpl
> > ********** RulesManagedConnectionFactory.setRuleServiceProviderUri:
> > org.jcp.jsr94.jess
> > *** RulesManagedConnectionFactory.createConnectionFactory:
> > com.sun.enterprise.resource.ConnectionManagerImpl@c749e4
> > *** RulesManagedConnectionFactory.hashCode
> > RuleConnectionFactory.ctor:
> > org.jcp.jsr94.jca.spi.internal.RuleManagedConnectionFactory@a :
> > com.sun.enterprise.resource.ConnectionManagerImpl@c749e4
> > Loaded RuleServiceProvider: org.jcp.jsr94.jess.RuleServiceProviderImpl@1289e48
> >
> > Loaded RuleServiceProvider URI: org.jcp.jsr94.jess
> > Got RuleServiceProvider for URI:
> > org.jcp.jsr94.jess.RuleServiceProviderImpl@1afc0f5
> > *** RulesConnectionFactory.hashCode
> > *** RulesConnectionFactory.hashCode
> > This copy of Jess has expired.
> >
> > In the browser window:
> > javax.servlet.ServletException
> >         at
> > 
>org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:463)
> >
> >         at org.apache.jsp.welcome$jsp._jspService(welcome$jsp.java:214)
> >         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> >
> >         ...
> > root cause
> > java.lang.ThreadDeath
> >         at jess.Jesp.(Unknown Source)
> >         at jess.Rete.(Unknown Source)
> >         at jess.Rete.(Unknown Source)
> >         at
> > org.jcp.jsr94.jess.RuleExecutionSetImpl.(RuleExecutionSetImpl.java:15)
> >         at
> > 
>org.jcp.jsr94.jess.LocalRuleExecutionSetProviderImpl.createRuleExecutionSetFromCLP(LocalRuleExecutionSetProviderImpl.java:152)
> >
> >         at
> > 
>org.jcp.jsr94.jess.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(LocalRuleExecutionSetProviderImpl.java:129)
> >
> >         at
> > 
>org.jcp.jsr94.jess.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(LocalRuleExecutionSetProviderImpl.java:63)
> >
> >         ...
> >
> > Any idea what else needs to be done to fix this?
> >
> > Anyone knows if there is a working/corrected version of this reference
> > implementation available somewhere?
> >
> > Thanks for your help,
> > Ashish
> >
> >
> >
> >
> >
> > [EMAIL PROTECTED] wrote:
> >
> > > I think ashish wrote:
> > > > Hi,
> > > >
> > > > Has anyone any experience with the Java Rule Engine spec.
> > > > http://www.jcp.org/en/jsr/detail?id=94
> > > >
> > > > Its reference implementation can be downloaded from
> > > > http://jcp.org/aboutJava/communityprocess/review/jsr094/index.html
> > > >
> > > > I am trying to test out the example (as per readme.html of the reference
> > > > implementation package) and run into exceptions.
> > >
> > > (much deleted)
> > > > This copy of Jess has expired.
> > > > The SecurityManager do not allow that operation.
> > > (much, much more deleted)
> > >
> > > The JSR94 RI was not supposed to ship with a copy of Jess -- you were
> > > supposed to have to download Jess seperately. Instead, it was
> > > mistakenly packaged with a trial version of Jess which has long since
> > > expired. You need to download your own trial copy of Jess and replace
> > > the expired jess.jar in the distribution. See
> > > http://herzberg.ca.sandia.gov/jess to get your own copy of Jess.
> > >
> > > ---------------------------------------------------------
> > > Ernest Friedman-Hill
> > > Distributed Systems 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]
> > > --------------------------------------------------------------------
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Distributed Systems 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]
> --------------------------------------------------------------------

--------------------------------------------------------------------
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