Hi,
Rename the fixed file to "artifactory.config.import.xml". This will cause
Artifactory to reload the configuration from this file.
We'll try to find what caused the duplication of ntHost. Is it the only proxy
you have?
Yossi
________________________________
From: Lóránd Somogyi <[email protected]>
To: [email protected]
Sent: Thu, October 15, 2009 1:21:35 PM
Subject: Re: [Artifactory-users] [ANN] Artifactory 2.1
Heeeelp!
I'm trying to upgrade from 2.0.5 without success.
I''m running Artifactory in Tomcat 6.0.18 under Linux, as a ROOT context.
After a startup which take a lot of time, I've got the next error
(artifactory.log):
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'ntHost'. One of
'{"http://artifactory.jfrog.org/xsd/1.4.0":domain}' is expected.
(log atteched)
In /etc/artifactory/ for artifactory.config.startup.xml,
artifactory.config.bootstrap.xml I can see the offending parts:
<proxy>
<key>ss-proxy</key>
<host>my.proxy.domain</host>
<port>8080</port>
<username>someuser</username>
<password>somepass</password>
<ntHost>my.domain.com</ntHost>
<ntHost>my.domain.com</ntHost><ntHost>my.domain.com</ntHost><ntHost>my.domain.com</ntHost><ntHost>my.domain.com</ntHost><ntHost>my.domain.com</ntHost><domain>my.domain.com</domain>
</proxy>
I see ntHost 5 times for each proxy config.
Modification of those file does not help at all, as those will be overwritten
on next startup.
As far as I can see downgrade (to 2.0.8) not applicable.
I need some help ASAP.
Thanks,
Lóránd Somogyi
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users