Thanks for your mail. I had already downloaded and copied jess.jar
under jsr94-1.0\lib\.
Also replaced the jess classes in jsr94-ri.jar from jess.jar of jess61a5
and rearchived jsr94-ri.jar.
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]
--------------------------------------------------------------------
