Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8141242

Shutdown of oc4j server - DEBUG MESSAGE: illegal bytecode sequence - method not verified =

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 8
    • hotspot
    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      JDK 1.4

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Jdeveloper having version 10.1.2.3.0

      A DESCRIPTION OF THE PROBLEM :
       Embeded Oc4j Server is getting shut down immediately.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      This is always happening for a specific page in jDeveloper 10g with Embeded OC4j server.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Requested page should open properly.
      ACTUAL -
      Unexpected shout down of oc4j server when i try to open a specific page.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Unexpected Signal : EXCEPTION_PRIV_INSTRUCTION (0xc0000096) occurred at PC=0x21024B1
      Function=[Unknown.]
      Library=(N/A)

      NOTE: We are unable to locate the function name symbol for the error
            just occurred. Please refer to release documentation for possible
            reason and solutions.


      Current Java thread:

      Dynamic libraries:
      0x00400000 - 0x0040B000 D:\Giri\CAS\CFL\Dealer_Funding_Handover\Desk\Local_Desk\MyInstalls\oracle\JDEV10.1.2.3\jdk\bin\javaw.exe
      0x77870000 - 0x779F0000 C:\Windows\SysWOW64\ntdll.dll
      0x76D90000 - 0x76EA0000 C:\Windows\syswow64\kernel32.dll
      0x76870000 - 0x768B7000 C:\Windows\syswow64\KERNELBASE.dll
      0x77290000 - 0x77330000 C:\Windows\syswow64\ADVAPI32.dll
      0x75940000 - 0x759EC000 C:\Windows\syswow64\msvcrt.dll
      0x77270000 - 0x77289000 C:\Windows\SysWOW64\sechost.dll
      0x76A10000 - 0x76B00000 C:\Windows\syswow64\RPCRT4.dll
      0x75280000 - 0x752E0000 C:\Windows\syswow64\SspiCli.dll
      0x75270000 - 0x7527C000 C:\Windows\syswow64\CRYPTBASE.dll
      0x77170000 - 0x77270000 C:\Windows\syswow64\USER32.dll
      0x76B90000 - 0x76C20000 C:\Windows\syswow64\GDI32.dll
      0x76C20000 - 0x76C2A000 C:\Windows\syswow64\LPK.dll
      0x773D0000 - 0x7746D000 C:\Windows\syswow64\USP10.dll
      0x770B0000 - 0x77110000 C:\Windows\system32\IMM32.DLL
      0x75AB0000 - 0x75B7C000 C:\Windows\syswow64\MSCTF.dll
      0x08000000 - 0x08139000 D:\Giri\CAS\CFL\Dealer_Funding_Handover\Desk\Local_Desk\MyInstalls\oracle\JDEV10.1.2.3\jdk\jre\bin\client\jvm.dll
      0x70060000 - 0x70092000 C:\Windows\system32\WINMM.dll
      0x72AE0000 - 0x72B2C000 C:\Windows\system32\apphelp.dll
      0x10000000 - 0x10007000 D:\Giri\CAS\CFL\Dealer_Funding_Handover\Desk\Local_Desk\MyInstalls\oracle\JDEV10.1.2.3\jdk\jre\bin\hpi.dll
      0x00190000 - 0x0019E000 D:\Giri\CAS\CFL\Dealer_Funding_Handover\Desk\Local_Desk\MyInstalls\oracle\JDEV10.1.2.3\jdk\jre\bin\verify.dll
      0x001A0000 - 0x001B9000 D:\Giri\CAS\CFL\Dealer_Funding_Handover\Desk\Local_Desk\MyInstalls\oracle\JDEV10.1.2.3\jdk\jre\bin\java.dll
      0x00340000 - 0x0034D000 D:\Giri\CAS\CFL\Dealer_Funding_Handover\Desk\Local_Desk\MyInstalls\oracle\JDEV10.1.2.3\jdk\jre\bin\zip.dll
      0x04240000 - 0x0425C000 D:\Giri\CAS\CFL\Dealer_Funding_Handover\Desk\Local_Desk\MyInstalls\oracle\JDEV10.1.2.3\jdk\jre\bin\jdwp.dll
      0x004D0000 - 0x004D5000 D:\oracle\DS10gR2\jdk\jre\bin\dt_socket.dll
      0x758F0000 - 0x75925000 C:\Windows\syswow64\ws2_32.dll
      0x75710000 - 0x75716000 C:\Windows\syswow64\NSI.dll
      0x735B0000 - 0x735EC000 C:\Windows\system32\mswsock.dll
      0x735A0000 - 0x735A5000 C:\Windows\System32\wshtcpip.dll
      0x04B30000 - 0x04B3F000 D:\Giri\CAS\CFL\Dealer_Funding_Handover\Desk\Local_Desk\MyInstalls\oracle\JDEV10.1.2.3\jdk\jre\bin\net.dll
      0x70DC0000 - 0x70DD0000 C:\Windows\system32\NLAapi.dll
      0x70DB0000 - 0x70DC0000 C:\Windows\system32\napinsp.dll
      0x70D90000 - 0x70DA2000 C:\Windows\system32\pnrpnsp.dll
      0x733A0000 - 0x733E4000 C:\Windows\system32\DNSAPI.dll
      0x70D80000 - 0x70D88000 C:\Windows\System32\winrnr.dll
      0x74980000 - 0x7499C000 C:\Windows\system32\IPHLPAPI.DLL
      0x75120000 - 0x75127000 C:\Windows\system32\WINNSI.DLL
      0x73330000 - 0x73368000 C:\Windows\System32\fwpuclnt.dll
      0x73390000 - 0x73396000 C:\Windows\system32\rasadhlp.dll
      0x050D0000 - 0x050D6000 D:\Giri\CAS\CFL\Dealer_Funding_Handover\Desk\Local_Desk\MyInstalls\oracle\JDEV10.1.2.3\jdk\jre\bin\ioser12.dll
      0x76C30000 - 0x76C5B000 C:\Windows\syswow64\imagehlp.dll
      0x70E70000 - 0x70F5B000 C:\Windows\syswow64\dbghelp.dll
      0x75A00000 - 0x75A05000 C:\Windows\syswow64\PSAPI.DLL

      Heap at VM Abort:
      Heap
       def new generation total 2304K, used 1556K [0x10010000, 0x10290000, 0x104f0000)
        eden space 2048K, 73% used [0x10010000, 0x10188a80, 0x10210000)
        from space 256K, 19% used [0x10210000, 0x1021c7a8, 0x10250000)
        to space 256K, 0% used [0x10250000, 0x10250000, 0x10290000)
       tenured generation total 29276K, used 19219K [0x104f0000, 0x12187000, 0x14010000)
         the space 29276K, 65% used [0x104f0000, 0x117b4f00, 0x117b5000, 0x12187000)
       compacting perm gen total 25856K, used 25659K [0x14010000, 0x15950000, 0x18010000)
         the space 25856K, 99% used [0x14010000, 0x1591edb0, 0x1591ee00, 0x15950000)

      Local Time = Tue May 26 16:44:09 2015
      Elapsed Time = 93
      #
      # HotSpot Virtual Machine Error : EXCEPTION_PRIV_INSTRUCTION
      # Error ID : 4F530E43505002EF
      # Please report this error at
      # http://java.sun.com/cgi-bin/bugreport.cgi
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
      #
      # An error report file has been saved as hs_err_pid7968.log.
      # Please refer to the file for further information.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      package com.nucleus.los.action.application.bde;

      import com.nucleus.los.action.BaseAC;
      import com.nucleus.los.bean.JNDINames;
      import com.nucleus.los.bean.application.bde.ejb.BdeMain;
      import com.nucleus.los.bean.application.bde.ejb.BdeMainHome;
      import com.nucleus.los.cache.common.ListCacheManagerConstants;
      import com.nucleus.los.cache.common.ListCachedManager;
      import com.nucleus.los.cache.commoncode.CommonCodeCache;
      import com.nucleus.los.cache.commoncode.CommonCodeConstants;

      //Added By Abhinav For Form SETUP
      import com.nucleus.los.cache.form.ActivityBlkGrpMappingCachedManager;
      import com.nucleus.los.cache.form.BlockFldMappingCachedManager;
      import com.nucleus.los.cache.form.BlockGrpBlkMappingCachedManager;
      import com.nucleus.los.cache.form.FormDetailCachedManager;
      import com.nucleus.los.cache.productcategory.ProductCategoryCacheManager;
      import com.nucleus.los.cache.scheme.SchemeMasterCacheManager;
      import com.nucleus.los.cache.systemparameter.SystemParameterCachedManager;
      import com.nucleus.los.dao.daofactory.DAOConstants;

      //END - Added By Abhinav For Form SETUP
      import com.nucleus.los.dto.application.bde.SplitDisbursalDTO;
      import com.nucleus.los.dto.application.bde.VAPHeaderDTO;
      import com.nucleus.los.dto.cache.common.CommonListDTO;
      import com.nucleus.los.dto.cache.form.ActivityBlkGrpMappingDTO;
      import com.nucleus.los.dto.cache.form.BlockGrpBlkMappingDTO;
      import com.nucleus.los.dto.cache.form.FormDetailDTO;
      import com.nucleus.los.dto.cache.productcategory.ProductCategoryDTO;
      import com.nucleus.los.dto.cache.scheme.SchemeMasterDTO;
      import com.nucleus.los.dto.common.ApplicationDTO;
      import com.nucleus.los.dto.common.SessionDTO;
      import com.nucleus.los.form.application.bde.SplitDisbursalAF;
      import com.nucleus.los.util.Constants;
      import com.nucleus.los.util.LOSLogger;
      import com.nucleus.los.util.ServiceLocator;

      import org.apache.struts.action.Action;
      import org.apache.struts.action.ActionError;
      import org.apache.struts.action.ActionErrors;
      import org.apache.struts.action.ActionForm;
      import org.apache.struts.action.ActionForward;
      import org.apache.struts.action.ActionMapping;

      import java.sql.SQLException;

      import java.util.ArrayList;
      import java.util.Collection;
      import java.util.HashMap;
      import java.util.Iterator;

      import javax.naming.NamingException; //Added By Abhinav For Form SETUP

      import javax.servlet.http.HttpServletRequest;
      import javax.servlet.http.HttpServletResponse;
      import javax.servlet.http.HttpSession;


      /**
      * The goal of an Action class is to process a request,
      * via its execute method, and return an ActionForward object that identifies where control should be forwarded
      * to provide the appropriate response.
      * It serves as the MODEL of the MVC architecture and has all the business logic required.
      * @author Code Generator
      * @version Ver 1.0
      * @updation date 03/12/2003
      */
      import com.nucleus.los.environment.EnvironmentProperties;


      public class SplitDisbursalAC extends BaseAC {
          private static LOSLogger logger = new LOSLogger(SplitDisbursalAC.class.getName());

          /**
          * This method is overridden from the super class Action.
          * The execute method is called by the controller when
          * a request is received from a client.
          * @param ActionMapping action mapping instance from the struts-config.xml for this action
          * @param ActionForm action form for this action
          * @param HttpServletRequest http request object
          * @param HttpServletResponse http response object
          * @return ActionForward containing the forward action
          * @throws Exception
          */
          public ActionForward execute(ActionMapping mapping, ActionForm form,
              HttpServletRequest request, HttpServletResponse response)
              throws Exception {
              SplitDisbursalAF splitDisbursalAF = (SplitDisbursalAF) form;
              String responsePage = "Data";

              //String processFlag= splitDisbursalAF.getHidProcessFlag();
              String processFlag = null;
              String intrestDate = null;
              String DisbursalId = null; //added by chetanya
              String DisbursalTo = null; ////prabhu
              String topUpFlag = null; ////prabhu
              String activityString =null;
              String appID =null;
              String disbursalAmountLimit =null;
              try {
                  validateProcess(splitDisbursalAF, request, response) ;

                  HttpSession session = request.getSession(false);
                  SessionDTO sessionDTO = (SessionDTO) session.getAttribute(Constants.CONSTANT_COMMON_SESSIONOBJ);


                  //added by purav for vap
                  ApplicationDTO applicationDTO = (ApplicationDTO)session.getAttribute("APPLICATIONOBJECT");
                  //end by purav
                  
                  /*HashMap hashMapCommonCode = CommonCodeCache.getSortedCTValues("HANDOVER", sessionDTO.getBranchID());
                  splitDisbursalAF.setSelKeyHandoverStatus((Collection) hashMapCommonCode.get("KEY"));
                  splitDisbursalAF.setSelValueHandoverStatus((Collection) hashMapCommonCode.get("DESC"));
                  
                  hashMapCommonCode = CommonCodeCache.getSortedCTValues("YESNO", sessionDTO.getBranchID());
                  splitDisbursalAF.setSelKeyDebitRcvd((Collection) hashMapCommonCode.get("KEY"));
                  splitDisbursalAF.setSelValueDebitRcvd((Collection) hashMapCommonCode.get("DESC"));*/
                  
                  if (request.getParameter("topUpFlag") != null) {
                      topUpFlag = request.getParameter("topUpFlag");
                      splitDisbursalAF.setTopUpFlag(topUpFlag);
                  }
                  
                  if (request.getParameter("date") != null) {
                      intrestDate = request.getParameter("date");
                      splitDisbursalAF.setDisbursalDate(intrestDate);
                  }
                  //Start Of Changes By Chetan Punjabi for Issue ID : 183524
                  if(splitDisbursalAF.getHidDisbursalDate()==null || splitDisbursalAF.getHidDisbursalDate().equalsIgnoreCase(""))
                      splitDisbursalAF.setHidDisbursalDate(intrestDate);
                  //End Of Changes By Chetan Punjabi for Issue ID : 183524
                  if (splitDisbursalAF.getDisbursalDate() != null) {
                      intrestDate = splitDisbursalAF.getDisbursalDate();
                  }
                  
                  

                  //Prabhu
                  
                   if (request.getParameter("disbursalAmountLimit") != null) {
                      disbursalAmountLimit = request.getParameter("disbursalAmountLimit");
                      splitDisbursalAF.setDisbursalAmountLimit(disbursalAmountLimit);
                  }
                  
                  if (request.getParameter("disbursalTo") != null) {
                      DisbursalTo = request.getParameter("disbursalTo");
                      splitDisbursalAF.setTxtBpType(DisbursalTo);
                  }

                  if (splitDisbursalAF.getTxtBpType() != null) {
                      DisbursalTo = splitDisbursalAF.getTxtBpType();
                  }

                  //added by chetanya
                  if (request.getParameter("DisbursalId") != null) {
                      DisbursalId = request.getParameter("DisbursalId");
                  }

                  if (splitDisbursalAF.getHidDisbursalId() != null) {
                      DisbursalId = splitDisbursalAF.getHidDisbursalId();
                  }
                 
                 
                 //added by purav
                 if (request.getParameter("disbursalType") != null) {
                      splitDisbursalAF.setDisbursalType(request.getParameter("disbursalType"));
                  }
                   //end by purav
                 
                  //end by chetanya
                  // code added ends here
                  ArrayList alKey1 = new ArrayList();
                  ArrayList alValue1 = new ArrayList();
                 
                 ArrayList arrayListCommonCodeCache1=null;
               //condition added by purav
                 if(sessionDTO.getProductCategory().equals("HOME")||
                 (applicationDTO.getParentProductCategory()!=null && applicationDTO.getParentProductCategory().equals("HOME")))
                 {
                  arrayListCommonCodeCache1 = ListCachedManager.getCache("BPTYPE_SPLIT_HOME");
                 }
                 else if(sessionDTO.getProductCategory().equals("EDUCATION"))
                 {
                  arrayListCommonCodeCache1 = ListCachedManager.getCache("BPTYPE_SPLIT_EDU");
                 }
                 //Start Of Changes By Chetan Punjabi for Issue ID : 221907
                 else if(sessionDTO.getProductCategory().equals("DFUND")||
                 (applicationDTO.getParentProductCategory()!=null && applicationDTO.getParentProductCategory().equals("DFUND")))
                 {
                  arrayListCommonCodeCache1 = ListCachedManager.getCache("BPTYPE_SPLIT_DF");
                 }
                 //End Of Changes By Chetan Punjabi for Issue ID : 211907
                 else if(sessionDTO.getProductCategory().equals("PERSONAL")||(
                 applicationDTO.getParentProductCategory()!=null && applicationDTO.getParentProductCategory().equals("PERSONAL")))
                 {
                    //Changed By Chetan Punjabi on 12th Aug 2008 for FinnOne Islamic
                    if(applicationDTO.getProductType().equalsIgnoreCase("Q"))
                      arrayListCommonCodeCache1 = ListCachedManager.getCache("BPTYPE_SPLIT_PERS_TAWA");
                    else
                      arrayListCommonCodeCache1 = ListCachedManager.getCache("BPTYPE_SPLIT_PERS");
                    //End Of Changes By Chetan Punjabi on 12th Aug 2008 for FinnOne Islamic
                 }
                 //Changed By Chetan Punjabi for Issue ID : 221907
                 else if(sessionDTO.getProductCategory().equals("AUTO")||(
                 applicationDTO.getParentProductCategory()!=null && applicationDTO.getParentProductCategory().equals("AUTO")))
                 {
                  arrayListCommonCodeCache1 = ListCachedManager.getCache("BPTYPE_SPLIT_AUTO");
                 }
                 else if(sessionDTO.getProductCategory().equals("BD"))
                 {
                  arrayListCommonCodeCache1 = ListCachedManager.getCache("BPTYPE_SPLIT_BD");
                 }
                 else
                 {
                    arrayListCommonCodeCache1 = ListCachedManager.getCache("BPTYPE_SPLIT");
                 }
                 //end of the condition by purav
                  for (int k = 0; k < arrayListCommonCodeCache1.size(); k++) {
         ///code commeted by purav
                      //Changed By Abhinav For DCB Enhancement
                 /* if (!sessionDTO.getProductCategory().equalsIgnoreCase("AUTO")) {
                          if (((CommonListDTO) arrayListCommonCodeCache1.get(k)).getId()
                                   .equals("LS")) {
                              alKey1.add(((CommonListDTO) arrayListCommonCodeCache1.get(
                                      k)).getId());
                              alValue1.add(((CommonListDTO) arrayListCommonCodeCache1.get(
                                      k)).getDesc());
                          }
                      } else {*/ //end of comeents by purav
                      
                          alKey1.add(((CommonListDTO) arrayListCommonCodeCache1.get(k)).getId());
                          alValue1.add(((CommonListDTO) arrayListCommonCodeCache1.get(
                                  k)).getDesc());
                    // }
                  }

                  splitDisbursalAF.setSelKeybpTypeWith((Collection) alKey1);
                  splitDisbursalAF.setSelValuebpTypeWith((Collection) alValue1);

                  //added by chetanya
                  ArrayList alKey2 = new ArrayList();
                  ArrayList alValue2 = new ArrayList();
                  ArrayList arrayListCommonCodeCache2 = ListCachedManager.getCache(
                          "PAYABLE_AT");

                  for (int k = 0; k < arrayListCommonCodeCache2.size(); k++) {
                      alKey2.add(((CommonListDTO) arrayListCommonCodeCache2.get(k)).getId());
                      alValue2.add(((CommonListDTO) arrayListCommonCodeCache2.get(k)).getDesc());
                  }

                  splitDisbursalAF.setSelKeyPayableAt((Collection) alKey2);
                  splitDisbursalAF.setSelValuePayableAt((Collection) alValue2);

                  ArrayList alKey3 = new ArrayList();
                  ArrayList alValue3 = new ArrayList();
                  ArrayList arrayListCommonCodeCache3 = ListCachedManager.getCache(
                          "CASH_ACCOUNT");

                  for (int k = 0; k < arrayListCommonCodeCache3.size(); k++) {
                      alKey3.add(((CommonListDTO) arrayListCommonCodeCache3.get(k)).getId());
                      alValue3.add(((CommonListDTO) arrayListCommonCodeCache3.get(k)).getDesc());
                  }

                  splitDisbursalAF.setSelKeyCashAccount((Collection) alKey3);
                  splitDisbursalAF.setSelValueCashAccount((Collection) alValue3);

                  

      //Murabaha Payments Handling : Cheque/Draft else as usual
       // Added By Girish 23 jun 2012
                   HashMap hashMapCommonCode_1 = CommonCodeCache.getSortedCTValues("PRINTLOC", "0");
                  splitDisbursalAF.setSelKeyPrinLoc((Collection) hashMapCommonCode_1.get("KEY"));
                  splitDisbursalAF.setSelValuePrinLoc((Collection) hashMapCommonCode_1.get("DESC"));
       // Ended By Girish 23 jun 2012
                /* Commented by Amir for CFL on dated 7Aug2013
                 if(applicationDTO.getProductType()!=null && applicationDTO.getProductType().equalsIgnoreCase("U"))
                 {
                 HashMap hashMapCommonCode2 = CommonCodeCache.getSortedCTValues("PAYMDEMUR",
                          sessionDTO.getBranchID());
                  splitDisbursalAF.setSelKeyPaymentMode((Collection) hashMapCommonCode2.get(
                          "KEY"));
                  splitDisbursalAF.setSelValuePaymentMode((Collection) hashMapCommonCode2.get(
                          "DESC"));
                 }
                 else
                  {
                  HashMap hashMapCommonCode2 = CommonCodeCache.getSortedCTValues("PAYMDE",
                          sessionDTO.getBranchID());
                  splitDisbursalAF.setSelKeyPaymentMode((Collection) hashMapCommonCode2.get(
                          "KEY"));
                  splitDisbursalAF.setSelValuePaymentMode((Collection) hashMapCommonCode2.get(
                          "DESC"));
                  } end by Amir */




                  //end by chetanya
                  HashMap hashMapCommonCode1 = CommonCodeCache.getSortedCTValues("PAYTOMD",
                          sessionDTO.getBranchID());
                  splitDisbursalAF.setSelKeyDisbtoType((Collection) hashMapCommonCode1.get(
                          "KEY"));
                  splitDisbursalAF.setSelValueDisbtoType((Collection) hashMapCommonCode1.get(
                          "DESC"));
                  
                  HashMap hashMapCommonCodeRTGS = CommonCodeCache.getSortedCTValues("FT_MODE",sessionDTO.getBranchID());
                  splitDisbursalAF.setSelKeyPaymentModeRTGS((Collection) hashMapCommonCodeRTGS.get("KEY"));
                  splitDisbursalAF.setSelValuePaymentModeRTGS((Collection) hashMapCommonCodeRTGS.get("DESC"));

                          

                  splitDisbursalAF.setDisbursalDate(intrestDate);

                  if ((sessionDTO.getMode() != null) &&
                          (!sessionDTO.getMode().equals(""))) {
                          
                     if(sessionDTO.getActivityID()!=null && sessionDTO.getActivityID().equalsIgnoreCase("DDEQC"))
                      splitDisbursalAF.setHidUserMode("V");
                     else
                      splitDisbursalAF.setHidUserMode(sessionDTO.getMode());
                     
                  }

                  if (request.getParameter("AuthFlg") != null) {
                      if(request.getParameter("AuthFlg").equalsIgnoreCase("Y"))
                      {
                        splitDisbursalAF.setHidUserMode("V");
                      }
                   }
                  if (splitDisbursalAF.getHidProcessFlag().equalsIgnoreCase("null") ||
                          splitDisbursalAF.getHidProcessFlag().equalsIgnoreCase("") ||
                          (splitDisbursalAF.getHidProcessFlag() == null)) {
                      splitDisbursalAF.setHidProcessFlag("R");
                  } else {
                      processFlag = splitDisbursalAF.getHidProcessFlag();
                  }

                  HashMap hashIn = new HashMap();
                  //added by purav for vap split disbursal
                   if(request.getParameter("vapId")!=null && !request.getParameter("vapId").equals(""))
                   {
                     // sessionDTO.setVapId(request.getParameter("vapId"));
                        hashIn.put("vapId",request.getParameter("vapId"));
                        splitDisbursalAF.setVapId(request.getParameter("vapId"));
                   }
                 //end for vap
                  SplitDisbursalDTO splitDisbursalDTO = null;
                  SplitDisbursalDTO splitDisbursalDTO1 = null;
                  SplitDisbursalDTO splitDisbursalDTO2 = null;
                  SplitDisbursalDTO splitDisbursalDTODEF = null; //Code added by Amir for CFL on dated 7Aug2013
                  if (processFlag.equalsIgnoreCase("C") ||
                          processFlag.equalsIgnoreCase("U") ||
                          processFlag.equalsIgnoreCase("D")) {
                      splitDisbursalDTO = new SplitDisbursalDTO();
                      splitDisbursalDTO.setDisbNo(splitDisbursalAF.getHidDisbursalNo());
                      splitDisbursalDTO.setDisbursalDate(splitDisbursalAF.getDisbursalDate());
                      splitDisbursalDTO.setAmount(splitDisbursalAF.getAmount());
                      splitDisbursalDTO.setCreditPeriod(splitDisbursalAF.getCreditPeriod());
                      splitDisbursalDTO.setDisbursalTo(splitDisbursalAF.getDisbursalTo());
                      splitDisbursalDTO.setTxtBpId(splitDisbursalAF.getTxtBPName());
                      splitDisbursalDTO.setTxtBpType(splitDisbursalAF.getTxtBpType());
                      splitDisbursalDTO.setHidProcessFlag(processFlag);
                      splitDisbursalDTO.setHidEffIrrFlag(splitDisbursalAF.getHidEffIrrFlag());
                      splitDisbursalDTO.setHidCurrentdate(splitDisbursalDTO.getHidCurrentdate());

                      //added by chetanya
                      splitDisbursalDTO.setHidDisbursalId(splitDisbursalAF.getHidDisbursalId());

                      splitDisbursalDTO.setFavourOf(splitDisbursalAF.getFavourOf());
      // added by girish
      splitDisbursalDTO.setPrinLocation(splitDisbursalAF.getPrinLocation());
      // ended by girish
                      splitDisbursalDTO.setPaymentMode(splitDisbursalAF.getPaymentMode());
                      splitDisbursalDTO.setChequeNumber(splitDisbursalAF.getChequeNumber());
                      splitDisbursalDTO.setChequeDate(splitDisbursalAF.getChequeDate());
                      splitDisbursalDTO.setEffectiveDate(splitDisbursalAF.getEffectiveDate());
                      splitDisbursalDTO.setPayableAt(splitDisbursalAF.getPayableAt());
                      splitDisbursalDTO.setCashAccount(splitDisbursalAF.getCashAccount());
                      splitDisbursalDTO.setRemarks(splitDisbursalAF.getRemarks());
                      splitDisbursalDTO.setAccountNo(splitDisbursalAF.getAccountNo());
                      splitDisbursalDTO.setTopUpFlag(splitDisbursalAF.getTopUpFlag());
                      
                      //Added by Prabhu patel For RTGS
                      splitDisbursalDTO.setHidCity(splitDisbursalAF.getHidCity());
                      splitDisbursalDTO.setHidBank(splitDisbursalAF.getHidBank());
                      splitDisbursalDTO.setHidBranch(splitDisbursalAF.getHidBranch());
                      splitDisbursalDTO.setHidMICR(splitDisbursalAF.getHidMICR());
                      splitDisbursalDTO.setHidFCS(splitDisbursalAF.getHidFCS());
                      splitDisbursalDTO.setFTMode(splitDisbursalAF.getFTMode());

                      splitDisbursalDTO.setPreEmiOS(splitDisbursalAF.getPreEmiOS());
                      splitDisbursalDTO.setAdjustFromDisb(splitDisbursalAF.getAdjustFromDisb());
                      //added by Puneet Ahuja for reject reason on 02/01/2012
                      splitDisbursalDTO.setSelRejReason(splitDisbursalAF.getSelRejReason());
                      splitDisbursalDTO.setHidRejReason(splitDisbursalAF.getHidRejReason());
                      //added by Puneet Ahuja for reject reason on 02/01/2012 ends here
                      //added by Puneet Ahuja for cheque debit date on 04/01/2012
                      //splitDisbursalDTO.setSelDebitRcvd(splitDisbursalAF.getSelDebitRcvd());
                      //splitDisbursalDTO.setSelHandoverStatus(splitDisbursalAF.getSelHandoverStatus());
                      //splitDisbursalDTO.setTxtHandoverDate(splitDisbursalAF.getTxtHandoverDate());
                      //added by Puneet Ahuja for cheque debit date on 04/01/2012 ends here
                      hashIn.put("splitDisbursalDTO", splitDisbursalDTO);
                    
                    //added by purav
                  /* if(sessionDTO.getVapId()!=null && !sessionDTO.getVapId().equals(""))
                     {
                       hashIn.put("vapId",sessionDTO.getVapId());
                     }
                   //end by purav*/
                  }

                  hashIn.put("disbursalId", DisbursalId);

                  hashIn.put("SESSIONOBJECT",
                      (SessionDTO) session.getAttribute("SESSIONOBJECT"));
                  hashIn.put("APPLICATIONOBJECT",
                      (ApplicationDTO) session.getAttribute("APPLICATIONOBJECT"));

                  BdeMainHome bdeMainHome = (BdeMainHome) ServiceLocator.getInstance().getLocalHome(JNDINames.BDE_MAIN_EJBHOME);
                  BdeMain bdeMain = bdeMainHome.create();
                  HashMap hmProcessRequestResult = bdeMain.processRequest(splitDisbursalAF.getHidProcessFlag(),
                          "splitDisbursalBean", hashIn);
                  
                   VAPHeaderDTO vapHeaderDTO=null;
                  //added by purav
                  if(hmProcessRequestResult.containsKey("VAPDTL"))
                  {
                    vapHeaderDTO=(VAPHeaderDTO) hmProcessRequestResult.get("VAPDTL");
                    splitDisbursalAF.setVapAmount(vapHeaderDTO.getVapAmount());
                    splitDisbursalAF.setVapId(vapHeaderDTO.getVapId());
                    splitDisbursalAF.setVapCustomer(vapHeaderDTO.getVapCustomer());
                    splitDisbursalAF.setVapProduct(vapHeaderDTO.getVapProduct());
                    splitDisbursalAF.setVapScheme(vapHeaderDTO.getVapScheme());
                    splitDisbursalAF.setVaptenure(vapHeaderDTO.getVaptenure());
                  }
                 //end by purav
                  
                  //Code added by Amir for default payment mode values on 7Aug2013
                  if(hmProcessRequestResult.containsKey("DEFPAYMODE"))
                  {
                    ArrayList arrDefPayModeValues=(ArrayList) hmProcessRequestResult.get("DEFPAYMODE");
                    splitDisbursalAF.setHidDefChequeValue((String)arrDefPayModeValues.get(0));
                    splitDisbursalAF.setHidDefDDValue((String)arrDefPayModeValues.get(0));
                  }
                  
                  //Code added by Puneet Gupta
                   if(hmProcessRequestResult.containsKey("DEFNPAYMODE"))
                  {
                    ArrayList arrDefPayModeValues=(ArrayList) hmProcessRequestResult.get("DEFNPAYMODE");
                    splitDisbursalAF.setHidDefNChequeValue((String)arrDefPayModeValues.get(0));
                    splitDisbursalAF.setHidDefNDDValue((String)arrDefPayModeValues.get(0));
                  }
                  //End by Puneet Gupta
                  
                  
                   if(hmProcessRequestResult.containsKey("PAYMODEVAL"))
                  {
                    splitDisbursalAF.setSelKeyPaymentMode((Collection) hmProcessRequestResult.get("PAYMODEVAL"));
                    
                  }
                  
                    if(hmProcessRequestResult.containsKey("PAYMODEDESC"))
                  {
                    splitDisbursalAF.setSelValuePaymentMode((Collection) hmProcessRequestResult.get("PAYMODEDESC"));
                    
                  }
                   if(hmProcessRequestResult.containsKey("DEFPAYFLAGS"))
                  {
                    splitDisbursalDTODEF=(SplitDisbursalDTO) hmProcessRequestResult.get("DEFPAYFLAGS");
                    splitDisbursalAF.setHidDefPayChqFlag(splitDisbursalDTODEF.getHidDefPayChqFlag());
                    splitDisbursalAF.setHidDefPayDDFlag(splitDisbursalDTODEF.getHidDefPayDDFlag());
                  }
                  
                  //end by Amir
                  //Added By Abhishek-CAS3.6 Changes
                  if (hmProcessRequestResult.containsKey("INFAVOF")) {
                      splitDisbursalDTO1 = (SplitDisbursalDTO) hmProcessRequestResult.get("INFAVOF");
                      splitDisbursalAF.setFavourOf(splitDisbursalDTO1.getFavourOf());
      splitDisbursalAF.setHidFavourOf(splitDisbursalDTO1.getFavourOf());
                      splitDisbursalAF.setSetTopUpFlag(splitDisbursalDTO1.getSetTopUpFlag());
                  }
       if (hmProcessRequestResult.containsKey("TOPUPDISBID")) {
                      splitDisbursalDTO2 = (SplitDisbursalDTO) hmProcessRequestResult.get("TOPUPDISBID");
      splitDisbursalAF.setHidTopUpDisbID(splitDisbursalDTO2.getHidTopUpDisbID());
                      if(splitDisbursalDTO2.getTopUpTypeFlag()!=null && !splitDisbursalDTO2.getTopUpTypeFlag().equals(""))
                      {
                      splitDisbursalAF.setTopUpTypeFlag(splitDisbursalDTO2.getTopUpTypeFlag());
                      }
                      else
                      {
                        splitDisbursalAF.setTopUpTypeFlag("");
                      }
                     
                  }
                  
                  
                  if (hmProcessRequestResult.containsKey("DAYDIFFMETHOD")) {
                      SplitDisbursalDTO splitDisbursalDTO3 = (SplitDisbursalDTO) hmProcessRequestResult.get("DAYDIFFMETHOD");
      splitDisbursalAF.setHidDayDiffMethod(splitDisbursalDTO3.getHidDayDiffMethod());
                      
                     
                  }
       
            if (hmProcessRequestResult.get("noOfOnFlag") != null)
            {
               splitDisbursalAF.setNoFlag((String)hmProcessRequestResult.get("noOfOnFlag"));
                  
            }
            //Start:Added by Gaurav Garg For Populating value of a field
            if (hmProcessRequestResult.get("inFavourOf") != null)
            {
               splitDisbursalAF.setHidInFavourOf((String)hmProcessRequestResult.get("inFavourOf"));
            }
          //End:Ended by Gaurav Garg For Populating value of a field
            if (hmProcessRequestResult.get("currOut") != null)
            {
               splitDisbursalAF.setPreEmiOS((String)hmProcessRequestResult.get("currOut"));
             }
                  //Added By Abhishek-CAS3.6 Changes-Ends
                  if (hmProcessRequestResult.get("splitDisb") != null)
                  {
                      splitDisbursalAF.setTableData((Collection) hmProcessRequestResult.get("splitDisb"));

                  Collection cl=splitDisbursalAF.getTableData();
                  Iterator it=cl.iterator();
                  while(it.hasNext())
                  {
                    SplitDisbursalDTO dt=(SplitDisbursalDTO)it.next();
                     splitDisbursalAF.setAdjustFromDisb(dt.getAdjustFromDisb());
                       splitDisbursalAF.setPreEmiOS(dt.getPreEmiAMT());
                       splitDisbursalAF.setPreEmiAMT(dt.getPreEmiAMT());
                  }
                  }

                  if (hmProcessRequestResult.get("customerList") != null) {
                      splitDisbursalAF.setCustomerList((Collection) hmProcessRequestResult.get(
                              "customerList"));
                  }

                  if (hmProcessRequestResult.get("supplierList") != null) {
                      splitDisbursalAF.setSupplierList((Collection) hmProcessRequestResult.get(
                              "supplierList"));
                  }

                  if (hmProcessRequestResult.get("manufacturerList") != null) {
                      splitDisbursalAF.setManufacturerList((Collection) hmProcessRequestResult.get(
                              "manufacturerList"));

                  }
                  //Start Of Changes By Chetan Punjabi for Finnone islamic on 8th July 2008
                  if (hmProcessRequestResult.get("serviceProviderList") != null) {
                      splitDisbursalAF.setServiceProviderList((Collection) hmProcessRequestResult.get("serviceProviderList"));
                  }
                  if (hmProcessRequestResult.get("lawyerList") != null) {
                      splitDisbursalAF.setLawyerList((Collection) hmProcessRequestResult.get("lawyerList"));
                  }
                  if (hmProcessRequestResult.get("brokerList") != null) {
                      splitDisbursalAF.setBrokerList((Collection) hmProcessRequestResult.get("brokerList"));
                  }
                  if (hmProcessRequestResult.get("buildersList") != null) {
                      splitDisbursalAF.setBuilderList((Collection) hmProcessRequestResult.get("buildersList"));
                  }
                  if (hmProcessRequestResult.get("architectList") != null) {
                      splitDisbursalAF.setArchitectList((Collection) hmProcessRequestResult.get("architectList"));
                  }
                  //Added By chetan Punjabi on 13th Aug 2008
                  if (hmProcessRequestResult.get("bankList") != null) {
                      splitDisbursalAF.setBankList((Collection) hmProcessRequestResult.get("bankList"));
                  }
                  if (hmProcessRequestResult.get("insuranceCompanyList") != null) {
                      splitDisbursalAF.setInsuranceCompanyList((Collection) hmProcessRequestResult.get("insuranceCompanyList"));
                  }
                  //End Of Changes By Chetan Punjabi for Finnone islamic on 8th July 2008
                  //Added By Chetan Punjabi for Issue ID : 199912
                  if (hmProcessRequestResult.get("bankDetails") != null) {
                      splitDisbursalAF.setBankDetails((Collection) hmProcessRequestResult.get("bankDetails"));
                  }
                  //Start Of Changes By Chetan Punjabi for Issue ID : 211253
                  if (hmProcessRequestResult.get("universityList") != null) {
                      splitDisbursalAF.setUniversityList((Collection) hmProcessRequestResult.get("universityList"));
                  }
                  
                  //added by anurag for Retail Adjustment
                     if (hmProcessRequestResult.get("ISRTLADJSTALLWD") != null) {
                      splitDisbursalAF.setIsRetailAdjustmentAllowed((String) hmProcessRequestResult.get("ISRTLADJSTALLWD"));
                  }
                  
                  
                  //ended
                  
                  //End Of Changes By Chetan Punjabi for Issue ID : 211253
                  splitDisbursalAF.setHidDisbursalNo("");
                  splitDisbursalAF.setDisbursalTo("");
                  //Start Of Changes By Chetan Punjabi for Issue Id : 183524
                  //splitDisbursalAF.setDisbursalDate(intrestDate);
                  splitDisbursalAF.setDisbursalDate(splitDisbursalAF.getHidDisbursalDate());
                  splitDisbursalAF.setHidDisbursalId(DisbursalId);
                  splitDisbursalAF.setAmount("");
                  splitDisbursalAF.setCreditPeriod("");
                  splitDisbursalAF.setTxtBpId("");
                  splitDisbursalAF.setTxtBpType(DisbursalTo);
                  splitDisbursalAF.setHidEffIrrFlag("");
                  splitDisbursalAF.setHidProcessFlag("");
                  splitDisbursalAF.setTxtBPName("");
                  splitDisbursalAF.setFavourOf("");
                  splitDisbursalAF.setAccountNo("");
                 // if ((request.getParameter("disbursalAmountLimit") != null) &&(!(request.getParameter("disbursalAmountLimit")).equals("")))
                  splitDisbursalAF.setDisbursalAmountLimit(disbursalAmountLimit);
                 
              } catch (Exception se) {
                  logger.error(se.toString());
                  throw se;
              }

              logger.debug("response page in splitDisbursalAC ref is " +
                  responsePage);

              return mapping.findForward(responsePage);
          }

          //METHOD Added By Abhinav For Form SETUP
          public HashMap populateFormSetup(String blockGroupName,
              HttpServletRequest request)
              throws SQLException, NamingException, Exception {
              HttpSession httpSession = request.getSession();
              SessionDTO sessionDTO = (SessionDTO) httpSession.getAttribute(Constants.CONSTANT_COMMON_SESSIONOBJ);

              String schemeId = sessionDTO.getSchemeID();
              String formId = null;
              String rcflag=null;

              if ((schemeId == null) || "".equals(schemeId)) {
                  String productCategoryID = sessionDTO.getProductCategory();
                  formId = ((ProductCategoryDTO) ProductCategoryCacheManager.getCache(productCategoryID)).getFormID();
              } else {
                  formId = ((SchemeMasterDTO) SchemeMasterCacheManager.getCache(schemeId)).getFormID();
              }

              HashMap activityHashMap = FormDetailCachedManager.getCache(formId);
              String activityValue = sessionDTO.getActivityID();
              String goldActivity = (String)sessionDTO.getActivityID();
              
              rcflag=sessionDTO.getCorpRetailFlag();
             
              // Changed against issue id-88861
              if (!(("D".equalsIgnoreCase(sessionDTO.getCorpRetailFlag())) || ("T".equalsIgnoreCase(sessionDTO.getCorpRetailFlag())))){
              //code Modified by Vikramaditya for DLB on 20/08/2010
              if ((activityValue != null) && !activityValue.equals(""))
              {
                  if (!activityValue.equals("INCOMP_DDE") && !activityValue.equals("BDE") && !activityValue.equals("PDOC")&& !activityValue.equals("VAPBDE") && !activityValue.equals("QDE"))
                      {
                      activityValue = "BDE"; //Added for Links that are assigned on different screens apart from main activities.
                  }
              }
              }
              else
              {
                  if ((activityValue != null) && !activityValue.equals(""))
               {
                  
                  activityValue = "PDOC";
                  
                }
                
              }
              if ((activityValue != null) && !activityValue.equals("")&& sessionDTO.getProductCategory().equals("VAP")
                      && activityValue.equalsIgnoreCase("BDE") && !activityValue.equals("QDE"))
              {
                activityValue="VAPBDE";
              }
              //code Modified by Vikramaditya for DLB on 20/08/2010
              //Added by Vikramaditya for DLB on 20/08/2010
              if(formId.equals("PSFRMGS"))
                activityValue = "QDE";
              //Added by Vikramaditya for DLB on 20/08/2010
              HashMap blkGrpHashMap = ActivityBlkGrpMappingCachedManager.getCache(((FormDetailDTO) activityHashMap.get(
                          activityValue)).getFrmActivityId());
              ActivityBlkGrpMappingDTO blockGroupDTO = (ActivityBlkGrpMappingDTO) blkGrpHashMap.get(blockGroupName);
              String blockGroupID = blockGroupDTO.getActivityBlkGrpId();
              HashMap blockHashMap = BlockGrpBlkMappingCachedManager.getCache(blockGroupID);
              ArrayList blockNameCollection = new ArrayList();
              Iterator iterator = blockHashMap.keySet().iterator();

              while (iterator.hasNext()) {
                  blockNameCollection.add((String) iterator.next());
              }

              Iterator blockNameIterator = blockNameCollection.iterator();
              HashMap blockFieldHashMap = new HashMap();

              while (blockNameIterator.hasNext()) {
                  String blockName = (String) blockNameIterator.next();
                  BlockGrpBlkMappingDTO blockDTO = (BlockGrpBlkMappingDTO) blockHashMap.get(blockName);
                  String blockID = blockDTO.getBlockGrpBlkId();
                  HashMap fieldHashMap = BlockFldMappingCachedManager.getCache(blockID);
                  blockFieldHashMap.put(blockName, fieldHashMap);
              }

              HashMap hashMapReturn = new HashMap();
              hashMapReturn.put("BlockName", blockNameCollection);
              hashMapReturn.put("BlockField", blockFieldHashMap);

              return hashMapReturn;
          }
      }

      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      When i try to opne a jsp page though tthe above Action class, server is getting shut down with the above log message in oc4j console log message.

            fmatte Fairoz Matte
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: