Drools and Threads
by Robert Pepersack
Hello all,
Thanks in advance for your help.
Does Drools spawn its own threads?
I ask because I want to use a rules engine in my EJB container (EAServer), but the container won't allow anything to spawn its own threads. I tried another rules engine, called Hammurapi Rules, but it wouldn't work because it spawns its own worker thread. Before I spend a lot of time learning Drools, I want to know if it will work in EAServer.
Thanks.
-------------------------------------------------------------------------------------------------------------
The information contained in this e-mail, and attachment(s) thereto, is intended for use by the named addressee only, and may be confidential or legally privileged. If you have received this e-mail in error, please notify the sender immediately by reply e-mail or by telephone at the number listed above and permanently delete this e-mail message and any accompanying attachment(s). Please also be advised that any dissemination, retention, distribution, copying or unauthorized review of this communication is strictly prohibited.
-------------------------------------------------------------------------------------------------------------
16 years, 3 months
[Datasource Configuration] New message: "Re: V8Compatible: How to set it in JBoss?"
by jaikiran pai
User development,
A new message was posted in the thread "V8Compatible: How to set it in JBoss?":
http://community.jboss.org/message/519808#519808
Author : jaikiran pai
Profile : http://community.jboss.org/people/jaikiran
Message:
--------------------------------------------------------------
Which exact version of JBoss AS? And please post the exact changes you did the the run.bat and/or run.conf (which is only for *nix OS). As per the documentation you pointed to:
> You can set this flag either as a connection property or a system
> property. You set the connection property by adding it to the
> java.util.Properties object passed to
> DriverManager.getConnection or to
> OracleDataSource.setConnectionProperties. You set the
> system property by including a -D option in your
> java command line.
>
So adding this -D option in the JAVA_OPTS section of the run.bat should ideally be enough.
Also, how do you start the server?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519808#519808
16 years, 3 months
[Datasource Configuration] New message: "V8Compatible: How to set it in JBoss?"
by Davide Cicuta
User development,
A new message was posted in the thread "V8Compatible: How to set it in JBoss?":
http://community.jboss.org/message/519797#519797
Author : Davide Cicuta
Profile : http://community.jboss.org/people/davidec
Message:
--------------------------------------------------------------
Hello!
I'm developing an enterprise application which relies on JBoss AS and a MySQL or Oracle database. I'm developing on Windows XP Professional SP 3.
We are not bound to any particular version of the DB (in particular for development I'm using Oracle 10g Express).
Connections to the DB are obtained through a datasource and queries are performed via stored procedures.
I'm having an issue with DATE fields which are accessed in Java with getTimestamp. The issue is described in
http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.html...
and resolved that the only feasible approach is for me specifying oracle.java.V8Compatible to true. I use the ojdbc14.jar driver to connect to Oracle.
I tried to do this in run.bat, run.conf and in the datasource deployment descriptor. Nothing changed and DATE is not returned as a java Timestamp.
How can I achieve to treat Oracle DATE as a Java Timestamp?
Thank you very much for your help!
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/519797#519797
16 years, 3 months