The Artima Developer Community
Sponsored Link

Java Answers Forum
JDBC configuration problem on iPlanet web server 6.0

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
real name

Posts: 7
Nickname: parth
Registered: Oct, 2002

JDBC configuration problem on iPlanet web server 6.0 Posted: Oct 14, 2002 6:25 AM
Reply to this message Reply
Advertisement
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

Topic: how do u check if the first letter is uppercase Previous Topic   Next Topic Topic: File Upload

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use