Org.exolab.castor.xml.MarshalException:Unable to instantiate java.util.List

Hi,
I am using castor to unmarshal an xml into a java object.
This object has member variables as collections (List).
Even though in the mapping file I used collections attribute of <field> tag and has set it to arraylist, it is still throwing this exception.
After doing a bit of research on this,I found that since UnmarshalHandler uses reflection to create object from xml, it is trying to invoke java.util.List.newInstance() which is causing this problem.
The class which I am trying to unmarshal is an already existing class and I cannot change the type of the member variables to ArrayList from List.
How can it be resolved?

The exception trace is as below :
Caused by: java.lang.InstantiationException: java.util.List() method not
found
at
org.exolab.castor.xml.UnmarshalHandler.createInstance(UnmarshalHandler.java:2584)
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:2348)
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1436)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)

Similar Messages

  • Castor xml data binding

    Hi,
    i try to use castor with jdev so i put castor-0.9.5.3.jar
    in my libraries.
    But when i try to use the unmarshaller i got this error :
    java.lang.NoClassDefFoundError: org.exolab.castor.util.LocalConfiguration
         at org.exolab.castor.xml.Unmarshaller.initConfig(Unmarshaller.java:265)
         at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:221)
         at org.exolab.castor.xml.Unmarshaller.<init>(Unmarshaller.java:208)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:684)
         at ReadPerson.main(ReadPerson.java:8)
    here is my test code :
    import java.io.FileReader;
    import org.exolab.castor.xml.Unmarshaller;
    public class ReadPerson {
         public static void main(String args[]) {
              try {
                   Person person = (Person) Unmarshaller.unmarshal(Person.class,
                                                                               new FileReader("D:/Castor/person.xml"));
                   System.out.println("Person Attributes");
                   System.out.println("-----------------");
                   System.out.println("Name: " + person.getName() );
                   System.out.println("Address: " + person.getAddress() );
                   System.out.println("SSN: " + person.getSsn() );
                   System.out.println("Email: " + person.getEmail() );
                   System.out.println("Home Phone: " + person.getHomePhone() );
                   System.out.println("Work Phone: " + person.getWorkPhone() );
              } catch (Exception e) {
                   System.out.println( e );
    Thanks !

    FYI:
    I tried Castor. In my opinion, there's a much better solution BC4J. BC4J lets you read and write your objects to XML, using readXML and writeXML. It seems more mature than Castor.
    If you are just reading and writing your object or collection of objects and hierarchy to file, then you only use readXML and writeXML.
    With BC4J, you model you objects in BC4J, then BC4J allows you to create a DTD for these objects. So if you have inbound or outbound XML that you need to transform from/to, you can then use this DTD and the DTD/XML Schema of the other format to write a xslt transformation.
    Another benefit, you can pass object hierarchies across a web service using writeXML on the client side and then readXML to repopulate the object hierarchy on the server side of the web service.
    Richard Catlin

  • Problem with castor xml mapping

    Hi,
    we have following problem with castor xml mapping.
    How to use references in the collections(Hashmap or vector)?
    WE have a method called getAttribute map which will return a hashmap consist different type of objects. We want to keep only the
    references of objects if that object occurs more than once,instead of keeping the whole object
    Following is the the xml mapping file.
    <mapping>
    <class name="com.opvista.ndtool.core.mos.ManagedObject" identity="Id" auto-complete="false" verify-constructable="false">
    <map-to xml="ManagedObject"/>
    <field name="Id" get-method="getId" set-method="setId" type="string">
    <bind-xml name="Id" node="attribute"/>
    </field>
    <field name="AttributeMap" type="org.exolab.castor.mapping.MapItem" collection="map" get-method="getAttributeMap">
    <bind-xml name="AttributeMap" node="element">
         <class name="org.exolab.castor.mapping.MapItem">
    <field name="key" type="java.lang.Object">
         <bind-xml name="key" node="attribute"/>
    </field>
    <field name="value" type="java.lang.Object">
         <bind-xml name="value" node="element" reference="true"/>
         </field>
    </class>
         </bind-xml>
    </field>
    </class>
    </mapping>
    we are using reference=true for the values. But it will throw below exception.
    Unable to resolve ID for instance of class 'java.lang.String' due to the following error: Unable to resolve ClassDescriptor.
         at org.exolab.castor.xml.Marshaller.getObjectID(Marshaller.java:1988)
         at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:1628)
         at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:1831)
         at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:1814)
         at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:1825)
         at org.exolab.castor.xml.Marshaller.marshal(Marshaller.java:821)
    Please help us to overcome from this problem?
    Thanks,
    Dileep

    for your ref here is what i think the basic mapping file would look like
    <class name="Person">
    <map-to xml="person"/>
    <field name="name" type="string">
    <bind-xml name="name" node="attribute" />
    </field>
    <field name="age" type="string">
    <bind-xml name="age" node="attribute" />
    </field>
    </class>
    <class name="MetaPerson">
    <map-to xml="person"/>
    <field name="dependents" type="string">
    <bind-xml name="dependents" node="attribute" />
    </field>
    <field name="presentAdd" type="string">
    <bind-xml name="present_add " node="attribute" />
    </field>
    <field name="permanentAdd" type="string">
    <bind-xml name="permanent_add " node="attribute" />
    </field>
    </class>
    however i am still not clear as to how i can use the metaperson object in the person class as well as in the mapping file.
    hope this gives a better idea abt my problem statement.
    Please help me out

  • Castor XML mapping

    I am using and XML and trying to map to a class. I do not want to fit all the fields in XML to fields in java class.
    For example: I have fields field1, field2, field3 in XML. But my java class wants only field1 and field2 and NOT field3. How do I do it. I want to ignore field3.
    Mapping map = new Mapping();
    map.loadMapping("mapping.xml");
    Reader reader = new FileReader("abc.xml");
    Unmarshaller unmarshaller = new Unmarshaller(map);
    ABCClass read = (ABCClass)unmarshaller.unmarshal(reader);
    System.out.println(read);
    Getting error: unable to find FieldDescriptor for field3' in ClassDescriptor of ABC-Class
    Above error looks very logical. I don't want to check java class for all the tags/fields in XML doc,
    I guess this is a general requirement in many cases and simple to solve.
    Thanks

    hi, I'm also having an error message stated like this
    unable to find FieldDescriptor for 'ope-act-code' in ClassDescriptor of tireoperation-bean{file: [not available]; line: 1; column: 6551}
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:707)
         at com.michelin.npc.shipment.bp.ImportWareFileManagementProcess.importWareFile(ImportWareFileManagementProcess.java:57)
         at com.michelin.npc.shipment.bp.ImportWareFileManagementProcess.getImpWareRefBean(ImportWareFileManagementProcess.java:104)
         at com.michelin.npc.shipment.bp.ImportWareFileManagementProcess.processImpWareRef(ImportWareFileManagementProcess.java:94)
         at com.michelin.npc.rcp.shipment.actions.ShipmentImportFileAction.executeAction(ShipmentImportFileAction.java:34)
         at com.michelin.xnet.rcp.actions.XnetAction.run(XnetAction.java:54)
         at com.michelin.xnet.rcp.actions.XnetAction.run(XnetAction.java:46)
         at com.michelin.npc.rcp.shipment.wizards.ShipmentImportFileWizard$1.run(ShipmentImportFileWizard.java:35)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
         at com.michelin.npc.rcp.shipment.wizards.ShipmentImportFileWizard.performFinish(ShipmentImportFileWizard.java:26)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355)
         at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at com.michelin.xrcp.desktop.internal.Application.run(Application.java:40)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
         at org.eclipse.core.launcher.Main.run(Main.java:977)
         at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: org.xml.sax.SAXException: unable to find FieldDescriptor for 'ope-act-code' in ClassDescriptor of tireoperation-bean
         at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1933)
         at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1375)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:693)
         ... 37 more
    Caused by: org.xml.sax.SAXException: unable to find FieldDescriptor for 'ope-act-code' in ClassDescriptor of tireoperation-bean
         at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1933)
         at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1375)
         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
         at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:693)
         at com.michelin.npc.shipment.bp.ImportWareFileManagementProcess.importWareFile(ImportWareFileManagementProcess.java:57)
         at com.michelin.npc.shipment.bp.ImportWareFileManagementProcess.getImpWareRefBean(ImportWareFileManagementProcess.java:104)
         at com.michelin.npc.shipment.bp.ImportWareFileManagementProcess.processImpWareRef(ImportWareFileManagementProcess.java:94)
         at com.michelin.npc.rcp.shipment.actions.ShipmentImportFileAction.executeAction(ShipmentImportFileAction.java:34)
         at com.michelin.xnet.rcp.actions.XnetAction.run(XnetAction.java:54)
         at com.michelin.xnet.rcp.actions.XnetAction.run(XnetAction.java:46)
         at com.michelin.npc.rcp.shipment.wizards.ShipmentImportFileWizard$1.run(ShipmentImportFileWizard.java:35)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:851)
         at com.michelin.npc.rcp.shipment.wizards.ShipmentImportFileWizard.performFinish(ShipmentImportFileWizard.java:26)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:680)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:355)
         at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at com.michelin.xrcp.desktop.internal.Application.run(Application.java:40)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
         at org.eclipse.core.launcher.Main.run(Main.java:977)
         at org.eclipse.core.launcher.Main.main(Main.java:952)
    and my mapping xml is like this.
    <?xml version="1.0"?>
    <!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN" "http://castor.exolab.org/mapping.dtd">
    <mapping>
         <!-- MAIN start -->
    <class name="com.michelin.npc.shipment.bo.ImpWareFileBean">
         <map-to xml="EXPORT_WAREHOUSE"/>      
         <field name="impWareReferential"
    type="com.michelin.npc.shipment.bo.ImpWareFileReferentialBean">
    <bind-xml name="REFERENTIAL"/>
    </field>
    <field name="impWareShipment"
    type="com.michelin.npc.shipment.bo.ImpWareFileShipmentBean">
    <bind-xml name="SHIPMENT"/>
    </field>
    </class>
    <!-- MAIN end -->
    <!-- REFERENTIAL begin -->
    <class name="com.michelin.npc.shipment.bo.ImpWareFileReferentialBean">
         <field name="tireStates"
    type="com.michelin.npc.tirestate.bo.TirestateBean"
    collection="collection">
    <bind-xml name="TB_REF_TIRESTATE"/>
    </field>
         <field name="tireFittings"
    type="com.michelin.npc.tirefitting.bo.TirefittingBean"
    collection="collection">
    <bind-xml name="TB_REF_TIREFITTING"/>
    </field>
         <field name="tireOperations"
    type="com.michelin.npc.tireoperation.bo.TireoperationBean"
    collection="collection">
    <bind-xml name="TB_REF_TIREOPERATION"/>
    </field>
         <field name="places"
    type="com.michelin.npc.place.bo.PlaceBean"
    collection="collection">
    <bind-xml name="TB_REF_PLACE"/>
    </field>
         <field name="dtoCategories"
    type="com.michelin.npc.dtocategory.bo.DtocategoryBean"
    collection="collection">
    <bind-xml name="TB_REF_DTOCATEGORY"/>
    </field>
         <field name="dtoFamilies"
    type="com.michelin.npc.dtofamily.bo.DtofamilyBean"
    collection="collection">
    <bind-xml name="TB_REF_DTOFAMILY"/>
    </field>
         <field name="groups"
    type="com.michelin.npc.group.bo.GroupBean"
    collection="collection">
    <bind-xml name="TB_REF_GROUP"/>
    </field>
         <field name="activities"
    type="com.michelin.npc.activity.bo.ActivityBean"
    collection="collection">
    <bind-xml name="TB_REF_ACTIVITY"/>
    </field>
         <field name="parameters"
    type="com.michelin.npc.parameter.bo.ParameterBean"
    collection="collection">
    <bind-xml name="TB_REF_PARAMETER"/>
    </field>
    </class>
         <class name="com.michelin.npc.tirestate.bo.TirestateBean">
              <field name="actCode" type="java.lang.String" >
                   <bind-xml name="STATE_ACT_CODE" node="attribute" />
              </field>
              <field name="stateCode" type="java.lang.String" >
                   <bind-xml name="STATE_CODE" node="attribute" />
              </field>
              <field name="stateName" type="java.lang.String" >
                   <bind-xml name="STATE_NAME" type="varchar" />
              </field>
              <field name="stateLlStock" type="java.lang.String" >
                   <bind-xml name="STATE_LL_STOCK" type="varchar" />
              </field>
              <field name="stateConsup" type="java.lang.String" >
                   <bind-xml name="STATE_CONSUP" type="varchar" />
              </field>
              <field name="stateStockShown" type="java.lang.String" >
                   <bind-xml name="STATE_STOCK_SHOWN" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.tirefitting.bo.TirefittingBean">
              <field name="actCode" type="java.lang.String" >
                   <bind-xml name="FIT_ACT_CODE" node="attribute" />
              </field>
              <field name="fitCode" type="java.lang.String" >
                   <bind-xml name="FIT_CODE" type="varchar" />
              </field>
              <field name="fitName" type="java.lang.String" >
                   <bind-xml name="FIT_NAME" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.tireoperation.bo.TireoperationBean">
              <field name="actCode" type="java.lang.String" >
                   <sql name="OPE_ACT_CODE" node="attribute" />
              </field>
              <field name="opeCode" type="java.lang.String" >
                   <sql name="OPE_CODE" type="varchar" />
              </field>
              <field name="opeName" type="java.lang.String" >
                   <sql name="OPE_NAME" type="varchar" />
              </field>
         </class>     
         <class name="com.michelin.npc.place.bo.PlaceBean">
              <field name="plCode" type="java.lang.String" >
                   <sql name="PL_CODE" node="attribute" />
              </field>
              <field name="plName" type="java.lang.String" >
                   <sql name="PL_NAME" type="varchar" />
              </field>
              <field name="plWareh" type="java.lang.String" >
                   <sql name="PL_WAREH" type="varchar" />
              </field>
              <field name="plInvoice" type="java.lang.String" >
                   <sql name="PL_INVOICE" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.dtocategory.bo.DtocategoryBean">
              <field name="actCode" type="java.lang.String" >
                   <sql name="CAT_ACT_CODE" node="attribute" />
              </field>
              <field name="catCode" type="java.lang.String" >
                   <sql name="CAT_CODE" type="varchar" />
              </field>
              <field name="catName" type="java.lang.String" >
                   <sql name="CAT_NAME" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.dtofamily.bo.DtofamilyBean">
              <field name="actCode" type="java.lang.String" >
                   <sql name="FAM_ACT_CODE" node="attribute"/>
              </field>
              <field name="famCode" type="java.lang.String" >
                   <sql name="FAM_CODE" type="varchar" />
              </field>
              <field name="famName" type="java.lang.String" >
                   <sql name="FAM_NAME" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.group.bo.GroupBean">
              <field name="actCode" type="java.lang.String" >
                   <sql name="GR_ACT_NUM" node="attribute" />
              </field>
              <field name="grNum" type="java.math.BigDecimal" >
                   <sql name="GR_NUM" type="decimal" />
              </field>
              <field name="grQtyMax" type="java.math.BigDecimal" >
                   <sql name="GR_QTY_MAX" type="decimal" />
              </field>
              <field name="grDtoMax" type="java.math.BigDecimal" >
                   <sql name="GR_DTO_MAX" type="decimal" />
              </field>
              <field name="grComment" type="java.lang.String" >
                   <sql name="GR_COMMENT" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.activity.bo.ActivityBean">
              <field name="actCode" type="java.lang.String" >
                   <sql name="ACT_CODE" node="attribute"/>
              </field>
              <field name="actName" type="java.lang.String" >
                   <sql name="ACT_NAME" type="varchar" />
              </field>
              <field name="actUnity" type="java.lang.String" >
                   <sql name="ACT_UNITY" type="varchar" />
              </field>
              <field name="actInvoicing" type="java.lang.String" >
                   <sql name="ACT_INVOICING" type="varchar" />
              </field>
              <field name="actWallpaper" type="java.lang.String" >
                   <sql name="ACT_WALLPAPER" type="varchar" />
              </field>
              <field name="actLogo" type="java.lang.String" >
                   <sql name="ACT_LOGO" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.parameter.bo.ParameterBean">
              <field name="actCode" type="java.lang.String" >
                   <sql name="PAR_ACT_CODE" node="attribute"/>
              </field>
              <field name="parCode" type="java.lang.String" >
                   <sql name="PAR_CODE" type="varchar" />
              </field>
              <field name="parValue" type="java.lang.String" >
                   <sql name="PAR_VALUE" type="varchar" />
              </field>
              <field name="parName" type="java.lang.String" >
                   <sql name="PAR_NAME" type="varchar" />
              </field>
         </class>
         <!-- REFERENTIAL end -->
    <!-- SHIPMENT begin -->     
    <class name="com.michelin.npc.shipment.bo.ImpWareFileShipmentBean">
         <field name="shipment"
    type="com.michelin.npc.shipment.bo.ShipmentBean">
    <bind-xml name="TB_TRN_SHIPMENT"/>
    </field>
         <field name="grMakes"
    type="com.michelin.npc.grmake.bo.GrMakeBean"
    collection="collection">
    <bind-xml name="TB_TRN_GR_MAKE"/>
    </field>
         <field name="packingList"
    type="com.michelin.npc.packinglist.bo.PackinglistBean"
    collection="collection">
    <bind-xml name="TB_TRN_PACKINGLIST"/>
    </field>
         <field name="tires"
    type="com.michelin.npc.tire.bo.TireBean"
    collection="collection">
    <bind-xml name="TB_TRN_TIRE"/>
    </field>
         <field name="dtos"
    type="com.michelin.npc.dto.bo.DtoBean"
    collection="collection">
    <bind-xml name="TB_TRN_DTO"/>
    </field>
         <field name="cqs"
    type="com.michelin.npc.cq.bo.CqBean"
    collection="collection">
    <bind-xml name="TB_TRN_CQ"/>
    </field>
         <field name="traceability"
    type="com.michelin.npc.traceability.bo.TraceabilityBean"
    collection="collection">
    <bind-xml name="TB_TRN_TRACEABILITY"/>
    </field>
    </class>
         <class name="com.michelin.npc.shipment.bo.ShipmentBean" >
              <field name="shipAutoNum" type="java.math.BigDecimal" >
                   <bind-xml name="SHIP_AUTO_NUM" node="attribute" />
              </field>
              <field name="actCode" type="java.lang.String" >
                   <bind-xml name="SHIP_ACT_CODE" type="varchar" />
              </field>
              <field name="plCodeShipper" type="java.lang.String" >
                   <bind-xml name="SHIP_PL_CODE_SHIPPER" type="varchar" />
              </field>
              <field name="plCodeDest" type="java.lang.String" >
                   <bind-xml name="SHIP_PL_CODE_DEST" type="varchar" />
              </field>
              <field name="shipEventDate" type="java.util.Date" >
                   <bind-xml name="SHIP_EVENT_DATE" type="timestamp" />
              </field>
              <field name="shipName" type="java.lang.String" >
                   <bind-xml name="SHIP_NAME" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.grmake.bo.GrMakeBean">
              <field name="grNum" type="java.math.BigDecimal" >
                   <sql name="GRM_GR_NUM" type="decimal" />
              </field>
              <field name="actCode" type="java.lang.String" >
                   <sql name="GRM_ACT_CODE" type="varchar" />
              </field>
              <field name="shipAutoNum" type="java.math.BigDecimal" >
                   <sql name="GRM_SHIP_NUM" type="decimal" />
              </field>
         </class>
         <class name="com.michelin.npc.packinglist.bo.PackinglistBean">
              <field name="shipAutoNum" type="java.math.BigDecimal" >
                   <sql name="PL_SHIP_NUM" type="decimal" />
              </field>
              <field name="plAutoNum" type="java.math.BigDecimal" >
                   <sql name="PL_AUTO_NUM" type="decimal" />
              </field>
              <field name="plName" type="java.lang.String" >
                   <sql name="PL_NAME" type="varchar" />
              </field>
              <field name="plDate" type="java.util.Date" >
                   <sql name="PL_DATE" type="timestamp" />
              </field>
              <field name="plCarrier" type="java.lang.String" >
                   <sql name="PL_CARRIER" type="varchar" />
              </field>
              <field name="plVehicle" type="java.lang.String" >
                   <sql name="PL_VEHICLE" type="varchar" />
              </field>
              <field name="plSent" type="java.lang.String" >
                   <sql name="PL_SENT" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.tire.bo.TireBean">
              <field name="actCode" type="java.lang.String" >
                   <sql name="TIRE_ACT_CODE" type="varchar" />
              </field>
              <field name="grNum" type="java.math.BigDecimal" >
                   <sql name="TIRE_GR_NUM" type="decimal" />
              </field>
              <field name="plCodeConsup" type="java.lang.String" >
                   <sql name="TIRE_PLA_CODE_CONSUP" type="varchar" />
              </field>
              <field name="plCode" type="java.lang.String" >
                   <sql name="TIRE_PL_CODE" type="varchar" />
              </field>
              <field name="fitCodeConsup" type="java.lang.String" >
                   <sql name="TIRE_FIT_CODE_CONSUP" type="varchar" />
              </field>
              <field name="fitCode" type="java.lang.String" >
                   <sql name="TIRE_FIT_CODE" type="varchar" />
              </field>
              <field name="opeCode" type="java.lang.String" >
                   <sql name="TIRE_OPE_CODE" type="varchar" />
              </field>
              <field name="stateCode" type="java.lang.String" >
                   <sql name="TIRE_STATE_CODE" type="varchar" />
              </field>
              <field name="boxNum" type="java.lang.String" >
                   <sql name="TIRE_BOX_CODE" type="varchar" />
              </field>
              <field name="dtoNumOrig" type="java.lang.String" >
                   <sql name="TIRE_DTO_NUM_ORIGIN" type="varchar" />
              </field>
              <field name="dtoNum" type="java.lang.String" >
                   <sql name="TIRE_DTO_NUM" type="varchar" />
              </field>
              <field name="llAutoNum" type="java.math.BigDecimal" >
                   <sql name="TIRE_LL_NUM" type="decimal" />
              </field>
              <field name="plAutoNum" type="java.math.BigDecimal" >
                   <sql name="TIRE_PL_NUM" type="decimal" />
              </field>
              <field name="shipAutoNum" type="java.math.BigDecimal" >
                   <sql name="TIRE_SHIP_NUM" type="decimal" />
              </field>
              <field name="tireCab" type="java.lang.String" >
                   <sql name="TIRE_CAB" type="varchar" />
              </field>
              <field name="tireMat" type="java.lang.String" >
                   <sql name="TIRE_MAT" type="varchar" />
              </field>
              <field name="tireFia" type="java.lang.String" >
                   <sql name="TIRE_FIA" type="varchar" />
              </field>
              <field name="tireSituation" type="java.lang.String" >
                   <sql name="TIRE_SITUATION" type="varchar" />
              </field>
              <field name="tireWeight" type="java.math.BigDecimal" >
                   <sql name="TIRE_WEIGHT" type="decimal" />
              </field>
              <field name="tireDateManu" type="java.util.Date" >
                   <sql name="TIRE_DATE_MANU" type="timestamp" />
              </field>
              <field name="tireLastUpdate" type="java.util.Date" >
                   <sql name="TIRE_LAST_UPDATE" type="timestamp" />
              </field>
              <field name="tireNbFitting" type="java.math.BigDecimal" >
                   <sql name="TIRE_NB_FITTING" type="decimal" />
              </field>
              <field name="tireDateConsup" type="java.util.Date" >
                   <sql name="TIRE_DATE_CONSUP" type="timestamp" />
              </field>
         </class>
         <class name="com.michelin.npc.dto.bo.DtoBean">
              <field name="caiCode" type="java.lang.String" >
                   <sql name="DTO_CAI_CODE" type="varchar" />
              </field>
              <field name="catCode" type="java.lang.String" >
                   <sql name="DTO_CAT_CODE" type="varchar" />
              </field>
              <field name="actCode" type="java.lang.String" >
                   <sql name="DTO_ACT_CODE" type="varchar" />
              </field>
              <field name="famCode" type="java.lang.String" >
                   <sql name="DTO_FAM_CODE" type="varchar" />
              </field>
              <field name="dtoNum" type="java.lang.String" >
                   <sql name="DTO_NUM" type="varchar" />
              </field>
              <field name="dtoDimension" type="java.lang.String" >
                   <sql name="DTO_DIMENSION" type="varchar" />
              </field>
              <field name="dtoFR" type="java.lang.String" >
                   <sql name="DTO_F_R" type="varchar" />
              </field>
              <field name="dtoLR" type="java.lang.String" >
                   <sql name="DTO_L_R" type="varchar" />
              </field>
              <field name="dtoCb" type="java.lang.String" >
                   <sql name="DTO_CB" type="varchar" />
              </field>
              <field name="dtoCbl" type="java.lang.String" >
                   <sql name="DTO_CBL" type="varchar" />
              </field>
              <field name="dtoLpc" type="java.lang.String" >
                   <sql name="DTO_LPC" type="varchar" />
              </field>
              <field name="dtoLimitedProd" type="java.lang.String" >
                   <sql name="DTO_LIMITED_PROD" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.cq.bo.CqBean">
              <field name="tireCab" type="java.lang.String" >
                   <sql name="CQ_CAB" type="varchar" />
              </field>
              <field name="cqCode" type="java.lang.String" >
                   <sql name="CQ_CODE" type="varchar" />
              </field>
              <field name="cqDate" type="java.util.Date" >
                   <sql name="CQ_DATE" type="timestamp" />
              </field>
              <field name="cqClassification" type="java.lang.String" >
                   <sql name="CQ_CLASSIFICATION" type="varchar" />
              </field>
              <field name="cqCote" type="java.lang.String" >
                   <sql name="CQ_COTE" type="varchar" />
              </field>
         </class>
         <class name="com.michelin.npc.traceability.bo.TraceabilityBean">
              <field name="tireCab" type="java.lang.String" >
                   <sql name="TRA_CAB" type="varchar" />
              </field>
              <field name="traDate" type="java.util.Date" >
                   <sql name="TRA_DATE" type="timestamp" />
              </field>
              <field name="traCode" type="java.lang.String" >
                   <sql name="TRA_CODE" type="varchar" />
              </field>
              <field name="traMat" type="java.lang.String" >
                   <sql name="TRA_MAT" type="varchar" />
              </field>
              <field name="traFia" type="java.lang.String" >
                   <sql name="TRA_FIA" type="varchar" />
              </field>
              <field name="traDtoNum" type="java.lang.String" >
                   <sql name="TRA_DTO_NUM" type="varchar" />
              </field>
              <field name="traPlCode" type="java.lang.String" >
                   <sql name="TRA_PL_CODE" type="varchar" />
              </field>
              <field name="traValue" type="java.lang.String" >
                   <sql name="TRA_VALUE" type="varchar" />
              </field>
              <field name="traGrNum" type="java.math.BigDecimal" >
                   <sql name="TRA_GR_NUM" type="decimal" />
              </field>
              <field name="traPlNum" type="java.math.BigDecimal" >
                   <sql name="TRA_PL_NUM" type="decimal" />
              </field>
              <field name="traLlNum" type="java.math.BigDecimal" >
                   <sql name="TRA_LL_NUM" type="decimal" />
              </field>
              <field name="traShipDate" type="java.util.Date" >
                   <sql name="TRA_SHIP_DATE" type="timestamp" />
              </field>
              <field name="traShipPlCodeDest" type="java.lang.String" >
                   <sql name="TRA_SHIP_PL_CODE_DEST" type="varchar" />
              </field>
              <field name="traUsrIdent" type="java.lang.String" >
                   <sql name="TRA_USR_IDENT" type="varchar" />
              </field>
              <field name="traActCode" type="java.lang.String" >
                   <sql name="TRA_ACT_CODE" type="varchar" />
              </field>
         </class>
    <!-- SHIPMENT end -->               
    </mapping>
    could anyone help me out here.

  • Invalid XML character in castor XML

    I am using castor API for converting an object into XML. When I marshal the object, following exception occur:
    java.io.IOException: The character '' is an invalid XML character
         at org.apache.xml.serialize.BaseMarkupSerializer.characters(Unknown Source)
         at org.exolab.castor.xml.Marshaller.marshal(Unknown Source)
         at org.exolab.castor.xml.Marshaller.marshal(Unknown Source)
         at org.exolab.castor.xml.Marshaller.marshal(Unknown Source)
    Following is the code snippet which I am using:
    StringWriter writer = new StringWriter(500);
    Marshaller marshal = new Marshaller(writer);
    marshal.setEncoding("windows-1251"); //I have tried all these encodings as well: UTF-8, UTF-7, ASCII, ISO-8859-1, ISO-8859-5, windows-1251
    //marshal.marshal(token, writer);     // This is commented, since the encoding is not applied if I use this method, next statement works fine
    marshal.marshal(token);Here, token is the object which I am trying to marshal. I have tried different encodings, but the problem is not resolved. Could anyone help?
    Castor reference:
    [http://www.castor.org/xml-framework.html ]

    Do you want this encoding to be reversible? For example, that character \u001b which is in the string. You have to represent it by something different in your XML. If you want to get the same thing back when you convert your XML back into Java, then you can't just translate that character into an existing character, because then you have lost information. You have to translate it into some special series of codes. And then when you convert the XML back, you have to recognize that special series of codes and convert that into the \u001b character.
    So yeah, you could write your own custom encoding which did that. I'm not aware of any existing software that does that; it wouldn't be very useful, because it would result in XML documents which used non-standard encodings and hence couldn't be sent to anybody else.

  • Castor XML  issue

    Hi,
    i m using castor-1.0.3 for generating source code from xml schema.
    i ve a complex schema n even have binding file too for class name conflicts.
    The issue i m facing is when i run "
    java org.exolab.castor.builder.SourceGenerator....." it gets hung after generating certain class files. it ll never proceed. i need to explicitly terminate after waiting for a long time..
    I m stuck here as to what might be going wrong here..
    Kindly suggest.
    Regards,
    Lance

    FYI:
    I tried Castor. In my opinion, there's a much better solution BC4J. BC4J lets you read and write your objects to XML, using readXML and writeXML. It seems more mature than Castor.
    If you are just reading and writing your object or collection of objects and hierarchy to file, then you only use readXML and writeXML.
    With BC4J, you model you objects in BC4J, then BC4J allows you to create a DTD for these objects. So if you have inbound or outbound XML that you need to transform from/to, you can then use this DTD and the DTD/XML Schema of the other format to write a xslt transformation.
    Another benefit, you can pass object hierarchies across a web service using writeXML on the client side and then readXML to repopulate the object hierarchy on the server side of the web service.
    Richard Catlin

  • Exception using Quartz org.quartz.plugins.xml.JobInitializationPlugin

    Hi All,
    This the exception I am getting, I tried the solution provided on the internet but the entry was the same as the solution provided.
    Parsing XML file: jobs.xml with systemId: jobs.xml validating: false validating schema: jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapp s/CTRDB/WEB-INF/lib/quartz-1.6.4.jar!/org/quartz/xml/job_scheduling_data_1_5.xsd
    25 Jan 2009 12:26:28,515 ERROR Digester:789 - Digester.getParser:
    java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
    at javax.xml.parsers.SAXParserFactory.setXIncludeAware(Unknown Source)
    at org.apache.commons.digester.Digester.getFactory(Digester.java:534)
    at org.apache.commons.digester.Digester.getParser(Digester.java:786)
    at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)
    at org.apache.commons.digester.Digester.parse(Digester.java:1863)
    at org.quartz.xml.JobSchedulingDataProcessor.processFile(JobSchedulingDataProcesso r.java:500)
    at org.quartz.xml.JobSchedulingDataProcessor.processFileAndScheduleJobs(JobSchedul ingDataProcessor.java:569)
    at org.quartz.plugins.xml.JobInitializationPlugin.processFile(JobInitializationPlu gin.java:378)
    at org.quartz.plugins.xml.JobInitializationPlugin.start(JobInitializationPlugin.ja va:310)
    at org.quartz.plugins.SchedulerPluginWithUserTransactionSupport.start(SchedulerPlu ginWithUserTransactionSupport.java:144)
    at org.quartz.core.QuartzScheduler.startPlugins(QuartzScheduler.java:2168)
    at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:456)
    at org.quartz.impl.StdScheduler.start(StdScheduler.java:146)
    at org.quartz.ee.servlet.QuartzInitializerServlet.init(QuartzInitializerServlet.ja va:184)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:405 8)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
    at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.j ava:117)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    25 Jan 2009 12:26:28,515 ERROR JobInitializationPlugin:384 - Error scheduling jobs: null
    DatabaseScheduler_$_NON_CLUSTERED started.

    This is my quartz.properties
    #====================================================================== ======
    # Configure Main Scheduler Properties
    #========================================================================== ==
    org.quartz.scheduler.instanceName = ContractorDatabaseScheduler
    org.quartz.scheduler.instanceId = AUTO
    #====================================================================== ======
    # Configure ThreadPool
    #========================================================================== ==
    org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
    org.quartz.threadPool.threadCount = 3
    org.quartz.threadPool.threadPriority = 5
    #============================================================== ==============
    # Configure Plugins
    #========================================================================== ==
    org.quartz.plugin.jobInitializer.class = org.quartz.plugins.xml.JobInitializationPlugin
    org.quartz.plugin.jobInitializer.fileNames = jobs.xml
    org.quartz.plugin.jobInitializer.overWriteExistingJobs = true
    org.quartz.plugin.jobInitializer.failOnFileNotFound = true
    This is the jobs.xml
    <?xml version='1.0' encoding='utf-8'?>
    <quartz xmlns="http://www.opensymphony.com/quartz/JobSchedulingData"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.opensymphony.com/quartz/JobSchedulingData http://www.opensymphony.com/quartz/xml/job_scheduling_data_1_5.xsd"
    version="1.5">
    <job>
    <job-detail>
    <name>my-very-clever-job</name>
    <group>MYJOB_GROUP</group>
    <description>The job description</description>
    <job-class>com.aexp.ctrdb.schedule.CronJob</job-class>
    </job-detail>
    <trigger>
    <cron>
    <name>my-trigger</name>
    <group>MYTRIGGER_GROUP</group>
    <job-name>my-very-clever-job</job-name>
    <job-group>MYJOB_GROUP</job-group>
    <cron-expression>0 0/1 * ? * *</cron-expression>
    </cron>
    </trigger>
    </job>
    </quartz>

  • Java Mapping Error - Unable to instantiate the Java class

    Hi,
    I am trying out a Java Mapping scenario.
    The code worked fine in eclipse.i could get the desired output.
    but when i tried it out in XI ....i got the following error in moni:
    *Unable to instantiate the Java class*
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">CANNOT_INSTANCIATE_CLASS</SAP:Code>
      <SAP:P1>JavaMapping</SAP:P1>
      <SAP:P2>http://www.sdsdsd.com/XI/Sales/T~</SAP:P2>
      <SAP:P3>3bd13b30-6300-11dc-b9f1-f0050aa5c91a</SAP:P3>
      <SAP:P4>-1</SAP:P4>
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to instantiate the Java class JavaMapping (http://www.sdsdsd.com/XI/Sales/T~, 3bd13b30-6300-11dc-b9f1-f0050aa5c91a, -1)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Please help me out with this error.

    Hi Anu,
    Currently I am also facing the same Unable to instantiate the Java class  same java class is working fine in eclipse .
    Could you please confirm Is this because of version mismatch that in Eclipse JAVA and SAP JAVA ?
    Thanks in Advance.
    Best,
    Srinivas

  • InteractionSpec problem (Unable to instantiate record converter)

    I have a custom JCA resource adapter and I am getting the error message below in my logs when I attempt to run it. As you can see, it gets to the ManagedConnection, Interaction, and XMLRecordConverter constructors. I'm not sure what it tries to do next that breaks it. Any suggestions?
    LOGGER: FtpManagedConnection: In Constructor
    LOGGER: FtpInteraction: In Constructor
    LOGGER: FtpXmlRecordConverter: In Constructor
    <2008-02-08 17:10:15,168> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_TESTFTPA_1.0_4cff327e075659a1dd2d433227a22.tmp/CustomFtpAdapter.wsdl [ Get_ptt::getNumFiles(payload,payload) ] - Could not invoke operation 'getNumFiles' against the '/CustomFtpAdapter' due to:
    org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec due to: Unable to instantiate record converter CustomFtpAdapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.FtpXmlRecordConverter; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to instantiate record converter CustomFtpAdapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.FtpXmlRecordConverter

    I turned the logs up to DEBUG and this is what I got when I tried to run an instance of a BPEL process which uses my outbound adapter.
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> <SOAPRequestProvider::processBPELMessage> soapAction: process
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> QNAME: <MessageID xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">670aaeeec4c92614:6f666077:1180902e311:-7fd1</MessageID>
    true
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> SOAPRequestProviderHelper processing header: {http://schemas.xmlsoap.org/ws/2003/03/addressing}MessageID
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> {http://schemas.xmlsoap.org/ws/2002/07/secext}Security
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> <SOAPRequestProviderHelper::processBPELMessage> got MessageId:670aaeeec4c92614:6f666077:1180902e311:-7fd1
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> <WSInvocationManager::invoke> operation: getNumFiles, partnerLink: <partnerLink name="PartnerLink_12" partnerLinkType="{urn:Ftpa}FTPAPolling">
    <myRole name="null">
    <ServiceName>null</ServiceName>
    <PortType>null</PortType>
    <Address>null</Address>
    </myRole>
    <partnerRole name="FTPAPollingProvider">
    <ServiceName>null</ServiceName>
    <PortType>{urn:Ftpa}Get_ptt</PortType>
    <Address>null</Address>
    </partnerRole>
    <conversationId>bpel://localhost/default/TESTFTPA~1.0/380002-BpInv0-BpSeq0.3-3</conversationId>
    <properties>{}</properties>
    </partnerLink>
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> <WSInvocationManager::invoke> def is file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_TESTFTPA_1.0_4cff327e075659a195b8d2d433227a22.tmp/Ftpa.wsdl
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> opName=getNumFiles, parnterLink=<partnerLink name="PartnerLink_12" partnerLinkType="{urn:Ftpa}FTPAPolling">
    <myRole name="null">
    <ServiceName>null</ServiceName>
    <PortType>null</PortType>
    <Address>null</Address>
    </myRole>
    <partnerRole name="FTPAPollingProvider">
    <ServiceName>{urn:Ftpa}ftppollingservice</ServiceName>
    <PortType>{urn:Ftpa}Get_ptt</PortType>
    <Address>null</Address>
    </partnerRole>
    <conversationId>bpel://localhost/default/TESTFTPA~1.0/380002-BpInv0-BpSeq0.3-3</conversationId>
    <properties>{}</properties>
    </partnerLink>
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::doShortCut> Parner Property optShortCut
    FtpInteraction: getConnection
    <2008-02-11 09:21:01,143> <DEBUG> <default.collaxa.cube.ws> <AdapterFramework::Outbound> Instantiating XMLRecord converter: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
    FtpXmlRecordConverter: Constructor
    <2008-02-11 09:21:01,143> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_TESTFTPA_1.0_4cff327e075659a195b8d2d433227a22.tmp/Ftpa.wsdl [ Get_ptt::getNumFiles(payload,payload) ] - Could not invoke operation 'getNumFiles' against the '/ACTFtpAdapter' due to:
    org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec due to: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getJCAInteractionSpec(WSIFOperation_JCA.java:1073)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:370)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:431)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:416)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:222)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:736)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:371)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:499)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:451)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:125)
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:455)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:278)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:129)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getCCIRecordConverterCallout(WSIFOperation_JCA.java:1138)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getJCAInteractionSpec(WSIFOperation_JCA.java:988)
         ... 87 more
    Caused by: java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getCCIRecordConverterCallout(WSIFOperation_JCA.java:1130)
         ... 88 more
    <2008-02-11 09:21:01,159> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException: file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_TESTFTPA_1.0_4cff327e075659a195b8d2d433227a22.tmp/Ftpa.wsdl [ Get_ptt::getNumFiles(payload,payload) ] - WSIF JCA Execute of operation 'getNumFiles' failed due to: Could not instantiate InteractionSpec due to: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec due to: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:623)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:431)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:416)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:222)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:736)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:371)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:499)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:451)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:125)
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:455)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:278)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:129)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec due to: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getJCAInteractionSpec(WSIFOperation_JCA.java:1073)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:370)
         ... 86 more
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getCCIRecordConverterCallout(WSIFOperation_JCA.java:1138)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getJCAInteractionSpec(WSIFOperation_JCA.java:988)
         ... 87 more
    Caused by: java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getCCIRecordConverterCallout(WSIFOperation_JCA.java:1130)
         ... 88 more
    <2008-02-11 09:21:01,159> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> Fault happened
    org.collaxa.thirdparty.apache.wsif.WSIFException: Could not instantiate InteractionSpec due to: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getJCAInteractionSpec(WSIFOperation_JCA.java:1073)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:370)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:431)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:416)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:222)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:736)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:371)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5244)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1083)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:132)
         at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:161)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeEngineBean_LocalProxy_4bin6i8.syncCreateAndInvoke(Unknown Source)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:499)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:451)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:125)
         at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:95)
         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:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at DeliveryBean_RemoteProxy_4bin6i8.request(Unknown Source)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processNormalOperation(SOAPRequestProvider.java:455)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processBPELMessage(SOAPRequestProvider.java:278)
         at com.collaxa.cube.ws.soap.oc4j.SOAPRequestProvider.processMessage(SOAPRequestProvider.java:129)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: Unable to instantiate record converter CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter; nested exception is:
         java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getCCIRecordConverterCallout(WSIFOperation_JCA.java:1138)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getJCAInteractionSpec(WSIFOperation_JCA.java:988)
         ... 87 more
    Caused by: java.lang.ClassCastException: CustomFtpAdapter.customftpadapter.FtpXmlRecordConverter
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.getCCIRecordConverterCallout(WSIFOperation_JCA.java:1130)
         ... 88 more

  • Plug-in "com.bea.alsb.ui" was unable to instantiate class...

    When I invoked New Project -> Oracle Service Bus Configuration Project wizard the following problem occurred:
    The selected wizard could not be started.
    Plug-in "com.bea.alsb.ui" was unable to instantiate class "com.bea.alsb.ui.wizards.NewALSBContainerWizard".
    Google search found discussions that date back a year or so, but nothing helpfull.
    Used Oracle generic installtion for 64 bit envirnment.
    Here is the list of packages and version summary...
    jre-6u27-windows-x64.exe
    jrockit-jdk1.6.0_26-R28.1.4-4.0.1-windows-x64.exe
    wls1035_generic.zip
    oepe-helios-all-in-one-11.1.1.7.2.201103302044-win32-x86_64.zip
    ofm_osb_generic_11.1.1.5.0_disk1_1of1.zip
    OS
    Microsoft® Windows Server® 2008 Enterprise
    6.0.6002 Service Pack 2 Build 6002, x64-based PC
    Java
    JRE - Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
    JDK - Oracle JRockit(R) (build R28.1.4-7-144370-1.6.0_26-20110617-2130-windows-x86_64, compiled mode)
    Oracle 10.2.0
    OFM 11g R1
    WebLogic 10.3.5.0
    OSB 11.1.1.5
    OEPE 11.1.1.7.2.201103302044 (Eclipse Version: 3.6.2 Build id: M20110210-1200)

    OK, thanks. Cleared the log. Went through the steps: New Project -> OSB Configuration Project
    Error notification pops up immediately: Problem Occured, Problem Opening Wizard, The selected wizard could not be started.
    When I push the Details button I see the following text:
    ===
    The selected wizard could not be started.
    Plug-in "com.bea.alsb.ui" was unable to instantiate class "com.bea.alsb.ui.wizards.NewALSBContainerWizard".
    com/bea/alsb/core/containers/exceptions/ContainerException
    ===
    No messages are added to the error log.
    (additional note)
    I noticed several (7) errors associated with starting Eclipse up. So I deleted the log, restarted the app, and exported the startup errors. Can I attach the file to this thread?
    Edited by: MichaelM on Dec 2, 2011 12:51 PM

  • NWDI: Unable to instantiate a Build Space administrator

    Guys,
    In CBS I see that there are a number of requests are permanently on the status PROCESSING. I've restarted the NWDI server, but this did not solve the issue. The most disturbing error message in the Default Trace is the following:
    Unable to instantiate a Build Space administrator!
    Build Space "JP6_SPPOSTPD_D" [bsID: 132, version: 0] [in-queue: on, out-queue: "on (queuing)", processing: on]
    Failed to initialize Development Configuration for the buildspaceJP6_SPPOSTPD_D
         Original Cause: null
    [EXCEPTION]
    com.sap.tc.cbs.server.dao.PersistencyLayerException: Failed to initialize Development Configuration for the buildspaceJP6_SPPOSTPD_D
         Original Cause: null
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.getDevConfig(BSAdmin.java:491)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.getTcsUrl(BSAdmin.java:503)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.onActivated(BSAdminOrc.java:281)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.validate(BSAdmin.java:186)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.updateState(BSAdmin.java:250)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.determineChanges(BSAdminOrc.java:444)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.validateBuildSpaceData(BSAdminOrc.java:229)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.act(BSAdminOrc.java:348)
         at com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.java:118)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
         at com.sap.tc.cbs.server.dao.impl.BS.getConfigFile(BS.java:172)
         at com.sap.tc.cbs.server.dao.impl.BS.getBSConfig(BS.java:207)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.getDevConfig(BSAdmin.java:486)
         ... 9 more
    Caused by:
    java.lang.NullPointerException
         at com.sap.tc.cbs.server.dao.impl.BS.getConfigFile(BS.java:172)
         at com.sap.tc.cbs.server.dao.impl.BS.getBSConfig(BS.java:207)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.getDevConfig(BSAdmin.java:486)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.getTcsUrl(BSAdmin.java:503)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.onActivated(BSAdminOrc.java:281)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.validate(BSAdmin.java:186)
         at com.sap.tc.cbs.server.rt.bs.BSAdmin.updateState(BSAdmin.java:250)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.determineChanges(BSAdminOrc.java:444)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.validateBuildSpaceData(BSAdminOrc.java:229)
         at com.sap.tc.cbs.server.rt.bs.BSAdminOrc.act(BSAdminOrc.java:348)
         at com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.java:118)
         at java.lang.Thread.run(Thread.java:534)
    We are using an -Oracle- database.

    The oracle database in the secondary cluster had run out of diskspace.

  • Cfpdf merge unable to instantiate com.adobe...PDFBookmark object fr

    Hello,
    I'm trying to merge two pdfs, one from a variable using cfdocument (A) and the other from an actual file  (B).  (A) would remains constant but (B) would change depending on what users upload.  Once in a while I would get the following error especially when (B) is a verizon bill in pdf. 
    CFPDF action="merge"
    Error","jrpp-1822","......","Unable to instantiate com.adobe.internal.pdftoolkit.pdf.interactive.navigation.PDFBookmark object from CosObject. The specific sequence of files included or processed is:[], line: 493 "
    java.lang.RuntimeException: Unable to instantiate com.adobe.internal.pdftoolkit.pdf.interactive.navigation.PDFBookmark object from CosObject.
              at com.adobe.internal.pdftoolkit.pdf.document.PDFCosFactory.newObject(Unknown Source)
              at com.adobe.internal.pdftoolkit.pdf.document.PDFCosFactory.getInstance(Unknown Source)
              at com.adobe.internal.pdftoolkit.pdf.interactive.navigation.PDFBookmark.getInstance(Unknown Source)
              at com.adobe.internal.pdftoolkit.pdf.interactive.navigation.PDFBookmarkNode.getLastKid(Unkno wn Source)
              at com.adobe.internal.pdftoolkit.services.manipulations.PMMBookmark.walkBookmarksTree(Unknow n Source)
              at com.adobe.internal.pdftoolkit.services.manipulations.PMMBookmark.appendBookmarks(Unknown Source)
              at com.adobe.internal.pdftoolkit.services.manipulations.PMMService.insertPagesinRange(Unknow n Source)
              at com.adobe.internal.pdftoolkit.services.manipulations.PMMService.appendPages(Unknown Source)
              at coldfusion.pdf.PDFDocOperation.merge(PDFDocOperation.java:435)
              at coldfusion.tagext.lang.PDFParamTag.doStartTag(PDFParamTag.java:196)
    However (B) doesn't seem to have any bookmark.  I can open (B) from any pdf viewer but when I merge A and B, the error will occur.    Has anyone come across this issue?   I'm using coldfusion 9 which has an older iText engine.
    Any help will be greatly appreciated!

    Hello,
    I'm trying to merge two pdfs, one from a variable using cfdocument (A) and the other from an actual file  (B).  (A) would remains constant but (B) would change depending on what users upload.  Once in a while I would get the following error especially when (B) is a verizon bill in pdf. 
    CFPDF action="merge"
    Error","jrpp-1822","......","Unable to instantiate com.adobe.internal.pdftoolkit.pdf.interactive.navigation.PDFBookmark object from CosObject. The specific sequence of files included or processed is:[], line: 493 "
    java.lang.RuntimeException: Unable to instantiate com.adobe.internal.pdftoolkit.pdf.interactive.navigation.PDFBookmark object from CosObject.
              at com.adobe.internal.pdftoolkit.pdf.document.PDFCosFactory.newObject(Unknown Source)
              at com.adobe.internal.pdftoolkit.pdf.document.PDFCosFactory.getInstance(Unknown Source)
              at com.adobe.internal.pdftoolkit.pdf.interactive.navigation.PDFBookmark.getInstance(Unknown Source)
              at com.adobe.internal.pdftoolkit.pdf.interactive.navigation.PDFBookmarkNode.getLastKid(Unkno wn Source)
              at com.adobe.internal.pdftoolkit.services.manipulations.PMMBookmark.walkBookmarksTree(Unknow n Source)
              at com.adobe.internal.pdftoolkit.services.manipulations.PMMBookmark.appendBookmarks(Unknown Source)
              at com.adobe.internal.pdftoolkit.services.manipulations.PMMService.insertPagesinRange(Unknow n Source)
              at com.adobe.internal.pdftoolkit.services.manipulations.PMMService.appendPages(Unknown Source)
              at coldfusion.pdf.PDFDocOperation.merge(PDFDocOperation.java:435)
              at coldfusion.tagext.lang.PDFParamTag.doStartTag(PDFParamTag.java:196)
    However (B) doesn't seem to have any bookmark.  I can open (B) from any pdf viewer but when I merge A and B, the error will occur.    Has anyone come across this issue?   I'm using coldfusion 9 which has an older iText engine.
    Any help will be greatly appreciated!

  • Need HELP! -  Unable to Instantiate Environment For 'ORACLE80'

    Hi all, I have this major problem that we cannot resolve and was wonder if any of you have seen this before.
    We have a Solaris 8 server running CF 4.5 and with Oracle Client 8.1.7.
    The problem is that every so ofter(not all the time and not constant) we get an error whenever we perform a QUERY action, whether its just a simple SELECT statement or an INSERT: Here is the error below.
    Oracle Error Code = 0
    "Unable to Instantiate Environment for 'ORACLE80'.
    We dont know if this is a CF 4.5 issue or a Oracle client issue. Just wondering if you have ever come across this error? I tried to call the CF tech support but they told me they dont support CF4.5 anymore, so that was no use.
    Any advice would help.
    Thanks in advance.
    Will

    Backup everything. Note that a bootable backup/clone is optimum. Then, reinstall the unnamed OS.
    iMac (27-inch Mid 2011), OS X Mavericks (10.9.3), SL & ML, G4 450 MP w/Leopard, 9.2.2

  • Error "Unable to instantiate GUI, defaulting to console mode"

    Hi Experts,
    Error "Unable to instantiate GUI, defaulting to console mode" while installing weblogic 11g in linux OS.
    I tried to resolve the error, need to install SUN JDK 1.6_18 or higher and set JAVA_HOME path but at a time of weblogic installation, I choosen JDK which is come with weblogic.
    It is great to help me out
    Thanks
    Phani

    Seems like the installer is getting blocked from using X - most likely by the firewall settings or the SE Linux components.
    The GUI way: Desktop->System Settings->Security Level (then enter the root password).
    Choose 'Disable firewall' in the 'Firewall Options' tab and uncheck the 'Enabled' in the 'SELinux' tab.
    You might want to reboot the server after this.
    It could also be becuase the port was being blocked and maybe it is only the firewall & not SE Linux,so I'll leave that exercise to you :)
    Also, try to locate the X11 library libXtst-1.0.1-3.1.i386, which is required for making generic installers to use the GUI, in case you are using Generic Installers.
    Hope this helps and don't forget to turn the firewall back on.
    -Akshay

  • Unable to validate a java.util.Properties XML based File

    I cannot for the life of me figure out what is wrong with this xml file, but it fails the validation of java.util.Properties and as such won't be parsed in. Help!
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties version="1.0">
      <entry key="bottleneckServer.address"></entry>
      <entry key="bottleneckServer.port">8206</entry>
      <entry key="bottleneckServer.confirmDelay">10</entry>
      <entry key="bottleneckServer.cleanupDelay">120</entry>
    </properties>Thanks in advance!

    This xml file works perfectly.
    Here is some test code:
            Properties p = new Properties();
            p.loadFromXML(getClass().getClassLoader().getResourceAsStream("someFilePath/someFileName.xml"));
            assert "8206".equals(p.getProperty("bottleneckServer.port")) : "Property 'bottleneckServer.port' != 8206";

Maybe you are looking for