开发者

WAR Runs in Jetty on Red Hat but Not on Ubuntu

开发者 https://www.devze.com 2023-02-16 19:39 出处:网络
I have a WAR file that runs fine using the jetty-maven-plugin, but it won\'t run using the same version (version 8) of stand-alone jetty.It just returns a \"SERVICE_UNAVAILABLE\" error.On a whim, know

I have a WAR file that runs fine using the jetty-maven-plugin, but it won't run using the same version (version 8) of stand-alone jetty. It just returns a "SERVICE_UNAVAILABLE" error. On a whim, knowing that the WAR originally ran on Jetty 6.1.26, I tried usin开发者_JAVA技巧g it. That seemed to clear up the logs, but I receive a blank page when I hit the url in my browser. Any ideas as to what the issue might be?

Oddly, the war runs successfully on an instance on Jetty 6.1.26 on a Red Hat server, but not on the same version of Jetty on Ubuntu...


UPDATE: This appears to have been a system-dependent issue. I tried this on another Ubuntu installation and it works fine.


Which JVM are you using? I know that the default in Ubuntu is the OpenJDK JRE, is Red Hat using the Sun JVM?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号