[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    [jira] [Commented] (WSS-692) Timestamp of content in jar-files are invalid.
From:       Schömer_Jörg_(Jira) <jira () apache ! org>
Date:       2022-02-10 14:37:00
Message-ID: JIRA.13427694.1644484886000.282333.1644503820062 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/WSS-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17490293#comment-17490293 \
] 

Schömer Jörg commented on WSS-692:
----------------------------------

Thanks for your quick support!

> Timestamp of content in jar-files are invalid.
> ----------------------------------------------
> 
> Key: WSS-692
> URL: https://issues.apache.org/jira/browse/WSS-692
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Core
> Affects Versions: 2.4.0
> Reporter: Schömer Jörg
> Assignee: Colm O hEigeartaigh
> Priority: Minor
> Fix For: 2.4.1
> 
> Attachments: WSS-692-test-case.tgz
> 
> 
> This is the content from wss4j-bindings-2.4.0.jar:
> {code:java}
> -rw-r--r--   2.0 unx       1498 b- defN 80-000-00 04:08 META-INF/MANIFEST.MF
> drwxr-xr-x   2.0 unx            0 b- stor 80-000-00 04:08 META-INF/
> drwxr-xr-x   2.0 unx            0 b- stor 80-000-00 04:08 org/
> drwxr-xr-x   2.0 unx            0 b- stor 80-000-00 04:08 org/apache/
> drwxr-xr-x   2.0 unx            0 b- stor 80-000-00 04:08 org/apache/wss4j/
> drwxr-xr-x   2.0 unx            0 b- stor 80-000-00 04:08 org/apache/wss4j/binding/
> drwxr-xr-x   2.0 unx            0 b- stor 80-000-00 04:08 \
> org/apache/wss4j/binding/wss10/ drwxr-xr-x   2.0 unx            0 b- stor 80-000-00 \
> 04:08 org/apache/wss4j/binding/wss11/ drwxr-xr-x   2.0 unx            0 b- stor \
> 80-000-00 04:08 org/apache/wss4j/binding/wssc/ drwxr-xr-x   2.0 unx            0 b- \
> stor 80-000-00 04:08 org/apache/wss4j/binding/wssc13/ drwxr-xr-x   2.0 unx          \
> 0 b- stor 80-000-00 04:08 org/apache/wss4j/binding/wssc200502/ drwxr-xr-x   2.0 unx \
> 0 b- stor 80-000-00 04:08 org/apache/wss4j/binding/wsu10/ drwxr-xr-x   2.0 unx      \
> 0 b- stor 80-000-00 04:08 META-INF/maven/ drwxr-xr-x   2.0 unx            0 b- stor \
> 80-000-00 04:08 META-INF/maven/org.apache.wss4j/ drwxr-xr-x   2.0 unx            0 \
>                 b- stor 80-000-00 04:08 \
>                 META-INF/maven/org.apache.wss4j/wss4j-bindings/
> -rw-r--r--   2.0 unx       1410 b- defN 80-000-00 04:08 META-INF/DEPENDENCIES
> -rw-r--r--   2.0 unx      11358 b- defN 80-000-00 04:08 META-INF/LICENSE
> -rw-r--r--   2.0 unx         190 b- defN 80-000-00 04:08 META-INF/NOTICE 
> ...{code}
> the result is an invalid timestamp in spring-boot applications:
> {code:java}
> -rw-r--r--   2.0 unx    335572 b- stor 80-000-00 04:08 \
>                 BOOT-INF/lib/wss4j-ws-security-dom-2.4.0.jar
> -rw-r--r--   2.0 unx    277594 b- stor 80-000-00 04:08 \
>                 BOOT-INF/lib/wss4j-ws-security-common-2.4.0.jar
> -rw-r--r--   2.0 unx    212270 b- stor 80-000-00 04:08 \
>                 BOOT-INF/lib/wss4j-policy-2.4.0.jar
> -rw-r--r--   2.0 unx    410898 b- stor 80-000-00 04:08 \
>                 BOOT-INF/lib/wss4j-ws-security-stax-2.4.0.jar
> -rw-r--r--   2.0 unx      43090 b- stor 80-000-00 04:08 \
>                 BOOT-INF/lib/wss4j-bindings-2.4.0.jar
> -rw-r--r--   2.0 unx    131446 b- stor 80-000-00 04:08 \
> BOOT-INF/lib/wss4j-ws-security-policy-stax-2.4.0.jar {code} and that prevents \
> spring-boot to start {noformat}
> Exception in thread "main" java.time.DateTimeException: Invalid value for \
> MonthOfYear (valid values 1 - 12): 0 at \
> java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311) at \
> java.time.temporal.ChronoField.checkValidValue(ChronoField.java:703) at \
> java.time.LocalDate.of(LocalDate.java:267) at \
> java.time.LocalDateTime.of(LocalDateTime.java:336) at \
> org.springframework.boot.loader.jar.CentralDirectoryFileHeader.decodeMsDosFormatDateTime(CentralDirectoryFileHeader.java:130) \
> at org.springframework.boot.loader.jar.CentralDirectoryFileHeader.getTime(CentralDirectoryFileHeader.java:119) \
> at org.springframework.boot.loader.jar.JarEntry.<init>(JarEntry.java:55) at
> org.springframework.boot.loader.jar.JarFileEntries.getEntry(JarFileEntries.java:328) \
> at org.springframework.boot.loader.jar.JarFileEntries.access$400(JarFileEntries.java:48) \
> at org.springframework.boot.loader.jar.JarFileEntries$EntryIterator.next(JarFileEntries.java:379) \
> at org.springframework.boot.loader.jar.JarFileEntries$EntryIterator.next(JarFileEntries.java:363) \
> at org.springframework.boot.loader.jar.JarFile$2.nextElement(JarFile.java:198) at
> org.springframework.boot.loader.jar.JarFile$2.nextElement(JarFile.java:189) at
> org.springframework.boot.loader.archive.JarFileArchive$EntryIterator.next(JarFileArchive.java:186) \
> at org.springframework.boot.loader.archive.JarFileArchive$EntryIterator.next(JarFileArchive.java:171) \
> at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchives(JarFileArchive.java:84) \
> at org.springframework.boot.loader.ExecutableArchiveLauncher.getClassPathArchives(ExecutableArchiveLauncher.java:70) \
> at org.springframework.boot.loader.Launcher.launch(Launcher.java:49) at
> org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic