Re: NullPointerException in MapperListener; Tomcat#start() does not create a Container?

2013-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/14/13 5:25 PM, Konstantin Kolinko wrote: 2013/3/15 Nick Williams nicho...@nicholaswilliams.net: I resolved the NullPointerException by calling tomcat.getService().setContainer(tomcat.getEngine()) between init() and start().

NullPointerException in MapperListener; Tomcat#start() does not create a Container?

2013-03-14 Thread Nick Williams
Using a variety of tutorials I found online and the documentation for o.a.c.startup.Tomcat, I created the following main method to start up an embedded Tomcat. I'm using 7.0.37 Tomcat JARs. public static void main(String... arguments) throws Exception { Tomcat tomcat = new

Re: NullPointerException in MapperListener; Tomcat#start() does not create a Container?

2013-03-14 Thread Nick Williams
On Mar 14, 2013, at 2:56 PM, Nick Williams wrote: Using a variety of tutorials I found online and the documentation for o.a.c.startup.Tomcat, I created the following main method to start up an embedded Tomcat. I'm using 7.0.37 Tomcat JARs. public static void main(String... arguments)

Re: NullPointerException in MapperListener; Tomcat#start() does not create a Container?

2013-03-14 Thread Konstantin Kolinko
2013/3/15 Nick Williams nicho...@nicholaswilliams.net: On Mar 14, 2013, at 2:56 PM, Nick Williams wrote: Using a variety of tutorials I found online and the documentation for o.a.c.startup.Tomcat, I created the following main method to start up an embedded Tomcat. I'm using 7.0.37 Tomcat

WebSockets problem Re: NullPointerException in MapperListener; Tomcat#start() does not create a Container?

2013-03-14 Thread Nick Williams
On Mar 14, 2013, at 4:25 PM, Konstantin Kolinko wrote: 2013/3/15 Nick Williams nicho...@nicholaswilliams.net: On Mar 14, 2013, at 2:56 PM, Nick Williams wrote: Using a variety of tutorials I found online and the documentation for o.a.c.startup.Tomcat, I created the following main method