Javax.servlet.ServletException: java.io.FileNotFoundException. How to catch when user

How to catch when user enters a bogus jsp page. I have login.jsp. If someon enter log.jsp i get javax.servlet.ServletException: java.io.FileNotFoundException and then the whole path is shown. This onlyhappens with 9ias. When i was using http server that came with 9i database, i was able to catch this with send_error=true in zone.properties. It doesnt work with 9ias. How is everyone catching these errors? I cant seem to find out how to do it.
Thanks

Anyone have any suggestions on this? I take it noone catches this..

Similar Messages

  • Javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space

    Open the console link I have following error:
    Error opening /jsp/contentheader/ContentMenu.jsp.
    The source of this error is:
    javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
        at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
        at com.bea.netuix.servlets.controls.content.JspContent.beginRender(JspContent.java:552)
        at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:485)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
        at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
        at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
        at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
        at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
        at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
        at jsp_servlet._framework._skeletons._wlsconsole.__nolayout._jspService(__nolayout.java:119)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
        at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
        at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
        at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
        at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
        at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
        at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:326)
        at com.bea.netuix.nf.UIControl.render(UIControl.java:582)
        at com.bea.netuix.servlets.controls.PresentationContext.render(PresentationContext.java:486)
        at com.bea.netuix.servlets.util.RenderToolkit.renderChild(RenderToolkit.java:146)
        at com.bea.netuix.servlets.jsp.taglib.skeleton.Child.doTag(Child.java:63)
        at jsp_servlet._framework._skeletons._wlsconsole.__twocollayout._jspService(__twocollayout.java:205)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
        at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
        at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
        at com.bea.netuix.servlets.controls.application.laf.JspTools.renderJsp(JspTools.java:130)
        at com.bea.netuix.servlets.controls.application.laf.JspControlRenderer.beginRender(JspControlRenderer.java:72)
        at com.bea.netuix.servlets.controls.application.laf.PresentationControlRenderer.beginRender(PresentationControlRenderer.java:65)
        at com.bea.netuix.nf.ControlLifecycle$7.visit(ControlLifecycle.java:481)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:518)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walkRecursiveRender(ControlTreeWalker.java:529)
        at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:220)
        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
        at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
        at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
        at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
        at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
        at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
        at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:211)
        at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196)
        at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
        at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.OutOfMemoryError: PermGen space
    Caused by:
    java.lang.OutOfMemoryError: PermGen space
    I saw this:
    http://www.oracle.com/technetwork/java/javase/memleaks-137499.html#gbyuu
    The Oracle JVM Is Crashing Due to an OutOfMemory Error of the Permanent Generation (Doc ID 1077698.1)
    How can I check the  -XX:MaxPermSize option ?
    Thank you
    Eugen

    Hi Daniele,
    ps -ef |grep java
    oracle    2566  2519 23 Feb23 pts/1    2-17:35:39 /home/oracle/BIP111170/BIP1117/Oracle_BI1/jdk/bin/java -server -Xms256m -Xmx2048m -XX:MaxPermSize=512m -XX:-UseSSE42Intrinsics -Dweblogic.Name=AdminServer -Djava.security.policy=/home/oracle/BIP111170/BIP1117/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=/home/oracle/BIP111170/BIP1117/wlserver_10.3 -Dwls.home=/home/oracle/BIP111170/BIP1117/wlserver_10.3/server -Dweblogic.home=/home/oracle/BIP111170/BIP1117/wlserver_10.3/server -Dcommon.components.home=/home/oracle/BIP111170/BIP1117/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain -Djrockit.optfile=/home/oracle/BIP111170/BIP1117/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig -Digf.arisidbeans.carmlloc=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig/carml -Digf.arisidstack.home=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/home/oracle/BIP111170/BIP1117/oracle_common/modules/oracle.ossoiap_11.1.1,/home/oracle/BIP111170/BIP1117/oracle_common/modules/oracle.oamprovider_11.1.1,/home/oracle/BIP111170/BIP1117/oracle_common/modules/oracle.jps_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dbi.oracle.home=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -DEPM_ORACLE_HOME=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -Dweblogic.MaxMessageSize=50000000 -DEPM_ORACLE_HOME=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -DHYPERION_HOME=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -DEPM_ORACLE_INSTANCE=novalue -Dhyperion.home=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -DEPM_REG_PROPERTIES_PATH=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/fmwconfig -Depm.useApplicationContextId=false -Doracle.biee.search.bisearchproperties=/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/jee/BISearchConfig.properties -Dweblogic.management.clearTextCredentialAccessEnabled=true -Doracle.notification.filewatching.interval=2000 -Dweblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.SSL.enableJSSE=true -Dfile.encoding=utf-8 -Doracle.ecsf.security.service=oracle.biee.search.security.BISearchSecurityService -Doracle.ecsf.configuration.class=oracle.biee.search.services.BISearchServiceConfiguration -Dxdo.server.config.dir=/home/oracle/BIP111170/BIP1117/user_projects/domains/bifoundation_domain/config/bipublisher -DXDO_FONT_DIR=/home/oracle/BIP111170/BIP1117/Oracle_BI1/common/fonts -Dem.oracle.home=/home/oracle/BIP111170/BIP1117/oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/home/oracle/BIP111170/BIP1117/patch_wls1035/profiles/default/sysext_manifest_classpath weblogic.Server
    oracle    4716  2818  0 Feb23 ?        00:20:32 /home/oracle/BIP111170/BIP1117/Oracle_BI1/jdk/bin/java -Doracle.opmn.uid=1092569638 -Doracle.opmn.index=1 -Doracle.process.uid=1092569638 -Doracle.process.index=1 -Doracle.component.configpath=/home/oracle/BIP111170/BIP1117/instances/instance1/config/OracleBIJavaHostComponent/coreapplication_obijh1 -Doracle.component.logpath=/home/oracle/BIP111170/BIP1117/instances/instance1/diagnostics/logs/OracleBIJavaHostComponent/coreapplication_obijh1/ -Doracle.instance.name=instance1 [email protected] -Doracle.admin.host=10.171.48.35 -Doracle.admin.port=7001 -Doracle.admin.protocol=N/A -Doracle.admin.username=weblogic -Doracle.admin.registered=true -Dcommon.components.home=/home/oracle/BIP111170/BIP1117/oracle_common -server -Xmx1024M -Xrs -Djava.security.manager=default -DXDO_FONT_DIR=/home/oracle/BIP111170/BIP1117/Oracle_BI1/common/fonts -Djava.security.policy=/home/oracle/BIP111170/BIP1117/instances/instance1/config/OracleBIJavaHostComponent/coreapplication_obijh1/java.policy -Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration -Doracle.core.ojdl.logging.config.file=/home/oracle/BIP111170/BIP1117/instances/instance1/config/OracleBIJavaHostComponent/coreapplication_obijh1/logging-config.xml -Doracle.home=/home/oracle/BIP111170/BIP1117/Oracle_BI1 -Doracle.instance=/home/oracle/BIP111170/BIP1117/instances/instance1 -Doracle.component.type=OracleBIJavaHostComponent -Doracle.component.name=coreapplication_obijh1 -classpath /home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.odl_11.1.1/ojdl.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/javahost/lib/core/sautils.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/javahost/lib/core/mad.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/javahost/lib/core/sawconnect.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/bifoundation/javahost/lib/core/javahost.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/opmn/lib/ons.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.jps_11.1.1/jps-api.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.jps_11.1.1/jps-common.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.jps_11.1.1/jps-internal.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-collation.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-mapping.jar:/home/oracle/BIP111170/BIP1117/Oracle_BI1/../oracle_common/modules/oracle.dms_11.1.1/dms.jar com.siebel.analytics.javahost.standalone.Main
    oracle    8771  8731  0 13:06 pts/5    00:00:00 grep java
    java -version
    java version "1.6.0_24"
    OpenJDK Runtime Environment (IcedTea6 1.11.1) (rhel-1.45.1.11.1.el6-x86_64)
    OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
    Thank you
    Eugen

  • Javax.servlet.ServletException & java.lang.NoClassDefFoundError

    I am getting this javax.servlet.ServletException & java.lang.NoClassDefFoundError
    exceptions while running jsp in .netbeans.
    Iwas able to compile and run jsp pgms , but i am getting this error when i use jsp:useBean.I think the java class created is not in the proper path..netbeans is using tomcat server.The ide put the jsp's in the proper path. but it is not putting the java class i created with setter and getter methods.I also set the classpath. but din't work
    I t is eating up my time!Pl. suggest me a solution!
    Directory structure is :source file
    c:/windows/.netbeans/3.5/samples/jsp
    I guess the ide is putting all the class files(jsp) in
    C:\WINDOWS\.netbeans\3.5\tomcat406_base\work\Tomcat-Internal\localhost\C_3A_5CWINDOWS_5C.netbeans_5C3.5_5Csampledir\JSP
    so i copied the userData.class from source dir to the above directory.
    and i also did the
    set CLASSPATH= C:\WINDOWS\.netbeans\3.5\tomcat406_base\work\Tomcat-Internal\localhost\C_3A_5CWINDOWS_5C.netbeans_5C3.5_5Csampledir\JSP
    in dos prompt
    pl. find the code below.
    Html:
    <HTML>
    <HEAD>
    <TITLE>getData</TITLE>
    </HEAD>
    <BODY>
    <form method = post action="saveData.jsp">
    What's your Name : <input type=text name =username size=10>
    <br>
    What's Age : <input type=text name=age size=10>
    <br>
    What's ur email id : <input type=text name=email size=10>
    <input type=submit>
    </FORM>
    </BODY>
    </HTML>
    SaveData.jsp
    <jsp:useBean id="user" class="JSP.userData" scope="session"/>
    <jsp:setProperty name="user" property="*"/>
    <html>
    <head><title>using bean</title></head>
    <body>
    --Continue
    Thank u
    </body>
    </html>
    userData.java
    * userData.java
    * Created on February 12, 2004, 1:06 PM
    package JSP;
    * @author amano
    public class userData {
    String userName;
    int age;
    String email;
    /** Creates a new instance of userData */
    public userData()
    public void setUsername(String str)
    userName=str;
    public void setAge(int str)
    age=str;
    public void setEmail(String str)
    email=str;
    public String getUsername()
    return userName;
    public int getAge()
    return age;
    public String getEmail()
    return email;

    when i click on the submit button i get the following error msg.
    Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
    javax.servlet.ServletException: JSP/user_data
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:349)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:226)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.java:148)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.NoClassDefFoundError: JSP/user_data
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
         at java.lang.Class.getConstructor0(Class.java:1922)
         at java.lang.Class.newInstance0(Class.java:278)
         at java.lang.Class.newInstance(Class.java:261)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.load(IDEJspServlet.java:106)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.loadIfNecessary(IDEJspServlet.java:150)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:160)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
         at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:226)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.java:148)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:534)

  • Regd:org.apache.sling.api.scripting.ScriptEvaluationException: javax.servlet.ServletException

    Hi ,
    I'm getting the below exception while accessing the pages. It was working fine earlier..
    Any help on this please....???
    Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Error while executing script /libs/wcm/core/components/init/init.jsp
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:563)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:443)
    at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)
    ... 93 more
    Caused by: org.apache.sling.api.SlingException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/day/cq/wcm/api/WCMMode
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:563)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:499)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:443)
    at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :233)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:85)
    at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:453)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)
    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)
    at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)
    at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)
    at org.apache.jsp.apps.bt_com.components.wrapperpage.wrapperpage_jsp._jspx_meth_cq_005finclu de_005f0(wrapperpage_jsp.java:430)
    at org.apache.jsp.apps.bt_com.components.wrapperpage.wrapperpage_jsp._jspService(wrapperpage _jsp.java:238)
    at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:420)
    ... 98 more
    Caused by: java.lang.NoClassDefFoundError: com/day/cq/wcm/api/WCMMode
    at org.apache.jsp.libs.wcm.core.components.init.init_jsp._jspService(init_jsp.java:152)
    at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJs
    Thanks,
    Shankar .A

    Hi Shankar,
    Try to open Apache Felix Console -> Bundles tab:
    http://localhost:4502/system/console/bundles
    and find:
    -> Apache Sling Scripting JSP support -> try to stop this bundle and start it again
    -> Apache Sling Dynamic Class Loader Support-> try to stop this bundle and start it again
    Restarting both bundles should solve your problem.
    Regards,
    kasq

  • Javax.servlet.ServletException: no cbljvm_sun in java.library.path

    Hi All,
    The servlet exception I am getting is in Tomcat, I have also been using JRUN and get similiar errors. I have read through as many of the problems on the java site that I can find and they all seem to be saying it is to do with the CLASSPATH.
    I am calling COBOL from Java so I need this .jar file
    Classpath=CLASSPATH=c:\MF\NetExpress\Base\BIN\mfcobol.jar;.;
    Path=
    c:\jdk;
    c:MERANT\NetExpress\Base\BIN;
    c:\MERANT\NetExpress\DialogSystem\BIN;
    C:\JDK\jre\bin\classic;
    C:\Program Files\Common Files\MERANT\ODBC;
    C:\Program Files\Microsoft SQL Server\80\Tools\BINN;
    C:\WINNT\system32;
    C:\WINNT;
    JAVA_HOME=C:\JDK;
    TOMCAT_HOME=C:\tomcat\jakarta-tomcat-4.0\bin;
    J2EE_HOME=C:\J2SDKEE1.3
    COBJVM=SUN
    COBDIR=C:\MERANT\NetExpress\Base\Bin;
    The jsp file in question is at the bottom.
    A Servlet Exception Has Occurred
    Exception Report:
    javax.servlet.ServletException: no cbljvm_sun in java.library.path
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown Source)
         at org.apache.jsp.cal1$jsp._jspService(cal1$jsp.java:107)
         at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
         at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:484)
    Root Cause:
    java.lang.UnsatisfiedLinkError: no cbljvm_sun in java.library.path
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
         at java.lang.Runtime.loadLibrary0(Runtime.java:749)
         at java.lang.System.loadLibrary(System.java:820)
         at mfcobol.runtime.(runtime.java:784)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Class.java:237)
         at java.beans.Beans.instantiate(Beans.java:207)
         at java.beans.Beans.instantiate(Beans.java:51)
         at org.apache.jsp.cal1$jsp._jspService(cal1$jsp.java:73)
         at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
         at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
         at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
         at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:484)
    Can anybody give me a clue as to what this is ?
    Source
    =====
    <HTML>
    <HEAD>
    <TITLE>     JSP and Cobol Beans Demo </TITLE>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1253">
    </HEAD>
    <BODY BGCOLOR="white">
    <%@ page language="java" import="cj2Bean.*" %>
    <jsp:useBean id="myBean" scope="session" class="cj2Bean" />
    <img src="mflogo.jpg">
    <h3>Cobol / Java Server Pages demo application.</h3>
    <i>
    <% String aCode = request.getParameter("efCode"); %>
    Author code : <%= aCode %><br>
    Author surname :<b>
    <% myBean.connectToDB(); %>
    <% String aName = "";
    aName = myBean.fetchAuthor(aCode); %>
    <%= aName %>
    <% myBean.disconnectFromDB(); %>
    </i></b>
    </BODY>
    </HTML>

    Hi suzigriffiths,
    I suppose that you should append the classpath to the existing classpath. Currently you are setting the classpath using
    Classpath=CLASSPATH=c:\MF\NetExpress\Base\BIN\mfcobol.jar;.;
    This way any earlier classpath is overridden.
    Try using
    CLASSPATH=%CLASSPATH%;c:\MF\NetExpress\Base\BIN\mfcobol.jar;.;
    Hope this helps

  • Javax.servlet.ServletException: runtime failure in custom tag 'content'

    Hi When iam trying to click on a link which takes to an another JSP.
              iam getting this error after few minutes and that page doesnt display at
              all.
              can anybody help me out????
              ==vasan++;
              <Jan 9, 2001 11:50:10 AM PST> <Error> <HTTP>
              <[WebAppServletContext(627219,console)] exception raised on
              '/console/panels/mbean/Server.jsp'
              javax.servlet.ServletException: runtime failure in custom tag 'content'
              at
              weblogic.management.console.pages._panels._mbean._server._jspService(_server
              .java:9798)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:1127)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :1529)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 9, 2001 11:50:10 AM PST> <Error> <HTTP>
              <[WebAppServletContext(627219,console)] Root cause of ServletException
              java.net.SocketException: Connection reset by peer: socket write error
              at java.net.SocketOutputStream.socketWrite(Native Method)
              at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
              at
              weblogic.servlet.internal.ChunkUtils.writeHeaderChunk(ChunkUtils.java:127)
              at
              weblogic.servlet.internal.ResponseHeaders.writeHeaders(ResponseHeaders.java:
              345)
              at
              weblogic.servlet.internal.ServletResponseImpl.writeHeaders(ServletResponseIm
              pl.java:683)
              at
              weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamI
              mpl.java:124)
              at
              weblogic.servlet.internal.ServletOutputStreamImpl.flushWithCheck(ServletOutp
              utStreamImpl.java:451)
              at
              weblogic.servlet.internal.ServletOutputStreamImpl.print(ServletOutputStreamI
              mpl.java:243)
              at
              javax.servlet.ServletOutputStream.println(ServletOutputStream.java:286)
              at
              weblogic.servlet.jsp.JspWriterImpl.println(JspWriterImpl.java:204)
              at
              weblogic.management.console.pages._common._requestinfo.print(_requestinfo.ja
              va:68)
              at
              weblogic.management.console.pages._common._requestinfo._jspService(_requesti
              nfo.java:224)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              at
              weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
              l.java:249)
              at
              weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
              l.java:167)
              at
              weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:104)
              at
              weblogic.management.console.pages._common._error._jspService(_error.java:162
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              at
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
              l.java:149)
              at
              weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:100)
              at
              weblogic.management.console.pages._panels._mbean._server._jspService(_server
              .java:9830)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :208)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:1127)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :1529)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              

    I just started getting this error after a year in production environment without any problems. Did you every find out what caused this or better yet how to prevent this?
              Dan.
              

  • Javax.servlet.ServletException: Connection reset by peer....Help needed..

    Initially, when I clicked on my JSPs, everything was fine. I was able to retrieve data successfully from all the JSPs. However, after much clicking through the JSPs. I was not able to access the JSPs and the Internal Servlet Error was shown.
    Below is my Tomcat.log:
    Context log: path="/Aedge" Error in jsp service() : Connection reset by peer: socket write error
    javax.servlet.ServletException: Connection reset by peer: socket write error
         at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
         at org.apache.tomcat.core.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:163)
         at org.apache.tomcat.servlets.DefaultServlet.doGet(DefaultServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
         at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
         at java.lang.Thread.run(Unknown Source)
    Context log: path="/Aedge" <b>Internal Servlet Error:</b><br>.....
    What is the problem here? How can I solve this as I had to restart my Tomcat once a while due to this problem.

    ok.. I have db classes where all my sql statements methods are being displayed.. In each db class, there will be a getInstance() method to create the connection. Below is one of my db class.. How to I modified the things you had mentioned in my codes..
    package aedgeSoft.access;
    import aedgeSoft.business.*;
    import java.sql.*;
    import java.util.*;
    import java.util.Date;
    import java.io.*;
    public class DBMemberType
         private Connection con;
         private static DBMemberType instance = null;
         public static DBMemberType getInstance()
              try
                   if(instance==null)
                        instance = new DBMemberType();
              catch(SQLException e)
                   System.out.println("Problems with loading database in DBMemberType");
              catch(ClassNotFoundException e)
                   System.out.println("Problems with loading db driver in DBMemberType");
              finally
                   return instance;
         private DBMemberType() throws SQLException, ClassNotFoundException
              try{
              Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
              con = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;user=username;password=password;DatabaseName=db");
              catch(InstantiationException e)
                   e.printStackTrace();
              catch(IllegalAccessException e)
                   e.printStackTrace();
         //add memberType
         public boolean addMemberType(MemberType mt)
    ..........

  • Javax.servlet.ServletException: 55.0 when using Jakarta Request taglib in WL7.0 SP2

              Hi,
              We are converting our application from iPlanet (SunOne) to WL7.0.
              I get the following error when tag library is used in our jsp file.
              The tag library is jakarta Request library.
              Any suggestions on how to debug this ?
              Thank you,
              Robert
              Use of the tag lib:
              ==============
              <%@ taglib prefix="req" uri="/WEB-INF/tlds/taglibs-request.tld" %>
              <req:existsParameter name="nextPage">
              <req:setAttribute name="currentPage"><req:parameter name="nextPage"/></req:setAttribute>
              The error message.
              ==============
              javax.servlet.ServletException: 55.0
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:450)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:445)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:543)
              at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:369)
              at com.standardandpoors.framework.presentation.XslJspView.generateView(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              <Jul 11, 2003 12:31:46 PM EDT> <Info> <EJB> <010051> <EJB Exception during invocation
              from home: com.standardandpoors.[email protected]3e49a8
              threw exception: com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              java.rmi.RemoteException: EJB Exception: ; nested exception is:
              com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              <Jul 11, 2003 12:31:46 PM EDT> <Info> <EJB> <010051> <EJB Exception during invocation
              from home: com.standardandpoors.[email protected]3e49a8
              threw exception: com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              java.rmi.RemoteException: EJB Exception: ; nested exception is:
              com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              java.rmi.RemoteException: EJB Exception: ; nested exception is:
              com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              [11/Jul/2003 12:31:43:373] debug: |XslJspView|generateView|ExecuteThread: '12'
              for queue: 'default'|4|Dispatcher.include is executed.
              [11/Jul/2003 12:31:43:373] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|Entered transform()
              [11/Jul/2003 12:31:43:373] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|.====. 1
              [11/Jul/2003 12:31:43:373] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|.---. 2
              [11/Jul/2003 12:31:43:373] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|.. 3
              [11/Jul/2003 12:31:43:433] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|.. 4
              [11/Jul/2003 12:31:44:84] debug: |com.standardandpoors.framework.presentation.TransformEngine|transform|ExecuteThread:
              '12' for queue: 'default'|4|returning from transform()
              [11/Jul/2003 12:31:44:94] debug: |XslJspView|generateView|ExecuteThread: '12'
              for queue: 'default'|4|>>> Before including /loans/loansPostBody.jsp
              [11/Jul/2003 12:31:46:808] info: |XslJspView|generateView|ExecuteThread: '12'
              for queue: 'default'|3|javax.servlet.ServletException: 55.0
              [11/Jul/2003 12:31:46:838] info: |PresentationControllerBean|process|ExecuteThread:
              '12' for queue: 'default'|3|----exception handled due to Response Fail
              [11/Jul/2003 12:31:46:838] info: |PresentationControllerBean|process|ExecuteThread:
              '12' for queue: 'default'|3|----------Using error page =SevereError.jsp
              [11/Jul/2003 12:31:46:848] error: |PresentationControllerBean|process|ExecuteThread:
              '12' for queue: 'default'|1|java.lang.IllegalStateException: Cannot forward a
              response that is already committed
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:136)
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              [11/Jul/2003 12:31:46:848] info: |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPost|ExecuteThread:
              '12' for queue: 'default'|3|------------3
              [11/Jul/2003 12:31:46:848] info: |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPost|ExecuteThread:
              '12' for queue: 'default'|3|@@@@Notice: Exception was handled by displaying errorPagejava.rmi.RemoteException:
              EJB Exception: ; nested exception is:
              com.standardandpoors.SpException
              [11/Jul/2003 12:31:46:858] error: |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPost|ExecuteThread:
              '12' for queue: 'default'|1|java.rmi.RemoteException: EJB Exception: ; nested
              exception is:
              com.standardandpoors.SpException
              com.standardandpoors.SpException
              at com.standardandpoors.framework.controller.PresentationControllerBean.process(Unknown
              Source)
              at com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              at com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost(CcrermfControllerServlet.java:298)
              at com.standardandpoors.framework.controller.SpControllerServlet.service(Unknown
              Source)
              at com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.service(CcrermfControllerServlet.java:127)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              [11/Jul/2003 12:31:46:858] info: |com.standardandpoors.ccrermf.controller.CcrermfControllerServlet|doPost|ExecuteThread:
              '12' for queue: 'default'|3|mRequestNameString=ListAllLoans
              <Jul 11, 2003 12:32:21 PM EDT> <Info> <Management> <140009> <Configuration changes
              for domain saved to the repository.>
              

    Can you provide a little more detail about this exception? Can you post the
              jsp here so we could find the reason for the exception
              --Nagesh
              "Robert Zanzerkia" <[email protected]> wrote in message
              news:[email protected]
              >
              > Hi,
              > We are converting our application from iPlanet (SunOne) to WL7.0.
              > I get the following error when tag library is used in our jsp file.
              > The tag library is jakarta Request library.
              >
              > Any suggestions on how to debug this ?
              >
              > Thank you,
              > Robert
              > Use of the tag lib:
              > ==============
              >
              > <%@ taglib prefix="req" uri="/WEB-INF/tlds/taglibs-request.tld" %>
              >
              > <req:existsParameter name="nextPage">
              > <req:setAttribute name="currentPage"><req:parameter
              name="nextPage"/></req:setAttribute>
              >
              >
              > The error message.
              > ==============
              > javax.servlet.ServletException: 55.0
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :450)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :445)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
              l.java:543)
              > at
              weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp
              l.java:369)
              > at
              com.standardandpoors.framework.presentation.XslJspView.generateView(Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > <Jul 11, 2003 12:31:46 PM EDT> <Info> <EJB> <010051> <EJB Exception during
              invocation
              > from home:
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              [email protected]
              > threw exception: com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > >
              > java.rmi.RemoteException: EJB Exception: ; nested exception is:
              > com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > <Jul 11, 2003 12:31:46 PM EDT> <Info> <EJB> <010051> <EJB Exception during
              invocation
              > from home:
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              [email protected]
              > threw exception: com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > >
              > java.rmi.RemoteException: EJB Exception: ; nested exception is:
              > com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > java.rmi.RemoteException: EJB Exception: ; nested exception is:
              > com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              > [11/Jul/2003 12:31:43:373] debug: |XslJspView|generateView|ExecuteThread:
              '12'
              > for queue: 'default'|4|Dispatcher.include is executed.
              > [11/Jul/2003 12:31:43:373] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|Entered transform()
              > [11/Jul/2003 12:31:43:373] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|.====. 1
              > [11/Jul/2003 12:31:43:373] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|.---. 2
              > [11/Jul/2003 12:31:43:373] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|.. 3
              > [11/Jul/2003 12:31:43:433] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|.. 4
              > [11/Jul/2003 12:31:44:84] debug:
              |com.standardandpoors.framework.presentation.TransformEngine|transform|Execu
              teThread:
              > '12' for queue: 'default'|4|returning from transform()
              > [11/Jul/2003 12:31:44:94] debug: |XslJspView|generateView|ExecuteThread:
              '12'
              > for queue: 'default'|4|>>> Before including /loans/loansPostBody.jsp
              > [11/Jul/2003 12:31:46:808] info: |XslJspView|generateView|ExecuteThread:
              '12'
              > for queue: 'default'|3|javax.servlet.ServletException: 55.0
              > [11/Jul/2003 12:31:46:838] info:
              |PresentationControllerBean|process|ExecuteThread:
              > '12' for queue: 'default'|3|----exception handled due to Response Fail
              > [11/Jul/2003 12:31:46:838] info:
              |PresentationControllerBean|process|ExecuteThread:
              > '12' for queue: 'default'|3|----------Using error page =SevereError.jsp
              > [11/Jul/2003 12:31:46:848] error:
              |PresentationControllerBean|process|ExecuteThread:
              > '12' for queue: 'default'|1|java.lang.IllegalStateException: Cannot
              forward a
              > response that is already committed
              > at
              weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
              l.java:136)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              > [11/Jul/2003 12:31:46:848] info:
              |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPo
              st|ExecuteThread:
              > '12' for queue: 'default'|3|------------3
              > [11/Jul/2003 12:31:46:848] info:
              |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPo
              st|ExecuteThread:
              > '12' for queue: 'default'|3|@@@@Notice: Exception was handled by
              displaying errorPagejava.rmi.RemoteException:
              > EJB Exception: ; nested exception is:
              > com.standardandpoors.SpException
              > [11/Jul/2003 12:31:46:858] error:
              |com.standardandpoors.framework.servlets.controller.SpControllerServlet|doPo
              st|ExecuteThread:
              > '12' for queue: 'default'|1|java.rmi.RemoteException: EJB Exception: ;
              nested
              > exception is:
              > com.standardandpoors.SpException
              > com.standardandpoors.SpException
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean.process
              (Unknown
              > Source)
              > at
              com.standardandpoors.framework.controller.PresentationControllerBean_p9mhja_
              EOImpl.process(PresentationControllerBean_p9mhja_EOImpl.java:46)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.doPost(Unknown
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.doPost
              (CcrermfControllerServlet.java:298)
              > at
              com.standardandpoors.framework.controller.SpControllerServlet.service(Unknow
              n
              > Source)
              > at
              com.standardandpoors.apps.ccrermf.controller.CcrermfControllerServlet.servic
              e(CcrermfControllerServlet.java:127)
              > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              > at
              weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
              tStubImpl.java:1058)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :401)
              > at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :306)
              > at
              weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
              ebAppServletContext.java:5445)
              > at
              weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
              r.java:780)
              > at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:3105)
              > at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2588)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              > [11/Jul/2003 12:31:46:858] info:
              |com.standardandpoors.ccrermf.controller.CcrermfControllerServlet|doPost|Exe
              cuteThread:
              > '12' for queue: 'default'|3|mRequestNameString=ListAllLoans
              > <Jul 11, 2003 12:32:21 PM EDT> <Info> <Management> <140009> <Configuration
              changes
              > for domain saved to the repository.>
              

  • Jsp give me this error javax.servlet.ServletException: oracle.jdbc.driver.O

    Hi master
    Sir I use orace 9i easily in java class with following code
    ===========
    import java.sql.*;
    public class ttst {
    public ttst() {
    public static void main (String args [])
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@fahim:1521:aamir","muhammad","mfa786");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery("select accid from accbal where accid='K1101'");
    System.out.println ("going for connection");
    while (rset.next())
    s= rset.getString("accid");
    System.out.println (s);
    catch(Exception e){
    e.printStackTrace();
    system give me right result
    and when I use jsp with this code
    <HTML>
    <%@ page import="java.sql.*,java.util.*" %>
    <% String url="jdbc:oracle:thin:@fahim:1521:aamir";
    Connection con;
    Statement stmt;
    ResultSet rs;
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    con = DriverManager.getConnection(url,"muhammad","mfa786");
    stmt=con.createStatement();
    %>
    <%
    %>
    <select name="ltpid">
    <%
    try{
    rs= stmt.executeQuery("select accid,title from chartofacc");
    while (rs.next()){
    %>
    <option Value=<%=rs.getString(1)%>> <%=rs.getString(2) %> </option>
    <%
    catch(Exception e){}
    %>
    </select>
    <br>
    TEST DONE!
    </HTML>
    sir I have class12.zip and class11.zip I same folder
    but system give me this error
    Apache Tomcat/4.0.6 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: oracle.jdbc.driver.OracleDriver
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
    at org.apache.jsp.bistest$jsp._jspService(bistest$jsp.java:128)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:173)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:226)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.java:148)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:534)
    root cause
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1406)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1254)
    at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:198)
    at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at org.apache.jsp.bistest$jsp._jspService(bistest$jsp.java:70)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet$JspServletWrapper.service(IDEJspServlet.java:173)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.serviceJspFile(IDEJspServlet.java:246)
    at org.netbeans.modules.tomcat.tomcat40.runtime.IDEJspServlet.service(IDEJspServlet.java:339)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:226)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.netbeans.modules.web.monitor.catalina.MonitorValve.invoke(MonitorValve.java:148)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:534)
    but jsp page not run
    please give me idea how I how my oracle data in jsp page
    thank
    aamir

    sir i post my problem but they reply me it java problem not oracle problem
    *** oracle reply**********
    You metioned that you use
    jdbc:oracle:thin:@<ip or hostname of machine where your db is installed>: 1521:aamir , description to connect the remote database. So, I think it's not related to your tnsname.ora problem. It's only java oracle thin connection string. Please check this string, make sure the ip and database service name is right.
    one more thing, use sqlplus check your tnsname.ora, if ok, then try to check jdbc and make sure the jdbc driver match to oracle server.
    sir please give me idea how i show my oracle data in clinet browser
    thank's
    aamir 

  • ${fn:length ()} throws javax.servlet.ServletException:

    This is an Issue with JSTL in struts framework
    a.class
    private StringBuilder actionPlans;
    b.jsp
    <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
    <c:choose>
                                                                     <c:when test="${empty summaryCO.actionPlans}">
                                                                          <c:out value="${summaryCO.actionPlans}"/>
                                                                     </c:when>
                                                                     <c:otherwise>
                                                                          <c:out value="${summaryCO.actionPlans}"/>
                                                                          <c:out value="${fn:length(summaryCO.actionPlans)}"/>
                                                                          <html:link page="/maintainSummaryPre.do?method=readSummaryAction&&actionPlanDesc=${summaryCO.actionPlans}" styleClass="ajaxOverlayTrigger">
                                                                          <fmt:message key="label.viewSummary.readSummaryActionPlan"/>
                                                                          </html:link>
                                                                     </c:otherwise>
                                                           </c:choose>
    In the above piece of code fn:length is not fetching result and throws
    javax.servlet.ServletException: An error occurred while evaluating function "fn:length"
    but when is use ${fn:toUpperCase , it workd fine and fetches me correct result ..
    please reply why it throws error only for length . my requirement is to find the length of that String and display it .
    do we have any other alternative in JSTL or struts to do this..
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    <c:out value="${fn:length(summaryForm.currentRedRatedDeliverablesByCategory)}"/>
    <c:forEach var="summaryCO" items="${summaryForm.currentRedRatedDeliverablesByCategory}">
    <tr>
    <td>
    <c:set var="actionPlanString" value="${summaryCO.actionPlans}"></c:set>
         <c:choose>
         <c:when test="${empty summaryCO.actionPlans}">
         <c:out value="${summaryCO.actionPlans}"/>
         </c:when>                                         <c:otherwise>
         <c:out value="${summaryCO.actionPlans}"/>
    <c:out value="${fn:length(actionPlanString)}"/>
              <html:link page="/maintainSummaryPre.do?
    method=readSummaryAction&&actionPlanDesc=${summaryCO.actionPlans}"
    styleClass="ajaxOverlayTrigger">
              <fmt:message key="label.viewSummary.readSummaryActionPlan"/>
              </html:link>
         </c:otherwise>
    </c:choose>
    </td>
    </tr>                                   
    </c:forEach>
    In this piece of code the first line gives the length value of the ArraList
    so fn:length works fine for getting the no of chars of a list .
    but inside the list when i use <c:out value="${fn:length(actionPlanString)}"/> to get the length of a String of an item in the ArrayList
    it didnt fetch the count , it throws
    javax.servlet.jsp.JspTagException: Don't know how to iterate over supplied "items" in &lt;forEach&gt;
         at org.apache.taglibs.standard.functions.Functions.length(Unknown Source)
    javax.servlet.ServletException: An error occurred while evaluating function "fn:length"
    The Issues assumptions are following
    1) becoz it is a stringbuilder and fn:length does not work for that
    2)as the String builder is set to var it is converted to a string and still fn:length does not work becoz it is and item inside the List
    3)fn:length cant be used for getting the length of the string as it will work only if a string is outside a loop.
    ultimately my requirement is to print the no of characters of the "actionPlanString" which is inside the loop of List.
    I need an answer with a modified code piece .
    Thanks.

  • Getting Error: javax.servlet.ServletException: Cannot find ActionMappings o

    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)
         org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:88)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection
         org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:711)
         org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:419)
         org.apache.jsp.index_jsp._jspx_meth_html_form_0(org.apache.jsp.index_jsp:139)
         org.apache.jsp.index_jsp._jspx_meth_html_html_0(org.apache.jsp.index_jsp:114)
         org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:81)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.
    This is my web.xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app     PUBLIC "-//SUN Microsystem, //"
         "http://java.sun.com/j2ee/dtds/web-app_2.2/dtd">
    <web-app>
         <!--Action Servlet Configuration -->
         <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <!-- Resource Bundle base class -->
              <init-param>
                   <param-name>application</param-name>
                   <param-value>ApplicationResources</param-value>
              </init-param>
              <!-- Context Relative Path to the XML resource containing Struts Configuration -->
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <!-- The Debugging detail level for this servlet, which controls how much information -->
              <init-param>
                   <param-name>debug</param-name>
                   <param-value>2</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>
         </servlet>
         <!-- Action Servlet Mapping -->
         <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
         </servlet-mapping>
         <!-- The welcome File List -->
         <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
         <!-- Application Tag Library Descriptor -->
         <taglib>
              <taglib-uri>/WEB-INF/app.tld</taglib-uri>
              <taglib-location>/WEB-INF/app.tld</taglib-location>
         </taglib>
         <!-- Struts Tag Lib Descriptors -->
         <taglib>
              <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
         </taglib>     
         <taglib>
              <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
         </taglib>     
         <taglib>
              <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
              <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
         </taglib>
    </web-app>
    ==================================================================================================================
    This is my Struts-config.xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE struts-config     PUBLIC "-//SUN Microsystem, //"
         "http://java.sun.com/j2ee/dtds/struts-config_1_0/dtd">
    <struts-config>
         <form-beans>
              <!-- Logon Form Bean -->
              <form-bean name="loginForm"     type="LoginForm" />
         </form-beans>
         <global-forwards>
              <forward name="mainmenu"      path="/mainmenu.jsp" />
         </global-forwards>
         <action-mappings>
              <!-- Process a user logon -->
              <action      path="/login"     type="LoginAction"     
                        name="loginForm"     scope="session"          input="/index.jsp">
              </action>
         </action-mappings>
         </struts-config>
    ==================================================================================================================
    This is my LoginForm.java file
    package src;
    import org.apache.struts.action.ActionForm;
    public class LoginForm extends ActionForm {
         private String login;
         private String password;
         public String getLogin() {
              return login;
         public void setLogin(String login) {
              this.login = login;
         public String getPassword() {
              return password;
         public void setPassword(String password) {
              this.password = password;
    ==================================================================================================================
    This is my LoginAction.java file
    package src;
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import org.apache.struts.action.*;
    import org.apache.struts.action.Action;
    public class LoginAction extends Action {
         public ActionForward execute( ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response)
                   throws IOException, ServletException
              return (mapping.findForward("mainmenu"));
    ==================================================================================================================
    This is my index.jsp file
    <%@ page language ="java" %>
    <%@ taglib uri ="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri ="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri ="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html:html>
    <head>
         <title> My First Struts Application! </title>
    </head>
    <body>
         <html:form action="/login">
              LOGIN : <html:text property="login" />
              PASSWORD : <html:password property="password" />
              <html:submit> Login </html:submit>
              <html:reset> Reset </html:reset>
         </html:form>
    </body>
    </html:html>
    ==================================================================================================================
    and finally This is my mainmenu.jsp file
    <%@ page language="java" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld"      prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld"      prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld"      prefix="logic" %>
    <html:html>
    <head>
         <title>Main Menu</title>
    </head>
    <body>
         This is the MainMenu !
    </body>
    </html:html>
    ==================================================================================================================
    Kindly solve my problem........
    try to run on your machine...........
    I am using Tomcat 5.5.9 and my Project name is MyAppli

    Hey guys,
    Even I was frustrated for a long time with all the Struts errors for which Google returned loads of results but no particular solutions. All these solutions were all based on hit and trial and only work on some cases. Let me tell you that Struts (and most other frameworks) have a general approach to consume the actual error message and throw an exception which is light years away from the actual cause. So whats' the solution?
    Enable logging.... LOG4J to be precise...
    ...and see that it (log4j) is configured properly. You will see the actual cause there and not on the consoles of your servers (whichever you use).
    In my case, it was a host not found exception in the logs because I was sitting behind a firewall and the validator could not locate struts.apache.org
    (Wish this thread had some duke dollars)
    Regards,
    The Correspondent
    http://www.araneidae.org

  • Javax.servlet.ServletException: The name "" is not legal for JDOM/XML namespaces

    Dear all,
    First of all sorry, if this is not the right place for my question.
    I am facing some problem with the XFire Webservices. When i am trying to access the WSDL through the url. server is throwing the following exception :
    javax.servlet.ServletException: The name "" is not legal for JDOM/XML namespaces: Namespace URIs must be non-null and non-empty Strings.
         org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:143)
         org.codehaus.xfire.transport.http.XFireServlet.doGet(XFireServlet.java:107)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    root cause
    org.jdom.IllegalNameException: The name "" is not legal for JDOM/XML namespaces: Namespace URIs must be non-null and non-empty Strings.
         org.jdom.Namespace.getNamespace(Namespace.java:164)
         org.codehaus.xfire.util.NamespaceHelper.getUniquePrefix(NamespaceHelper.java:58)
         org.codehaus.xfire.aegis.type.basic.BeanType.writeSchema(BeanType.java:560)
         org.codehaus.xfire.wsdl.AbstractWSDL.addDependency(AbstractWSDL.java:224)
         org.codehaus.xfire.wsdl.AbstractWSDL.addDependency(AbstractWSDL.java:233)
         org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createDocLitPart(WSDLBuilder.java:403)
         org.codehaus.xfire.wsdl11.builder.WSDLBuilder.createPart(WSDLBuilder.java:355)
         org.codehaus.xfire.wsdl11.builder.WSDLBuilder.writeParameters(WSDLBuilder.java:509)
    cont.......
    I am not able to figure out the root cause for this. The service.xml file looks like below:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- START Service.xml -->
    <beans xmlns="http://xfire.codehaus.org/config/1.0">
    <!-- Construct the castor service factory by Spring -->
    <bean id="castorTypeRegistry" class="org.codehaus.xfire.castor.CastorTypeMappingRegistry"/>
    <bean id="bindingProvider" class="org.codehaus.xfire.aegis.AegisBindingProvider">
    <constructor-arg ref="castorTypeRegistry"/>
    </bean>
    <bean id="castorServiceFactory" class="org.codehaus.xfire.service.binding.ObjectServiceFactory">
    <constructor-arg index="0" ref="xfire.transportManager"/>
    <constructor-arg index="1" ref="bindingProvider"/>
    </bean>
    <service>
    <name>ReleaseManager</name>
    <namespace>ReleaseManager</namespace>
    <serviceClass>com.pinkroccade.jfoundation.calculation.releases.ReleaseManager</serviceClass>
    <implementationClass>com.pinkroccade.jfoundation.calculation.releases.ReleaseManagerImpl</implementationClass>
    <schemas>
    <schema>META-INF/schema/release-impact-worksheet-3.2.0.xsd</schema>
    </schemas>
    <style>document</style>
    <serviceFactory>#castorServiceFactory</serviceFactory>
    </service>
    </beans>
    <!-- END Service.xml-->
    The issue which i am facing is it due to the problem with the service.xml (Which i dont think so..), Or is it any thing to do with the XSD file which i am using.
    Can any body give me some guide lines for this ????
    Thanks in advance.
    Thanks and Regards,
    Manjunath.

    Any one any thoughts..
    I need to find out the solution for this as soon as possible; Not able to proceed further...
    Thanks and Regards,
    Manjunath.

  • WebLogic Server 9.2 Windows - javax.servlet.ServletException: [HTTP:101250]

    Hi,
    I am using BEA WebLogic Server 9.2
    When I deployed my [ear] apllication (Struts 1, Java 1.4, EJB2) I get this error:
    Message icon - Error     javax.servlet.ServletException: [HTTP:101250][[email protected] -
    appName: 'test-ear', name: 'TEST', context-path: '/TEST']: Servlet class de.general.TestActionServlet for servlet action could not be loaded because a class on which
    it depends was not found in the classpath . java.lang.NoClassDefFoundError:
    org/apache/struts/action/ActionServlet.     
    Please help me in this ClassLoader problem,
    Regards

    Hi
    you can set the classpath struts.jar in setDomainEnv.cmd
    you can get this file in your root domain under the bin directory.
    set classpath=%classpath%;/struts.jar;

  • Getting  javax.servlet.ServletException: General error

    Someone pls help me....
    I am getting General Error while inserting a row in database.I am not able to solve this error...I would really appreciate your help...Thanks in advance...
    Following is my Code ::
    <%! int countBts,countBts1,mmm; %>
    <%! String msg; %>
    <%
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String dataSourceName = "ProjData";
    String dbURL = "jdbc:odbc:" + dataSourceName;
    Connection conn = DriverManager.getConnection(dbURL, "","");
    int dataMgx= Integer.parseInt(request.getParameter("allocMgxId"));
    int dataFrsm=Integer.parseInt(request.getParameter("allocFrsmSlotNo"));
    int dataPort=Integer.parseInt(request.getParameter("allocPortNo"));
    int dataBts=Integer.parseInt(request.getParameter("bts1"));
    int dataRpm=Integer.parseInt(request.getParameter("allocRpmNo"));
    int dataMultiLink=Integer.parseInt(request.getParameter("allocMultiLinkNo"));
    String dataPortStatus= "vacant";
    Statement myStat1 = conn.createStatement();
    myStat1.execute("select count(BTS_ID) from MGX where BTS_ID=" + dataBts);
    ResultSet result1 = myStat1.getResultSet();
    if(result1.next())
         countBts=Integer.parseInt(result1.getString(1));
    countBts1=countBts+1;
    if(countBts > 6)
         msg="Configuration of more than 6 spans not allowed";
    %>
    <h3><%=msg %></h3>
    <%}
    else
    PreparedStatement stmt1 =
    conn.prepareStatement(("Insert into MGX (BTS_ID,Port_Status,MGX_Num,Port_No,FRSM_No,RPM_Card,Multi_Link) values ("+dataBts+",'"+dataPortStatus+"',"+dataMgx+","+dataPort+","+dataFrsm+","+dataRpm+","+dataMultiLink+")"));
    mmm =     stmt1.executeUpdate();
    stmt1.close();
    if(mmm == 1)
    msg="One SpanRecord successfully added in the Database ";
    else
    msg="Failure in Update Operation";     
         result1.close();
         myStat1.close();
         conn.close();           
    %>
    The error I am getting is as follows::
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: General error
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
         org.apache.jsp._5_jsp._jspService(_5_jsp.java:179)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.sql.SQLException: General error
         sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6987)
         sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
         sun.jdbc.odbc.JdbcOdbc.SQLExecute(JdbcOdbc.java:3150)
         sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(JdbcOdbcPreparedStatement.java:214)
         sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeUpdate(JdbcOdbcPreparedStatement.java:136)
         org.apache.jsp._5_jsp._jspService(_5_jsp.java:121)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Pls Help me

    Thanks for the reply buddy...
    As per your reply....I have tried modifying my Preparedstatement properly with ? and then binding values...
    But even after doing this i am still getting the same error....
    I am clueless...
    Following is my modified Prepared Statement ::
    conn.prepareStatement(("Insert into MGX (BTS_ID,MGX_Num,Port_No,FRSM_No,RPM_Card,Multi_Link,Port_Status) values (?,?,?,?,?,?,?)"));
    stmt1.setInt(1,Integer.parseInt(request.getParameter("bts1")));
    stmt1.setInt(2,Integer.parseInt(request.getParameter("allocMgxId")));
    stmt1.setInt(3,Integer.parseInt(request.getParameter("allocPortNo")));
    stmt1.setInt(4,Integer.parseInt(request.getParameter("allocFrsmSlotNo")));
    stmt1.setInt(5,Integer.parseInt(request.getParameter("allocRpmNo")));
    stmt1.setInt(6,Integer.parseInt(request.getParameter("allocMultiLinkNo")));
    stmt1.setString(7,"Allocated");
    Awaiting for a solution....

  • Javax.servlet.ServletException: oracle.jdbc.driver.OracleDriver

    Hi.
    I've got this piece of code into a servlet:
    <%@page language="java" import="java.sql.*"%>
    <%
    Driver DriverRecordset1 = (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection Conn = DriverManager.getConnection("jdbc:oracle:thin:@myserver:1521:SID","system","manager");
    When starting Tomcat, I included into startup.bat:
    set CLASSPATH=%CLASSPATH%;d:\orant\jdbc\classes102.zip (it exists)
    But when executing the code, I get this error message:
    javax.servlet.ServletException: oracle.jdbc.driver.OracleDriver
    What am I doing wrong?
    Thank you very much.

    The whole message:
    javax.servlet.ServletException: oracle.jdbc.driver.OracleDriver
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(Unknown Source)
         at mypage_1._jspService(mypage_1.java:112)
         at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java)
         at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
         at org.apache.tomcat.core.Handler.invoke(Unknown Source)
         at org.apache.tomcat.core.Handler.service(Unknown Source)
         at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
         at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
         at org.apache.tomcat.core.ContextManager.service(Unknown Source)
         at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:484)
    ================
    If I write only:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    I get the same error.

Maybe you are looking for