« Return to Thread: Artifactory repository serving URLs that point to localhost:8080

Re: Artifactory repository serving URLs that point to localhost:8080

by freddy33 :: Rate this Message:

Reply to Author | View in Thread

In the URL http://timboudreau.com/mvn/repo/libs-snapshots-local/com/timboudreau/webapp-file-io/1.0-SNAPSHOT/webapp-file-io-1.0-20090628.213748-1.jar seems to be wrong. The pattern is http://servername/[artifactory context name]/[repo name] and in your case you have /repo/libs-snapshits-local.
Removing /repo/ in the distribution management should fix this, Ithink?

HTH.

On Mon, Jun 29, 2009 at 1:33 AM, Tim Boudreau <tboudreau@...> wrote:
Yoav Landman wrote:
> Hi Tim,
>
> You need to use - ProxyPreserveHost on
> as suggested here:
> http://wiki.jfrog.org/confluence/display/RTF/Running+Behind+Apache+HTTPD
> That should resolve the wrong URLs.
>
Thanks so much!  That did it!  Amen!
> The deployment errors you are getting indicate a permission configuration
> problem.
> Did you give the user in question "deploy" permissions on the repository
> path you try to deploy into (you can temporarily make the user an admin to
> verify it's a permission issue). Also, the server-side artifactory.log
> should contain more information on why deployment failed.
>
The user in question has deploy permissions - and I've used that user to
deploy artifacts via the web interface.  I've tried both with and
without a master password and password encryption (non-encrypted gets me
a 400 error, and IIRC, encrypted gets me a 401).  This is the relevant
section in $HOME/.m2/settings.xml

   <localRepository>H:\LocalMavenRepository</localRepository>
   <mirrors>
       <mirror>
           <id>artifactory</id>
           <mirrorOf>*</mirrorOf>
           <url>http://timboudreau.com/mvn/repo</url>
           <name>Artifactory</name>
       </mirror>
   </mirrors>
   <servers>
       <server>
           <id>timboudreau.com</id>
           <username>mgr</username>
           <password>xxxxxxxx</password>
<!--            <password>{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=}</password> -->
           <filePermissions>664</filePermissions>
           <directoryPermissions>775</directoryPermissions>
           <configuration></configuration>
       </server>
   </servers>

Any ideas?

-Tim


------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users



--
JFrog Ltd
5 Habonim st., P.O.Box 8187
Netanya, Israel 42504.
Tel: +972 9 8941444    
Fax: +972 9 8659977
http://www.jfrog.org/
http://freddy33.blogspot.com/
http://nothingisinfinite.blogspot.com/

------------------------------------------------------------------------------

_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

 « Return to Thread: Artifactory repository serving URLs that point to localhost:8080