« Return to Thread: Maven deploy to nexus fail. Return http status 500

Re: Maven deploy to nexus fail. Return http status 500

by kkarad :: Rate this Message:

Reply to Author | View in Thread

Hello Juven,Tamas,

I ve installed nexus on my local machine and I got a 401 http response. This means that is a credential problem.

However when nexus is located in a remote machine then I get http 500. The fact that I cannot see any errors in the nexus log points me to the assumption that there is something in the middle (proxy, etc) that fails and nexus never receives the request.

Do you know any tool in windows/dos that could help me further investigate the problem.

Regards,

Kostas

Juven Xu wrote:
Tamas:

He had the log here:

>> > The nexus logs (wrapper.log) dont show any upload activity:
>> > http://www.nabble.com/file/p24311690/wrapper-log.txt wrapper-log.txt

But I don't see anything related to the 500 error.

2009/7/3 Tamás Cservenák <tamas@cservenak.net>

> Hi there,
>
> please send us the nexus logs about this deployment. HTTP 500 means
> some internal or IO error on server side.
>
> ~t~
>
> On Thu, Jul 2, 2009 at 9:18 PM, Juven Xu<juven@sonatype.com> wrote:
> > if the credential is incorrect, he should have got 401.
> >
> > On Fri, Jul 3, 2009 at 3:16 AM, Anders Hammar <anders@hammar.net> wrote:
> >>
> >> Have you configured credentials that have upload permission (the one
> >> you use when upload via the the web UI)? You do that in settings.xml
> >> like this:
> >>
> >>  <servers>
> >>    <server>
> >>      <id>releases</id>
> >>      <username>xxxx<username/>
> >>      <password>yyyy<password/>
> >>    </server>
> >>  </servers>
> >>
> >> /Anders
> >>
> >> On Thu, Jul 2, 2009 at 20:19, kkarad<kkarad@gmail.com> wrote:
> >> >
> >> > Hi,
> >> >
> >> > I just intalled nexus to my build machine. when I run mvn clean deploy
> >> > locally and maven tries to upload the file to nexus I get the
> following
> >> > error message?
> >> >
> >> > [install:install]
> >> > Installing
> >> >
> >> >
> C:\Development\workspace\gcdit\STP\middletier\branch-4.8\project-broker-services\target\pom-transformed.xml
> >> > to
> >> >
> >> >
> C:\Development\maven-repository\com\barcap\gcd\ebroker\ebroker\1.1.0\ebroker-1.1.0.pom
> >> > [deploy:deploy]
> >> > Uploading:
> >> >
> >> >
> http://rmcpsm020000136:9003/nexus/content/repositories/releases/com/xxxx/yyy/zzzz/ebroker/1.1.0/ebroker-1.1.0.pom
> >> >
> ------------------------------------------------------------------------
> >> > [ERROR]BUILD ERROR
> >> >
> ------------------------------------------------------------------------
> >> > Error deploying artifact: Failed to transfer file:
> >> >
> >> >
> http://rmcpsm020000136:9003/nexus/content/repositories/releases/com/xxxx/yyy/zzzz/ebroker/1.1.0/ebroker-1.1.0.pom
> .
> >> > Return code is: 500
> >> >
> >> > Do you have a clue of what it could be wrong?
> >> >
> >> > When I upload artifacts from nexus web ui it works fine.
> >> >
> >> > My maven pom settings are:
> >> >    <distributionManagement>
> >> >        <repository>
> >> >            <id>releases</id>
> >> >            <name>Releases</name>
> >> >
> >> >
> >> > <url>http://rmcpsm020000136:9003/nexus/content/repositories/releases
> </url>
> >> >        </repository>
> >> >    </distributionManagement>
> >> >
> >> > The nexus logs (wrapper.log) dont show any upload activity:
> >> > http://www.nabble.com/file/p24311690/wrapper-log.txt wrapper-log.txt
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > View this message in context:
> >> >
> http://www.nabble.com/Maven-deploy-to-nexus-fail.-Return-http-status-500-tp24311690p24311690.html
> >> > Sent from the Nexus Maven Repository Manager Users List mailing list
> >> > archive at Nabble.com.
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> >> > For additional commands, e-mail: nexus-user-help@sonatype.org
> >> >
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> >> For additional commands, e-mail: nexus-user-help@sonatype.org
> >>
> >
> >
> >
> > --
> > - juven
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> For additional commands, e-mail: nexus-user-help@sonatype.org
>
>


--
- juven

 « Return to Thread: Maven deploy to nexus fail. Return http status 500