[jboss-user] [jBPM] - Re: How to get a package from Guvnor and start it

doboss do-not-reply at jboss.com
Thu Dec 6 09:41:36 EST 2012

doboss [https://community.jboss.org/people/doboss] created the discussion

"Re: How to get a package from Guvnor and start it"

To view the discussion, visit: https://community.jboss.org/message/780391#780391

Thank you Maciej! 

Is it possible to do it with just some java code or do I have to create a changeset.xml?

I finally figured out that while Resource does not have setUsername() and setPassword(), UrlResource does. But when I try this:

        UrlResource newUrlResource = new UrlResource(fileName);

I still get the error.

If I add in this:

I get this error: 
      ERROR drools.xml.ExtensibleXmlParser.fatalError  - (null: 1, 1): Content is not allowed in prolog.

So is there a way to do the authentication without creating a changeset.xml?

If not, where is a good example of reading the changeset.xml into the KnowledgeAgent?

Thank you!

Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121206/19363dd8/attachment.html 

More information about the jboss-user mailing list