[rules-users] RuntimeDroolsException: Unable to load

Robert Morse rmorse at mdesignz.com
Tue Nov 6 11:38:26 EST 2007


Hello Edson,
If you are willing to download and install JBoss AS 4.2.1 and Seam  
2.0.0.CR2, I can send you a slightly modified Seam example that will  
demo this problem.
If you want to do this yourself, it's quite simple:

1. Modify the examples/seamdiscs example in the Seam distribution by:
	A. Add a PackageBuilder constructor in seamdiscs/src/org/jboss/seam/ 
example/seamdiscs/action/Authenticator.java
	B. Add 	<property name="drools.lib"    value="yes"/>  in examples/ 
seamdiscs/build.xml
	C. Modify your build.properties under jboss-seam-2.0.0.CR2 to deploy  
to your 4.2.1 installation
	D. Execute 'ant' under the examples/seamdiscs directory
	E. Start Jboss server
	F. Navigate to:   http://localhost:8080/seam-discs
	G. In the upper right corner of the web page, click on the Login link
	H. Click the Login button which will cause the PackageBuilder  
constructor to be executed in the Authenticator class

You *should* see the class cast exception.
As part of the build process, the appropriate drool jars are  
installed.  Unfortunately, I'm not sure which version of Drools this  
version of Seam is using.

-robert.


On Nov 6, 2007, at 8:31 AM, Robert Morse wrote:

> Edson,
> Can you send me a pointer to the Leopard JVM bug?   I haven't heard  
> about it (other than Java 6 isn't available yet).
>
> On Nov 5, 2007, at 6:02 PM, Edson Tirelli wrote:
>
>>
>>   Before we do any digging, aren't you being bitten by the Leopard  
>> JVM bug? Fernando, can you take a look at this?
>>
>>   []s
>>   Edson
>>
>>




More information about the rules-users mailing list