|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Maven deploy to nexus fail. Return http status 500Hi,
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:wrapper-log.txt |
|
|
Re: Maven deploy to nexus fail. Return http status 500Have 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@...> 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@... > For additional commands, e-mail: nexus-user-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: Maven deploy to nexus fail. Return http status 500if the credential is incorrect, he should have got 401.
On Fri, Jul 3, 2009 at 3:16 AM, Anders Hammar <anders@...> wrote: Have you configured credentials that have upload permission (the one -- - juven |
|
|
Re: Maven deploy to nexus fail. Return http status 500Hi 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@...> wrote: > if the credential is incorrect, he should have got 401. > > On Fri, Jul 3, 2009 at 3:16 AM, Anders Hammar <anders@...> 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@...> 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@... >> > For additional commands, e-mail: nexus-user-help@... >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: nexus-user-unsubscribe@... >> For additional commands, e-mail: nexus-user-help@... >> > > > > -- > - juven > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: Maven deploy to nexus fail. Return http status 500Tamas:
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@...> Hi there, -- - juven |
|
|
Re: Maven deploy to nexus fail. Return http status 500Hello 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
|
|
|
Re: Maven deploy to nexus fail. Return http status 500Oh yes,
In case of proxy, the 500 might come from that, and not from Nexus itself. At least, there is no trace for 500 in your Nexus logs.... Well, to investigate this, you might use some TCP dump tools to see actual traffic between maven CLI and your proxy, and also look at the proxy logs. It is certain that proxy logs will contain the 500 response. ~t~ On Fri, Jul 3, 2009 at 10:21 AM, kkarad<kkarad@...> wrote: > > 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@...> >> >>> 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@...> wrote: >>> > if the credential is incorrect, he should have got 401. >>> > >>> > On Fri, Jul 3, 2009 at 3:16 AM, Anders Hammar <anders@...> >>> 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@...> 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@... >>> >> > For additional commands, e-mail: nexus-user-help@... >>> >> > >>> >> > >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: nexus-user-unsubscribe@... >>> >> For additional commands, e-mail: nexus-user-help@... >>> >> >>> > >>> > >>> > >>> > -- >>> > - juven >>> > >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: nexus-user-unsubscribe@... >>> For additional commands, e-mail: nexus-user-help@... >>> >>> >> >> >> -- >> - juven >> >> > > -- > View this message in context: http://www.nabble.com/Maven-deploy-to-nexus-fail.-Return-http-status-500-tp24311690p24319424.html > Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nexus-user-unsubscribe@... > For additional commands, e-mail: nexus-user-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
|
|
Re: Maven deploy to nexus fail. Return http status 500If there is an Apache web server (or similar) in front of Nexus you
could check the access log of that. It will tell if the request gets to the remote server or not. /Anders 2009/7/3 Tamás Cservenák <tamas@...>: > Oh yes, > > In case of proxy, the 500 might come from that, and not from Nexus > itself. At least, there is no trace for 500 in your Nexus logs.... > > Well, to investigate this, you might use some TCP dump tools to see > actual traffic between maven CLI and your proxy, and also look at the > proxy logs. It is certain that proxy logs will contain the 500 > response. > > ~t~ > > On Fri, Jul 3, 2009 at 10:21 AM, kkarad<kkarad@...> wrote: >> >> 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@...> >>> >>>> 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@...> wrote: >>>> > if the credential is incorrect, he should have got 401. >>>> > >>>> > On Fri, Jul 3, 2009 at 3:16 AM, Anders Hammar <anders@...> >>>> 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@...> 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@... >>>> >> > For additional commands, e-mail: nexus-user-help@... >>>> >> > >>>> >> > >>>> >> >>>> >> --------------------------------------------------------------------- >>>> >> To unsubscribe, e-mail: nexus-user-unsubscribe@... >>>> >> For additional commands, e-mail: nexus-user-help@... >>>> >> >>>> > >>>> > >>>> > >>>> > -- >>>> > - juven >>>> > >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: nexus-user-unsubscribe@... >>>> For additional commands, e-mail: nexus-user-help@... >>>> >>>> >>> >>> >>> -- >>> - juven >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Maven-deploy-to-nexus-fail.-Return-http-status-500-tp24311690p24319424.html >> Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: nexus-user-unsubscribe@... >> For additional commands, e-mail: nexus-user-help@... >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: nexus-user-unsubscribe@... > For additional commands, e-mail: nexus-user-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: nexus-user-unsubscribe@... For additional commands, e-mail: nexus-user-help@... |
| Free embeddable forum powered by Nabble | Forum Help |