ATG export data using startSQLRepository in CommerceReferenceStore

Today, I tried to export data for ProfileAdapterRepository using strartSQLRepository for commerceReferenceStore and use the following command.

startSQLRepository -m CommerceReferenceStore.Store  -export all d:\profile_data.xml  -repository /atg/userprofiling/ProfileAdapterRepository

and the above command works fine.

But when I tried the below command.

startSQLRepository -m CommerceReferenceStore.Store.EStore  -export all d:\profile_data.xml  -repository /atg/userprofiling/ProfileAdapterRepository

It throws the error.

**** info       Sat Feb 22 11:40:51 IST 2014    1393049451776   /atg/commerce/pricing/Promotions        Resolving reference to /atg/commerce/catalog/Produc
tCatalog
**** Warning    Sat Feb 22 11:40:52 IST 2014    1393049452658   DistributorSender       No remote servers configured
**** info       Sat Feb 22 11:40:53 IST 2014    1393049453259   /atg/commerce/pricing/priceLists/PriceLists     SQL Repository startup complete
**** Error      Sat Feb 22 11:40:53 IST 2014    1393049453440   /atg/commerce/pricing/priceLists/PriceLists     Table 'dcs_price_list' in item-descriptor:
'priceList' does not exist in a table space accessible by the data source.  DatabaseMetaData.getColumns returns no columns.  Catalog=null Schema=null
**** Warning    Sat Feb 22 11:40:53 IST 2014    1393049453542   /atg/commerce/pricing/priceLists/PriceLists     atg.adapter.gsa.GSARepository->loadColumnIn
fo : SQLException in Table.loadColumnInfo.  Trying again.       com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'production.dcs_price_list
' doesn't exist
**** Warning    Sat Feb 22 11:40:53 IST 2014    1393049453542   /atg/commerce/pricing/priceLists/PriceLists             at sun.reflect.NativeConstructorAcc
essorImpl.newInstance0(Native Method)
**** Warning    Sat Feb 22 11:40:53 IST 2014    1393049453542   /atg/commerce/pricing/priceLists/PriceLists             at sun.reflect.NativeConstructorAcc
essorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
**** Warning    Sat Feb 22 11:40:53 IST 2014    1393049453542   /atg/commerce/pricing/priceLists/PriceLists             at sun.reflect.DelegatingConstructo
rAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
**** Warning    Sat Feb 22 11:40:53 IST 2014    1393049453542   /atg/commerce/pricing/priceLists/PriceLists             at java.lang.reflect.Constructor.ne
wInstance(Constructor.java:513)

For both the above command I copied the FakeXADataSource and the JTDataSource in as below.

FakeXADataSource.properties

URL=jdbc:mysql://localhost:3306/production
user=root
password=root
driver=com.mysql.jdbc.Driver

and JTDataSource.properties

$class=atg.service.jdbc.MonitoredDataSource
 dataSource=/atg/dynamo/service/jdbc/FakeXADataSource
 transactionManager=/atg/dynamo/transaction/TransactionManager


So can you explain twhy I amd not able to export the module data EStore.

If you need further clarification the on my side the please let me know

The error:

Property $class not defined in the configuration for/atg/dynamo/service/jdbc/FakeXADataSource_switchinga

means that you are missing the key $class in the /FakeXADataSource_switchinga properties file.

$class = atg.service.jdbc.FakeXADataSource

Tags: Oracle Applications

Similar Questions

  • If it's possible... desktop PC, I want to export data using expdp and dumpfile goes to his local directory?

    Scanario

    1 Server Machine (database software)

    2 oracle installed Client workstation

    If it's possible... desktop PC, I want to export data using expdp and dumpfile goes to his local directory?

    Rajesh

    Hello

    You can use this method

    http://dbaharrison.blogspot.de/2013/05/expdp-creating-file-on-my-local-machine.html

    But it depends on having you another instance on your workstation also.

    Otherwise, you will need to sort the database drive will appear on the desktop or vice versa using nfs/samba etc.

    See you soon,.

    Rich

  • exporting data to Excel using XSSFWorkbook

    Hi everyone export data to Excel using XSSFWorkbook

    having error javax.el.ELException: means: lots of Java space now I need to change my code to BigGridDemo.java

    http://www.Docjar.org/HTML/API/org/Apache/POI/xssf/userModel/examples/BigGridDemo.Java.html

    http://Apache-POI.1045710.N5.Nabble.com/HSSF-and-XSSF-memory-usage-some-numbers-td4312784.html

    How can I change my code for BigGridDemo.java

    This is my code

    import com.bea.common.security.xacml.context.Result;

    import com.sun.jmx.snmp.Timestamp;

    to import java.io.FileNotFoundException;

    import java.io.IOException;

    import java.io.OutputStream;

    import java.util.HashMap;

    to import java.util.Iterator;

    import java.util.Map;

    Org.apache.poi.ss.usermodel import. *;

    Import javax.faces.context.FacesContext;

    Import org.apache.poi.hssf.usermodel.HSSFCell;

    Import org.apache.poi.hssf.usermodel.HSSFCellStyle;

    Import org.apache.poi.hssf.usermodel.HSSFDataFormat;

    Import org.apache.poi.hssf.usermodel.HSSFRow;

    Import org.apache.poi.hssf.usermodel.HSSFSheet;

    Import org.apache.poi.hssf.usermodel.HSSFWorkbook;

    Org.apache.poi import. *;

    Import org.apache.poi.hssf.util.HSSFColor;

    Import oracle.adf.model.BindingContainer;

    Import oracle.adf.model.BindingContext;

    Import oracle.adf.model.binding.DCBindingContainer;

    Import oracle.adf.model.binding.DCIteratorBinding;

    Import oracle.adf.view.rich.component.rich.data.RichTable;

    Import org.apache.poi.POIDocument;

    import org.apache.poi

    Import org.apache.poi.xssf.usermodel.XSSFWorkbook;

    Org.apache.poi.hssf.usermodel import. *;

    Import oracle.jbo.Row;

    Import oracle.jbo.RowSetIterator;

    Import oracle.jbo.ViewObject;

    Import org.apache.myfaces.trinidad.model.CollectionModel;

    Import org.apache.myfaces.trinidad.model.RowKeySet;

    Import org.apache.myfaces.trinidad.model.RowKeySetImpl;

    Import org.apache.poi.hssf.usermodel.HSSFRichTextString;

    Import org.apache.poi.ss.usermodel.Workbook;

    Import org.apache.poi.POIXMLDocumentPart;

    Import org.apache.poi.POIXMLDocument;

    Import org.apache.poi.hssf.usermodel.HSSFRow;

    Import org.apache.poi.hssf.usermodel.HSSFSheet;

    Import org.apache.poi.hssf.usermodel.HSSFWorkbook;

    public class PoiBean {}

    RicheTableau CustomTable;

    public PoiBean() {}

    }

    public static BindingContainer {} getBindingContainer()

    return (BindingContainer) JSFUtils.resolveExpression("#{bindings}");

    return (BindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    }

    public static DCBindingContainer getDCBindingContainer() {}

    return (DCBindingContainer) getBindingContainer ();

    }

    ' Public Sub generateExcel (FacesContext facesContext, OutputStream outputStream) throws IOException {}

    try {}

    Workbook = new XSSFWorkbook();  or new HSSFWorkbook();

    Spreadsheet sheet = workbook.createSheet("Fonts");

    Get all lines of an iterator

    /////////////////////////////////////////////////////////////////////////////////////////////////////

    Links DCBindingContainer = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DCIteratorBinding dcIteratorBindings = bindings.findIteratorBinding("CustomClientView1Iterator");

    Line rowss = worksheet.createRow (0);

    ViewObject yourVO = dcIteratorBindings.getViewObject ();

    Get all the lines of a ViewObject

    RowSetIterator iter = yourVO.createRowSetIterator ("CustomClient");

    ITER. Reset();

    int rowCounter = 0;

    While (iter.hasNext ()) {}

    A cell = null;

    line oracle.jbo.Row = iter.next ();

    print header on the first line in excel

    If (rowCounter == 0) {}

    rowss = worksheet.createRow (rowCounter);

    int cellCounter = 0;

    {for (String colName: {row.getAttributeNames ())}

    cell = rowss.createCell (cellCounter);

    cellA1.setCellValue (colName);

    cellCounter ++;

    }

    }

    print the data from the second row in excel

    rowCounter ++;

    //////////////////////////////////////////////////////////////

    short j = 0;

    int cellCounter = 0;

    excelrow = (HSSFRow) worksheet.createRow ((int) i);

    rowss = worksheet.createRow (rowCounter);

    {for (String colName: {row.getAttributeNames ())}

    System.out.println ("Hello" + row.getAttribute (colName));

    System.out.println ("Hello" + name of column);

    cell = rowss.createCell (cellCounter);

    rowCounter ++;

    cell.setCellValue (new HSSFRichTextString (rs.getS));

    {if (! isBlank (colname))}

    If (colName.equalsIgnoreCase ("CcnCode")) {}

    cell.setCellValue (row.getAttribute (colName) m:System.NET.SocketAddress.ToString ());

    System.out.println ("column name" + colName + "row.getAttribute (colName) m:System.NET.SocketAddress.ToString ()" + row.getAttribute (colName) m:System.NET.SocketAddress.ToString ());

    }

    }

    logic for the cell formatting

    ElseIf (colName.equalsIgnoreCase ("CcnName")) {}

    cell.setCellValue (row.getAttribute (colName) m:System.NET.SocketAddress.ToString ());

    }

    make double if you want to convert as a result

    ElseIf (colName.equalsIgnoreCase ("CcnRegDate")) {}

    cell.setCellValue (row.getAttribute (colName) m:System.NET.SocketAddress.ToString ());

    }

    ElseIf (colName.equalsIgnoreCase ("CcnCancelDate")) {}

    {if (null! = Row.GetAttribute (colname))}

    cell.setCellValue (row.getAttribute (colName) m:System.NET.SocketAddress.ToString ());

    }

    } ElseIf (colName.equalsIgnoreCase ("CcnUndertaking")) {}

    {if (null! = Row.GetAttribute (colname))}

    cell.setCellValue (row.getAttribute (colName) m:System.NET.SocketAddress.ToString ());

    }

    }

    ElseIf (colName.equalsIgnoreCase ("CcnCode8")) {}

    {if (null! = Row.GetAttribute (colname))}

    cell.setCellValue (row.getAttribute (colName) m:System.NET.SocketAddress.ToString ());

    }                                                                                                            }

    on the other

    cell.setCellValue (row.getAttribute (colName) m:System.NET.SocketAddress.ToString ());

    cellCounter ++;

    }

    worksheet.createFreezePane (0, 1, 0, 1);

    }

    Workbook.Write (OutputStream);

    outputStream.flush ();

    }

    //}

    catch (Exception e) {}

    e.printStackTrace ();

    }

    }

    The demo "big grid" is obsolete and has been replaced by SXSSF, which is compatible with XSSF (seehttp://poi.apache.org/spreadsheet/how-to.html#sxssfthe new Halloween Document) API.

    Theoretically, all you need to do is replace "new XSSFWorkbook()" by "new org.apache.poi.xssf.streaming.SXSSFWorkbook ()" in your program.

    You better post any specific questions of POI on the forum of the user Apache POI (see mailing lists , Apache POI)

    Kind regards

    Alex

  • Export data in a flat file without use of FL

    Hello

    I'm looking for options where I can export data into a flat file without using a FL (line Layout) i.e., using only the App Engine.

    Please share your experience if you did something like this

    Thank you

    A simple way to export any folder (table/view) to a csv gall, is to create a set of lines and loops through all fields of record like below example code

    Local Rowset &RS;
    Local Record &Rec;
    Local File &MYFILE;
    Local string &FileName, &strRecName, &Line, &Seperator, &Value;
    Local number &numRow, &numField;
    
    &FileName = "c:\temp\test.csv";
    &strRecName = "PSOPRDEFN";
    &Seperator = ";";
    
    &RS = CreateRowset(@("Record." | &strRecName));
    &RS.Fill();
    
    &MYFILE = GetFile(&FileName, "W", %FilePath_Absolute);
    
    If &MYFILE.IsOpen Then
    
       For &numRow = 1 To &RS.ActiveRowCount
          &Rec = &RS(&numRow).GetRecord(@("RECORD." | &strRecName));
    
          For &numField = 1 To &Rec.FieldCount
             &Value = String(&Rec.GetField(&numField).Value);
             If &numField = 1 Then
                &Line = &Value;
             Else
                &Line = &Line | &Seperator | &Value;
             End-If;
    
          End-For;
          &MYFILE.WriteLine(&Line);
       End-For;
    
    End-If;
    
    &MYFILE.Close(); 
    

    You can of course create an application for generic class call this piece of code.

    It will be useful.

    Note:
    Do not complain to me ;) on performance issues

  • Export data to Oracle DB using ODI Essbase

    I am trying to export data to Oracle DB using ODI essbase. When I create the schema with data source and target warehouses, my goal has error indicating that the target column has no capabilities of sql. I don't know what that means. Can anyone enlighten us? Thank you.

    This means that you have not defined a resting area for your columns on the target data store, as you use essbase in your interface, you need a rest area, essbase as a technology has no SQL features.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Export data from the database to excel file using the procedure

    Hello

    I need to export data from database to oracle 10 g for the excel file, I try this code:

    First, I create directory to the user sys and give permition to user that I'm working on it
    create or replace directory PALPROV_REPORTS as 'c:\temp';
    
    grant read, write on directory PALPROV_REPORTS to user12 ;
    then I run this code
    declare
        output utl_file.file_type;
    begin
        output := utl_file.fopen( 'user12' , 'emp1.slk', 'w',32000 );
        utl_file.put_line(output, 'line one: some text');
        utl_file.fclose( output );
    end;
    the problem appears as
    ORA-29280: invalid path ORA-06512: at "SYS." UTL_FILE", line 29 ORA-06512: at"SYS." UTL_FILE", line 448 ORA-06512: at line 4

    Notice that I use the operating system windows as a client and a linux as a server database

    The file will be written to the database server or your GNU / linux and I'm quite sure, there is no folder named "c:\temp" on linux. It will probably be ' / tmp' on a unix server.

    And open the file, you must give the name logic directory 'PALPROV_REPORTS' it instead of the user name "utilisateur12".

  • Unable to export of form data using FormDEfUtil.cmd

    Hi all

    I am not able to make the export of form data using FormDEfUtil.cmd.

    D:\hyperion\planning\bin\FormDEfUtil.cmd export < formname > localhost < appname > admin password

    I get this message when tried the script above in cmd invite below.

    use: HspFormDefUtil < import/export > < filename/formname /-all > < Server > < username > < password > < application >.

    Any help is appreciated.

    Thank you!!

    Rev

    It is certainly the correct admin account details, you can log in with the details of account planning

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Export of data using the interface of the Apex

    I want to export at the same time and in a single file
    -database objects (tables, constraints, etc.)
    -possibly databases and data
    which are used by a given Apex application.

    QUESTION: Is it possible to do it through the interface of the Apex?

    I know how to do this with SQL-Developer.

    I also know how I can export through the Apex interface
    an object selected (for example, a table).
    But what of all the exporters together?

    Thank you very much
    Marios

    Hello
    Try this.

    Export all the objects schema DDL in sql single file. (tables, constraints, etc.) at the same time
    Workspace opened-> Home > utilities > Generate DDL-> createscript->-> schema name choose fron-> option selection list choose Add file save as Script-> check-all > click Generate ddl-> name of script type-> click createscript-> stored in your scripts sql inside the WORKSHOP of SQL TAB-> click on export button right under task link-> click on checkbox for the corresponding file name and click on-> to export-> export Scripts right side have your file-> click Export all.

    Combining the Application + objects ddl + data
    Open your application-> whose home > Application Builder > 123 Application > supporting objects >-> Create from scratch-> name-> editor of Setup Scripts will open-> copy and paste the sql commands that you exported using steps above

    data
    If you need to export data from sample then you can paste these commands insert into tablenamein the same sql editor in step 2 and save it

    Note: in your home > Application Builder > 123 Application > objects supporting > status-> include the object definitions to support the export of export = yes

    Export your application and the user can import using single sql file.

    Thank you
    Mark Wyatt

  • export data wave graph problem

    Hi all!

    I have a problem with my table of waveform:

    The length of the history of the chart I updated 5 X 24 X 60 X 60 = 432 000 comments. I draw a new point in all the 1 minute, so that I can preview as the last 5 days. The problem is, when I'm just trying to export to Excel, the data for the chart, the data are not in the order time (if I export the data to the Clipboard, it is all the same). The data starts with the second day. And Yes, before I export data, the x-axis are configured to be autoscaled, so I don't see 5 days together data curves. But after export, in the table opening Excel (2010 office, LabView 2011, silver chart) the data are really mixed upward...

    Anyway, the workaround is simple: 2 clicks in Excel and it puts the data in order, but I'm curious to know why it happens... I guess I'm doing something wrong with the berries of waveform of construction?

    Is this a bug?

    Thanks in advance!

    PS. : I have attached a graphic exported to jpg format what I see, and excel table with "mixed up" sequence of data, as well as the Subvi, that I use to generate and send the three points of the chart made every minute.

    Hey,.

    as far as I know, it was a change in the interface ActiveX of Office 2007 to Office 2010.

    You wouldn't have this bug in Exel 2007.

    Try to use the the VI 'Export waveforms to spreadsheet' or if you use a PDM file.

    Oxford

    Sebastian

  • Do not export data from table to Excel

    Why the invoke node export data to Excel product empty Excel sheet with no data?

    If I manually highlight the table on the front panel control, and rerun the VI data get exported. How we highlights the data in the table automatically?

    I thought that at first too, but after testing (before that I posted ) I see the order does not matter.  Only the selection is copied to.  If nothing is selected the journal will be empty.

    Note: you can select cells programmatically using a property node (selection start and size of the selection).

    So it doesn't seem to be a bug...

  • Export data to Excel does not work in the build (.exe)

    I'm new to LabView 2010, but made a small application which works as expected when run as a VI in the Labview environment. This is a simple data acquisition where the results are displayed in a waveform graph. I used the method "Export data to Excel" to present the request to transfer the results on the chart in an Excel file programmatically.

    However, when I build the application and run the exe, the application works very well outside the export to Excel. Excel does not start, and when I right click on the graph for "export data to Excel" manually, it doesn't work anymore. The data can be exported to the Clipboard and then pasted into Excel, which is doable, but not very elegant solution...

    Any thoughts?

    Hi CFNoergaard,

    This issue has been corrected in LabVIEW 2010 SP1.

    If you upgrade to this version, it should do the trick.

  • Does anyone have a good experience, export data from cubesavvy?

    Merry Christmas / Happy holidays everyone.

    Does anyone have a good experience, export data from ASO using cubesavvy?

    I tried but the filters don't seem to work.  I entered about 9 filters - with the members and parents to 9 dimensions.  However, the native text file that it created does not seem to use these filters.  I select 'Member = FY15' but it has exported the native file, had FY12.  I think this tool takes the native text file it generates and create a report of the column from it.

    http://www.cubesavvy.com/parse-ASO-export-to-columns/

    We use it because our financial report and the Smartview crashes when we tried to explore the zero level for Dept (we have more than 5 thousand), projects (more than 5,000) and accounts (more than 200).  It looks like a simple report.  Our report EN used to support 20 minutes now it crashes.  We must perhaps compact contour and use the motion tracking.

    R,

    David

    Hi David,

    Harry Gates here, the developer of cubeSavvy. Dozens of people successfully using the export ASO Analyzer feature, with and without filters. This includes a few very large companies with big data and the large contours (100s of exports of GBs and hundreds of thousands of members). If the filters are not limit the written lines, it has been my experience that the names of typical members in do not match those of the file.

    You can reach me at [email protected] if you have any other questions. You can also send me your otl and export, if they are not too sensitive and I'll take a look.

    Kind regards

    Harry

  • How to export data from user information in ACS 5.5?

    Hi all

    You can see the photo, how to export data from user information in ACS 5.5? Thank you!

    Sincerely yours

    Hello

    Yes you are right.

    Kind regards

    Aditya

    Please evaluate the useful messages and mark the correct answers.

  • Is it possible to export data from fields to fill in indesign?

    Just the basics:

    I'm on a mac, running CC

    We are PDF forms where users will type circulating information. Instead of copying and pasting data into indesign, we wanted to see if there was a way to export the data entered directly in indesign? I tried to export data in Excel, but we lack excel for mac 2011 and I wonder if there is a compatibility problem with exports (which must constantly be repaired). I also find that when the files are repaired, that the entire form is included.

    If I can't make a direct export to indesign is there a way I can only export the data to excel and create my own .csv to a data merge in indesign?

    Thank you

    Rich

    Yes, JavaScript is case-sensitive, so the name of a field must be used in the same way, it has been defined in the form. If you have a field named "Field 1", you can not access via "field 1" - these two names is different. ""

  • ODI - how to export data of "elimination" HFM?

    Hello

    I'm trying to export some data from HFM in SQL, using ODI table. It seems that ODI export data from the 'currency of the entity' as a default. Is it possible to export the value of "elimination" instead?

    If so, how can I do it?

    It is not the case. Only data can be exported with ODI. Elimination is regarded as aggregated data, and for this reason cannot be exported. Only level 0 data can be exported.

Maybe you are looking for

  • SHIFT key no longer works correctly

    Just after the update for Sierra, my shift key don't work as it should. I can use it to make caps, so I know there is nothing wrong with the keyboard, but I can't use it for shortcuts in the programs. For example, before I could hold shift and right-

  • Re: El Capitan / about this Mac / Support

    MacBook Air running v10.11.4 El Capitan. Hello.. If I click on to about this Mac > then click the Support tab, and then click Manual, user manuall window opens but no amount of command + or by clicking on the magnifying glass icon allows so you can a

  • Developer option in settings what is it?

    I went to my settings on my iPhone and under social media options, there is a "Developer" option, which makes what to do?

  • A40: Boot from external USB HDD

    Hi guys.Who could help me? The problem: I recently bought USB 2.0 HDD case, the device is working properly and everything is OK, but I can't boot from it. The model is A40 and start USB FDD option is available, how could I go around it and make it my

  • Acer Aspire E5 - 521 AMD 1.8 GHz Turbo 2.4 GHz seems slow when it should speed up

    I have updated the laptop to Windows Home 10.  I noticed that the speed of the CPU drops to 1.7 GHz .99GHz whenever applications run.  However, when you are sitting idle, it will accelerate up to almost 2.4 GHz (what?).  I noticed when editing a vide