ISV Ecosystem

ISV Ecosystem

ISV Ecosystem

Engage with the community of IBM Z and LinuxONE independent software vendors: share knowledge, exchange ideas, explore innovation.

 View Only
  • 1.  APACHE KARAF ON IBM USS issues

    Posted Wed August 07, 2024 10:56 AM

    Hi,

    we have a CI/CD solution Kobee (kobee.io) that uses Apache Karaf.

    we are trying to install a Kobee agent on IBM USS, but this failed.

    some debugging gave following result:

    Issue #1
    Unreadable symbols in agent's log causing 2 servlets are not added to ServletContainerInitializers

    2024-08-02 11:22:26,792 [activator-1-thread-2] INFO  CommandExtension | 104 - org.apache.karaf.shell.core - 4.2.15 | Registering commands for bundle org.apache.karaf.http.core/4.2.15
    2024-08-01 04:27:44,385 [paxweb-config-2-thread-1] INFO  ServletContainerInitializerScanner | 182 - org.ops4j.pax.web.pax-web-api - 7.2.29 | will add ?ÊÅÁÄ%ÑøËÁ¦ÁÈÈ`ÏÁÂË?Ä,ÁȦËÊ"•–ËÁÊÎÁÊÀÁø%?`ïÁÂë?Ä,ÁÈëÁÊÎÁÊä?>È/Ñ>ÁÊñ>ÑÈÑ/%Ñ:ÁÊ to ServletContainerInitializers
    2024-08-01 04:27:44,386 [paxweb-config-2-thread-1] WARN  ServletContainerInitializerScanner | 182 - org.ops4j.pax.web.pax-web-api - 7.2.29 | failed to parse and instantiate of javax.servlet.ServletContainerInitializer in classpath
    2024-08-01 04:27:44,387 [paxweb-config-2-thread-1] INFO  ServletContainerInitializerScanner | 182 - org.ops4j.pax.web.pax-web-api - 7.2.29 | will add ?ÊÅ/ø/ÄÇÁ¦/ËøÁÊËÁÊÎ%ÁÈ¢/ËøÁÊñ>ÑÈÑ/%Ñ:ÁÊ to ServletContainerInitializers
    2024-08-01 04:27:44,394 [paxweb-config-2-thread-1] WARN  ServletContainerInitializerScanner | 182 - org.ops4j.pax.web.pax-web-api - 7.2.29 | failed to parse and instantiate of javax.servlet.ServletContainerInitializer in classpath

    Analysis results
    These strings are EBCDIC representation of the following ASCII values
    ?ÊÅÁÄ%ÑøËÁ¦ÁÈÈ`ÏÁÂË?Ä,ÁȦËÊ"•–ËÁÊÎÁÊÀÁø%?`ïÁÂë?Ä,ÁÈëÁÊÎÁÊä?>È/Ñ>ÁÊñ>ÑÈÑ/%Ñ:ÁÊ - org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServercontainerInitializer
    ?ÊÅ/ø/ÄÇÁ¦/ËøÁÊËÁÊÎ%ÁÈ¢/ËøÁÊñ>ÑÈÑ/%Ñ:ÁÊ - org.apache.jasper.servlet.JasperInitializer

    Startup Issue #2
    Exception in agent log

    2024-08-02 09:11:55,621 [paxtransx-config-1-thread-1] WARN  pax-transx-tm-geronimo | 178 - org.ops4j.pax.transx.pax-transx-tm-geronimo - 0.5.0 | Error starting service
    org.osgi.service.cm.ConfigurationException: null : FILE_HEADER: expecting CRLF found d15
            at org.ops4j.pax.transx.tm.impl.geronimo.TransactionManagerService.<init>(TransactionManagerService.java:135)
            at org.ops4j.pax.transx.tm.impl.geronimo.Activator.doStart(Activator.java:36)
            at org.ops4j.pax.transx.tm.impl.AbstractActivator.run(AbstractActivator.java:115)
            at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
            at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
            at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
            at java.base/java.lang.Thread.run(Thread.java:839)
    Caused by: org.objectweb.howl.log.InvalidLogBufferException: FILE_HEADER: expecting CRLF found d15
            at org.objectweb.howl.log.LogFileManager.validateFileHeader(LogFileManager.java:1076)
            at org.objectweb.howl.log.LogFileManager.init(LogFileManager.java:901)
            at org.objectweb.howl.log.Logger.open(Logger.java:315)
            at org.objectweb.howl.log.xa.XALogger.open(XALogger.java:893)
            at org.apache.geronimo.transaction.log.HOWLLog.doStart(HOWLLog.java:258)
            at org.ops4j.pax.transx.tm.impl.geronimo.TransactionManagerService.<init>(TransactionManagerService.java:132)

    Analysis results
    May be also 'ASCII vs EBCDIC' like issue
    Java code caused exception
    https://github.com/ops4j/org.ops4j.pax.transx/blob/main/pax-transx-tm-geronimo/src/main/java/org/ops4j/pax/transx/tm/impl/geronimo/TransactionManagerService.java
    line 132

    Can someone help here?

    Thank you,

    René

    Kobee remove preview
    Easy-to-use enterprise DevOps (CI/CD)
    The easy-to-use enterprise DevOps solution that orchestrates your preferred tools and automates your CI/CD process. Works with z/OS and ODI out-of-the-box.
    View this on Kobee >

    ) and we w



    ------------------------------
    rene de vleeschauwer
    CEO
    IKAN DEVELOPMENT NV
    MECHELEN
    +3247562882
    ------------------------------


  • 2.  RE: APACHE KARAF ON IBM USS issues

    Posted Tue September 10, 2024 02:10 PM

    Looks like a character encoding issue from ASCII to EBCDIC as indicated. 
    This happens with java applications running in USS.
    Could work around this with _BPXK_AUTOCVT and tagging files as needed. 



    ------------------------------
    Chris Vogan
    ------------------------------