belgattitude / php-java-bridge

Soluble PHP/Java bridge server (unofficial fork)
Other
46 stars 10 forks source link

Compatibility issue with Tomcat7 7.0.109 #68

Open stefanofornari opened 1 year ago

stefanofornari commented 1 year ago

Trying to use it in my tomcat7 app, I get the error below. It works ok with original (but rebuilt) php-java-bridget 7.2.1

java.lang.ClassCastException: class java.io.ObjectStreamClass$Caches$1 cannot be cast to class java.util.Map (java.io.ObjectStreamClass$Caches$1 and java.util.Map are in module java.base of loader 'bootstrap') at org.apache.catalina.loader.WebappClassLoaderBase.clearCache(WebappClassLoaderBase.java:3121) at org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesObjectStreamClassCaches(WebappClassLoaderBase.java:3080) at org.apache.catalina.loader.WebappClassLoaderBase.clearReferences(WebappClassLoaderBase.java:2289) at org.apache.catalina.loader.WebappClassLoaderBase.stop(WebappClassLoaderBase.java:2182) at org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:690) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5910) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1705) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1694) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.base/java.lang.Thread.run(Thread.java:1589)

belgattitude commented 1 year ago

Hey thx for report. Let's see if someone can help you but on my side I won't put time on the project anymore.