[rules-users] Uploading the fact model to the DRools BRMS

Felbecker, Tobias t.felbecker at sap.com
Tue Mar 18 13:11:31 EDT 2008


Hi ,

I got the same problem and wonder if there is a solution for that yet.
I'am using 

JBOSS: AS 4.2.2 GA
DBMR: 4.0.4
JAVA: 1.5.0_15

After uploading the jar, editing the import in the package configuration
and  finally validating the package I get the following exception:

java.lang.reflect.InvocationTargetException at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at
org.jboss.seam.util.Reflections.invoke(Reflections.java:21) at.....

The import statement should and the packaging of the jar file seems to
be correct. Otherwise there would be a Class not found error but no
exception.
I tried all kinds of packaging: binaries, source and binaries, creating
the jar through eclipse and from cmd.

This is my very simple java class:

package test;

public class MyBean{


	public MyBean(){
	}
	
	private int number;

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}
}

 Cheers Tobi



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080318/85621ee8/attachment.html 


More information about the rules-users mailing list