Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. musicman (musicman@nu.federati.net)'s status on Wednesday, 17-Mar-2021 11:15:55 EDT musicman musicman
    Any #java heads able to help here? My java is pretty limited. There has been work in the UpgradeProtocol method recently. This is the code that upgrades http 1.1 connections to http2 connections in #ApacheTomcat. I am trying to test a fix in stream handling, but I can't get the application to work. :/

    ```
    [root@pg-master 09:54:57 embed]# java -jar target/tomcat-9-embedded-1.0.4.jar
    Error: A JNI error has occurred, please check your installation and try again
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/coyote/UpgradeProtocol
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    at java.lang.Class.getMethod0(Class.java:3018)
    at java.lang.Class.getMethod(Class.java:1784)
    at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:650)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:632)
    Caused by: java.lang.ClassNotFoundException: org.apache.coyote.UpgradeProtocol
    at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
    ```

    ```
    [root@pg-master 10:07:51 coyote]# ls /root/embed/target/lib/org/apache/coyote/UpgradeProtocol.class
    /root/embed/target/lib/org/apache/coyote/UpgradeProtocol.class
    ```
    In conversation Wednesday, 17-Mar-2021 11:15:55 EDT from nu.federati.net permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.