Re: HOWTO
Good advise, Simon! Thank you! Helen Simon Chatfield wrote: It's impossible to help someone with a problem when all they say is, "Hey, this doesn't work, what can I do to fix it?" When you post your problem, you need to be as descriptive as possible. answer these questions before you submit your problem. Has this question been asked/answered before? What are the steps I made to produce this problem? Is there anything in the log file? Is there any sample code I can show that reproduces the problem? What is my platform/version? what is my jdk version? This isn't a full list and isn't suited for all problems, but its all I can think of before I run to a meeting. Perhaps we can build this list and put it in the original welcome to the newsgroup message.? -Simon
mapping initial parameters
Hi, I am porting a small application from Jserv to Tomcat. I have calls in html files: /servlet/servlet/com.mycompany.aaa.Exec?COMMANDNAME=panel. The way I mapped it in the web.xml file look like this: servlet servlet-name Panel /servlet-name servlet-class com.mycompany.aaa.Exec /servlet-class init-param param-nameCOMMANDNAME/param-name param-valuepanel/param-value /init-param /servlet servlet-mapping servlet-namePanel/servlet-name url-pattern/servlet/com.mycompany.aaa.Exec?COMMANDNAME=panel/url-pattern /servlet-mapping But when I call with this url: www.hostname.com:8080/servlet/servlet/com.mycompany.aaa.Exec?COMMANDNAME=panel I got the following error message - Error: 500 Location: /servlet/servlet/com.mycompany.aaa.Exec Internal Servlet Error: javax.servlet.ServletException: AAA Servlets initialization error: java.lang.NullPointerException at com.mycompany.aaa.AAAServlet.init(AAAServlet.java:98) at com.mycompany.aaa.Exec.init(Exec.java:145) at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317) at org.apache.tomcat.core.Handler.init(Handler.java:215) at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296) at org.apache.tomcat.core.Handler.service(Handler.java:254) at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210) at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:484) What should I do to solve this problem? Thank you in advance for your help! Helen
training opportunity?
Hi, Is there a trainng class for Tomcat new users? We currently have a software that is using Jserv, and we need to change to Tomcat, and port on linux, solaris and NT platforms. Could someone please refer me to a good training class? Please reply to [EMAIL PROTECTED], since I am not a user of this list. Thank you very much in advance! Helen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]