I found I had missed a resource reference. However, there is still a problem. What am I doing wrong?
com.katalyzt.toolbox.websetup.MailException: Could not send mail
Nested Exception: com.katalyzt.toolbox.websetup.MailException: Could not retrieve mail session
Nested Exception: javax.naming.NamingException: Could not dereference object [Root exception is java.lang.NullPointerException]
at com.katalyzt.toolbox.websetup.RegisterAction.sendActivationMail(RegisterAction.java:89)
at com.katalyzt.toolbox.websetup.RegisterAction.perform(RegisterAction.java:57)
at com.softcomms.webcontrol.Controller.service(Controller.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Unknown Source)
Sorry this was actually an update to my other post. Must have hit wrong button. Please look at my other recent post.