Trouble accessing JBoss Maven repository

View: New views
2 Messages — Rating Filter:   Alert me  

Trouble accessing JBoss Maven repository

by stug23 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have Artifactory 1.2.5 configured to proxy Maven repositories outside our company firewall. Works fine for the Maven Central Repository. However I have yet to successfully access the JBoss Maven Repository at <http://repository.jboss.com/maven2>. Acccess to the JBoss repo works from a web browser using the same proxy settings.

Whenever access is attempted from Artifactory to the JBoss repo, I get the following error message in the Artifactory console:

2008-06-11 12:13:20,202 [WARN ] (HttpMethodBase.java:1656)     - Cookie rejected: "$Version=0; JSESSIONID=3043527E0AD9EA8E3D1B65EB33E27414; $Path=/servlets". Illegal path attribute "/servlets". Path of origin: "/repository//org.jboss.jsfunit/poms/jboss-jsfunit-1.0.0.Beta2.pom"

Eventually the connection times out with no artifacts downloaded from JBoss Maven repo. I did try increasing the timeout settings with no success.

I am including the remote repository settings from the Artifactory config file for Maven Central and JBoss for reference.

Any ideas or suggestions would be appreciated.

                <remoteRepository>
                        <key>repo1</key>
                        <handleReleases>true</handleReleases>
                        <handleSnapshots>false</handleSnapshots>
                        <excludesPattern>com/expd/**,org/artifactory/**,org/jfrog/**</excludesPattern>
                        <url>http://repo1.maven.org/maven2</url>
                        <proxyRef>my-proxy</proxyRef>
                </remoteRepository>
                <remoteRepository>
                        <key>jboss</key>
                        <description>JBoss Repository for Maven 2</description>
                        <handleReleases>true</handleReleases>
                        <handleSnapshots>false</handleSnapshots>
                        <excludesPattern>com/expd/**,org/artifactory/**,org/jfrog/**</excludesPattern>
                        <url>http://repository.jboss.com/maven2/</url>
                        <proxyRef>my-proxy</proxyRef>
                </remoteRepository>

Thanks,

Pat

Re: Trouble accessing JBoss Maven repository

by stug23 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Problem solved -- it turned out that I had an extra slash on the end of the JBoss repo URL:

   <url>http://repository.jboss.com/maven2/</url>

Changing this to not include the last slash solved the problem!

   


   <url>http://repository.jboss.com/maven2</url>

stug23 wrote:
I have Artifactory 1.2.5 configured to proxy Maven repositories outside our company firewall. Works fine for the Maven Central Repository. However I have yet to successfully access the JBoss Maven Repository at <http://repository.jboss.com/maven2>. Acccess to the JBoss repo works from a web browser using the same proxy settings.

Whenever access is attempted from Artifactory to the JBoss repo, I get the following error message in the Artifactory console:

2008-06-11 12:13:20,202 [WARN ] (HttpMethodBase.java:1656)     - Cookie rejected: "$Version=0; JSESSIONID=3043527E0AD9EA8E3D1B65EB33E27414; $Path=/servlets". Illegal path attribute "/servlets". Path of origin: "/repository//org.jboss.jsfunit/poms/jboss-jsfunit-1.0.0.Beta2.pom"

Eventually the connection times out with no artifacts downloaded from JBoss Maven repo. I did try increasing the timeout settings with no success.

I am including the remote repository settings from the Artifactory config file for Maven Central and JBoss for reference.

Any ideas or suggestions would be appreciated.

                <remoteRepository>
                        <key>repo1</key>
                        <handleReleases>true</handleReleases>
                        <handleSnapshots>false</handleSnapshots>
                        <excludesPattern>com/expd/**,org/artifactory/**,org/jfrog/**</excludesPattern>
                        <url>http://repo1.maven.org/maven2</url>
                        <proxyRef>my-proxy</proxyRef>
                </remoteRepository>
                <remoteRepository>
                        <key>jboss</key>
                        <description>JBoss Repository for Maven 2</description>
                        <handleReleases>true</handleReleases>
                        <handleSnapshots>false</handleSnapshots>
                        <excludesPattern>com/expd/**,org/artifactory/**,org/jfrog/**</excludesPattern>
                        <url>http://repository.jboss.com/maven2/</url>
                        <proxyRef>my-proxy</proxyRef>
                </remoteRepository>

Thanks,

Pat