Hello, All. I am a novice with iplanet web server and these days working with the same. I tried to call a JSP page, which in turn, will make a JDBC connection. But, while executing, it gives following error :
===========================================
[12/Oct/2002:13:45:33] info ( 324): Internal Info: loading servlet /test/doctor9.jsp [12/Oct/2002:13:45:55] info ( 324): JSP: JSP1x compiler threw exception org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsp s\_test\_doctor9_jsp.java:31: Ambiguous class: java.beans.Statement and java.sql.Statement Statement st=null; ^ C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_d octor9_jsp.java:123: Class <<ambiguous>>Statement not found in =. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_d octor9_jsp.java:123: Incompatible type for =. Can't convert java.sql.Statement to <<ambiguous>>Statement. st=con.createStatement(); ^ C:\iPlanet\Servers\https-web_test.xyz.com\config\..\ClassCache\_jsps\_test\_d octor9_jsp.java:125: Class <<ambiguous>>Statement not found in void _jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse). rs=st.executeQuery(strSql); ^ 4 errors, 1 warning
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284) at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252) at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173 ) at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:41 6)
[12/Oct/2002:13:45:55] warning ( 324): Internal error: Failed to get GenericServlet. (uri=/test/doctor9.jsp,SCRIPT_NAME=/test/doctor9.jsp)
======================== ===================
Can anybody please guide me, what configuration should be done, to make jsp pages work with JDBC in iPlanet web server 6.0 (platform- NT)? Thanks in Advance for all your help. ~ Nirav