Okay, I need some help now. =)
I got the following error message. On the jsp I use. I have a Database
class, that calls
javax.naming.InitialContext class. I know that's where it generate the
error. However, I have no idea whether the error is related to my
environment path setup or missing packages.
Unlike Microsoft, you can copy the error message and search on MSDN to get
an more detailed explaination on why such an error and how to go about
amending it. Does Java.Sun have something like that?
Thank you.
==========================
javax.naming.CommunicationException: Can't find SerialContextProvider
at
com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:60)
at
com.sun.enterprise.naming.SerialContext.<init>(SerialContext.java:79)
at
com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialI
nitContextFactory.java:54)
at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
at javax.naming.InitialContext.init(InitialContext.java:222)
at javax.naming.InitialContext.<init>(InitialContext.java:178)
at TestCases.dataBase.DBManager.<init>(DBManager.java:22)
at
D_0003a.myprojects.TestCases.TestCases_0002fTableSelectView_0002ejspTableSel
ectView_jsp_1._jspService(TestCases_0002fTableSelectView_0002ejspTableSelect
View_jsp_1.java:74)
at com.sun.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:61)
at
com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:177)
at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:237)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:127)
at com.sun.web.core.Context.handleRequest(Context.java:414)
at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:101)
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets