No Such method found error

I am getting this exception while deploying an ear file
Any solution to solve this
java.lang.NoSuchMethodError: IE.Iona.OrbixWeb.SSL.IT_SSL.init(Lorg/omg/CORBA/ORB;)LIE/Iona/OrbixWeb/SSL/IT_SSL;
at com.ten.snt.SS.ei.Connection.initializeSSL(Connection.java:245)
at com.ten.snt.SS.ei.Connection.init(Connection.java:148)
at com.ten.snt.SS.ei.Connection.<init>(Connection.java:72)
at com.ten.snt.SS.ei.StatusClient.<init>(StatusClient.java:40)
at net.bls.services.soegservice.eis.Connect.makeStatusClient(Connect.java:159)
at net.bls.services.soegservice.eis.Connect.createManagedConnection(Connect.java:128)
at weblogic.connector.common.internal.ConnectionFactory.createResource(ConnectionFactory.java:127)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1103)
at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1040)
at weblogic.common.resourcepool.ResourcePoolImpl.setInitialCapacity(ResourcePoolImpl.java:723)
at weblogic.connector.common.internal.ConnectionPoolManager.updateInitialCapacity(ConnectionPoolManager.java:495)
at weblogic.connector.common.internal.ConnectionPoolManager.preparePool(ConnectionPoolManager.java:140)
at weblogic.connector.deploy.Deployer.preparePool(Deployer.java:618)
at weblogic.connector.deploy.Deployer.prepare(Deployer.java:230)
at weblogic.connector.deploy.ConnectorModule.prepare(ConnectorModule.java:248)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.ManagementException: - with nested exception:
[java.lang.NoSuchMethodError: IE.Iona.OrbixWeb.SSL.IT_SSL.init(Lorg/omg/CORBA/ORB;)LIE/Iona/OrbixWeb/SSL/IT_SSL;]
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2491)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>

Check the startweblogic script file for WLS and remove all the previous one-off patches added in the CLASSPATH, if they have been fixed in the current SP level installed. For example, if you have WLS 6.1 SP2 installed:
In the startweblogic script, the following entry was added in the CLASSPATH :
$WL_HOME/lib/CR059180_src610sp1.jar
once this line is removed, the problem may be solved.
I would suggest to locate all components within that file, and make sure to recompile them in WLS’s appropriate version and service pack that you are using. Once that's done, you will have to repackage the file, and deploy the newly compiled code. - Navaneeth

Similar Messages

  • No method found error when calling java stored procedured

    hi:
    i am rather confused about this. i have written several
    java stored procedures and all of them work fine. but when i tried another one , the error message 'no method found 'occurs
    when i call the procedure from sqlplus.
    it' s a simple procedure . but it's very strange and happens
    from time to time
    my compile shell as following
    javac -classpath $ORACLE_HOME/jdbc/lib/classes12.zip GenFiles.java
    $ORACLE_HOME/bin/loadjava -u zw/zw@aixtest GenFiles.class
    and
    my definition as following
    create or replace procedure files(chargeCyckeID varchar2, cycleStart varchar2,cycleEnd varchar2,
    loginName varchar2, filePath varchar2, start1 number, end1 number, step number)
    AS LANGUAGE JAVA
    NAME 'GenFiles.genFile(String , String , String , String , String , int , int , int )';
    and my java code is here :
    import java.sql.*;
    import java.io.*;
    import oracle.jdbc.driver.*;
    public class GenFiles{
         public static void main(String[] args){
              04UU<F7QV\FZ#,V\FZ?*J<#,V\FZ=aJx#,5GB<C{#, ND<~B7>6#,Pr:E?*J<#,Pr:E=aJx#,2=3$#(Iz3IND<~5D<GB<J}#)
         public static void genFile(String chargeCycleID, String cycleStart, String cycleEnd, String loginName, String filePath, int start, int end, int step){
         try{
              String sqllist = "select customer_id,contract_code,     usercode,ani,ord,"
                        + " agent_code,linkman, customer_name , postcode,paymethod_category_id ,"
                        + " ltrim(to_char(cost,'999999990.99')) cost,call_duration,from listani_file where ord> ? and ord<? order by contract_code";
              String sqlcalls1 = "select a.ani || ',' || a.PASS || ',' || to_char(a.START_TIME,'yyyy-mm-dd hh24:mi:ss') stime || ',' || trunc(a.CALL_DURATION/60)||':'||ltrim(to_char(mod(a.CALL_DURATION,60),'09')) CALL_DURATION || ',' || ltrim(to_char((CALL_AMOUNT/ceil(CALL_DURATION/60)),'999999990.99')) RATE || ',' || ltrim(to_char(a.CALL_AMOUNT,'999999990.99')) CALL_AMOUNT"
                        +" from call_fact_mind a "
                        +" where a.usercode=?"
                        + " and a.ani=? "
                        + " and a.period_key<='" + end + "'"
                        + " and a.period_key>='" + start + "'"
                        + " and a.charge_flag='Y' "
                        + " and a.CALL_DURATION>6"
                        + " and a.CALL_AMOUNT>0"
                        +" order by a.period_key";                    
              String sqlcalls2 = "select a.ani || ',' || a.PASS || ',' || to_char(a.START_TIME,'yyyy-mm-dd hh24:mi:ss') stime || ',' || trunc(a.CALL_DURATION/60)||':'||ltrim(to_char(mod(a.CALL_DURATION,60),'09')) CALL_DURATION || ',' || ltrim(to_char((CALL_AMOUNT/ceil(CALL_DURATION/60)),'999999990.99')) RATE || ',' || ltrim(to_char(a.CALL_AMOUNT,'999999990.99')) CALL_AMOUNT "
                        + " from call_fact_mind a "
                        + " where a.usercode=?"
                        + " and a.period_key<='" + end + "'"
                        + " and a.period_key>='" + start + "'"
                        + " and a.charge_flag='Y' "
                        + " and a.CALL_DURATION>6"
                        + " and a.CALL_AMOUNT>0"
                        +" order by a.period_key";                    
              Connection con = new OracleDriver().defaultConnection();
              try{
                   int i = start;
                   //8y>]2=3$Q-;7
                   while( true){
                        if( i>=end ) break;
                        genFile(con, i , i+step, chargeCycleID, loginName, filePath, sqllist, sqlcalls1, sqlcalls2);
                        i += step;
              }catch(Exception ex){
              }finally{
                   if( con != null) con.close();
         }catch(Exception exx){}
              8y>]2=3$Iz3IND<~
         private static void genFile(Connection con, int start, int end, String chargeCycleID, String loginName, String filePath, String sqllist, String sqlcalls1, String sqlcalls2) throws Exception{
              PreparedStatement ps1 = null;
              PreparedStatement ps2 = null;
              PreparedStatement ps3 = null;
              ResultSet rs1 = null;
              ResultSet rs2 = null;
              String fileName = filePath + System.getProperty("file.separator") + start + "_" + end + ".txt";
              BufferedWriter writer = null;
              try{
                   writer = new BufferedWriter(new FileWriter(fileName));
                   ps1 = con.prepareStatement(sqllist);
                   ps2 = con.prepareStatement(sqlcalls1);
                   ps3 = con.prepareStatement(sqlcalls2);
                   ps1.setInt(1, start);
                   ps1.setInt(2, end);
                   rs1 = ps1.executeQuery();
                   //Iz3Ibuffer,V;SPR;6(<GB<J12EP4HkND<~
                   StringBuffer strBuffer = new StringBuffer();
                   int i =0;
                   //Q-;7:OM,=a9{</
                   String preContractCode = "";
                   String currentContractCode = "";
                   while( rs1.next()){
                        currentContractCode = rs1.getString("contract_code");
                        if( rs1.getString("ani") == null){
                             ps2.setString( 1, rs1.getString("usercode"));
                             rs2 = ps2.executeQuery();
                        }else{
                             ps1.setString(1, rs1.getString("usercode"));
                             ps1.setString(2, rs1.getString("ani"));
                             rs2 = ps1.executeQuery();
                        //Hg9{3vOVPB5D:OM,:E#,<SHk:OM,OnM7,contract_costJG:OM,On7QSC
                        if( ! preContractCode.equals(currentContractCode)){                     
                             //TZG0Cf<SHk?UPP
                             strBuffer.append("\r\n");
                             String contractHead = "\"1\"" + ",\"" + rs1.getString("linkman") + "\",\"" + rs1.getString("customer_name")
                                            + "\",\"" + rs1.getString("contract_code") + "\",\"" + rs1.getString("agent_code")
                                            + "\",\"" + chargeCycleID + "\",\"" + rs1.getString("contract_cost") + "\"";
                             strBuffer.append(contractHead);
                        while( rs2.next()){
                             if( i<1000){
                                  i++;
                                  strBuffer.append("\"2\"" + rs2.getString(1));
                             }else{
                                  String str = strBuffer.toString();
                                  writer.write(str, 0, str.length());
                                  strBuffer = new StringBuffer();
                                  strBuffer.append(rs2.getString(1));
                                  i = 1;
                        //<SHk7QSC:O<F
                        if( rs1.getString("ani") == null){
                             String trail = "\"2\"" + ",\"" + "ani: " + "\",\"" + rs1.getString("ani") + "\",\"" + "Total Amount: " + "\",\"" + rs1.getString("cost") + "\"\r\n";
                             strBuffer.append(trail);
                        }else{
                             String trail = "\"2\"" + ",\"" + "usercode: " + "\",\"" + rs1.getString("usercode") + "\",\"" + "Total Amount: " + "\",\"" + rs1.getString("cost") + "\"\r\n";
                             strBuffer.append(trail);
                        preContractCode = currentContractCode;     
                        writer.close();
                        rs2.close();
              }catch(Exception ex){
              }finally{
                   if( rs1 != null) rs1.close();
                   if( rs2 != null) rs2.close();
                   if( ps1 != null) ps1.close();
                   if( ps2 != null) ps2.close();
    i need your help!
    regards
    daniel wang

    Hi again, Daniel,
    I'm only guessing here, but unless you've made lots of mistakes when
    you copied your code to your post to the forum, your method signatures
    don't match. The definition of "genFile" in your java class is quite
    different to what you wrote in your PL/SQL wrapper.
    Also, you have defined "genFile" to be a private method -- I think it
    needs to be public.
    Also, I think the "main" method doesn't need to be in the "GenFiles"
    class -- perhaps you should remove it.
    Also, I think in your PL/SQL wrapper you need to use fully qualified
    names, so use "java.lang.String" and not just "String".
    Lastly, I think you should use the "-force" and "-resolve" flags
    with the "loadjava" command.
    Good Luck,
    Avi.

  • No such method found for com.sun.jndi.toolkit.url.UrlUtil: method

    Hello,
    I have a servlet which allow users to authenticate to IPlanet LDAP server. I have no problem to access it when it runs under a standalone Tomcate server but I have an internal error when it runs under Oracle8i server.
    The following error message was found in mod_serv.log file in \%OracleHome%\Apache\Jserv\logs folder:
    ajp12: Servlet Error: java.lang.NoSuchMethodError: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found.
    What is the problem? Where should I put my jndi.jar? Thanks.
    Regards
    CY Seah

    Hello,
    I have a servlet which allow users to authenticate to IPlanet LDAP server. I have no problem to access it when it runs under a standalone Tomcate server but I have an internal error when it runs under Oracle8i server.
    The following error message was found in mod_serv.log file in \%OracleHome%\Apache\Jserv\logs folder:
    ajp12: Servlet Error: java.lang.NoSuchMethodError: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found: com.sun.jndi.toolkit.url.UrlUtil: method decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; not found.
    What is the problem? Where should I put my jndi.jar? Thanks.
    Regards
    CY Seah

  • No such method found...

    Hello everybody,
    following exception...
    java.lang.NoSuchMethodError: java/net/URL: method getQuery()Ljava/lang/String; not found
    was thrown when I tried running a simple test applet in browsers IE 5 and 5.5! the same worked with Netscape 6.2!!
    here is a part of the code...
    =========================================
    import java.net.*;
    String s = getDocumentBase().getQuery();
    System.out.println("s = "+s);
    =========================================
    is there something to do with the which version of JVM is running in IE?

    The method getQuery() has only been around since 1.3 and unless you have the plugin installed and you are using it, IE only supports JVM 1.1.8

  • No such method error when launching the Interactive form

    Hi Experts,
    I have developed a simeple Java Webdynpro application and added an Interactive form without any controls in it. Created the context with one value node and a binary value attribute.
    I have assigned  value node to datasource and binary attribute to pdfSource. When I launch the application I am getting the following no such method error.
    java.lang.NoSuchMethodError: com/sap/tc/webdynpro/clientserver/uielib/adobe/api/IWDInteractiveForm.setTemplateSource(Ljava/lang/String;)V
    The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
    If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
    My NWDS is of Version 7.0.06
    and J2EE Engine is of Version 6.40.
    any guess why I am getting this error.
    Thanks
    Chinna.

    Issue solved. Compatablility issue NWDS 2.0 Version should use for NW 2004.

  • In F110 I getting error No valid Payment method found but i did

    While doing intercompany clearance using Pay methd Y in F110 payment run in payment proposal system showing error "No valid payment method found" this is showing in vendor line item and if i am clicking customer line item showing debit bal still exit because system not picking my pay mthd Y in vendor line item which one i assigned in vendor master data. But for another vendor its posting clearing this error occur only for particular vendor. Any can help me to rectify my error.

    Hello,
    We were get the same error message and found that the solution was that the vendor must have an address.
    In OBVU, Payment method / country, the required master record specs had Street checked on.  This reqiured an address for the vendor.  Once we entered an address the F110 payment run was successful for this vendor.
    Rgds,
    Dan

  • Automatic payment error - no valid payment method found

    I created an invoice which i try to clear in f110. the vendor has the appropriate payment methods specified too but still I get this error "No valid payment method found " for that document.
    kindly assist, if anyone knows where can be the error.
    this is only for one company code.
    thanks

    Hi,
    Check the configuration of Automatic Payment Program.  Check "Bank Determination" and verify whether the paymetn method is set up for the House Bank determined by Automatic Payment Program configuration.
    If the payment method in invoice or vendor master does nto match with the payemnt method set up for the house bank, you may get this error.
    Regards,
    Chirag
    Pls. award points if this is useful.

  • F110 error - No Valid Payment Method found - Account ID missing

    Hello All,
    I am trying to clear some Vendor invoices in F110 using a Payment method. We have entered the House Bank at the time of posting the Vendor Invoice (Invoice is posted through an BAPI) and I am able to see the House Bank in BSEG - HBKID.
    Further for the Payment Method we are using only one House Bank and one Account ID - which has been configured correctly in FBZP - Bank Determination.
    However when we are running F110 for clearing the invoices - we are getting an error no valid payment method found. I am able to see the Payment Method & the House Bank while editing the Proposal - only Parameter which is missing is Account ID - though we have maintained it in Bank Determination configurartion.
    Any help will be appreciated a lot to fix this issue.
    Thanks and regards,
    Ankur

    Dear,
    Everything may be alright but payment method is assigned to Bank Account in Bank selection section FBZP. So, system will process payment from the bank account with assigned payment method. So, there is no Account ID system is not able to find the payment method. It is difficult to provide remedy. If house bank and account ID is not in the vendor master then update them.
    Just try it out....all the best.
    Regards,
    Chintan Joshi.

  • FILE not found error: j2ee/home/applib/applications-mapping.xml (No such fi

    Hi EveryBody
    i have my applications-mapping.xml file already in the applib directory, but when i try to conect to a remote ejb i had this error[b]
    FILE not found error: j2ee/home/applib/applications-mapping.xml (No such file or directory)
    can anyone help??

    gday
    Is the error on the client or server?
    What role in the application does applications-mapping.xml fulfill?
    How are you loading the file in?
    -steve-

  • Operation not found error while calling AM methods from managed bean

    Hi,
    operation not found error while calling AM methods from managed bean.
    written a method with two parameters in AM.
    exposed the method in AM client interface
    in the page bindings added the method in method action ..left empty in the value fields of the parameters.
    calling the method from managed bean like below
    String userNameVal = (String)userName.getValue();
    String passwordVal = (String)password.getValue();
    OperationBinding operationBinding =
    ADFUtils.findOperation("verifyLogin");
    operationBinding.getParamsMap().put("userName",userNameVal);
    operationBinding.getParamsMap().put("password",passwordVal);
    operationBinding.execute();
    i am getting operation verifyLogin not found error.Please suggest me something to do.
    Thanks
    Satya

    Hi vlsn,
    Can you try with the below code
    // in your backing bean
    OperationBinding operation = bindings.getOperationBinding("verifyLogin");
    //Put your both parameters here
    operation.getParamsMap().put("parameter_name1", parameterValue1);
    operation.getParamsMap().put("parameter_name2", parameterValue2);
    operation.execute();
    if (operation.getResult() != null) {
    Boolean result = (Boolean) operation.getResult();
    and share the result.
    regards,
    Rajan

  • Error during F110 - No Valid Payment Method found

    Hi SAP Gurus,
    During F110 (APP) i am getting the error msg as "No Valid Payment Method Found". In FBZP i have checked all the setting and which looks ok to me.
    But we i look at the log it says that (Payment must take place before 17 Aug 2010 next payment on 30 Sep 2010) Please note all the line items are entered on 17 Aug 2010 and Payment terms as 001 which is due immediately.
    In the Paramaters for F110 i have entered (Posting Date 25 Aug 2010) (Docs entered up to 25 Aug 2010) (Next P/Date 30 Sep 2010).
    The second error that is displayed in the LOG is (No amount has been scheduled for currency USD and at least 999 days' life).
    Kindly note in the value date field i have entered as 999 days.
    Please advice why this error are coming i have checked all the configuration
    Regards.

    Your first error is because no document has been found for the payment method you entered in the parameters tab.  This can be due to a wrong method entered here or a different/no method found in the payment due documents.
    Reg your second error, check the value date entry for the payment method and house bank account selected in the run.  I think the entry is missing for currency USD (or may be you have selected a wrong bank account which has currency USD) in that table.
    Ravi.

  • How do I correct "No Such Method Error: main " ? ? ?

    Dear Java People,
    I have an error message in my program that says
    " No Such Method: main " . How do I correct this problem?
    Thank you in advance
    Stan

    Dear Java People,
    I have an error message in my program that says
    " No Such Method: main " . How do I correct this
    problem? It will be one of the following:
    -You don't have a main method at all
    -You don't have the correct signature for main. For instance it isn't static.
    -You are trying to run the wrong class. The main method is in a different class than the one you are specifying.

  • 404 File not Found error trying servlet under https

    Hi,
    This is the first time that I've had to work with SSL. I have a servlet that worked fine under regular http. I had to implement SSL and run my site over https. When I try to access my servlet under HTTPS, I get the 404 File not found error. Is there something that I need to setup for servlets to run under SSL in apache or server.xml? or Do I need to modify my JSP and Servlet code?
    I call my servlet from my JSP on the action method of the form like such:
    * JSP call to servlet
    <form action="https://www.benefitserver.com:8081/FDFServlet" method="post">
    * Servlet code
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.net.ssl.*;
    import java.io.*;
    import java.util.*;
    import com.yoursummit.benefitserver.*;
    import com.adobe.fdf.*;
    import com.adobe.fdf.exceptions.*;
    public class FDFServlet extends HttpServlet
    private static final String CONTENT_TYPE = "text/html";
    private String fileout = "";
    //Initialize global variables
    public void init() throws ServletException
    System.setProperty("java.protocol.handler.pkgs","sun.net.ssl.internal.www.protocol");
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    //Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    doPost( request, response);
    //Process the HTTP Post request
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String planID = request.getParameter("planID");
    String empID = request.getParameter("empID");
    HttpSession session = request.getSession();
              try {
                   FDFDoc outputFDF = null;
                   /* Create a new FDF. */
                   outputFDF = new FDFDoc();
    // Set the form fields with values from the database
    if ( planID.equalsIgnoreCase("31") )
    formDeltaPopulation formDP = new formDeltaPopulation();
    fileout = formDP.populateDeltaForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("29") )
    formUnicarePopulation formUC = new formUnicarePopulation();
    fileout = formUC.populateUnicareForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("30") || planID.equalsIgnoreCase("32") || planID.equalsIgnoreCase("33") || planID.equalsIgnoreCase("34") || planID.equalsIgnoreCase("35"))
    formSunLifePopulation formSL = new formSunLifePopulation();
    fileout = formSL.populateSunLifeForm( outputFDF, planID, empID, request );
    response.sendRedirect(com.yoursummit.utils.urlRewrite.getServletURL(request,"emp_main.jsp?empID=" + empID));
    } catch(FDFException fdfe) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(fdfe.toString());
    fdfe.printStackTrace(out);
    IOException e = new IOException ( fdfe.getMessage() );
    throw e;
    catch(IOException ioe) {
         /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(ioe.toString());
    ioe.printStackTrace(out);
    throw ioe;
    catch(Exception e) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught tomcatDB exception");
    out.println(e.toString());
    e.printStackTrace(out);
    IOException ioe = new IOException ( e.getMessage() );
    throw ioe;
    //Clean up resources
    public void destroy()
    }

    I have been told that there is problem with my configuration of Tomcat. I have followed the documentation found at
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
    and it doesn't work. I have been working on this for a week now and can't seem to get it to work. Can someone please take a look at it and tell me what I am doing wrong? THANKS!
    I get "HTTP 404 - File not Found" with the URL https://www.benefitserver.com/FDFServlet
    I get "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request" with the URL https://www.benefitserver.com/servlet/FDFServlet
    I've looked at the log files for Apache and I don't see any errors listed. No errors logged in the Tomcat log file either.
    * httpd.conf
    ## Include line for mod_jk.so (Jakarta-Tomcat installation)
    #Include /usr/home/summimps/usr/local/jakarta/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto
    LoadModule jk_module libexec/mod_jk.so
    AddModule mod_jk.c
    JkWorkersFile /usr/home/summimps/usr/tomcat4.1.24/conf/worker.properties
    JkLogFile /usr/home/summimps/var/log/mod_jk.log
    JkLogLevel info
    #JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    #JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
    #JkRequestLogFormat "%w %V %T"
    JkMount /*.jsp benefitserver
    JkMount /solarc/*.jsp benefitserver
    JkMount /servlet/* ajp13
    JkMount /solarc/servlet/* ajp13
    # Should mod_jk send SSL information to Tomcat (default is On)
    #JkExtractSSL On
    # What is the indicator for SSL (default is HTTPS)
    JkHTTPSIndicator HTTPS
    # What is the indicator for SSL session (default is SSL_SESSION_ID)
    JkSESSIONIndicator SSL_SESSION_ID
    # What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
    JkCIPHERIndicator SSL_CIPHER
    # What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
    JkCERTSIndicator SSL_CLIENT_CERT
    <Directory />
    AllowOverride None
    </Directory>
    <Directory "/usr/tomcat4.1.24/webapps/ROOT">
      Options Indexes
      <IfDefine SSL>
        SSLRequireSSL
        SSLOptions +StdEnvVars +ExportCertData +StrictRequire
        SSLVerifyClient require
        SSLVerifyDepth 1
      </IfDefine>
    </Directory>
    <VirtualHost benefitserver.com www.benefitserver.com>
    SSLRequireSSL
    ServerName benefitserver.com
    ServerAdmin [email protected]
    DocumentRoot /usr/local/etc/httpd/htdocs/benefitserver
    TransferLog /usr/local/etc/httpd/logs/bsAccess_log
    ErrorLog /usr/local/etc/httpd/logs/bsError_log
    </VirtualHost>
    * server.xml
    <?xml version='1.0' encoding='utf-8'?>
    <Server className="org.apache.catalina.core.StandardServer" debug="0" port="8006" shutdown="SHUTDOWN">
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
      <GlobalNamingResources>
      </GlobalNamingResources>
      <Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
        <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    redirectPort="8443" bufferSize="2048" port="8081" connectionTimeout="20000" scheme="https" enableLookups="true" secure="true" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" debug="0" disableUploadTimeout="true" maxKeepAliveRequests="100" proxyPort="0" tcpNoDelay="true" minProcessors="5" maxProcessors="75" acceptCount="100" useURIValidationHack="false" connectionLinger="-1" compression="off">
          <Factory className="org.apache.catalina.net.SSLServerSocketFactory" keystoreFile="//.keystore" keystoreType="JKS" algorithm="SunX509" clientAuth="false" protocol="TLS"/>
        </Connector>
        <Engine className="org.apache.catalina.core.StandardEngine" mapperClass="org.apache.catalina.core.StandardEngineMapper" debug="0" defaultHost="localhost" name="Standalone">
          <Host className="org.apache.catalina.core.StandardHost" appBase="webapps" liveDeploy="true" mapperClass="org.apache.catalina.core.StandardHostMapper" autoDeploy="true" configClass="org.apache.catalina.startup.ContextConfig" errorReportValveClass="org.apache.catalina.valves.ErrorReportValve" debug="9" deployXML="true" contextClass="org.apache.catalina.core.StandardContext" unpackWARs="true" name="localhost">
            <Context className="org.apache.catalina.core.StandardContext" crossContext="false" reloadable="false" mapperClass="org.apache.catalina.core.StandardContextMapper" useNaming="true" debug="0" swallowOutput="false" privileged="false" displayName="Welcome to Tomcat" wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="/usr/tomcat4.1.24/webapps/ROOT" cookies="true" path="" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper">
              <Environment name="uploadUrl" override="true" type="java.lang.String" description="URL to display uploaded file in Benefit Server" value="http://www.benefitserver.com:8081/bsup"/>
              <Environment name="exportPath" override="true" type="java.lang.String" description="Export Path for Benefit Server Export Utility" value="/usr/tomcat4.1.24/webapps/ROOT/bsex"/>
              <Environment name="uploadPath" override="true" type="java.lang.String" description="Upload Path for Benefit Server" value="/usr/tomcat4.1.24/webapps/ROOT/bsup/"/>
              <Environment name="tempPath" override="true" type="java.lang.String" description="Temporary Directory for File Upload in Benefit Server - Developm" value="/usr/home/summimps/tmp/benefitserver"/>
              <Resource name="BS_Data" type="javax.sql.DataSource" scope="Shareable"/>
              <ResourceParams name="BS_Mail">
                <parameter>
                  <name>mail.smtp.host</name>
                  <value>localhost</value>
                </parameter>
              </ResourceParams>
              <ResourceParams name="BS_Data">
                <parameter>
                  <name>url</name>
                  <value>jdbc:mysql://localhost/BS_Data</value>
                </parameter>
                <parameter>
                  <name>password</name>
                  <value>kdsusa1350</value>
                </parameter>
                <parameter>
                  <name>maxActive</name>
                  <value>50</value>
                </parameter>
                <parameter>
                  <name>maxWait</name>
                  <value>5000</value>
                </parameter>
                <parameter>
                  <name>driverClassName</name>
                  <value>com.mysql.jdbc.Driver</value>
                </parameter>
                <parameter>
                  <name>username</name>
                  <value>summimps</value>
                </parameter>
                <parameter>
                  <name>maxIdle</name>
                  <value>5</value>
                </parameter>
              </ResourceParams>
            </Context>
            <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="localhost_log." directory="logs" timestamp="true" suffix=".txt"/>
          </Host>
          <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="catalina_log." directory="logs" timestamp="true" suffix=".txt"/>
          <Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" resourceName="UserDatabase" validate="true"/>
        </Engine>
      </Service>
    </Server>
    * web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
           <servlet>
                 <servlet-name>FDFServlet</servlet-name>
                 <servlet-class>FDFServlet</servlet-class>
           </servlet>
           <servlet-mapping>
                <servlet-name>FDFServlet</servlet-name>
                <url-pattern>/FDFServlet</url-pattern>
           </servlet-mapping>
    </web-app>

  • Private Key Not Found Error in Ldaps

    Hi,
    I am facing "Private Key Not Found" Error in ldaps. The key and the SSL certificate is stored under the same location. The certificate is self signed certificate and in .pem format. When I am trying to install the certifcate through SUN ONE Console it throws the following error
    "Either this certificate is for another server, or this certificate was not requested using this server".
    can any one help me in this regard.
    Regards
    Senthil
    Edited by: senlog80 on Dec 30, 2008 3:18 AM

    Or even better, check the note <a href="https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=924320&_NLANG=E">924320</a>.
    <b>Symptom</b>:
    When you execute a query with virtual characteristics or key figures, the system issues the following error message:
    Object FIELD I_S_DATA-<key figure> not found
    <b>Other terms</b>
    RSR00002, RSR_OLAP_BADI
    <b>Reason and Prerequisites</b>
    This problem is caused by a program error.
    <b>Solution</b>
    If the virtual characteristics or key figures are implemented using the enhancement RSR00002 (CMOD), implement the corrections.
    If the virtual characteristics or key figures were created directly as implementations of the RSR_OLAP_BADI BAdI, compare the source code of the INITIALIZE method with the corresponding source code example. During the call of GET_FIELD_POSITIION_D, <L_S_SK>-VALUE_RETURNNM must be transferred instead of <L_S_SFK>-KYFNM.
    Import Support Package 08 for SAP NetWeaver 2004s BI (BI Patch 08 or SAPKW70008) into your BI system. The Support Package is available when Note 0872280"SAPBINews BI 7.0 Support Package 08", which describes this Support Package in more detail, is released for customers.
    In urgent cases, you can use the correction instructions.
    To provide advance information, the note mentioned above may be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version".
    Assign pts if helpful.

  • File Not Found Error in

    Hi...
    I have written one Servlet named LoginServHandler and i kept it in com/chintan/webapps folder in tomcat web-server. and made entry com.chintan.webapps.LoginServHandler in web.xml
    Now in html i have done <form action="../new/com/chintan/webapps/LoginServHandler" name="login" method="post"> but it shows "fie not found" error...
    So wht is the problem??
    Thanks in advance
    Regards
    Chintan

    What did you put in the web.xml file?
    It requires two elements
    1 - servlet declaration (map servlet name to servlet class)
    2 - servlet mapping (map URI to servlet name)
    You should then use the URI from the servlet mapping when you want to access the servlet.
    eg
    <servlet>
        <servlet-name>LoginServHandler </servlet-name>
        <servlet-class>com.chintan.webapps.LoginServHandler </servlet-class>
      </servlet>
      <servlet-mapping>
        <servlet-name>LoginServHandler </servlet-name>
        <url-pattern>/login</url-pattern>
      </servlet-mapping>If you then access the URL /login, it should activate the servlet LoginServHandler, which is set to the class com.chintan.webapps.LoginServHandler - see how it works?
    Good luck,
    evnafets

Maybe you are looking for