not that I can see : drwxr-xr-x 2 archiva archiva 4096 Apr 27 08:23 ./ drwxr-xr-x 9 archiva archiva 4096 Apr 27 08:23 ../ -rw-r--r-- 1 archiva archiva 382708 Apr 27 08:23 junit-4.13.1.jar -rw-r--r-- 1 archiva archiva 32 Apr 27 08:23 junit-4.13.1.jar.md5 -rw-r--r-- 1 archiva archiva 40 Apr 27 08:23 junit-4.13.1.jar.sha1 -rw-r--r-- 1 archiva archiva 25062 Apr 27 08:23 junit-4.13.1.pom -rw-r--r-- 1 archiva archiva 32 Apr 27 08:23 junit-4.13.1.pom.md5 -rw-r--r-- 1 archiva archiva 40 Apr 27 08:23 junit-4.13.1.pom.sha1 -rw-r--r-- 1 archiva archiva 151 May 8 09:53 maven-metadata.xml -rw-r--r-- 1 archiva archiva 52 Apr 27 08:23 maven-metadata.xml.md5 -rw-r--r-- 1 archiva archiva 60 Apr 27 08:23 maven-metadata.xml.sha1 marco@artifact:/opt/archiva/repositories/internal/junit/junit/4.13.1$ pwd /opt/archiva/repositories/internal/junit/junit/4.13.1
but then, looking for 'org.bouncycastle;bc-fips-[1.0.2,2.0.0).jar' I can't find it : drwxr-xr-x 8 archiva archiva 4096 Apr 27 08:23 ./ drwxr-xr-x 51 archiva archiva 4096 May 15 09:32 ../ drwxr-xr-x 3 archiva archiva 4096 Apr 27 08:23 bcmail-jdk15on/ drwxr-xr-x 3 archiva archiva 4096 Apr 27 08:23 bcpkix-jdk15on/ drwxr-xr-x 3 archiva archiva 4096 Apr 27 08:23 bcpkix-jdk18on/ drwxr-xr-x 3 archiva archiva 4096 Apr 27 08:23 bcprov-jdk15on/ drwxr-xr-x 3 archiva archiva 4096 Apr 27 08:23 bcprov-jdk18on/ drwxr-xr-x 3 archiva archiva 4096 Apr 27 08:23 bcutil-jdk18on/ marco@artifact:/opt/archiva/repositories/internal/org/bouncycastle$ could this be the actual issue ? And shouldn't it try to download it from central ? On May 17 2023, at 8:54 am, Olivier Lamy <ol...@apache.org> wrote: > Hi > I wonder what is the real path of the repository on disk? Does it > contain "special characters"? > > On Wed, 10 May 2023 at 03:54, Marco Ferretti <marco.ferre...@axiante.com> > wrote: > > > > > > > > On May 8 2023, at 10:10 am, Olivier Lamy <ol...@apache.org> wrote: > > > Hi > > > I can see this root cause in the stack trace > > > > Caused by: > > > > org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: > > > > 'junit;junit-[4.13.1,).jar' is not a valid path. '�' not a valid name > > > > character. > > > > > > This sounds strange. > > > Maybe you can simply stop Archiva, delete the jackrabbit data as they > > > seem to be corrupted then restart. > > > > > I have tried removing the jcr directory and restart archiva 2.2.10 with the > > exact same result. I have even tried the same with archiva 2.2.8 > > successfully. > > Here's the result : > > -- archiva 2.2.8, jcr directory deleted and automatically rebuilt : > > > > wget > > http://artifact.axiante.com/repository/internal/commons-lang/commons-lang/2.4/commons-lang-2.4.jar > > URL transformed to HTTPS due to an HSTS policy > > --2023-05-08 11:13:52-- > > https://artifact.axiante.com/repository/internal/commons-lang/commons-lang/2.4/commons-lang-2.4.jar > > Resolving artifact.axiante.com (artifact.axiante.com)... 34.122.158.86 > > Connecting to artifact.axiante.com > > (artifact.axiante.com)|34.122.158.86|:443... connected. > > HTTP request sent, awaiting response... 200 OK > > Length: 261809 (256K) [application/java-archive] > > Saving to: ‘commons-lang-2.4.jar’ > > > > commons-lang-2.4.jar > > 100%[=========================================================================================================================================>] > > 255,67K 223KB/s in 1,1s > > > > -- archiva 2.2.10, jcr directory deleted and automatically rebuilt > > -- archiva 2.2.10, jcr directory deleted and moved from archiva 2.2.8 > > -- archiva 2.2.10, jcr directory deleted, repository directory moved from > > archiva 2.2.8, jcr directory moved from archiva 2.2.8 > > -- archiva 2.2.10, jcr directory deleted, repository directory moved from > > archiva 2.2.8, jcr rebuilt on startup > > wget > > http://artifact.axiante.com/repository/internal/commons-lang/commons-lang/2.4/commons-lang-2.4.jar > > URL transformed to HTTPS due to an HSTS policy > > --2023-05-08 11:16:31-- > > https://artifact.axiante.com/repository/internal/commons-lang/commons-lang/2.4/commons-lang-2.4.jar > > Resolving artifact.axiante.com (artifact.axiante.com)... 34.122.158.86 > > Connecting to artifact.axiante.com > > (artifact.axiante.com)|34.122.158.86|:443... connected. > > HTTP request sent, awaiting response... 400 Bad Request > > 2023-05-08 11:16:34 ERROR 400: Bad Request. > > > > the log always has > > Caused by: > > org.apache.jackrabbit.spi.commons.conversion.MalformedPathException: > > 'org.bouncycastle;bc-fips-[1.0.2,2.0.0).jar' is not a valid path. '�' not a > > valid name character. > > at > > org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:327) > > ~[jackrabbit-spi-commons-2.9.1.jar:?] > > at > > org.apache.jackrabbit.spi.commons.conversion.PathParser.parse(PathParser.java:122) > > ~[jackrabbit-spi-commons-2.9.1.jar:?] > > at > > org.apache.jackrabbit.spi.commons.conversion.ParsingPathResolver.getQPath(ParsingPathResolver.java:90) > > ~[jackrabbit-spi-commons-2.9.1.jar:?] > > at > > org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:98) > > ~[jackrabbit-spi-commons-2.9.1.jar:?] > > at > > org.apache.jackrabbit.spi.commons.conversion.CachingPathResolver.getQPath(CachingPathResolver.java:77) > > ~[jackrabbit-spi-commons-2.9.1.jar:?] > > at > > org.apache.jackrabbit.spi.commons.conversion.DefaultNamePathResolver.getQPath(DefaultNamePathResolver.java:82) > > ~[jackrabbit-spi-commons-2.9.1.jar:?] > > at org.apache.jackrabbit.core.SessionImpl.getQPath(SessionImpl.java:648) > > ~[jackrabbit-core-2.9.1.jar:2.9.1] > > at > > org.apache.jackrabbit.core.session.SessionContext.getQPath(SessionContext.java:338) > > ~[jackrabbit-core-2.9.1.jar:2.9.1] > > at > > org.apache.jackrabbit.core.NodeImpl.resolveRelativePath(NodeImpl.java:238) > > ~[jackrabbit-core-2.9.1.jar:2.9.1] > > at > > org.apache.jackrabbit.core.NodeImpl.resolveRelativeNodePath(NodeImpl.java:223) > > ~[jackrabbit-core-2.9.1.jar:2.9.1] > > at org.apache.jackrabbit.core.NodeImpl.hasNode(NodeImpl.java:2281) > > ~[jackrabbit-core-2.9.1.jar:2.9.1] > > at org.apache.jackrabbit.commons.JcrUtils.getOrAddNode(JcrUtils.java:952) > > ~[jackrabbit-jcr-commons-2.9.1.jar:?] > > at org.apache.jackrabbit.commons.JcrUtils.getOrAddNode(JcrUtils.java:930) > > ~[jackrabbit-jcr-commons-2.9.1.jar:?] > > at > > org.apache.archiva.metadata.repository.jcr.JcrMetadataRepository.updateProjectVersion(JcrMetadataRepository.java:319) > > ~[metadata-store-jcr-2.2.10.jar:?] > > ... 23 more > > > > I then tried to remove the repository and rebuild : > > wget > > http://artifact.axiante.com/repository/internal/commons-lang/commons-lang/2.4/commons-lang-2.4.jar > > URL transformed to HTTPS due to an HSTS policy > > --2023-05-08 11:29:32-- > > https://artifact.axiante.com/repository/internal/commons-lang/commons-lang/2.4/commons-lang-2.4.jar > > Resolving artifact.axiante.com (artifact.axiante.com)... 34.122.158.86 > > Connecting to artifact.axiante.com > > (artifact.axiante.com)|34.122.158.86|:443... connected. > > HTTP request sent, awaiting response... 400 Bad Request > > 2023-05-08 11:29:33 ERROR 400: Bad Request. > > > > archiva request.log: > > 127.0.0.1 - - [08/May/2023:09:29:33 +0000] "GET > > /repository/internal/commons-lang/commons-lang/2.4/commons-lang-2.4.jar > > HTTP/1.1" 400 1439 "-" "Wget/1.21.2" > > > > archiva.log: empty on the request > > > > I am totally lost here ... >