Hi David,
Thanks for the tip. I assumed this removes the testing procedures. I thought
the inclusion of the test would tell me if it will build correctly when
connecting to the BRMS (Guvnor)?
I can load the first servlet page (Drools Insurance Company) but submitting
the form returns a blank page. The same happens if I build with the test
scripts. Both produced the war file anyway. I tried to build the binary
package (in Guvnor) but an error message says '*The call failed on the
server'.*
At this point I can see a bunch of errors on the server side including the
ones that I have highlighted below. The package seems to be pointing back to
the old URL "*drools-jbrms*" instead of "*drools-guvnor*".
Configuring package provider : URLScanner monitoring URLs:
http://localhost:8080/drools-*jbrms*/org.drools.*brms.JBRMS*
/package/org.acme.insurance.base/InsuranceDemo
2008-11-26 15:19:37,647 ERROR [STDERR] RuleAgent(insuranceconfig) WARNING
(Wed Nov 26 15:19:37 MST 2008): Was an error contacting
http://localhost:8080/*drools-jbrms*/org.drools.*brms.JBRMS*/package/org.....
Reponse header: {null=[HTTP/1.1 404
/*drools-jbrms*/org.drools*.brms.JBRMS*/package/org.acme.insurance.base/InsuranceDemo],
Date=[Wed, 26 Nov 2008 22:19:37 GMT], Content-Length=[1189],
Content-Type=[text/html;charset=utf-8], Server=[Apache-Coyote/1.1],
X-Powered-By=[Servlet 2.4; JBoss-4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA
date=200807181417)/JBossWeb-2.0]}
2008-11-26 15:19:37,647 ERROR [STDERR] RuleAgent(insuranceconfig) EXCEPTION
(Wed Nov 26 15:19:37 MST 2008): Was unable to reach server.. Stack trace
should follow.
Is there anywhere else that I need to fix? Thanks for the assistance.
regards,
Anthony
On Wed, Nov 26, 2008 at 1:02 PM, David Sinclair <
dsinclair(a)chariotsolutions.com> wrote:
Did u try to build with the tests disabled? mvn
-Dmaven.test.skip=true
clean package
On Mon, Nov 24, 2008 at 6:40 PM, Anthony MailingList <
anthony.mlist(a)gmail.com> wrote:
> Hi all,
>
> This is my first post to the list. I couldn't find anything on the archive
> and decided to post them here.
>
> I'm trying to run the drools-insurance example on Drools 5.0 Guvnor but
> bumped into some problems with testing and compiling the war files. Here's
> what I did.
> - extract drools-insurance example on the desktop (i'm running windows).
> - edited 'brmsdeployedrules.properties' (drools-insurance\src\main\rules)
> - set the URL properties to
> url=http://localhost:8080/drools-*guvnor*/org.drools.*guvnor.Guvnor*
> /package/org.acme.insurance.base/InsuranceDemo
> - run 'mvn clean package'
> - encountered 17 test errors.
>
> I must have missed something here. I couldn't find anywhere else I should
> change the new server URL pointer. Should I stick with the original example
> configuration file and instead change the Govnor settings to 'JBRMS'?
>
> I'm running the following configuration on my computer:
>
> Drools 5.0 Guvnor M3
> JBoss AS 4.2.3
> Drools 5.0 M3 Example
> Apache Maven 2.0.9
> Java JDK 1.6.0 - Update 7
>
> Thanks.
>
> regards,
> Anthony
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users