Re: Error running the application as WAR in tomcat 9

2018-12-16 Thread Mark Thomas
On 16/12/2018 11:51, Kok How Teh wrote: > I get this on the page: > > org.apache.tomcat.websocket.server.WsServerContainer@7d9225a7 Then it is working correctly. Mark > > On Sun, Dec 16, 2018 at 12:27 AM Mark Thomas wrote: > >> On 15/12/2018 12:15, Kok How Teh wrote: >>> Can you share with

Re: Error running the application as WAR in tomcat 9

2018-12-16 Thread Kok How Teh
I get this on the page: org.apache.tomcat.websocket.server.WsServerContainer@7d9225a7 On Sun, Dec 16, 2018 at 12:27 AM Mark Thomas wrote: > On 15/12/2018 12:15, Kok How Teh wrote: > > Can you share with me your JSP for test? Thanks. > > It was in a previous mail in this thread: > > > >

Re: Error running the application as WAR in tomcat 9

2018-12-15 Thread Mark Thomas
On 15/12/2018 12:15, Kok How Teh wrote: > Can you share with me your JSP for test? Thanks. It was in a previous mail in this thread: A web app with a single JSP (below) deployed to a clean Tomcat 9.0.x install shows this is the case. === start JSP === <%=

Re: Error running the application as WAR in tomcat 9

2018-12-15 Thread Kok How Teh
Can you share with me your JSP for test? Thanks. On Fri, Dec 14, 2018 at 7:50 PM Mark Thomas wrote: > On 14/12/2018 11:15, Kok How Teh wrote: > >> Have you configued "containerSciFilter" on the Context? > > No. I don't > > > >> Have you removed any JARs from Tomcat's lib directory? > > These

Re: Error running the application as WAR in tomcat 9

2018-12-14 Thread Mark Thomas
On 14/12/2018 11:15, Kok How Teh wrote: >> Have you configued "containerSciFilter" on the Context? > No. I don't > >> Have you removed any JARs from Tomcat's lib directory? > These are what I have in the lib: > > /opt/tomcat/latest/lib 2114 $ ls > annotations-api.jar catalina.jar

Re: Error running the application as WAR in tomcat 9

2018-12-14 Thread Kok How Teh
> Have you configued "containerSciFilter" on the Context? No. I don't > Have you removed any JARs from Tomcat's lib directory? These are what I have in the lib: /opt/tomcat/latest/lib 2114 $ ls annotations-api.jar catalina.jar ecj-4.7.3a.jar jasper.jar servlet-api.jar

Re: Error running the application as WAR in tomcat 9

2018-12-14 Thread Mark Thomas
On 14/12/2018 00:34, Kok How Teh wrote: > I filed a bug at Spring JIRA and this is the response I get ( > https://jira.spring.io/browse/SPR-17599): > > There seems to be a misunderstanding in that conversation on the Tomcat > mailing list: It's not that we can't find the class of the name >

Re: Error running the application as WAR in tomcat 9

2018-12-13 Thread Kok How Teh
I filed a bug at Spring JIRA and this is the response I get ( https://jira.spring.io/browse/SPR-17599): There seems to be a misunderstanding in that conversation on the Tomcat mailing list: It's not that we can't find the class of the name javax.websocket.server.ServerContainer, it's the

Re: Error running the application as WAR in tomcat 9

2018-12-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 KH, On 12/9/18 22:10, Kok How Teh wrote: > Hi; I use Spring Boot to develop GraphQL applications. However, > when the application is packaged as WAR and deployed to Tomcat 9, > it throws illegalstate exception. I have tried the workaround by >

Error running the application as WAR in tomcat 9

2018-12-09 Thread Kok How Teh
Hi; I use Spring Boot to develop GraphQL applications. However, when the application is packaged as WAR and deployed to Tomcat 9, it throws illegalstate exception. I have tried the workaround by adding a ServletContextAware bean but it doesn't help on Tomcat 9. I have filed 2 issues in separate