<div dir="ltr">This is a missing feature - it looks like we&#39;re only setup to serve content from the Workbench&#39;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">&lt;<a href="mailto:jean-marc.terrettaz@sbb.ch" target="_blank">jean-marc.terrettaz@sbb.ch</a>&gt;</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 &quot;Return<br>
code is: 405, ReasonPhrase:Method Not Allowed.&quot;<br>
Here the distributionManagement section of the POM:<br>
<br>
        &lt;distributionManagement&gt;<br>
                &lt;repository&gt;<br>
                        &lt;id&gt;guvnor-m2-repo&lt;/id&gt;<br>
                        &lt;url&gt;<a href="http://localhost:8080/kie-drools-wb/maven2/" target="_blank">http://localhost:8080/kie-drools-wb/maven2/</a>&lt;/url&gt;<br>
                &lt;/repository&gt;<br>
        &lt;/distributionManagement&gt;<br>
<br>
I also defined the server as follow in my settings.xml :<br>
<br>
        &lt;servers&gt;<br>
                &lt;server&gt;<br>
                        &lt;id&gt;guvnor-m2-repo&lt;/id&gt;<br>
                        &lt;configuration&gt;<br>
                                &lt;httpHeaders&gt;<br>
                                        &lt;property&gt;<br>
                                                &lt;name&gt;Authorization&lt;/name&gt;<br>
<br>
                                                &lt;value&gt;Basic xxxoffuscatedxxxxx =&lt;/value&gt;<br>
                                        &lt;/property&gt;<br>
                                &lt;/httpHeaders&gt;<br>
                        &lt;/configuration&gt;<br>
                &lt;/server&gt;<br>
        &lt;/servers&gt;<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>
&lt;html&gt;&lt;head&gt;&lt;title&gt;JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error<br>
report&lt;/title&gt; &lt;/head&gt;&lt;body&gt;<br>
JBWEB000065: HTTP Status 405 - HTTP method PUT is not supported by this URL<br>
&lt;HR size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;p&gt;*JBWEB000309: type* JBWEB000067: Status<br>
report&lt;/p&gt;&lt;p&gt;*JBWEB000068: message* &lt;u&gt;HTTP method PUT is not supported by<br>
this URL&lt;/u&gt;&lt;/p&gt;&lt;p&gt;*JBWEB000069: description* &lt;u&gt;JBWEB000125: The specified<br>
HTTP method is not allowed for the requested resource.&lt;/u&gt;&lt;/p&gt;&lt;HR size=&quot;1&quot;<br>
noshade=&quot;noshade&quot;&gt;<br>
JBoss Web/7.2.2.Final-redhat-1<br>
&lt;/body&gt;&lt;/html&gt;<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>