Re: [rules-users] Cannot create XmlPullParser

2013-03-21 Thread André Fróes
The exception persist. I added the artifact at web project and also checked if it was there at the lib when compiled and also checked at glassfish lib folder, it is at both places. I still can't figure what is the problem with it, it runs perfectly in my mock, as I said before, but is not working

Re: [rules-users] Cannot create XmlPullParser

2013-03-21 Thread André Fróes
I forgot to mention, i changed my xml invoke. - SolverFactory solverFactory = new XmlSolverFactory().configure(getDroolsConfiguration()); - private static ByteArrayInputStream getDroolsConfiguration(){ String t = ?xml version=\1.0\ encoding=\UTF-8\? + solver

Re: [rules-users] Cannot create XmlPullParser

2013-03-21 Thread Geoffrey De Smet
Op 21-03-13 13:51, André Fróes schreef: I forgot to mention, i changed my xml invoke. - SolverFactory solverFactory = new XmlSolverFactory().configure(getDroolsConfiguration()); - private static ByteArrayInputStream getDroolsConfiguration(){ String t = ?xml version=\1.0\

Re: [rules-users] Cannot create XmlPullParser

2013-03-21 Thread Geoffrey De Smet
Maybe glassfish embeds an older version of xml pull and/or xstream and it doesn't support using your own version of those. Try googling for this error, or asking on the xstream mailing list. Also, try deploying drools-planner-webexamples-5.5.0.Final.war (= optaplanner-webexamples now) from the

Re: [rules-users] Cannot create XmlPullParser

2013-03-21 Thread André Fróes
Hey Geoffrey! I can implement those later if you like, the optaplanner, I'll publish it at my server and post link later. Regarding the versions of artifacts in my glassfish, they were all taken from the drools-planner-5.5.0-Final lib, I even searched for others jars at glassfish, but I didn't

Re: [rules-users] Cannot create XmlPullParser

2013-03-21 Thread André Fróes
List of jars at my gf: antlr-2.7.7.jar antlr-3.3.jar antlr-runtime-3.3.jar biz.aQute.bnd-1.45.0.jar commons-beanutils-1.8.2.jar commons-beanutils-bean-collections-1.8.2.jar commons-beanutils-core-1.8.2.jar commons-collections-3.2.1.jar commons-io-2.4.jar commons-lang-2.6.jar

[rules-users] Cannot create XmlPullParser

2013-03-20 Thread André Fróes
I've created another post because that was to big and the exception is now another. Well, now that exception is happening: Cannot create XmlPullParser I've seen the bug at jira http://jira.codehaus.org/browse/XSTR-659 about it but I also noticed that the xtream version is the one that they are

Re: [rules-users] Cannot create XmlPullParser

2013-03-20 Thread Geoffrey De Smet
Check WEB-INF/lib of the build war for the xml pull jar. Op 20-03-13 20:05, André Fróes schreef: Caused by: com.thoughtworks.xstream.io.StreamException: Cannot create XmlPullParser at com.thoughtworks.xstream.io.xml.AbstractXppDriver.createReader(AbstractXppDriver.java:60)