But I can't get Curl to upload the JAR either. The error I get is:
HTTP Status 501 -
type status report
description The server does not support the functionality needed to fulfill this request ()
Details:
My package: "rules"
My jar file:
Model.jar (in current directory)
Version: Guvnor
5.5.0.Final under JBoss
Login with admin/admin
Script 1:
#!/bin/bash
# My package is "rules"
FILE=Model.jar
AUTH=admin:admin
curl -X POST --verbose --user "$AUTH" --data-binary @$FILE $URL
Tried some variations:
Tweak URL (add slash, add file name)
Mime type:
MIME=application/java-archive
curl -X POST --verbose --user "$AUTH" --header "Content-Type:$MIME" --data-binary @$FILE $URL
I'd appreciate any advice / examples.
Thanks
--
Mark Bennett / LucidWorks: Search & Big Data /
mark.bennett@lucidworks.com
Office: 408-898-4201 / Telecommute: 408-733-0387 / Cell: 408-829-6513