Exception while excel processing after upload using commons file upload

Hi all,
I am experiencing problem while creating a workbook after getting the input stream from the uploaded file. its not going catch block instead it is going to finally and giving null pointer exeption in finally as one variable in finally is not defined. the variable is defined in try as well as catch but during run time the variable is not getting assigned any value also. I'll put the code over here. please help me with a solution
import org.w3c.dom.* ;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import jxl.*;
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.disk.*;
import org.apache.commons.fileupload.servlet.*;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.hssf.usermodel.HSSFRow;
public class CescoreUploadServlet extends baseHttpServlet
     private DataSource cesDS = null;
     public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
          doPost(req, res);
     public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
          String targetPage = null;
          File f = null;
          System.out.println("Upload Controller");
          HttpSession session = req.getSession(true);
          try
               if(cesDS == null){
                    cesDS = new JNDIDataSource(getServletContext().getInitParameter(Constants.DATA_SOURCE_NAME));
               CesRepository cRep = new CesRepository(cesDS);
               if (session.getAttribute("DataContainerInfo") == null) {
                    System.out.println("Initializing DataContainerInfo");
                    DataContainer DataContainer = new DataContainer();
                    cRep.setInitialParameters(DataContainer);
                    session.setAttribute("DataContainerInfo",DataContainer);
               else System.out.println("DataContainerInfo is available");
               UserInfo userInfo = null;               
               String login_id = req.getRemoteUser();
               if(session.getAttribute("UserID") != null) login_id = (String)session.getAttribute("UserID");
               if(session.getAttribute("userProfile") == null ) session.setAttribute("userProfile", cRep.getUserInfo(login_id));
               userInfo = (UserInfo)session.getAttribute("userProfile");
               System.out.println("<<<<<< userInfo contains : "+userInfo.getHrID()+" >>>>>>");
               String projIdValue = null;
               String msg = null;
               boolean isMultipart = FileUpload.isMultipartContent(req);
               if(isMultipart){
                    System.out.println("is MultiPart");
                    DiskFileUpload upload = new DiskFileUpload();
                    List fileList = upload.parseRequest(req);
                    InputStream uploadedFileStream = null;
                    String uploadedFileName = null;
                    ArrayList impArray = new ArrayList();
                    Iterator iter = fileList.iterator();
                    while (iter.hasNext()) {
                         System.out.println("inside while");
                         FileItem item = (FileItem) iter.next();
                         if (!item.isFormField()) {
                              System.out.println("item is not form field");
                              if (item.getSize() < 1)
                                   throw new Exception("No file was uploaded");
                              else
                                   uploadedFileName = item.getName();
                                   System.out.println("uploaded file name "+uploadedFileName);
                                   System.out.println("uploaded file size is "+item.getSize());
                                   uploadedFileStream = item.getInputStream();
                                   System.out.println("uploaded input stream available size is "+uploadedFileStream.available());
                         else
                              System.out.println("item is form field");
                              String key     = item.getFieldName();
                              String value = item.getString();
                              System.out.println("key is"+key);
                              System.out.println("value is"+value);
                              if(key.equals("projectId2")){
                                   projIdValue = value;
                    System.out.println("outside while");
                    POIFSFileSystem fs = new POIFSFileSystem(uploadedFileStream);
                    System.out.println("got POIFSFileSystem");//this is been printed in logs
                    HSSFWorkbook wb = new HSSFWorkbook(fs);//it is breaking over here
                    System.out.println("got HSSFWorkbook");//this is not been printed in logs
                    HSSFSheet sheet = wb.getSheetAt(0);
                    System.out.println("got HSSFSheet");
                    Iterator rows = sheet.rowIterator();
                    if(rows.hasNext()){
                    while( rows.hasNext() ) {
                         System.out.println("rows iteration");
                         HSSFRow row = (HSSFRow) rows.next();
                         Iterator cells = row.cellIterator();
                         while( cells.hasNext() ) {
                              System.out.println("cell iteration");
                              HSSFCell cell = (HSSFCell) cells.next();
                              HashMap hm = new HashMap();//if everything is fine i'll use this hashmap to store values
                         System.out.println("CES UPLOAD.SERVLET. After adding");
                         msg = "Attendees have been added successfully";
                         req.setAttribute("msgText", msg);
                         targetPage = "/ces_disp.jsp";
                    else
                         throw new Exception("The Excel Sheet Uploaded has no entries. Please check and try again");
               else{
                    throw new Exception("The Form is not Multipart");
          catch (Exception e)
               System.out.println("CES UPLOAD.SERVLET.EXCEPTION ::: Exception");
               targetPage = "/ces_disp.jsp";
               if(e != null) req.setAttribute("msgText", e.getMessage());
               else req.setAttribute(Constants.EXCEPTION_ATTR_NAME, new Exception("Unknown Exception"));
               e.printStackTrace();
          finally{
               System.out.println("CES UPLOAD.SERVLET. ::: Finally");
               ServletContext stx = getServletConfig().getServletContext();
               RequestDispatcher dispatcher = sCx.getRequestDispatcher(targetPage);
               dispatcher.forward(req, res);
Message was edited by: Noufal
Noufal_k
Message was edited by:
Noufal_k

import org.w3c.dom.* ;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import jxl.*;
import org.apache.commons.fileupload.*;
import org.apache.commons.fileupload.disk.*;
import org.apache.commons.fileupload.servlet.*;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.hssf.usermodel.HSSFRow;
public class CescoreUploadServlet extends baseHttpServlet
private DataSource cesDS = null;
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
doPost(req, res);
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException {
//including only relevant code
String targetPage = null;
System.out.println("Upload Controller");
HttpSession session = req.getSession(true);
try
String projIdValue = null;
String msg = null;
boolean isMultipart = FileUpload.isMultipartContent(req);
if(isMultipart){
System.out.println("is MultiPart");
DiskFileUpload upload = new DiskFileUpload();
List fileList = upload.parseRequest(req);
InputStream uploadedFileStream = null;
String uploadedFileName = null;
Iterator iter = fileList.iterator();
while (iter.hasNext()) {
System.out.println("inside while");
FileItem item = (FileItem) iter.next();
if (!item.isFormField()) {
System.out.println("item is not form field");
if (item.getSize() < 1)
throw new Exception("No file was uploaded");
else
uploadedFileName = item.getName();
System.out.println("uploaded file name "+uploadedFileName);//printing  c:/excelsheets/fileToUpload.xls
System.out.println("uploaded file size is "+item.getSize());//printing size is 15872
uploadedFileStream = item.getInputStream();
System.out.println("uploaded input stream available size is "+uploadedFileStream.available());//printing available input stream size is 15872
else
System.out.println("item is form field");
String key = item.getFieldName();
String value = item.getString();
System.out.println("key is"+key);
System.out.println("value is"+value);
if(key.equals("projectId2")){
projIdValue = value;
System.out.println("outside while");
POIFSFileSystem fs = new POIFSFileSystem(uploadedFileStream);
System.out.println("got POIFSFileSystem");//this is been printed in logs
HSSFWorkbook wb = new HSSFWorkbook(fs);//it is breaking over here
System.out.println("got HSSFWorkbook");//this is not been printed in logs
HSSFSheet sheet = wb.getSheetAt(0);
System.out.println("got HSSFSheet");
Iterator rows = sheet.rowIterator();
if(rows.hasNext()){
while( rows.hasNext() ) {
System.out.println("rows iteration");
HSSFRow row = (HSSFRow) rows.next();
Iterator cells = row.cellIterator();
while( cells.hasNext() ) {
System.out.println("cell iteration");
HSSFCell cell = (HSSFCell) cells.next();
HashMap hm = new HashMap();//if everything is fine i'll use this hashmap to store values
System.out.println("CES UPLOAD.SERVLET. After adding");
msg = "Attendees have been added successfully";
req.setAttribute("msgText", msg);
targetPage = "/ces_disp.jsp";
else
throw new Exception("The Excel Sheet Uploaded has no entries. Please check and try again");
else{
throw new Exception("The Form is not Multipart");
catch (Exception e)
System.out.println("CES UPLOAD.SERVLET.EXCEPTION ::: Exception");
targetPage = "/ces_disp.jsp";
if(e != null) req.setAttribute("msgText", e.getMessage());
else req.setAttribute(Constants.EXCEPTION_ATTR_NAME, new Exception("Unknown Exception"));
e.printStackTrace();
finally{
System.out.println("CES UPLOAD.SERVLET. ::: Finally");
ServletContext stx = getServletConfig().getServletContext();
RequestDispatcher dispatcher = stx.getRequestDispatcher(targetPage);//throwing null pointer exception for this line
dispatcher.forward(req, res);
}

Similar Messages

  • How to kill EXCEL process after upload?

    Hi 2 all!
    I use ALSM_EXCEL_TO_INTERNAL_TABLE to get the data from excel file and it works fine. But in the task manager the number of EXCEL processes increases with every execution of my program. How can I avoid this?

    Hi 2 all!
    I use ALSM_EXCEL_TO_INTERNAL_TABLE to get the data from excel file and it works fine. But in the task manager the number of EXCEL processes increases with every execution of my program. How can I avoid this?

  • Getting Servlet Exception while accessing servlets after deployment

    Hi,
    Iam getting a Servlet Exception while accessing servlets after deploying into weblogic 8.1
    Error 500--Internal Server Error
    javax.servlet.ServletException: [HTTP:101249][ServletContext(id=9599010,name=MyWeb,context-path=)]: Servlet class LoginServlet for servlet LoginServlet could not be loaded because the requested class was not found in the classpath F:\bea\weblogic81\samples\domains\examples\MyWeb\WEB-INF\classes;F:\bea\weblogic81\samples\domains\examples\.\examplesServer\.wlnotdelete\extract\examplesServer_MyWeb_MyWeb.
    java.lang.UnsupportedClassVersionError: LoginServlet (Unsupported major.minor version 49.0).
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:834)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    My Folder Structureis like this,
    F:\bea\weblogic81\samples\domains\examples\MyWeb
    MyWeb is the projectName
    F:\bea\weblogic81\samples\domains\examples\MyWeb\WEB-INF
    Inside WEB-INF, i have web.xml and weblogic.xml, and classes directory with servlet classes.
    Any help will be appreciated.
    Thanx in advance.
    Regards
    Ram

    Hi,
    Thanks for the reply.
    Yes you are correct, i compiled using jdk1.5.
    but my servlet code will not compile in jdk1.4 version since i used advanced vaector classes in that.
    Is there any settings like script file that need to be changed so that i can point to my jdk1.5 compiler rather than the default one pointed by weblogic.
    Thanks in advance
    Ram

  • Exception while loading process

    Hi all,
    I just installed BPEL 2.0.10 (PM and Designer) and as I completed my first BPEL process (a simple invocation of a synchronous WS) I got the following problem
    <2004-09-09 19:05:47,036> <DEBUG> <default.collaxa.cube.engine.deployment> <Cube
    ProcessHolder::bind> Exception while loading process
    ORABPEL-05217
    Error while creating process.
    An error has occurred while attempting to instantiate the class "bpel.FirstBPEL.
    FirstBPEL__BPEL4WS_BIN" for the process "FirstBPEL" (revision "1.0"). The excep
    tion reported was: bpel.FirstBPEL.FirstBPEL__BPEL4WS_BIN
    Please try recompiling your BPEL process again. The current BPEL process archiv
    e "FirstBPEL" may have been compiled with an older version of "bpelc".
    Obviously I have no older version of 'bpelc'. The stack trace reported
    at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProc
    essFactory.java:83)
    at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProce
    ssLoader.java:351)
    at com.collaxa.cube.engine.deployment.CubeProcessLoader.load(CubeProcess
    Loader.java:276)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(Cube
    ProcessHolder.java:698)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeP
    rocessHolder.java:512)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.getStatus(CubePr
    ocessHolder.java:168)
    at com.collaxa.cube.engine.CubeEngine.lookupProcessStatus(CubeEngine.jav
    a:967)
    at com.collaxa.cube.beans.BPELProcessManagerBean.getErrors(BPELProcessMa
    nagerBean.java:52)
    at com.collaxa.cube.beans.ProcessManagerBean_1eyxw1_EOImpl.getErrors(Pro
    cessManagerBean_1eyxw1_EOImpl.java:370)
    at com.oracle.bpel.client.BPELProcessHandle.getErrors(BPELProcessHandle.
    java:163)
    at jsp_servlet.__ngprocessloaderror._jspService(__ngprocessloaderror.jav
    a:188)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:387)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:305)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispat
    cherImpl.java:594)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispat
    cherImpl.java:409)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:155
    at jsp_servlet.__displayprocess._jspService(__displayprocess.java:414)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:387)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6310)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Can somebody help me?
    BTW I'm using WLS 8.1 sp2
    Regards.
    Antonio.

    I tried both solutions but with no benefit. If it helps here are the FirstBPEL.bpel content and the FirstBPEL.wsdl
    BEGIN FirstBPEL.bpel -----------------------------
    <process name="FirstBPEL" targetNamespace="http://acm.org/samples" suppressJoinFailure="yes" xmlns:tns="http://acm.org/samples" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:ns0="http://www.openuri.org/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="urn:MSGSenderService">
         <partnerLinks>
              <partnerLink name="client" partnerLinkType="tns:FirstBPEL" myRole="FirstBPELProvider" partnerRole="FirstBPELRequester"/>
              <partnerLink name="msgWs" partnerRole="MSGSenderServiceProvider" partnerLinkType="ns1:MSGSenderServiceLink"/>
         </partnerLinks>
         <variables>
              <variable name="input" messageType="tns:FirstBPELRequestMessage"/>
              <variable name="output" messageType="tns:FirstBPELResponseMessage"/>
              <variable name="msgInput" messageType="ns1:MSGSenderService_sendMsg"/>
              <variable name="msgOutput" messageType="ns1:MSGSenderService_sendMsgResponse"/>
         </variables>
         <sequence>
              <receive createInstance="yes" name="request" partnerLink="client" portType="tns:FirstBPEL" operation="initiate" variable="input"/>
              <assign name="assignInput">
                   <copy>
                        <from variable="input" part="payload" query="/tns:FirstBPELRequest/tns:from">
                        </from>
                        <to variable="msgInput" part="String_1"/>
                   </copy>
                   <copy>
                        <from variable="input" part="payload" query="/tns:FirstBPELRequest/tns:to">
                        </from>
                        <to variable="msgInput" part="String_2"/>
                   </copy>
                   <copy>
                        <from variable="input" part="payload" query="/tns:FirstBPELRequest/tns:body">
                        </from>
                        <to variable="msgInput" part="String_3"/>
                   </copy>
                   <copy>
                        <from variable="input" part="payload" query="/tns:FirstBPELRequest/tns:la">
                        </from>
                        <to variable="msgInput" part="String_4"/>
                   </copy>
              </assign>
              <invoke name="forward" partnerLink="msgWs" portType="ns1:MSGSenderService" operation="sendMsg" inputVariable="msgInput" outputVariable="msgOutput"/>
              <sequence name="main">
                   <assign name="assignOutput">
                        <copy>
                             <from variable="msgOutput" part="result">
                             </from>
                             <to variable="output" part="payload" query="/tns:FirstBPELResponse/tns:msgId"/>
                        </copy>
                   </assign>
                   <invoke name="callback" partnerLink="client" portType="tns:FirstBPELCallback" operation="onResult" inputVariable="output"/>
              </sequence>
         </sequence>
    </process>
    END FirstBPEL.bpel -------------------------------
    BEGIN FirstBPEL.wsdl -----------------------------
    <?xml version="1.0"?>
    <definitions name="FirstBPEL"
    targetNamespace="http://acm.org/samples"
    xmlns:tns="http://acm.org/samples"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    >
    <types>
    <schema attributeFormDefault="qualified"
    elementFormDefault="qualified"
    targetNamespace="http://acm.org/samples"
    xmlns="http://www.w3.org/2001/XMLSchema"
    >
    <element name="FirstBPELRequest">
    <complexType>
    <sequence>
    <element name="from" type="string" />
    <element name="to" type="string" />
    <element name="body" type="string" />
    <element name="la" type="string" />
    </sequence>
    </complexType>
    </element>
    <element name="FirstBPELResponse">
    <complexType>
    <sequence>
    <element name="msgId" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    </types>
    <message name="FirstBPELRequestMessage">
    <part name="payload" element="tns:FirstBPELRequest"/>
    </message>
    <message name="FirstBPELResponseMessage">
    <part name="payload" element="tns:FirstBPELResponse"/>
    </message>
    <portType name="FirstBPEL">
    <operation name="initiate">
    <input message="tns:FirstBPELRequestMessage"/>
    </operation>
    </portType>
    <portType name="FirstBPELCallback">
    <operation name="onResult">
    <input message="tns:FirstBPELResponseMessage"/>
    </operation>
    </portType>
    <plnk:partnerLinkType name="FirstBPEL">
    <plnk:role name="FirstBPELProvider">
    <plnk:portType name="tns:FirstBPEL"/>
    </plnk:role>
    <plnk:role name="FirstBPELRequester">
    <plnk:portType name="tns:FirstBPELCallback"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    END FirstBPEL.wsdl -------------------------------

  • Exit Excel process after finish loading

    Hi ,
    my problem is how to exit the excel process after i import the excel file in forms 10g
    , the file closed successfuly but the process still in memory
    how can i kill this process after finish importing the excel file .

    Why are you programmatically opening an Excel sheet in C# instead of using the DataFlow task with an Excel input?
    Since your task is programmatically starting Excel via "new Microsoft.Office.Interop.Excel.Application();", it is your responsibility to stop it.
    Please see "Quit":
    http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel._application.quit(v=office.15).aspx

  • Connection reset exception while accessing the server page using HttpClient

    hi all,
    In my servlet class I am using HttpClient to connect to the server.
    while connecting i am getting the below exception...
    please guide me guys..
    Nov 21, 2007 4:29:23 PM org.apache.commons.httpclient.HttpMethodBase processRequest
    INFO: Recoverable exception caught when processing request
    Nov 21, 2007 4:29:23 PM org.apache.commons.httpclient.HttpMethodBase processRequest
    WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception
    org.apache.commons.httpclient.HttpRecoverableException: java.net.SocketException: Connection reset
            at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1962)
            at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2653)
            at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1087)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:643)
            at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
            at LoginToKotak.accountTxn(LoginToKotak.java:916)
            at LoginToKotak.kotakAmountTxn(LoginToKotak.java:147)
            at ResponseServlet_kotakMB.getAccountTxn(ResponseServlet_kotakMB.java:158)
            at ResponseServlet_kotakMB.processRequest(ResponseServlet_kotakMB.java:128)
            at ResponseServlet_kotakMB.doPost(ResponseServlet_kotakMB.java:197)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
            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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
            at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
            at java.lang.Thread.run(Thread.java:595)

    Mallikarjuna,
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 1, column 7:As the error message specifies.. table XXCUR_TRADE_CUSTOMER_DETAILS doesnt exists.
    Create a synonyms for this table in apps schema with all the grants.
    Regards,
    Gyan

  • Error While updating Process form data Using Scheduler

    Hi All,
    I am trying to update Process form data (ex : lastname) using a scheduled task Code. I am getting Error while updating Field.
    Code :
    HashMap<String, String> map = new HashMap<String, String>();
    map.put("UD_EBS_PF_LASTNAME", "lastname");
    formintf.setProcessFormData(instancekey, map);  //I AM GETTING AT THIS LINE
    Saying
    Thor.API.Exceptions.tcAPIException: The following required fields have not been given values:EBS IT Resource : The following required fields have not been given values:EBS IT Resource
        at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
        at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
        at Thor.API.Operations.tcFormInstanceOperationsIntfEJB_h6wb8n_tcFormInstanceOperationsIntfRemoteImpl_1036_WLStub.setProcessFormDatax(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
        at $Proxy2.setProcessFormDatax(Unknown Source)
        at Thor.API.Operations.tcFormInstanceOperationsIntfDelegate.setProcessFormData(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.security.Security.runAs(Security.java:41)
        at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
        at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
        at $Proxy3.setProcessFormData(Unknown Source)
        at com.wyndham.tasks.AssignRandomPasswordToAllUsersSchedulerTest.execute(AssignRandomPasswordToAllUsersSchedulerTest.java:182)
        at com.wyndham.tasks.AssignRandomPasswordToAllUsersSchedulerTest.main(AssignRandomPasswordToAllUsersSchedulerTest.java:63)
    Caused by: Thor.API.Exceptions.tcAPIException: The following required fields have not been given values:EBS IT Resource : The following required fields have not been given values:EBS IT Resource
        at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:761)
        at com.thortech.xl.ejb.beansimpl.tcFormInstanceOperationsBean.setProcessFormData(tcFormInstanceOperationsBean.java:426)
        at Thor.API.Operations.tcFormInstanceOperationsIntfEJB.setProcessFormDatax(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Is that possible there was the field ZDATE in your form interface/ context and now it is not? I guess some source has changed so the field in the form (binding to the not existing field) cannot be processed. Otto

  • Exception while accessing a web service using adaptive web service

    Hi All,
    I have accessed a web service from backend ( ABAP) and when i deploy the model i get an exception :
         Exception on execution of web service on destination 'DEFAULT_WS_EXECUTION_DEST' for operation 'ZGetWorkpackages' in interface '_-CAG_-Z_GET_WORKPACKAGES'
    can any one help?
    Regards
    Deepa

    hi
    After you have integrated  webservice ,  have you created the destinations in the visual admin tool .
    during calling the webservice  you might  selected the option of using logical destinations and used the
    default destinations as it is , and  are these destinations configured in the visula admin .
    if so please check the parameters you have provided ,  this would solve yourproblem
    Thanks

  • Runtime exception while I connect to SAP using JCO

    I am getting this error when I am trying to write a Java DC Project using NWDS.
    I have added all the JCO API DC to my project and all the classes are available in that.
    I am getting runtime exception class not found - com.sap.mw.jco.JCO$Repository
    I am deploying the java dc in the SAP J2EE Server by making Java Lib DC & deploy that.
    Is it possible to connect to SAP R/3 from Java DC? or we need to have Portal Projects like PAR or Webdynpro only?
    I want to use Background Callable object using GP API here.

    Thank you Venkat. One more question - in one of my java library, I want to make a class a public part and I added as public part but it is not accessible from SAP Portal GP as Background callable object,  getting message: cannot find this class name
    Do you have any idea ?
    see my post:Custom Email Template in GP
    Thank you once again.

  • Exception while updating a clob value using dbms_lob.fragment_insert

    Hi,
    Here is the query
    procedure tempProc(str3 in varchar2) is
    QI CLOB;
    -- LOB(QI) STORE AS securefile ;
    v_cursor refcursor;
    str varchar2(50);
    i number default '30';
    begin
    open v_cursor for select b.OCEAN_RATE_XML.getClobVal() from TNMAB_OCEAN_RATE_XML B
    WHERE (XMLCast(XMLQuery('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; (: :) /OceanOfferRate/ObjectID'
    PASSING B.OCEAN_RATE_XML RETURNING CONTENT) AS NUMBER(20))) = 200000000000050;
    fetch v_cursor into QI;
    close v_cursor;
    dbms_output.put_line('abcds'||DBMS_LOB.getlength(QI));
    dbms_lob.fragment_insert(QI,3,DBMS_LOB.getlength(QI)-17,'<abc/>');
    dbms_output.put_line('Done insert');
    DBMS_LOB.READ (QI, i, DBMS_LOB.getlength(QI)-i, str);
    --DBMS_LOB.READ(QI,20,DBMS_LOB.getlength(QI)-20,str);
    dbms_output.put_line('Doem read');
    dbms_output.put_line(str);
    end tempProc;
    I am getting the below exceptionError report:
    ORA-43856: Unsupported LOB type for SECUREFILE LOB operation
    ORA-06512: at "SYS.DBMS_LOB", line 1076
    ORA-06512: at "TNM_PLSQL.TNM_AB_QI_UPDT_PKG", line 377
    ORA-06512: at line 5
    ORA-06512: at line 9
    <OceanOfferRate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://com.oocl.schema.tnm.agreementbuilder">
    <ObjectID>200000000000050</ObjectID>
    <RateID>2</RateID>
    <AgreementID>00000002</AgreementID>
    <StartingVersion>0</StartingVersion>
    <EndingVersion>0</EndingVersion>
    <EffectiveFrom>2010-05-16T00:00:00.000000</EffectiveFrom>
    <EffectiveTo>2010-06-30T00:00:00.000000</EffectiveTo>
    <RateStatus>QuoteExpired</RateStatus>
    <ApprovalStatus>Approved</ApprovalStatus>
    <Flags>3</Flags>
    <Tariffs>015</Tariffs>
    <BaseRates>
    <SizeType>20GP</SizeType>
    <Amount>65</Amount>
    <Currency>USD</Currency>
    <EffectiveFrom>2010-05-16T00:00:00.000000</EffectiveFrom>
    <EffectiveTo>2010-06-30T00:00:00.000000</EffectiveTo>
    <Flags>0</Flags>
    </BaseRates>
    <BaseRates>
    <SizeType>40GP</SizeType>
    <Amount>100</Amount>
    <Currency>USD</Currency>
    <EffectiveFrom>2010-05-16T00:00:00.000000</EffectiveFrom>
    <EffectiveTo>2010-06-30T00:00:00.000000</EffectiveTo>
    <Flags>0</Flags>
    </BaseRates>
    <BaseRates>
    <SizeType>40HQ</SizeType>
    <Amount>100</Amount>
    <Currency>USD</Currency>
    <EffectiveFrom>2010-05-16T00:00:00.000000</EffectiveFrom>
    <EffectiveTo>2010-06-30T00:00:00.000000</EffectiveTo>
    <Flags>0</Flags>
    </BaseRates>
    <ShippingPartyGroupName>Default</ShippingPartyGroupName>
    <CustomerContactGroupName>Default</CustomerContactGroupName>
    <NamedCustomerGroupName>Default</NamedCustomerGroupName>
    <LastSentDate>2010-06-14T22:42:48.536000</LastSentDate>
    <ValidityDays>30</ValidityDays>
    <ValidityExpirationDate>2010-06-30T00:00:00.000000</ValidityExpirationDate>
    <GuidelineRateReference>
    <Trunk>
    <RateID>100001510668470</RateID>
    <SurchargeIDs>684172719752758</SurchargeIDs>
    <SurchargeIDs>626856918161564</SurchargeIDs>
    <SurchargeIDs>680028613161439</SurchargeIDs>
    <SurchargeIDs>679555629913553</SurchargeIDs>
    <SurchargeIDs>673382151283681</SurchargeIDs>
    <SurchargeIDs>679789705628181</SurchargeIDs>
    <SurchargeIDs>653835218283772</SurchargeIDs>
    <SurchargeIDs>653955477367768</SurchargeIDs>
    <SurchargeIDs>653955477367759</SurchargeIDs>
    </Trunk>
    </GuidelineRateReference>
    <CreatedOn>2010-05-16T13:40:29.201344</CreatedOn>
    <CreatedBy>KRISHSA</CreatedBy>
    <SalesPerson>COOKBR</SalesPerson>
    <SalesOffice>PHE</SalesOffice>
    <LastUpdated>2010-06-30T00:13:06.000000</LastUpdated>
    <LastUpdatedBy>TNM_APPLN</LastUpdatedBy>
    <Origins>
    <ID_Wrappers>
    <Value>100000000026067</Value>
    </ID_Wrappers>
    <ID_Wrappers>
    <Value>100000000008923</Value>
    </ID_Wrappers>
    <ID_Wrappers>
    <Value>100000000024173</Value>
    </ID_Wrappers>
    </Origins>
    <Destinations>
    <ID_Wrappers>
    <Value>100000000008923</Value>
    </ID_Wrappers>
    <ID_Wrappers>
    <Value>100000000024173</Value>
    </ID_Wrappers>
    <ID_Wrappers>
    <Value>100000000013006</Value>
    </ID_Wrappers>
    <ID_Wrappers>
    <Value>100000000046704</Value>
    </ID_Wrappers>
    </Destinations>
    <DeliveryMode>YY</DeliveryMode>
    <TradeLane>IAT</TradeLane>
    <Commodity>
    <Description>Cotton for test</Description>
    <CargoNatureGroup>32</CargoNatureGroup>
    </Commodity>
    <RateLevel>1</RateLevel>
    </OceanOfferRate>
    Any advise if there is any other ways to update the clob with additional information at the end of the XML before </OceanOfferRate> ?

    A quick example illustrating what I mean :
    Settings
    SQL> create table department_xml (
      2    xmldoc xmltype
      3  , depid  number(4) as
      4    (
      5      xmlcast(
      6        xmlquery('declare default element namespace "http://some.namespace.org"; (: :)
      7                  /Department/@ID' passing xmldoc returning content)
      8        as number(4)
      9      )
    10    ) virtual
    11  )
    12  xmltype xmldoc store as binary xml
    13  ;
    Table created.
    SQL> create unique index department_xml_depid_uix on department_xml (depid);
    Index created.
    SQL> insert into department_xml (xmldoc)
      2  select xmlelement("Department",
      3           xmlattributes('http://some.namespace.org' as "xmlns"
      4                        , department_id as "ID")
      5         , xmlforest(
      6             d.department_name as "departmentName"
      7           , d.manager_id as "managerID"
      8           , xmlforest(
      9               l.street_address as "street"
    10             , l.postal_code as "zipcode"
    11             , l.city as "city"
    12             , l.state_province as "state"
    13             , c.country_name as "country"
    14             ) as "address"
    15           )
    16         )
    17  from hr.departments d
    18       join hr.locations l on l.location_id = d.location_id
    19       join hr.countries c on c.country_id = l.country_id
    20  ;
    27 rows created.
    SQL> commit;
    Commit complete.
    Sample document
    SQL> select xmlserialize(document xmldoc as clob indent) from department_xml where depid = 50;
    XMLSERIALIZE(DOCUMENTXMLDOCASCLOBINDENT)
    <Department xmlns="http://some.namespace.org" ID="50">
      <departmentName>Shipping</departmentName>
      <managerID>121</managerID>
      <address>
        <street>2011 Interiors Blvd</street>
        <zipcode>99236</zipcode>
        <city>South San Francisco</city>
        <state>California</state>
        <country>United States of America</country>
      </address>
    </Department>
    Updating each doc with the list of employees from the corresponding department
    SQL> UPDATE department_xml d
      2  SET d.xmldoc =
      3      insertChildXMLBefore(
      4        d.xmldoc
      5      , '/Department'
      6      , 'address'
      7      , (
      8          select xmlelement("employees",
      9                   xmlagg(
    10                     xmlelement("employee",
    11                       xmlattributes(e.employee_id as "ID")
    12                     , xmlforest( e.first_name || ' ' || e.last_name as "employeeName"
    13                                , e.hire_date as "hireDate"
    14                                , e.salary as "salary" )
    15                     )
    16                     order by e.employee_id
    17                   )
    18                 )
    19          from hr.employees e
    20          where e.department_id = d.depid
    21        )
    22      , 'xmlns="http://some.namespace.org"'
    23      )
    24  ;
    27 rows updated.
    Checking...
    SQL> select xmlserialize(document xmldoc as clob indent) from department_xml where depid = 50;
    XMLSERIALIZE(DOCUMENTXMLDOCASCLOBINDENT)
    <Department xmlns="http://some.namespace.org" ID="50">
      <departmentName>Shipping</departmentName>
      <managerID>121</managerID>
      <employees>
        <employee ID="120">
          <employeeName>Matthew Weiss</employeeName>
          <hireDate>2004-07-18</hireDate>
          <salary>8000</salary>
        </employee>
        <employee ID="121">
          <employeeName>Adam Fripp</employeeName>
          <hireDate>2005-04-10</hireDate>
          <salary>8200</salary>
        </employee>
        <employee ID="122">
          <employeeName>Payam Kaufling</employeeName>
          <hireDate>2003-05-01</hireDate>
          <salary>7900</salary>
        </employee>
        <employee ID="123">
          <employeeName>Shanta Vollman</employeeName>
          <hireDate>2005-10-10</hireDate>
          <salary>6500</salary>
        </employee>
        <employee ID="124">
          <employeeName>Kevin Mourgos</employeeName>
          <hireDate>2007-11-16</hireDate>
          <salary>5800</salary>
        </employee>
        <employee ID="125">
          <employeeName>Julia Nayer</employeeName>
          <hireDate>2005-07-16</hireDate>
          <salary>3200</salary>
        </employee>
        <employee ID="126">
          <employeeName>Irene Mikkilineni</employeeName>
          <hireDate>2006-09-28</hireDate>
          <salary>2700</salary>
        </employee>
        <employee ID="127">
          <employeeName>James Landry</employeeName>
          <hireDate>2007-01-14</hireDate>
          <salary>2400</salary>
        </employee>
        <employee ID="128">
          <employeeName>Steven Markle</employeeName>
          <hireDate>2008-03-08</hireDate>
          <salary>2200</salary>
        </employee>
        <employee ID="129">
          <employeeName>Laura Bissot</employeeName>
          <hireDate>2005-08-20</hireDate>
          <salary>3300</salary>
        </employee>
        <employee ID="130">
          <employeeName>Mozhe Atkinson</employeeName>
          <hireDate>2005-10-30</hireDate>
          <salary>2800</salary>
        </employee>
        <employee ID="131">
          <employeeName>James Marlow</employeeName>
          <hireDate>2005-02-16</hireDate>
          <salary>2500</salary>
        </employee>
        <employee ID="132">
          <employeeName>TJ Olson</employeeName>
          <hireDate>2007-04-10</hireDate>
          <salary>2100</salary>
        </employee>
        <employee ID="133">
          <employeeName>Jason Mallin</employeeName>
          <hireDate>2004-06-14</hireDate>
          <salary>3300</salary>
        </employee>
        <employee ID="134">
          <employeeName>Michael Rogers</employeeName>
          <hireDate>2006-08-26</hireDate>
          <salary>2900</salary>
        </employee>
        <employee ID="135">
          <employeeName>Ki Gee</employeeName>
          <hireDate>2007-12-12</hireDate>
          <salary>2400</salary>
        </employee>
        <employee ID="136">
          <employeeName>Hazel Philtanker</employeeName>
          <hireDate>2008-02-06</hireDate>
          <salary>2200</salary>
        </employee>
        <employee ID="137">
          <employeeName>Renske Ladwig</employeeName>
          <hireDate>2003-07-14</hireDate>
          <salary>3600</salary>
        </employee>
        <employee ID="138">
          <employeeName>Stephen Stiles</employeeName>
          <hireDate>2005-10-26</hireDate>
          <salary>3200</salary>
        </employee>
        <employee ID="139">
          <employeeName>John Seo</employeeName>
          <hireDate>2006-02-12</hireDate>
          <salary>2700</salary>
        </employee>
        <employee ID="140">
          <employeeName>Joshua Patel</employeeName>
          <hireDate>2006-04-06</hireDate>
          <salary>2500</salary>
        </employee>
        <employee ID="141">
          <employeeName>Trenna Rajs</employeeName>
          <hireDate>2003-10-17</hireDate>
          <salary>3500</salary>
        </employee>
        <employee ID="142">
          <employeeName>Curtis Davies</employeeName>
          <hireDate>2005-01-29</hireDate>
          <salary>3100</salary>
        </employee>
        <employee ID="143">
          <employeeName>Randall Matos</employeeName>
          <hireDate>2006-03-15</hireDate>
          <salary>2600</salary>
        </employee>
        <employee ID="144">
          <employeeName>Peter Vargas</employeeName>
          <hireDate>2006-07-09</hireDate>
          <salary>2500</salary>
        </employee>
        <employee ID="180">
          <employeeName>Winston Taylor</employeeName>
          <hireDate>2006-01-24</hireDate>
          <salary>3200</salary>
        </employee>
        <employee ID="181">
          <employeeName>Jean Fleaur</employeeName>
          <hireDate>2006-02-23</hireDate>
          <salary>3100</salary>
        </employee>
        <employee ID="182">
          <employeeName>Martha Sullivan</employeeName>
          <hireDate>2007-06-21</hireDate>
          <salary>2500</salary>
        </employee>
        <employee ID="183">
          <employeeName>Girard Geoni</employeeName>
          <hireDate>2008-02-03</hireDate>
          <salary>2800</salary>
        </employee>
        <employee ID="184">
          <employeeName>Nandita Sarchand</employeeName>
          <hireDate>2004-01-27</hireDate>
          <salary>4200</salary>
        </employee>
        <employee ID="185">
          <employeeName>Alexis Bull</employeeName>
          <hireDate>2005-02-20</hireDate>
          <salary>4100</salary>
        </employee>
        <employee ID="186">
          <employeeName>Julia Dellinger</employeeName>
          <hireDate>2006-06-24</hireDate>
          <salary>3400</salary>
        </employee>
        <employee ID="187">
          <employeeName>Anthony Cabrio</employeeName>
          <hireDate>2007-02-07</hireDate>
          <salary>3000</salary>
        </employee>
        <employee ID="188">
          <employeeName>Kelly Chung</employeeName>
          <hireDate>2005-06-14</hireDate>
          <salary>3800</salary>
        </employee>
        <employee ID="189">
          <employeeName>Jennifer Dilly</employeeName>
          <hireDate>2005-08-13</hireDate>
          <salary>3600</salary>
        </employee>
        <employee ID="190">
          <employeeName>Timothy Gates</employeeName>
          <hireDate>2006-07-11</hireDate>
          <salary>2900</salary>
        </employee>
        <employee ID="191">
          <employeeName>Randall Perkins</employeeName>
          <hireDate>2007-12-19</hireDate>
          <salary>2500</salary>
        </employee>
        <employee ID="192">
          <employeeName>Sarah Bell</employeeName>
          <hireDate>2004-02-04</hireDate>
          <salary>4000</salary>
        </employee>
        <employee ID="193">
          <employeeName>Britney Everett</employeeName>
          <hireDate>2005-03-03</hireDate>
          <salary>3900</salary>
        </employee>
        <employee ID="194">
          <employeeName>Samuel McCain</employeeName>
          <hireDate>2006-07-01</hireDate>
          <salary>3200</salary>
        </employee>
        <employee ID="195">
          <employeeName>Vance Jones</employeeName>
          <hireDate>2007-03-17</hireDate>
          <salary>2800</salary>
        </employee>
        <employee ID="196">
          <employeeName>Alana Walsh</employeeName>
          <hireDate>2006-04-24</hireDate>
          <salary>3100</salary>
        </employee>
        <employee ID="197">
          <employeeName>Kevin Feeney</employeeName>
          <hireDate>2006-05-23</hireDate>
          <salary>3000</salary>
        </employee>
        <employee ID="198">
          <employeeName>Donald OConnell</employeeName>
          <hireDate>2007-06-21</hireDate>
          <salary>2600</salary>
        </employee>
        <employee ID="199">
          <employeeName>Douglas Grant</employeeName>
          <hireDate>2008-01-13</hireDate>
          <salary>2600</salary>
        </employee>
      </employees>
      <address>
        <street>2011 Interiors Blvd</street>
        <zipcode>99236</zipcode>
        <city>South San Francisco</city>
        <state>California</state>
        <country>United States of America</country>
      </address>
    </Department>

  • Exception while importing/converting 9.0.3 MWP file to 10g

    Hi,
    Using Toplink 10.0.3 (Preview) I am trying to import an existing 9.0.3 Toplink Mapping Workbench Project. It throws the following exception:
    Exception Description: The method [isStub] on the object [oracle.toplink.workbench.model.meta.MWClass] triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.NullPointerException
    Mapping: oracle.toplink.mappings.DirectToFieldMapping[stub-->class.stub]
    Descriptor: XMLDescriptor(oracle.toplink.workbench.model.meta.MWClass --> [DatabaseTable(class)])
    Stack trace:
    Local Exception Stack:
    Exception [TOPLINK-99] (OracleAS TopLink - 10g (10.0.3) Developer Preview (Build 030902.1548)): oracle.toplink.exceptions.DescriptorException
    Exception Description: The method [isStub] on the object [oracle.toplink.workbench.model.meta.MWClass] triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.NullPointerException
    Mapping: oracle.toplink.mappings.DirectToFieldMapping[stub-->class.stub]
    Descriptor: XMLDescriptor(oracle.toplink.workbench.model.meta.MWClass --> [DatabaseTable(class)])
         at oracle.toplink.exceptions.DescriptorException.targetInvocationWhileGettingValueThruMethodAccessor(DescriptorException.java:1420)
         at oracle.toplink.internal.descriptors.MethodAttributeAccessor.getAttributeValueFromObject(MethodAttributeAccessor.java:45)
         at oracle.toplink.mappings.DatabaseMapping.getAttributeValueFromObject(DatabaseMapping.java:313)
         at oracle.toplink.mappings.DirectToFieldMapping.buildCloneValue(DirectToFieldMapping.java:97)
         at oracle.toplink.mappings.DirectToFieldMapping.buildClone(DirectToFieldMapping.java:82)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.mappings.ObjectReferenceMapping.buildCloneForPartObject(ObjectReferenceMapping.java:44)
         at oracle.toplink.internal.indirection.NoIndirectionPolicy.cloneAttribute(NoIndirectionPolicy.java:43)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:161)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.sdk.SDKAggregateCollectionMapping.buildClonePart(SDKAggregateCollectionMapping.java:87)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.mappings.ObjectReferenceMapping.buildCloneForPartObject(ObjectReferenceMapping.java:44)
         at oracle.toplink.internal.indirection.NoIndirectionPolicy.cloneAttribute(NoIndirectionPolicy.java:43)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:161)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.sdk.SDKAggregateCollectionMapping.buildClonePart(SDKAggregateCollectionMapping.java:87)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.mappings.ObjectReferenceMapping.buildCloneForPartObject(ObjectReferenceMapping.java:44)
         at oracle.toplink.internal.indirection.NoIndirectionPolicy.cloneAttribute(NoIndirectionPolicy.java:43)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:161)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.sdk.SDKAggregateCollectionMapping.buildClonePart(SDKAggregateCollectionMapping.java:87)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.mappings.ObjectReferenceMapping.buildCloneForPartObject(ObjectReferenceMapping.java:44)
         at oracle.toplink.internal.indirection.NoIndirectionPolicy.cloneAttribute(NoIndirectionPolicy.java:43)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:161)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.sdk.SDKAggregateCollectionMapping.buildClonePart(SDKAggregateCollectionMapping.java:87)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.mappings.ObjectReferenceMapping.buildCloneForPartObject(ObjectReferenceMapping.java:44)
         at oracle.toplink.internal.indirection.NoIndirectionPolicy.cloneAttribute(NoIndirectionPolicy.java:43)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:161)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.sdk.SDKAggregateCollectionMapping.buildClonePart(SDKAggregateCollectionMapping.java:87)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.mappings.ObjectReferenceMapping.buildCloneForPartObject(ObjectReferenceMapping.java:44)
         at oracle.toplink.internal.indirection.NoIndirectionPolicy.cloneAttribute(NoIndirectionPolicy.java:43)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:161)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.sdk.SDKAggregateCollectionMapping.buildClonePart(SDKAggregateCollectionMapping.java:87)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.mappings.ObjectReferenceMapping.buildCloneForPartObject(ObjectReferenceMapping.java:44)
         at oracle.toplink.internal.indirection.NoIndirectionPolicy.cloneAttribute(NoIndirectionPolicy.java:43)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:161)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.mappings.AggregateMapping.buildClonePart(AggregateMapping.java:129)
         at oracle.toplink.sdk.SDKAggregateCollectionMapping.buildClonePart(SDKAggregateCollectionMapping.java:87)
         at oracle.toplink.mappings.AggregateMapping.buildClone(AggregateMapping.java:105)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.mappings.ObjectReferenceMapping.buildCloneForPartObject(ObjectReferenceMapping.java:44)
         at oracle.toplink.internal.indirection.NoIndirectionPolicy.cloneAttribute(NoIndirectionPolicy.java:43)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:161)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.mappings.CollectionMapping.buildElementClone(CollectionMapping.java:152)
         at oracle.toplink.mappings.CollectionMapping.buildCloneForPartObject(CollectionMapping.java:101)
         at oracle.toplink.internal.indirection.NoIndirectionPolicy.cloneAttribute(NoIndirectionPolicy.java:43)
         at oracle.toplink.mappings.ForeignReferenceMapping.buildClone(ForeignReferenceMapping.java:161)
         at oracle.toplink.internal.descriptors.ObjectBuilder.populateAttributesForClone(ObjectBuilder.java:1457)
         at oracle.toplink.publicinterface.UnitOfWork.cloneAndRegisterNewObject(UnitOfWork.java:580)
         at oracle.toplink.publicinterface.UnitOfWork.internalRegisterObject(UnitOfWork.java:2330)
         at oracle.toplink.publicinterface.UnitOfWork.registerObject(UnitOfWork.java:3133)
         at oracle.toplink.workbench.ui.WorkbenchSession.registerProject(WorkbenchSession.java:563)
         at oracle.toplink.workbench.ui.WorkbenchSession.addProject(WorkbenchSession.java:147)
         at oracle.toplink.workbench.ui.WorkbenchSession.addNewProject(WorkbenchSession.java:133)
         at oracle.toplink.workbench.ui.MainView.addNewProject(MainView.java:239)
         at oracle.toplink.workbench.filesystem.MWFileFactory.openImp(MWFileFactory.java:204)
         at oracle.toplink.workbench.filesystem.MWFileFactory.open(MWFileFactory.java:156)
         at oracle.toplink.tsceditor.persistence.PersistenceManager.open(PersistenceManager.java:747)
         at oracle.toplink.tsceditor.ui.persistence.DefaultUIPersistence.open(DefaultUIPersistence.java:181)
         at oracle.toplink.tsceditor.ui.persistence.UIPersistenceManager.open(UIPersistenceManager.java:625)
         at oracle.toplink.tsceditor.ui.persistence.UIPersistenceManager$OpenFile.execute(UIPersistenceManager.java:1095)
         at oracle.toplink.tsceditor.utility.Thread.run(Thread.java:114)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.toplink.internal.descriptors.MethodAttributeAccessor.getAttributeValueFromObject(MethodAttributeAccessor.java:39)
         ... 119 more
    Caused by: java.lang.NullPointerException
         at oracle.toplink.workbench.model.meta.MWClass.superclassIsDefaultValue(MWClass.java:1253)
         at oracle.toplink.workbench.model.meta.MWClass.isStub(MWClass.java:1214)
         ... 123 more
    Has anyone a clue where I should look? Are there features in the 9.0.3 Mapping Workbench not yet supported in 10.0.3?
    Do I need to make settings in 10g before attempting the import/conversion?
    Could there be a wrongly set Classpath?
    When attempting to have the 9.0.3 generated deployment-xml file for this application interpreted using the 10g toplink.jar, I receive the following error:
    Exception [TOPLINK-7094] (OracleAS TopLink - 10g (10.0.3) Developer Preview (Build 030902.1548)): oracle.toplink.exceptions.ValidationException Exception Description: Local Exception Stack: Exception Description: Several [2] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9005] (OracleAS TopLink - 10g (10.0.3) Developer Preview (Build 030902.1548)): oracle.toplink.exceptions.SessionLoaderException Exception Description: An exception was thrown while loading the file [UdoToplink.xml]. Internal Exception: java.lang.VerifyError: (class: oracle/toplink/tools/workbench/XMLProjectReader, method: read signature: (Ljava/lang/String;)Loracle/toplink/sessions/Project;) Incompatible argument to function *** Exception [TOPLINK-9001] (OracleAS TopLink - 10g (10.0.3) Developer Preview (Build 030902.1548)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unknown tag name: [session] in XML node: [toplink-configuration]. Internal Exception: java.lang.reflect.InvocationTargetException Target Invocation Exception: java.lang.NullPointerException at oracle.toplink.exceptions.SessionLoaderException.finalException(SessionLoaderException.java:90) at oracle.toplink.tools.sessionconfiguration.XMLLoader.load(Unknown Source)
    *** Local Exception Stack: Exception [TOPLINK-9005] (OracleAS TopLink - 10g (10.0.3) Developer Preview (Build 030902.1548)): oracle.toplink.exceptions.SessionLoaderException Exception Description: An exception was thrown while loading the file [UdoToplink.xml]. Internal Exception: java.lang.VerifyError: (class: oracle/toplink/tools/workbench/XMLProjectReader, method: read signature: (Ljava/lang/String;)Loracle/toplink/sessions/Project;) Incompatible argument to function at oracle.toplink.exceptions.SessionLoaderException.failedToLoadProjectXml(SessionLoaderException.java:75) at oracle.toplink.tools.sessionconfiguration.XMLLoader.process_project_xml_Tag(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at oracle.toplink.tools.sessionconfiguration.XMLLoader.process_session_Tag(Unknown Source) at java.lang.reflect.Method.invoke(Native Method) at oracle.toplink.tools.sessionconfiguration.XMLLoader.processRootTag(Unknown Source) at oracle.toplink.tools.sessionconfiguration.XMLLoader.load(Unknown Source) at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Unknown Source) at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Unknown Source) at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Unknown Source) at
    Local Exception Stack: Exception [TOPLINK-9001] (OracleAS TopLink - 10g (10.0.3) Developer Preview (Build 030902.1548)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unknown tag name: [session] in XML node: [toplink-configuration]. Internal Exception: java.lang.reflect.InvocationTargetException Target Invocation Exception: java.lang.NullPointerException at oracle.toplink.exceptions.SessionLoaderException.unkownTagAtNode(SessionLoaderException.java:60) at oracle.toplink.tools.sessionconfiguration.XMLLoader.processRootTag(Unknown Source) at oracle.toplink.tools.sessionconfiguration.XMLLoader.load(Unknown Source) at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Unknown Source) at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Unknown Source) at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(Unknown Source) at
    Thanks for any help you may provide.
    Lucas Jellema

    Lucas,
    I have not seen this issue before. We'll investigate and contact you directly for more info. I'll post the resolution back to this forum once available.
    Doug

  • Failing to load processes after installing patch 10.1.2.3

    I have installed patch 10.1.2.3 after Oracle advised that it may resolve some database adapter problems I was getting in 10.1.2.0.2. However after installing the patch, many of the BPEL processes are now failing to load when I bounce the OC4J component and I am getting ORABPEL-05215 errors.
    I turned on debug logging and an extract of the log file is as follows, has anybody got any ideas on how I might resolve these errors;
    <2008-07-09 15:32:33,311> <ERROR> <default.collaxa.cube.engine.deployment> <CubeProcessLoader::create>
    <2008-07-09 15:32:33,310> <ERROR> <default.collaxa.cube.engine.deployment> Process "DRSSecuritiesReader" (revision "1.0") load FAILED!!
    <2008-07-09 15:32:33,375> <DEBUG> <default.collaxa.cube.engine.dispatch> <BaseDispatchSet::receive> Receiving message log process event message afa47b51cbfc4dfa:4ee70b:11b0
    83c6e51:-7ffc for set system
    <2008-07-09 15:32:33,376> <DEBUG> <default.collaxa.cube.engine.dispatch> <Dispatcher::adjustThreadPool> Allocating 1 thread(s); pending threads: 1, active threads: 0, total
    : 0
    <2008-07-09 15:32:33,378> <DEBUG> <default.collaxa.cube.engine.dispatch> <QueueConnectionPool::getConnection> Fetched a queue connection from pool java:comp/env/jms/collaxa
    /BPELWorkerQueueFactory, available connections=24, total connections=25
    <2008-07-09 15:32:33,403> <DEBUG> <default.collaxa.cube.engine.dispatch> <DispatcherBean::send> Sent message to queue
    <2008-07-09 15:32:33,403> <DEBUG> <default.collaxa.cube.engine.dispatch> <QueueConnectionPool::releaseConnection> Released queue connection to pool java:comp/env/jms/collax
    a/BPELWorkerQueueFactory, available connections=25, total connections=25
    <2008-07-09 15:32:33,404> <DEBUG> <default.collaxa.cube.engine.deployment> <CubeProcessHolder::bind> Exception while loading process
    java.lang.AbstractMethodError
    at com.collaxa.cube.engine.core.BaseCubeProcess.loadActivationAgents(BaseCubeProcess.java:946)
    at com.collaxa.cube.engine.core.BaseCubeProcess.load(BaseCubeProcess.java:310)
    at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProcessFactory.java:66)
    at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProcessLoader.java:391)
    at com.collaxa.cube.engine.deployment.CubeProcessLoader.load(CubeProcessLoader.java:302)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:882)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeProcessHolder.java:790)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAll(CubeProcessHolder.java:362)
    at com.collaxa.cube.engine.CubeEngine.loadAllProcesses(CubeEngine.java:910)
    at com.collaxa.cube.admin.ServerManager.loadProcesses(ServerManager.java:284)
    at com.collaxa.cube.admin.ServerManager.loadProcesses(ServerManager.java:250)
    at com.collaxa.cube.ejb.impl.ServerBean.loadProcesses(ServerBean.java:219)
    at IServerBean_StatelessSessionBeanWrapper14.loadProcesses(IServerBean_StatelessSessionBeanWrapper14.java:2466)
    at com.collaxa.cube.admin.agents.ProcessLoaderAgent$ProcessJob.execute(ProcessLoaderAgent.java:401)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:141)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:281)
    <2008-07-09 15:32:33,419> <ERROR> <default.collaxa.cube.engine.deployment> <CubeProcessHolder::loadAll> Error while loading process 'DRSSecuritiesReader', rev '1.0': Error
    while loading process.
    The process domain encountered the following errors while loading the process "DRSSecuritiesReader" (revision "1.0"): null.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "DRSSecuritiesReader" (revision "1.0"): null.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:1270)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAndBind(CubeProcessHolder.java:883)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.getProcess(CubeProcessHolder.java:790)
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.loadAll(CubeProcessHolder.java:362)
    at com.collaxa.cube.engine.CubeEngine.loadAllProcesses(CubeEngine.java:910)
    at com.collaxa.cube.admin.ServerManager.loadProcesses(ServerManager.java:284)
    at com.collaxa.cube.admin.ServerManager.loadProcesses(ServerManager.java:250)
    at com.collaxa.cube.ejb.impl.ServerBean.loadProcesses(ServerBean.java:219)
    at IServerBean_StatelessSessionBeanWrapper14.loadProcesses(IServerBean_StatelessSessionBeanWrapper14.java:2466)
    at com.collaxa.cube.admin.agents.ProcessLoaderAgent$ProcessJob.execute(ProcessLoaderAgent.java:401)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:141)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:281)

    I forgot to mention that I did flush the JAR cache to make sure the new JAR's would be downloaded.
    Gerrit

  • Problem with creating Process order confirmation using BAPI

    Hello,
    While creating Process Order confirmation using BAPI_PROCORDCONF_CREATE_TT, material document is getting created. But a line item is inserted in the table AFRU without material document number. When it is created manually using the transaction COR6, the table is getting updated with material doc in the line item. Can anyone let me know what other attributes to be passed in order the update the same?
    Thanks in Advance.
    Regards, Senthil G.

    Hello , I am working with the same Bapi, can you please send me the code to fill the parameters, if I find the same error like you, I will send you the solution if I correct that.
    Thanks for your help.
    [email protected]
    Guatemala, Cempro ADATSA

  • Automating Oracle Server Installation using response file

    I am automating Oracle Server Installation using response file. No Installer page should be displayed, except 'Optional Config Tools' page at the end of the installation showing the list of optional configuration tools e.g Net Configuration Assistant, Database Configuration Assistant, and Intelligent Agent Configuration Assistant. All other pages would not be displayed.
    My response file doesn't seem to work this way. During installation, it displays the 'Create Database' page asking whether you want Database Configuration Assistant to be automatically launched at the end of the installation for database creation. How do I prevent this page from displaying, while selecting default option (Yes) using response file?

    Provide info about the OS you are using and Oracle version.
    -Sri

  • Unable to deploy a simple servlet using WAR file on Oracle9iAS v9.0.3

    Hi All,
    I am facing problem while deploying a simple servlet using WAR file on Oracle 9i App Server.
    I have installed Oracle9iAS J2EE and Web Cache v9.0.3 on Windows 2000 server.
    It includes:
         - Oracle HTTP Server
         - Oracle9iAS Containers for J2EE
         - Oracle9iAS Web Cache
         - Oracle Enterprise Manager
    The release of installed Oracle9iAS is Release 2 (9.0.3)      
    I referred following link to Deploy Applications Using WAR file:
         http://otn.oracle.com/products/ias/daily/sept12.html
    As mentioned in this documentation I have followed following steps to deploy WAR file:
    1] I have created a war file by name SimpleServlet.war. In SimpleServlet.war, there is a servlet by name Simple which prints time at which servlet was accessed.
    2] I have modified <ora9ias_home>\j2ee\home\config\application.xml and added following web module entry:
         <web-module id="SimpleServlet" path="../../home/applications/SimpleServlet.war" />
    3] To make this module accessible from over the web, I have modified file
         <ora9ias_home>\j2ee\home\config\default-web-site.xml and added following entry:
         <web-app application="SimpleServlet" name="SimpleServlet" root="/SimpleServlet"/>
    4] I saved both the files and started Oracle HTTP Server and accessed page as below:
              http://<server>:7777/SimpleServlet/Simple
    where Simple is servlet in SimpleServlet.war file.          
    In the browser, The page cannot be found is shown to user. I have verified that SimpleServlet.war is extracted to SimpleServlet folder under <ora9ias_home>\j2ee\home\applications folder. I found that Simple.class is stored under WEB-INF/classes folder and web.xml contains correct entry for url pattern for servlet Simple.
    What else could be the problem? Am I placing the war file in wrong place or modifying application.xml or default-web-site.xml in a wrong directory?
    This is very urgent. Please help me with your valuable comments on this.
    Thanks in advance.
    Regards,
    Sandesh

    Hi All,
    I am facing problem while deploying a simple servlet
    using WAR file on Oracle 9i App Server.
    I have installed Oracle9iAS J2EE and Web Cache v9.0.3
    on Windows 2000 server.
    It includes:
         - Oracle HTTP Server
         - Oracle9iAS Containers for J2EE
         - Oracle9iAS Web Cache
         - Oracle Enterprise Manager
    The release of installed Oracle9iAS is Release 2
    (9.0.3)      
    I referred following link to Deploy Applications
    Using WAR file:
         http://otn.oracle.com/products/ias/daily/sept12.html
    As mentioned in this documentation I have followed
    following steps to deploy WAR file:
    1] I have created a war file by name
    SimpleServlet.war. In SimpleServlet.war, there is a
    servlet by name Simple which prints time at which
    servlet was accessed.
    2] I have modified
    <ora9ias_home>\j2ee\home\config\application.xml and
    added following web module entry:
    <web-module id="SimpleServlet"
    path="../../home/applications/SimpleServlet.war" />
    3] To make this module accessible from over the web,
    I have modified file
    <ora9ias_home>\j2ee\home\config\default-web-site.xml
    and added following entry:
    <web-app application="SimpleServlet"
    name="SimpleServlet" root="/SimpleServlet"/>
    4] I saved both the files and started Oracle HTTP
    Server and accessed page as below:
              http://<server>:7777/SimpleServlet/Simple
    where Simple is servlet in SimpleServlet.war file.          
    In the browser, The page cannot be found is shown to
    user. I have verified that SimpleServlet.war is
    extracted to SimpleServlet folder under
    <ora9ias_home>\j2ee\home\applications folder. I found
    that Simple.class is stored under WEB-INF/classes
    folder and web.xml contains correct entry for url
    pattern for servlet Simple.
    What else could be the problem? Am I placing the war
    file in wrong place or modifying application.xml or
    default-web-site.xml in a wrong directory?
    This is very urgent. Please help me with your
    valuable comments on this.
    Thanks in advance.
    Regards,
    SandeshHave you restarted you http server and then tried to load it again? Are you using the right port; maybe you have to use port 7778? Check you server settings in the http server instance. Also check your url binding of you application at Farm > Application Server: infrastructurehost > OC4J_instance > Application: appname > Web Module: modulename
    Good luck!
    rgds Thomas

Maybe you are looking for