UCM API usage

Hi guys,
I need to create customized portlets integrated with UCM (search, workflow functionalities etc).
I have used the CIS and CPS successfully but need to have customized functionalities. So I thought of using the UCM API instead.
I beleive I require the jars for the api but could not find the location where from i can download them.
For the time being, I just want to say search documents from content server from a standalone java class (set aside the portlet stuff for now).
Can someone brief me on where to get the UCM api jars and a documentation/tutorial on how to use them from normal java class.
The requirement is pretty urgent. So I will appreciate if someone can provide some quick help.
Regards,
Deep.

Hey Deep,
I would actually stick with CIS in this instance for use in your custom code. You have a couple options:
1. Use CIS in standalone mode as part of your portlet/java class
2. Use the existing CIS Server running for your CPS install and make a client connection to it from your custom portlet.
There is sample code for initializing CIS from code for both of these options in the documentation. You will need the cis-client-8.0.0.jar file in your classpath for either option.
Using the standard UCM Api jars (i.e. server.zip if you were referring to that) doesn't really work from a portal environment. Those classes are meant to be used in the context of the content server.
For non CIS options you have the WSDL's as jstortz mentioned as well as the IdcServerBean. I would still stick with CIS.
Hope that helps,
Andy Weaver - Software Consultant
Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=amw >
Check out our Oracle Consulting Services Section.

Similar Messages

  • UCM API Methods for PDF Water Marking and Time stamping ???

    hi,
    i am working on project, the requirment is we need to migrate from DMS (DIGI SAFE) To UCM.
    here we need to approch through API, it should not through tool based functionality. document should be water marked and time stamped when we retrived the document through CIS.
    is there ant UCM API's for water mark and time stamp ??? please provide the methods for it. is there any API mehtods for Document versioing ??
    i am presently working windows 7 OS ? i am trying to install UCM 10gR3 in Windows 7 OS, will it support for UCM ??
    any help would be apprciated.
    Regards,
    YT

    Hi,
    There are services in Content Server that will allow you to create revisions of existing items. For example, CHECKIN_UNIVERSAL service will check in a new revision of an item if that Content ID already exists. You can also checkout a document if needed using the CHECKOUT service. Please refer to the services reference guide for more details (http://download.oracle.com/docs/cd/E14571_01/doc.1111/e11011/toc.htm).
    Regarding conversion and watermarking...
    You don't have to call a service to convert or watermark a document. These features have to be configured on the server. If you configure the content server to convert Word documents to PDF, then whenever a Word document is checked in, the content server will automatically convert it to PDF. In addition, if you have PDFWatermarking enabled and configured, watermarks will be applied automatically as well. All you have to do is ensure the product is configured correctly for the formats you want, and then check in the document. When you retrieve a document (using the GET_FILE service for example), you can ask for the PDF version by passing additional parameters.
    Please review the Application Administrators Guide (http://download.oracle.com/docs/cd/E14571_01/doc.1111/e10978/toc.htm) for info on enabling and configuring PDF Watermarking.
    The doc links referenced above are for UCM 11g. The same docs are available for 10gR3 at http://download.oracle.com/docs/cd/E10316_01/ouc.htm.
    --Vijay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oh no! "Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime APIs."

    Tried to submit an app to the Mac App store and I received this now:
    "Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime APIs."
    Looks like a fix is in for Adobe Air (https://bugbase.adobe.com/index.cfm?event=bug&id=3680732), but I'm not sure if the same is being performed on Director.
    I'm not using any Xtras or anything, I think this is just embed within the Director builds.
    Looks like submitting anything to any Apple App store is going to be on hold for everyone until this gets fixed.

    Hi,
    Looks like this issue has been fixed in April 8th, 2014 release of AIR SDK. So the latest release 13.0.0.111 on May 13th, 2014 will have this issue fixed.
    Download Adobe AIR SDK
    Release Notes | Flash Player® 13 AIR® 13
    Thanks!
    Mohan

  • Deprecated API Usage

    Hello,
    I have recently send my app for submission to App Store and it got rejected with this message:
    Dear developer, We have discovered one or more issues with your recent delivery for "App".   To process your delivery, the following issues must be corrected:
    Deprecated API Usage -  Apple no longer accepts submissions of apps that use QuickTime APIs.
    Once   these issues have been corrected,   go to the Version Details page and click "Ready to Upload Binary." Continue through the submission process until the app status is "Waiting for Upload." You can then deliver the corrected binary.
    Regards,
    The App Store team
    I am using AIR Runtime for my application. What could be the problem ? Can anybody advise how to fix this ?
    Thanks!

    Hi,
    Looks like this issue has been fixed in April 8th, 2014 release of AIR SDK. So the latest release 13.0.0.111 on May 13th, 2014 will have this issue fixed.
    Download Adobe AIR SDK
    Release Notes | Flash Player® 13 AIR® 13
    Thanks!
    Mohan

  • UCM API documnetation: custom services

    Hi All,
    I am looking our for some documentation on UCM API. Primarily i am interested in customization of services and their of extension.
    cheers

    hey jason and user11087503,
    thanks for you replys, but this isnt what I was looking for. Let me re-phrase my question.
    See i am exploring the UCM APIs; you must have seen for CIS we have java docs which details about various classes
    Is there something similar available for UCM APIs.
    many thanks,
    sapan

  • Mac App store submission fails because of QuickTime API usage

    I just tried to upload a desktop app to the Mac app store and got an update email from Apple saying:
    "... Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime APIs...'
    I'm not explicitly using QuickTime in my app as far as I know, but I do use StageVideo.  With a bit of searching it appears that other frameworks (Unity for instance) are experiencing the same problem just recently. I guess this is possibly a bigger picture issue where Apple have changed something that breaks the desktop submission process for some frameworks.
    Has anyone else seen this issue (if not then I guess maybe not many desktop apps are being submitted) and if so is there a workaround?
    ** EDIT **
    I think it is something to do with this:
    https://developer.apple.com/library/mac/releasenotes/General/CarbonCoreDeprecations/index. html#//apple_ref/doc/uid/TP40012224-CH1-SW16
    And there is at least one other person that has noticed it :
    http://forums.adobe.com/message/5906984

    There is a bug report on bugbase for this issue now - it looks like it will affect all attempts to upload an AIR app to the Mac App store.  If you are developing a desktop app or have existing desktop apps for sale on the app store then this issue will probably stop you releasing or updating them. 
    Adobe engineers are apparently aware and investigating but a vote if the issue affects you would always help:
    https://bugbase.adobe.com/index.cfm?event=bug&id=3680732

  • Search REST API - Usage reports

    Hi,
    We use the Search REST API to execute queries. 
    The Usage reports on the Site Collection under Popularity and Search Reports do not contain any data.
    Is there a way to get usage data for queries executed by the REST API?
    Best regards,
    Christoffer Vig

    You suggest running queries directly against the SP log database? I see it described at http://technet.microsoft.com/en-us/library/hh769359(v=office.14).aspx as well.
    I always thought this was strictly prohibited in a production environment and will void warranty, but is the logging database an exception to this?
    Thanks,
    Mikael Svenson
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • Thor.API.Operations.tcProvisioningOperationsIntf.set  : API Usage

    Hi experts,
    Need help to write code using Thor.API.Operations.tcProvisioningOperationsIntf.set API.
    I want to set task status to completed.
    Please provide clue for usage of this API and parameters passing.
    [API Link|http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_904/doc_cd/javadocs/operations/Thor/API/Operations/tcProvisioningOperationsIntf.html]
    Thanks.

    864070 wrote:
    Hi experts,
    Need help to write code using Thor.API.Operations.tcProvisioningOperationsIntf.set API.
    I want to set task status to completed.
    Please provide clue for usage of this API and parameters passing.
    [API Link|http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_904/doc_cd/javadocs/operations/Thor/API/Operations/tcProvisioningOperationsIntf.html]
    Thanks.Just an example here:
    http://idmclub.wikidot.com/direct-provisioning
    and here some discussion:
    https://forums.oracle.com/forums/thread.jspa?messageID=10433165

  • Java.util.zip java.util.jar API usage

    I have been trying unsuccessfully for the past two days to be able to programatically add and extract files into and from a JAR using the API. I haven't found any API docs that cover the basics and I have been stumped using the nuggets that I have found on the Forum so far. Below is the code so far. Feel free to use what works in your programs, but if you find out how to get this to work. Sorry for the long post, but I gather this is a common problem that needs to be solved.
    ___________JAR CLASS_______________
    import java.io.*;
    import java.util.*;
    import java.util.jar.*;
    import java.util.zip.*;
    public class Jar {
        public Jar() {
        public boolean copyToJar(File[] sources, File destination) {
            if (destination == null) {
                return false;
            if (nameContainsWildcards(destination)) {
                return false;
            File[] sourceArray = expandWildcards(sources);
            if (sourceArray == null) {
                System.out.println("sourceArray was empty");
                return false;
              System.out.println("Ready to add " + sourceArray.length + " files to " + destination);
              //variables for copying the old destination file to the new destination
              File tmpFile = null;
              JarFile tmpJarFile = null;
              InputStream jarInput = null;
              JarInputStream jarIn = null;
            InputStreamReader jarDataFile = null;
              //variables for the destination
            OutputStream output = null;
            JarOutputStream jarOut = null;
            File input = null;
            FileInputStream dataFile = null;
            int buf = -1;
              if (destination.exists()) {
                   System.out.println("The destination file exists");
                   //copy the destination to temporary
                   //fix copyToJar to use the same .tmp file name as the destination (for reentrant code)
                   tmpFile = new File(destination.getParent() + "\\" + "jar.tmp");
                   if (tmpFile.exists()) {
                        tmpFile.delete();
                   //rename the original to the TempFile
                   destination.renameTo(tmpFile);
                   if (destination.exists()) {
                        destination.delete();
                   try {
                        tmpJarFile = new JarFile(tmpFile);
                   } catch (IOException ioe) {
                        System.out.println("Exception while creating JarFile " + ioe );
            try {
                   //initialize the destination
                output = new FileOutputStream(destination);
                jarOut = new JarOutputStream(output);
                   //if there is a tmpFile copy contents of tmpFile to the new destination
                   if (tmpFile != null) {
                        jarInput = new FileInputStream(tmpFile);
                        jarIn = new JarInputStream(jarInput);
                        ZipEntry ze = null;
                        boolean contains = false;
                        while((ze = jarIn.getNextEntry()) != null) {
                             System.out.println("Working on zipEntry " + ze.getName());
                             contains = false;
                             for (int i=0; i<sourceArray.length; i++) {
                                  if (ze.getName().compareToIgnoreCase(sourceArray.getName()) == 0) {
                                       contains = true;
                             if (contains == false) {
              jarDataFile = new InputStreamReader(tmpJarFile.getInputStream(ze));
                                  System.out.println("The zip Entry was copied from the old file");
                                  jarOut.putNextEntry(ze);
                                  buf = -1;
                                  buf = jarDataFile.read();
                                  while (buf != -1) {
                                       jarOut.write(buf);
                                       buf = jarDataFile.read();
                                  jarOut.closeEntry();
                                  jarDataFile.close();
                        jarIn.close();
                        jarInput.close();
                        tmpFile.delete();
                        tmpJarFile.close();
                   //copy the new files to the destination
    for (int i=0; i<sourceArray.length; i++) {
    if (sourceArray[i].isDirectory()) {
                             //fix copyToJar to copy entire directory if the directory is given as a source
    } else {
    System.out.println("Adding " + sourceArray[i].getAbsolutePath() + " to "
    + destination.getAbsolutePath());
    dataFile = new FileInputStream(sourceArray[i]);
    ZipEntry entry= new ZipEntry(sourceArray[i].getName());
    jarOut.putNextEntry(entry);
    buf = -1;
    buf = dataFile.read();
    while (buf != -1) {
    jarOut.write(buf);
    buf = dataFile.read();
    jarOut.closeEntry();
    jarOut.close();
    output.close();
    dataFile.close();
    } catch (IOException ioe) {
    System.out.println("Exception " + ioe + " occured while writing the backup jar file.");
    try {
    if (jarOut != null)
    jarOut.close();
    if (output != null)
    output.close();
    if (dataFile != null)
    dataFile.close();
    if (jarInput != null)
    jarInput.close();
    if (jarIn != null)
    jarIn.close();
    } catch (IOException ioe2) {
    System.out.println("Exception " + ioe2 + " closing the jar file.");
    return false;
    return true;
    public boolean copyToJar(File source, File destination) {
    File[] sourceArray = expandWildcards(source);
    if (sourceArray == null) {
    System.out.println("sourceArray was empty");
    return false;
    return copyToJar(sourceArray, destination);
         public boolean extractFromJar(File source, File extract, File destDirectory) {
              try {
                   JarFile jarIn = new JarFile(source);
                   ZipEntry ze = jarIn.getEntry(extract.getName());
                   if (ze == null) {
                        System.out.println("Could not find file " + extract + " in jarFile " + source);
                   } else {
                        JarInputStream jarInput = null;
                        InputStreamReader buf = null;
                        FileOutputStream out = null;
                        InputStream in = jarIn.getInputStream(ze);
                        buf = new InputStreamReader(in);
                        out = new FileOutputStream(extract);
                        int buffer = -1;
                        buffer = buf.read();
                        while (buffer != -1) {
                             out.write(buffer);
                             buffer = buf.read();
              } catch (IOException ioe) {
                   System.out.println("Could not extract the file " + extract + " from jarFile " + source);
                   return false;
              return true;
    public int numberOfLines(File fileToCount) {
    int num = 0;
    try {
    FileReader regRead = new FileReader(fileToCount);
    LineNumberReader regReadLine = new LineNumberReader(regRead);
    while (regReadLine.readLine() != null) {
    num = regReadLine.getLineNumber();
    regRead.close();
    regReadLine.close();
    } catch (IOException ioe) {
    System.out.println("Exception " + ioe + " occured in " + this.getClass().getName());
    return num;
    static public boolean nameContainsWildcards(File source) {
    if (source != null) {
    if ((source.getName().indexOf('*')) >=0) {
    return true;
    //fix this check to look for other wildcards
    return false;
    * Expands the * wildcard that does not start the expression. For example,
    * in a directory whose contents are TEST1.DAT, TEST2.DAT AND TEST3.DAT, this
    * funtion will return the following based on the input
    * Input Returns
    * TEST1.DAT File[] containing the first file
    * TEST*.DAT File[] containing all three files plus any that match TEST*.*
    * T*.* File[] containing all three files plus any that match T*.*
    * *.* File[] containing all three files plus any that match *.*
    * EST.DAT File[] containing no files (not a legal expression...yet)
    * ? or
    public File[] expandWildcards(File source) {
    if (source == null) {
    System.out.println("Cannot expand wildCards for a null File");
    return null;
    File[] sourceArray = null;
    if (nameContainsWildcards(source)) {
    FileFilter wildcardFilter = new WildcardFilter(source.getName());
    File sourceParent = new File(source.getParent());
    if (sourceParent != null) {
    sourceArray = sourceParent.listFiles(wildcardFilter);
    } else {
    sourceArray = new File[1];
    sourceArray[0] = source;
    } else {
    sourceArray = new File[1];
    sourceArray[0] = source;
    return sourceArray;
    public File[] expandWildcards(File[] sources) {
    File[] sourceArray = null;
    List fileArrays = new ArrayList();
    for (int i=0; i< sources.length; i++) {
    fileArrays.add(expandWildcards(sources[i]));
    int totalFiles = 0;
    for (int i=0; i < fileArrays.size(); i++) {
    File[] tmp = (File []) fileArrays.get(i);
    if (tmp != null) {
         //System.out.println("Adding " + tmp.length + " to total files");
         totalFiles += tmp.length;
    System.out.println("totalFiles expanded = " + totalFiles);
    sourceArray = new File[totalFiles];
    int nextIndex = 0;
    for (int i=0; i < fileArrays.size(); i++) {
    File[] tmp = (File []) fileArrays.get(i);
    if (tmp != null) {
                        for(int j=0; j < tmp.length; j++) {
                             //System.out.println("Adding file " + tmp[j] + " to sourceArray");
                             sourceArray[nextIndex] = tmp[j];
                             nextIndex++;
    return sourceArray;
    static public void main(String argv[]) {
    Jar jarRun = new Jar();
    File testFile = new File("D:\\test.jar");
              File testFile1 = new File("C:\\Program Files\\RBusinessSystems\\Location Sync\\LONGMONT\\LongmontDefaultCustomers.jar");
              File testFile2 = new File("C:\\Program Files\\RBusinessSystems\\Location Sync\\LONGMONT\\LongmontDefaultInventory.jar");
              File testFile3 = new File("C:\\Program Files\\RBusinessSystems\\Location Sync\\LONGMONT\\LongmontDefaultVendors.jar");
              File testFile4 = new File("C:\\Program Files\\RBusinessSystems\\Location Sync\\LONGMONT\\LongmontDefaultClerks.jar");
              if (argv.length >= 1) {
                   System.out.println("Creating the Jar File");
                   jarRun.copyToJar(testFile1, testFile);
                   jarRun.copyToJar(testFile2, testFile);
                   jarRun.copyToJar(testFile3, testFile);
                   jarRun.copyToJar(testFile4, testFile);
              } else {
                   System.out.println("Extracting from the Jar File");
                   jarRun.extractFromJar(testFile, new File("d:\\LongmontDefaultCustomers.jar"), new File("d:\\"));
                   jarRun.extractFromJar(testFile, new File("d:\\LongmontDefaultInventory.jar"), new File("d:\\"));
                   jarRun.extractFromJar(testFile, new File("d:\\LongmontDefaultVendors.jar"), new File("d:\\"));
                   jarRun.extractFromJar(testFile, new File("d:\\LongmontDefaultClerks.jar"), new File("d:\\"));
    ______________WILDCARD FILTER CLASS __________
    import java.io.File;
    import java.io.FileFilter;
    public class WildcardFilter implements FileFilter {
        private String compare = null;
        private String wildcardStart = null;
        private String wildcardMiddle = null;
        private String wildcardEnd = null;
        WildcardFilter(String comparison) {
            setCompare(comparison);
        public void setCompare(String comparison) {
            compare = comparison.toLowerCase();
            wildcardStart = null;
            wildcardMiddle = null;
            wildcardEnd = null;
            int index = compare.indexOf('*');
            if (index != -1) {
                wildcardStart = compare.substring(0, index);
                if (index + 1 < compare.length()) {
                    wildcardEnd = compare.substring(index + 1, compare.length());
                System.out.println("Expanding fileNames starting with " + wildcardStart
                          + " and ending with " + wildcardEnd);
        public boolean accept(File check) {
            String checkName = check.getName().toLowerCase();
            if (compare == null) {
                return false;
            if (((wildcardEnd == null) || (wildcardEnd.compareTo("") == 0))
                && ((wildcardStart == null) || (wildcardStart.compareTo("") ==0))) {
                return false;
            if (((wildcardStart == null) || (wildcardStart.compareTo("") ==0))
                && (wildcardEnd != null)) {
                if ((wildcardEnd.compareTo(".*") ==0) || (wildcardEnd.compareTo("*") == 0))
                    return true;
                if (checkName.endsWith(wildcardEnd))
                    return true;
            if (((wildcardEnd == null) || (wildcardEnd.compareTo("") == 0))
                && (wildcardStart != null)) {
                if (checkName.startsWith(wildcardStart))
                    return true;
            if ((checkName.startsWith(wildcardStart))
                && (checkName.endsWith(wildcardEnd))) {
                return true;
            return false;

    I figured it out based on some of the other posts I found on this Forum. Following is the working code. While this code is not as robust as it needs to be for production, it will at least get you started on extracting from jar files and writing to jarfiles.
    import java.io.*;
    import java.util.jar.*;
    import java.util.zip.*;
    //NOTE: You can only copy entries created by the Jar tool
    class JarTest {
        JarTest() {
        public boolean copyToJar(File[] fileList, File jarFile) {
            JarEntry je = null;
            File tmpFile = null;
            FileOutputStream fos = null;
            JarOutputStream jos = null;
            BufferedWriter bw = null;
            FileInputStream fis = null;
            JarInputStream jis = null;
            BufferedReader br = null;
            int buf = -1;
            boolean badZipFile = false;
            boolean refreshFromNewFile = false;
            String tmpFileName = jarFile.getAbsolutePath() + ".tmp";
            try {
                tmpFile = new File(tmpFileName);
                fos = new FileOutputStream(tmpFile);
                jos = new JarOutputStream(fos);
                bw = new BufferedWriter(new OutputStreamWriter(jos));
            } catch (IOException ioe) {
                ioe.printStackTrace();
        if(jarFile.exists()) {
                try {
                    fis = new FileInputStream(jarFile);
                    jis = new JarInputStream(fis);
                    br = new BufferedReader(new InputStreamReader(jis));
                } catch (IOException ioe) {
                    System.out.println(ioe);
                try {
                    while((je = jis.getNextJarEntry()) != null) {
                        refreshFromNewFile = false;
                        for (int i = 0; i < fileList.length; i++) {
                            if (je.getName().compareToIgnoreCase(fileList.getName()) == 0) {
    refreshFromNewFile = true;
    if (refreshFromNewFile) {
    //do nothing so we can add the new file below
    } else {
    jos.putNextEntry(je);
    int index = 0;
    buf = -1;
    while((buf = br.read()) != -1) {
    bw.write(buf);
    index++;
    System.out.println("Copied entry " + je.getName() + " of " + index + " bytes from " + jarFile.getName());
    bw.flush();
    jos.closeEntry();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    badZipFile = true;
    try {
    br.close();
    jis.close();
    fis.close();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    for (int i = 0; i < fileList.length; i++) {
    try {
    fis = new FileInputStream(fileList[i]);
    br = new BufferedReader(new InputStreamReader(fis));
    // write the new entries to the tmpFile
    je = new JarEntry(fileList[i].getName());
    jos.putNextEntry(je);
    int index = 0;
    buf = -1;
    while((buf = br.read()) != -1) {
    bw.write(buf);
    index++;
    bw.flush();
    System.out.println("Added entry " + je.getName() + " of " + index + " bytes.");
    jos.closeEntry();
    } catch (IOException ioe) {
    ioe.printStackTrace();
    badZipFile = true;
    try {
    jos.close();
    if (tmpFile != null) {
    // rename the tmpFile to jarFile
    jarFile.delete();
    tmpFile.renameTo(jarFile);
    } catch (IOException ioe) {
    ioe.printStackTrace();
    return true;
    public boolean extractFromJar(File[] fileList, File jarFile) {
    ZipEntry zen = null;
    BufferedReader br = null;
    FileOutputStream fos = null;
    BufferedWriter bw = null;
    try {
    for (int i = 0; i < fileList.length; i++) {
    JarFile jar = new JarFile(jarFile);
    zen = jar.getEntry(fileList[i].getName());
    if (zen == null) {
    System.out.println("Could not find the file " + fileList[i].getName() + " in the zip file " + jar.getName());
    } else {
    File parentDirectory = new File(fileList[i].getParent());
    parentDirectory.mkdirs();
    InputStream in = jar.getInputStream(zen);
    br = new BufferedReader(new InputStreamReader(in));
    fos = new FileOutputStream(fileList[i]);
    bw = new BufferedWriter(new OutputStreamWriter(fos));
    int buf = -1;
    int index = 0;
    while((buf = br.read()) != -1) {
    bw.write(buf);
    bw.flush();
    index++;
    System.out.println("Extracted file " + fileList[i] + " of " + index + " bytes from " + jarFile);
    br.close();
    bw.close();
    } catch (IOException ioe) {
    System.out.println(ioe);
    return false;
    return true;
    public static void main(String[] argv) {
    JarTest jt = new JarTest();
    File jarFile = new File("d:\\test\\test.zip");
    File[] fileList1 = new File[] {new File("d:\\test\\CustomerRefreshRequest.bat"),
                                            new File("d:\\test\\CustomerUpdateGet.bat"),
                                            new File("d:\\test\\CustomerUpdateRequest.bat"),
                                            new File("d:\\test\\LongmontDefaultClerks.jar"),
                                            new File("d:\\test\\LongmontDefaultCustomers.jar"),
                                            new File("d:\\test\\LongmontDefaultInventory.jar")};
    File[] fileList2 = new File[] { new File("d:\\test\\install.bat"),
    new File("d:\\test\\LongmontDefaultVendors.jar"),
    new File("d:\\test\\CustomerUpdateSend.bat") };
    jt.copyToJar(fileList1, jarFile);
    jt.copyToJar(fileList2, jarFile);
    File[] fileList3 = new File[] {new File("d:\\test\\temp\\CustomerRefreshRequest.bat"),
                                            new File("d:\\test\\temp\\CustomerUpdateGet.bat"),
                                            new File("d:\\test\\temp\\CustomerUpdateRequest.bat"),
                                            new File("d:\\test\\temp\\LongmontDefaultClerks.jar"),
                                            new File("d:\\test\\temp\\LongmontDefaultCustomers.jar"),
                                            new File("d:\\test\\temp\\LongmontDefaultInventory.jar")};
    File[] fileList4 = new File[] { new File("d:\\test\\temp\\INSTALL.BAT"),
    new File("d:\\test\\temp\\LongmontDefaultVendors.jar"),
    new File("d:\\test\\temp\\CustomerUpdateSend.bat") };
    jt.extractFromJar(fileList3, jarFile);
    jt.extractFromJar(fileList4, jarFile);

  • API Usage - OIM 10g

    For a particular provisioning task i want to determine the group to which it is assigned using code. Please let me know which API method can be used for this. I have only request key as parameter. Thanks.

    use tcRequestOperationsIntf.getApprovalTasksAssigned() method
    find below link
    http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_903/doc_cd/javadocs/operations/Thor/API/Operations/tcRequestOperationsIntf.html#getApprovalTasksAssigned%28java.util.Map%29

  • NavigationContext.navigationModel[modelPath] api usage

    We are trying to build a html list with <ul> <li> tags from a navigation model object.
    As part of the code when we use navigationContext.defaultNavigationModel it returns navigation model and we are able to generate list, however we want a specific navigation model not the defeault for site in this case. For that reason when we use navigationContext.navigationModel[modelPath] api it should return specific navigation model as per [Oracle documentation| http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_app_els.htm#CHDCBJGJ] however it does not return any navigation model.
    I am using
    navigationContext.navigationModel['/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/navigation/gsr34114469_daaf_4891_87de_926f850bb22f']
    where /oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/navigation/gsr34114469_daaf_4891_87de_926f850bb22f is where navigation.xml is located. I got this path from edit properties of the navigation menu in webcenter spaces.
    Here is the code that generates list..
    --<c:set var="model1" value="${navigationContext.defaultNavigationModel}" scope="session"/>
    --<c:set var="trNodes" value="${model1.listModel['startNode=/, includeStartNode=false']}" scope="session"/>
    --<ul>
    --<c:forEach var="menu1" varStatus="vs1" items="${trNodes}">
    --<li class="blogs">
    --${menu1.title}
    --</li>
    --</c:forEach>
    --</ul>
    Here is the code that does not...
    --<c:set var="model1" value="${navigationContext.navigationModel['/oracle/webcenter/siteresources/scopedMD/s8bba98ff_4cbb_40b8_beee_296c916a23ed/navigation/gsr34114469_daaf_4891_87de_926f850bb22f']}" scope="session" />
    --<c:set var="trNodes" value="${model1.listModel['startNode=/, includeStartNode=false']}" scope="session"/>
    --<ul>
    --<c:forEach var="menu1" varStatus="vs1" items="${trNodes}">
    --<li class="blogs">
    --${menu1.title}
    --</li>
    --</c:forEach>
    --</ul>
    Any idea what could be wrong here?
    Thanks
    Manoj
    Edited by: Manoj on May 4, 2011 9:45 AM
    Edited by: Manoj on May 4, 2011 9:47 AM

    Manoj,
    In a pagetemplate, we use this codesnippet:
    <af:forEach var="node" varStatus="vs" items="#{navigationContext.navigationModel['/oracle/webcenter/portalapp/navigations/default-navigation-model'].listModel['startNode=/, includeStartNode=false']}">
    <div class="BarColor${node.index+1}">
    <af:goLink id="pt_gl3" text="#{node.title}" destination="#{node.goLinkPrettyUrl}" targetFrame="#{node.attributes['Target']}"></af:goLink>
    </div>
    </af:forEach>
    Regards,
    Rob

  • Precompiled third party API usage

    Hi,
    I have a question related to the compile and run time behavior of the java objects.
    I have written a class which is using third party API classes. The third party API is compiled using the older version (say JDK1.2) version of java. Now I compile my developed class with JDK 1.6.
    When we compile a java file which is using the third party API classes, does the byte code hence generated contains the references of the API classes used or somehow it include the byte code of these classes in the newly compiled classes' bytecode? If the byte code of the API classes gets inserted into the newly generated class, does the third party class will also be compiled with the JDK1.6.
    Actually I am trying to migrate my application from weblogic 8.1 to weblogic 10.0. The higher version of weblogic require the java files compiled using JDK 1.5 or higher versions. Since the third party APIs are compiled using the previous versions of JDK so I am getting a bit skeptical whether this will work or not. If at all, this will work (with the old API classes) than how?
    Thanks in advance,
    Amit Singhal

    I would say to (at least attempt) to get new versions of the librarires.
    In any case, the only byte code that shows up in a classfile is created from the code in that class definition (excpet for some references to static final variables, but that can be overlooked for now). Nothing from those "libraries" will be inserted into your newly compiled classes.
    Now, as far as those libraries functioning under a new JVM (with such a large version disparity) is questionable. Technically they should, but I would neither count on this, nor expect them to be effecient even if they do function.

  • PowerBI API Usage - Sample app - UserNotLicensed

    Hi, I have a working PowerBI Public Preview account.
    I'm trying to use the PowerBI RestAPI but keep getting "User is not licensed" (the sample app is here: https://msdn.microsoft.com/en-US/library/dn931282.aspx#Configure)
    The user is provisioned correctly in Azure Active Directory, as specified by the link above. What am I missing? Do
    I need to change the baseURI in the PowerBIModel for the sample app? (see below). 
    C# code (line 19 in PowerBIModel.cs in the SampleApp
    static Uri baseAddress = new Uri("https://api.powerbi.com/beta/myorg/");I have tried replacing "/beta/myorg" with "myADName.onmicrosoft.com/myAppName"
    as suggested here: https://msdn.microsoft.com/en-us/library/dn877544.aspx
    but I arbitrarily get either "UserNotLicensed" or "Invalid JWT token" 
    Thank you for any help you can offer.

    In case anyone else keeps getting the same error ...
    I think It was caused by a simple cookie issue as follows....just use a different browser & clear cookies/cache if you are testing with >1 PowerBI account....and make sure to use an AzureAD user you created within AD, not your generic Azure acct.
    I was signed into "Account1", which was not part of my AzureAD...but it had a PowerBI subscription. 
    When I ran my webapp on localhost, it asked me to sign in to PowerBI via Oauth. So I signed in using [AzureAD member acct] "Account2". (or it just signed me in directly..probably to Account1)
    It kept trying to use Account1 to authenticate...as the issue disappeared when I switched browsers and cleared cookies in the new browser. Occasionally I also
    got the message "Request headers too long"....for the same dual account reason..same fix.

  • PowerBI API Usage - Sample app

    Hi, I have a working PowerBI Public Preview account.
    I'm trying to use the PowerBI RestAPI but keep getting "User is not licensed" (the sample app is here: https://msdn.microsoft.com/en-US/library/dn931282.aspx#Configure)
    The user is provisioned correctly in Azure Active Directory, as specified by the link above. What am I missing? Do
    I need to change the baseURI in the PowerBIModel for the sample app? (see below). 
    C# code (line 19 in PowerBIModel.cs in the SampleApp
    static Uri baseAddress = new Uri("https://api.powerbi.com/beta/myorg/");I have tried replacing "/beta/myorg" with "myADName.onmicrosoft.com/myAppName"
    as suggested here: https://msdn.microsoft.com/en-us/library/dn877544.aspx
    but I arbitrarily get either "UserNotLicensed" or "Invalid JWT token" 
    Thank you for any help you can offer.

    In case anyone else keeps getting the same error ...
    I think It was caused by a simple cookie issue as follows....just use a different browser & clear cookies/cache if you are testing with >1 PowerBI account....and make sure to use an AzureAD user you created within AD, not your generic Azure acct.
    I was signed into "Account1", which was not part of my AzureAD...but it had a PowerBI subscription. 
    When I ran my webapp on localhost, it asked me to sign in to PowerBI via Oauth. So I signed in using [AzureAD member acct] "Account2". (or it just signed me in directly..probably to Account1)
    It kept trying to use Account1 to authenticate...as the issue disappeared when I switched browsers and cleared cookies in the new browser. Occasionally I also
    got the message "Request headers too long"....for the same dual account reason..same fix.

  • Java invoke Ant API usage collection (Chinese)

    Ant��Java��������������������������������������������java��������������������������������������������������������������������ant������������API������������������������������������������������������������������������
    Ant����������������������������������������Ant��������build.xml��������������������������������������������Ant��������API����������Ant��API����������
    ��������Ant ��������������������������Java ���� Ant API������������������������������������Ant��������������������������������������������������������������������Java����Ant API������������������������������������������������������������Ant 1.7.0����������������������������Ant��API����������������������������������������������������������������Ant��API����������������
    1�� ����������
    1�� ��������
    Project prj=new Project();
    Mkdir mkdir=new Mkdir();
    mkdir.setProject(prj);
    mkdir.setDir(new File("d:\\temp\\dir1"));
    mkdir.execute();
    2�� ��������
    Project prj=new Project();
    Delete delete=new Delete();
    delete.setProject(prj);
    delete.setDir(new File("d:\\temp\\dir1")); //����������������������������
    delete.execute();
    ������������Ant Task����Mkdir��Delete��Copy��Move��Zip������������������Project��������������Ant Task��������Project��������������Ant Task������Project������
    2. ��������������������
    1������copy
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setFile(new File("d:\\temp\\f1.txt");
    copy.setTodir(new File("d:\\temp\\dir1"));
    copy.execute(); //��f1.txt����copy��dir1��
    2��copy�������������������������� ���� xml���� @eosapp_name@ ��������������������
    Project prj=new Project();
    Copy copy = new Copy();
    copy.setEncoding("UTF-8");
    copy.setProject(prj);
    copy.setTodir("d:\\temp");
    FileSet fileSet=new FileSet();
    fileSet.setDir(new File(eosHome+"/base/template.app"));
    fileSet.setIncludes("**/*.xml");
    copy.addFileset(fileSet);
    FilterSet filter=copy.createFilterSet();
    filter.addFilter("eosapp_name","app1");
    copy.execute();
    2����������������Move��������Copy��������������Move������Copy��������
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setFile(new File("d:\\temp\\f1.txt");
    copy.setTodir(new File("d:\\temp\\dir1"));
    copy.execute(); //��f1.txt����������dir1��
    3������������
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setFile(new File("d:\\temp\\f1.txt");
    copy.setTodir(new File("d:\\temp\\f2.txt"));
    copy.execute(); //��f1.txt����������f2.txt��
    4������������
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setFile(new File("d:\\temp\\dir1");
    copy.setTodir(new File("d:\\temp\\dir2"));
    copy.execute(); //��dir1����������dir2,��������dir1��������������������dir2������
    3������������ FileSet��������������������������������������������������copy��move��������������
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setTodir(new File("d:\\temp\\todir"));
    FileSet fs=new FileSet();
    fs.setProject(prj);
    fs.setDir(new File("d:\\javaprj\\src"));
    fs.setIncludes("**/*.*"); //������������
    fs.setExcludes("**/CVS,**/*.class"); //����CVS��������������.class����
    copy.addFileset(fs);
    copy.execute();
    ���� FileSet��setIncludes, ��setExcludes��������pattern, pattern���������������������������������������������� ��**������������������������*.*���������������� ��*.java������������������java��������
    4��������������������
    DirectoryScanner ds=new DirectoryScanner();
    ds.setBasedir(new File("d:\\temp\\war"));
    ds.setIncludes(new String[] {"**/*.jsp"});
    ds.scan();
    if(ds.getIncludedFilesCount()>0) {
    System.out.println("found jsp!");
    String[] includeFiles=ds.getIncludedFiles();
    for(String file:includeFiles){
    System.out.println(file);
    5����������������//������zip����
    Project prj=new Project();
    Zip zip=new Zip();
    zip.setProject(prj);
    zip.setDestFile(new File("d:\\temp\\src.zip"));
    FileSet fileSet=new FileSet();
    fileSet.setProject(prj);
    fileSet.setDir(new File("d:\\javaprj\\prj1\\src"));
    fileSet.setIncludes("**/*.java");
    zip.addFileset(fileSet);
    zip.execute();
    //��class��������jar��
    Project prj=new Project();
    Jar jar=new Jar();
    jar.setProject(prj);
    jar.setDestFile(new File("d:\\temp\\prj1.jar"));
    FileSet fileSet=new FileSet();
    fileSet.setProject(prj);
    fileSet.setDir(new File("d:\\javaprj\\prj1\\bin"));
    fileSet.setIncludes("**/*.class,**/*.properties");
    jar.addFileset(fileSet);
    jar.execute();
    6����������1����������������������������
    Project prj=new Project();
    Expand expand=new Expand();
    expand.setProject(prj);
    expand.setSrc(new File("d:\\temp\\src.zip"));
    expand.setOverwrite(overwrite);
    expand.setDest("d:\\temp\\out\\src");
    expand.execute();
    2��������������������������������������
    Project prj=new Project();
    Expand expand=new Expand();
    expand.setProject(prj);
    expand.setSrc(new File("d:\\temp\\src.zip"));
    expand.setOverwrite(overwrite);
    expand.setDest("d:\\temp\\out\\src");
    PatternSet patternset = new PatternSet();
    patternset.setIncludes("**/*.java");
    patternset.setProject(prj);
    expand.addPatternset(patternset);
    expand.execute();
    3������Mapper��������: ���� .../lib/*.jar ������ .../WEB-INF/lib����������������������
    Expand expand = new Expand();
    expand.setProject(prj);
    expand.setSrc(new File(zipFilePath));
    expand.setDest(new File(webDir+"/WEB-INF/lib"));
    PatternSet pattern = new PatternSet();
    pattern.setIncludes("lib/*.jar");
    expand.addPatternset(pattern);
    FileNameMapper mapper=new FlatFileNameMapper();
    expand.add(mapper);
    /* another way using mapper
    Mapper mapper=expand.createMapper();
    MapperType type=new MapperType();
    type.setValue("flatten");
    mapper.setType(type);
    expand.execute();
    7������zip����1�� ����zip������������������
    ZipFile zipfile = new ZipFile(new File(filepath));
    for (Enumeration entries = zipfile.getEntries(); entries.hasMoreElements();) {
    ZipEntry entry = (ZipEntry) entries.nextElement();
    if(entry.isDirectory())
    System.out.println("Directory: "+entry.getName());
    else
    System.out.println("file: "+entry.getName());
    zipfile.close(); //ZipFile��������close����������������
    2��zip��������,��Zip��������������������, ������glob
    ZipScanner scan=new ZipScanner();
    scan.setSrc(new File("d:\\temp\\test.zip"));
    scan.setIncludes(new String[] {"*","*/*"}); //��������������������������
    scan.scan();
    String dirs[]=scan.getIncludedDirectories();
    scan.setIncludes(new String[]{"**/*.xml"}); //��������
    scan.scan();
    String files[]=scan.getIncludedFiles();

    Ant��Java��������������������������������������������java��������������������������������������������������������������������ant������������API������������������������������������������������������������������������
    Ant����������������������������������������Ant��������build.xml��������������������������������������������Ant��������API����������Ant��API����������
    ��������Ant ��������������������������Java ���� Ant API������������������������������������Ant��������������������������������������������������������������������Java����Ant API������������������������������������������������������������Ant 1.7.0����������������������������Ant��API����������������������������������������������������������������Ant��API����������������
    1�� ����������
    1�� ��������
    Project prj=new Project();
    Mkdir mkdir=new Mkdir();
    mkdir.setProject(prj);
    mkdir.setDir(new File("d:\\temp\\dir1"));
    mkdir.execute();
    2�� ��������
    Project prj=new Project();
    Delete delete=new Delete();
    delete.setProject(prj);
    delete.setDir(new File("d:\\temp\\dir1")); //����������������������������
    delete.execute();
    ������������Ant Task����Mkdir��Delete��Copy��Move��Zip������������������Project��������������Ant Task��������Project��������������Ant Task������Project������
    2. ��������������������
    1������copy
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setFile(new File("d:\\temp\\f1.txt");
    copy.setTodir(new File("d:\\temp\\dir1"));
    copy.execute(); //��f1.txt����copy��dir1��
    2��copy�������������������������� ���� xml���� @eosapp_name@ ��������������������
    Project prj=new Project();
    Copy copy = new Copy();
    copy.setEncoding("UTF-8");
    copy.setProject(prj);
    copy.setTodir("d:\\temp");
    FileSet fileSet=new FileSet();
    fileSet.setDir(new File(eosHome+"/base/template.app"));
    fileSet.setIncludes("**/*.xml");
    copy.addFileset(fileSet);
    FilterSet filter=copy.createFilterSet();
    filter.addFilter("eosapp_name","app1");
    copy.execute();
    2����������������Move��������Copy��������������Move������Copy��������
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setFile(new File("d:\\temp\\f1.txt");
    copy.setTodir(new File("d:\\temp\\dir1"));
    copy.execute(); //��f1.txt����������dir1��
    3������������
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setFile(new File("d:\\temp\\f1.txt");
    copy.setTodir(new File("d:\\temp\\f2.txt"));
    copy.execute(); //��f1.txt����������f2.txt��
    4������������
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setFile(new File("d:\\temp\\dir1");
    copy.setTodir(new File("d:\\temp\\dir2"));
    copy.execute(); //��dir1����������dir2,��������dir1��������������������dir2������
    3������������ FileSet��������������������������������������������������copy��move��������������
    Project prj=new Project();
    Copy copy=new Copy();
    copy.setProject(prj);
    copy.setTodir(new File("d:\\temp\\todir"));
    FileSet fs=new FileSet();
    fs.setProject(prj);
    fs.setDir(new File("d:\\javaprj\\src"));
    fs.setIncludes("**/*.*"); //������������
    fs.setExcludes("**/CVS,**/*.class"); //����CVS��������������.class����
    copy.addFileset(fs);
    copy.execute();
    ���� FileSet��setIncludes, ��setExcludes��������pattern, pattern���������������������������������������������� ��**������������������������*.*���������������� ��*.java������������������java��������
    4��������������������
    DirectoryScanner ds=new DirectoryScanner();
    ds.setBasedir(new File("d:\\temp\\war"));
    ds.setIncludes(new String[] {"**/*.jsp"});
    ds.scan();
    if(ds.getIncludedFilesCount()>0) {
    System.out.println("found jsp!");
    String[] includeFiles=ds.getIncludedFiles();
    for(String file:includeFiles){
    System.out.println(file);
    5����������������//������zip����
    Project prj=new Project();
    Zip zip=new Zip();
    zip.setProject(prj);
    zip.setDestFile(new File("d:\\temp\\src.zip"));
    FileSet fileSet=new FileSet();
    fileSet.setProject(prj);
    fileSet.setDir(new File("d:\\javaprj\\prj1\\src"));
    fileSet.setIncludes("**/*.java");
    zip.addFileset(fileSet);
    zip.execute();
    //��class��������jar��
    Project prj=new Project();
    Jar jar=new Jar();
    jar.setProject(prj);
    jar.setDestFile(new File("d:\\temp\\prj1.jar"));
    FileSet fileSet=new FileSet();
    fileSet.setProject(prj);
    fileSet.setDir(new File("d:\\javaprj\\prj1\\bin"));
    fileSet.setIncludes("**/*.class,**/*.properties");
    jar.addFileset(fileSet);
    jar.execute();
    6����������1����������������������������
    Project prj=new Project();
    Expand expand=new Expand();
    expand.setProject(prj);
    expand.setSrc(new File("d:\\temp\\src.zip"));
    expand.setOverwrite(overwrite);
    expand.setDest("d:\\temp\\out\\src");
    expand.execute();
    2��������������������������������������
    Project prj=new Project();
    Expand expand=new Expand();
    expand.setProject(prj);
    expand.setSrc(new File("d:\\temp\\src.zip"));
    expand.setOverwrite(overwrite);
    expand.setDest("d:\\temp\\out\\src");
    PatternSet patternset = new PatternSet();
    patternset.setIncludes("**/*.java");
    patternset.setProject(prj);
    expand.addPatternset(patternset);
    expand.execute();
    3������Mapper��������: ���� .../lib/*.jar ������ .../WEB-INF/lib����������������������
    Expand expand = new Expand();
    expand.setProject(prj);
    expand.setSrc(new File(zipFilePath));
    expand.setDest(new File(webDir+"/WEB-INF/lib"));
    PatternSet pattern = new PatternSet();
    pattern.setIncludes("lib/*.jar");
    expand.addPatternset(pattern);
    FileNameMapper mapper=new FlatFileNameMapper();
    expand.add(mapper);
    /* another way using mapper
    Mapper mapper=expand.createMapper();
    MapperType type=new MapperType();
    type.setValue("flatten");
    mapper.setType(type);
    expand.execute();
    7������zip����1�� ����zip������������������
    ZipFile zipfile = new ZipFile(new File(filepath));
    for (Enumeration entries = zipfile.getEntries(); entries.hasMoreElements();) {
    ZipEntry entry = (ZipEntry) entries.nextElement();
    if(entry.isDirectory())
    System.out.println("Directory: "+entry.getName());
    else
    System.out.println("file: "+entry.getName());
    zipfile.close(); //ZipFile��������close����������������
    2��zip��������,��Zip��������������������, ������glob
    ZipScanner scan=new ZipScanner();
    scan.setSrc(new File("d:\\temp\\test.zip"));
    scan.setIncludes(new String[] {"*","*/*"}); //��������������������������
    scan.scan();
    String dirs[]=scan.getIncludedDirectories();
    scan.setIncludes(new String[]{"**/*.xml"}); //��������
    scan.scan();
    String files[]=scan.getIncludedFiles();

Maybe you are looking for

  • Alpine CDE-103Bt Head Unit and Problem with 160 Gig Ipod Classic

    Hi, 2 weeks agao I brought a new Alpine CDE-103BT Head unit for my car. I have owned one of the old 160 gig classics for the last year and a half and at the time I brough the unit I was told this should all work sweet. Indeed all of the documentation

  • Stored procedure for creating tables

    Is it possible to create a stored procedure which only contains create tables? I prepare everything on an environment and want to transfer everything, except the data, on anothe environment. Therfore I thought of an stored procedure which does everyt

  • Corrupt User - Permissions problem

    I seem to be having a chronic permissions problem with my primary user account. Each time I restart or turn on my machine, I cannot get Mail or Safari to start without first running the Disk Utilities - Permissions repair first (from another account)

  • After effects 7 won't install

    when I click on Adobe After Effects 7.0, it asks if I want to run the software, and I click on "RUN," then a window opens and immediately closes and another one comes up, "Adobe AD 7.0 Installer Information" w/ exclamation mark in yellow triangle say

  • Month wise count

    Hi all, i am using oracle 11.2.0.3.0 version. i need to calculate month wise count. see below table, the date like 'MM-DD-YYYY'. claims from_date end_date member C1 11/06/2012 11/20/2012 M1 C1 11/02/2012 11/20/2012 M1 C1 11/04/2012 11/15/2012 M1 C1 1