<div dir="ltr">This is a missing feature - it looks like we're only setup to serve content from the Workbench's Maven repository; not accept new content.<div><br></div><div>Could you please raise a GUVNOR JIRA (<a href="https://issues.jboss.org/browse/GUVNOR">https://issues.jboss.org/browse/GUVNOR</a>) requesting this to be provided?</div>
<div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 28 May 2014 14:51, jmterrettaz <span dir="ltr"><<a href="mailto:jean-marc.terrettaz@sbb.ch" target="_blank">jean-marc.terrettaz@sbb.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
I have installed the Drools Workbench<br>
kie-drools-wb-distribution-wars-6.0.1.Final-jboss-as7.0.war on JBoss EAP<br>
6.2. When I try to do a mvn deploy to the workbench it fails with "Return<br>
code is: 405, ReasonPhrase:Method Not Allowed."<br>
Here the distributionManagement section of the POM:<br>
<br>
<distributionManagement><br>
<repository><br>
<id>guvnor-m2-repo</id><br>
<url><a href="http://localhost:8080/kie-drools-wb/maven2/" target="_blank">http://localhost:8080/kie-drools-wb/maven2/</a></url><br>
</repository><br>
</distributionManagement><br>
<br>
I also defined the server as follow in my settings.xml :<br>
<br>
<servers><br>
<server><br>
<id>guvnor-m2-repo</id><br>
<configuration><br>
<httpHeaders><br>
<property><br>
<name>Authorization</name><br>
<br>
<value>Basic xxxoffuscatedxxxxx =</value><br>
</property><br>
</httpHeaders><br>
</configuration><br>
</server><br>
</servers><br>
<br>
If I give a wrong Authorization value there I get a 401 non authorized, so I<br>
think the server is correctly configured.<br>
<br>
In wireshark I see that an HTTP PUT call is made and the answer is:<br>
<br>
HTTP/1.1 405 Method Not Allowed<br>
Server: Apache-Coyote/1.1<br>
Pragma: No-cache<br>
Cache-Control: no-cache<br>
Expires: Thu, 01 Jan 1970 01:00:00 CET<br>
Content-Type: text/html;charset=utf-8<br>
Content-Length: 1176<br>
Date: Wed, 28 May 2014 12:00:44 GMT<br>
<br>
<html><head><title>JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error<br>
report</title> </head><body><br>
JBWEB000065: HTTP Status 405 - HTTP method PUT is not supported by this URL<br>
<HR size="1" noshade="noshade"><p>*JBWEB000309: type* JBWEB000067: Status<br>
report</p><p>*JBWEB000068: message* <u>HTTP method PUT is not supported by<br>
this URL</u></p><p>*JBWEB000069: description* <u>JBWEB000125: The specified<br>
HTTP method is not allowed for the requested resource.</u></p><HR size="1"<br>
noshade="noshade"><br>
JBoss Web/7.2.2.Final-redhat-1<br>
</body></html><br>
<br>
in a more readable format:<br>
<br>
JBWEB000065: HTTP Status 405 - HTTP method PUT is not supported by this URL<br>
<br>
JBWEB000309: type JBWEB000067: Status report<br>
JBWEB000068: message HTTP method PUT is not supported by this URL<br>
JBWEB000069: description JBWEB000125: The specified HTTP method is not<br>
allowed for the requested resource.<br>
<br>
JBoss Web/7.2.2.Final-redhat-1<br>
<br>
Can someone help? Thanks.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/mvn-deploy-to-workbench-fails-Return-code-is-405-ReasonPhrase-Method-Not-Allowed-tp4029737.html" target="_blank">http://drools.46999.n3.nabble.com/mvn-deploy-to-workbench-fails-Return-code-is-405-ReasonPhrase-Method-Not-Allowed-tp4029737.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div>