Show Navigation
Notices tagged with apachetomcat
-
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
```
-
is there a good process for using the git version of #ApacheTomcat in embedded Tomcat?
-
Is the #ApacheTomcat dev source available in a maven repo somewhere?
-
can #apachetomcat be used as a proxy server? or #jetty or whatever Tomcat actually uses. I'm in in a situation where I can't use something that actually makes sense.
-
Is there a way to reset HTTP2 Streams in #ApacheTomcat without reloading all of #Tomcat? I'm dealing with a single stuck stream.
-
Are the changes listed as 9.0.42 in 9.0.43? That's my assumption, but it isn't clear. #ApacheTomcat #tomcat
https://tomcat.apache.org/tomcat-9.0-doc/changelog.html