No authorized after run CPACache refresh

Hi,
I can't do cpacache refresh as follow, it always show "You are not authorized to view the requested resource.", and i have all authorize now.
http://<host:port>/CPACache/refresh?mode=full

Use the XIDIRUSER (PIDIRUSER)  to authenticate yourself, it is the only user that is allowed to carry out a CPA Cache Refresh.
The test is successful if you get the message that the cache refresh has been carried out in xyz
milliseconds. Please note that any additional text. e. g. u201CThe XML page cannot be displayedu201D or
u201Cinvalid at the top level of the documentu201D, points at an error.
Troubleshooting:
1) Note 741214 - Troublesh. during cache update of the J2EE CPACache service gives valuable hints
about possible reasons for errors.
2) In case of the error message u201Cinvalid at the top level of the documentu201D the viewing of the source code
of the respective Explorer page gives detailed information about the error.

Similar Messages

  • Workbook not refresh after running Planning Function (BI-IP)

    Hi! Folks,
         I have a problem with the Bex Analyser which not refresh the data after running Planning Function.
    Step 1: Run Planning Function (There are some changes in records)
    Step 2: I have to Run Process Variables again and input the same selection in the pop-up variables
    Step 3: The changed records will be shown...
    Can I have some coding in the Layouts of Bex Analyzer to refresh the data after running Planning Function?
    Brgds,
    Supasake

    Hi,
    I had a similar problem that the resuls of my planning function were not automatically shown. Only if I did "something else" like saving or running another function the results were displayed.
    I think I solved it by upgrading my SAP GUI6.4 with patch 14. the results of planning functions should be automatically displayed.
    D

  • Not able to see the tree on the jspx page after running

    Hi All,
    This is something strange.I am dragging the VO on the page fragment from the data control as adf tree. And I am using the panel collection as component for adf tree.
    After running the jspx when I am moving to the fragment I am not able to see the tree.
    However when I am running the AM it is working properly for the view objects and view link used to populate the tree.
    Can anybody put some thoughts on this.
    Thanx
    Kanika

    Thnx for your replies..
    I am dropping taskflow as region . I am not using the switcher component.
    On left side of the page the tree is visible now. but the taskflow is not refreshing on the click of the tree node based on the value of the node.
    Please advice how to accompolish this now??

  • Database 10.2.0.4.0 not upgraded to 11.1.0.7.0 after running dbua

    Hello!
    I tried to upgrade oracle Database 10.2.0.4.0 to 11.1.0.7.0, following these documentations:
    Complete Checklist for Upgrades to 11gR1 using DBUA [ID 556477.1]
    and
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#BABGAGAE
    After running the dbua, which finished successfully, I tried to connect to the db but realised that the version was still the same, 10.2.0.4.0 .
    SQL> select * from v$instance;
    INSTANCE_NUMBER INSTANCE_NAME
    HOST_NAME
    VERSION STARTUP_T STATUS PAR THREAD# ARCHIVE LOG_SWITCH_WAIT
    LOGINS SHU DATABASE_STATUS INSTANCE_ROLE ACTIVE_ST BLO
    1 portal
    PORTALDEVDB
    10.2.0.4.0 04-FEB-11 OPEN NO 1 STOPPED
    ALLOWED NO ACTIVE PRIMARY_INSTANCE NORMAL NO
    Is there something I didn' t do?
    Thanks in advance.

    Hi!
    I run the dbua from the Ora11gdbhome. Path is set to the 11g directory. The logs of dbua didn' t present any errors and what is recorded to have been created is of version 11.
    The output of the select is the following:
    SQL> select COMP_NAME,version,status from dba_registry;
    COMP_NAME
    VERSION STATUS
    Oracle XML Database
    10.2.0.4.0 VALID
    Oracle Application Server Syndication Services
    10.1.2.0.2 VALID
    Oracle Workflow
    10.1.2.0.2 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Enterprise Manager
    10.2.0.4.0 VALID
    Spatial
    10.2.0.4.0 VALID
    Oracle interMedia
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    OLAP Catalog
    10.2.0.4.0 VALID
    Oracle Text
    10.2.0.4.0 VALID
    Oracle Expression Filter
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Rule Manager
    10.2.0.4.0 VALID
    Oracle Workspace Manager
    10.2.0.4.3 VALID
    Oracle Data Mining
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Database Catalog Views
    10.2.0.4.0 VALID
    Oracle Database Packages and Types
    10.2.0.4.0 VALID
    JServer JAVA Virtual Machine
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle XDK
    10.2.0.4.0 VALID
    Oracle Database Java Packages
    10.2.0.4.0 VALID
    OLAP Analytic Workspace
    10.2.0.4.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle OLAP API
    10.2.0.4.0 VALID
    Oracle Application Server Metadata Repository Version
    10.1.4.0.0 VALID
    Oracle Application Server Integration B2B
    10.1.2.0.2 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Application Server Integration BAM
    10.1.2.0.2 VALID
    Oracle Application Server Certificate Authority
    10.1.2.0.2 VALID
    Oracle Internet Directory
    10.1.2.3.0 INVALID
    COMP_NAME
    VERSION STATUS
    Oracle Application Server Metadata Repository Upgrade Assistant
    10.1.4.0.0 VALID
    Oracle Application Server Distributed Configuration Management
    10.1.2.0.2 VALID
    Oracle Business Intelligence Discoverer
    10.1.2.0.2 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Application Server Web Clipping
    10.1.2.0.2 VALID
    Oracle Application Server UDDI Registry
    10.1.2.0.2 VALID
    Oracle Application Server Single Sign-On
    10.1.2.3.0 VALID
    COMP_NAME
    VERSION STATUS
    Oracle Application Server Portal
    10.1.4.2.0 VALID
    Oracle Application Server Wireless
    10.1.2.0.2 VALID
    32 rows selected.
    SQL>
    As you can see, nothing of version 11...
    I haven' t done an upgrade to a different version before and I am not sure whether I there is something I missed...

  • After running ridc to checkin file into Oracle Content Center Server there is error: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line

    Hi,
       I use ridc to check in file into Oracle Center Content server. There is no problem at the beginning. But after running for several days, there is following error.
    I must restart my program to solve this issue.
       Can anyone help me solve this problem?
    Thanks,
    Tony
    2013-07-11 12:24:31,189 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more
    2013-07-11 12:24:33,005 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more
    2013-07-11 12:24:37,870 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more
    2013-07-11 12:24:39,722 ERROR [BatchEventHandler] com.edocs.common.api.integration.contmgmt.ContentException: oracle.stellent.ridc.protocol.ProtocolEx
    ception: java.io.IOException: Input terminated before being able to read line
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:95)
            at com.edocs.common.reporting.batch.BatchEventHandler.processBatchRequest(BatchEventHandler.java:284)
            at com.edocs.common.reporting.batch.BatchEventHandler.service(BatchEventHandler.java:138)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.executeInternal(BatchReportProcessorTask.java:156)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask.doProcessTask(BatchReportProcessorTask.java:68)
            at com.edocs.pwc.tasks.CommonTask.processTask(CommonTask.java:166)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.__WL_invoke(Unknown Source)
            at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl.processTask(Unknown Source)
            at com.edocs.common.reporting.tasks.batchprocessor.BatchReportProcessorTask_9qwgr6_EOImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(ActivatableServerRef.java:85)
            at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
            at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
            at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:149)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)
            at com.edocs.common.integration.contmgmt.UCMContentManager.saveContent(UCMContentManager.java:81)
            ... 17 more
    Caused by: java.io.IOException: Input terminated before being able to read line
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readLine(HdaBinderSerializer.java:371)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.readToEnd(HdaBinderSerializer.java:335)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:165)
            at oracle.stellent.ridc.model.serialize.HdaBinderSerializer.parseBinder(HdaBinderSerializer.java:71)
            at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:126)
            ... 19 more

    The following is my testing code.
    package ebilling;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.security.SecureRandom;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Calendar;
    import java.util.List;
    import java.util.Properties;
    import java.util.concurrent.LinkedBlockingQueue;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import oracle.stellent.ridc.IdcClient;
    import oracle.stellent.ridc.IdcClientManager;
    import oracle.stellent.ridc.IdcContext;
    import oracle.stellent.ridc.model.DataBinder;
    import oracle.stellent.ridc.model.DataObject;
    import oracle.stellent.ridc.model.DataResultSet;
    import oracle.stellent.ridc.model.TransferFile;
    import oracle.stellent.ridc.protocol.ServiceResponse;
    import org.apache.commons.lang.StringUtils;
    public class UCMContentManager {
         * Check in a file into a Oracle WebCenter Content Server and return content id of uploaded content item in Oracle WebCenter Content Server.    
         * @param properties        The Oracle WebCenter Content Server connection properties.
         * @param contentFile       This file will be checked in a Oracle WebCenter Content Server.
         * @param path              The location path of checked in file in Oracle WebCenter Content Server. This path includes the file name.<br>
         *                             For example, "/folder1/folder2/file1.txt". The "file1.txt" is the file name part. <br>
         *                             The file name will be used as dDocName in Oracle WebCenter Server. It must be unique.<br>
         * @throws ContentException The exception when uploading file into Oracle WebCenter Content Server.
         * @return                  The content id of uploaded content item in Oracle WebCenter Content Server.
        public String saveContent(Properties properties, File contentFile, String path) throws ContentException{
            if(path.endsWith(SLASH)) {
                throw new ContentException("Require file name in Content Management Server");
            if(!path.startsWith(SLASH)) {
                throw new ContentException("The file store path in Content Management Server should be absolute.");
            if (path.indexOf("//") != -1) {
                path = path.replace("//", SLASH);
            String[] paths = path.split(SLASH);       
            String[] parents = new String[paths.length - 1];
            String itemName = paths[paths.length-1];
            System.arraycopy(paths, 0, parents, 0, paths.length-1);
            ServiceResponse response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                //create the parent folders if they don't exist
                String folderGUID = makeFolders(properties, parents);
                //check in the file
                DataBinder requestData = client.createBinder();
                requestData.putLocal("IdcService", "CHECKIN_UNIVERSAL");
                requestData.putLocal("IsJava", "1");
                requestData.putLocal("dDocName", itemName);           
                requestData.putLocal("dDocTitle", itemName);           
                requestData.putLocal("dDocType", "Binary");
                requestData.putLocal("dSecurityGroup", "Public");
                requestData.addFile("primaryFile", new TransferFile(contentFile));
                response = client.sendRequest(connectionContext, requestData);           
                DataBinder responseData = response.getResponseAsBinder();
                //String did = responseData.getLocal("dID");           
                String dDocname = responseData.getLocal("dDocName");
                closeResponse(response);
                //link the file in a folder
                requestData = client.createBinder();
                requestData.putLocal("IdcService", "FLD_CREATE_FILE");
                requestData.putLocal("fParentGUID", folderGUID);
                String fileType = "owner";
                requestData.putLocal("fFileType", fileType);           
                requestData.putLocal("dDocName", dDocname);           
                response = client.sendRequest(connectionContext, requestData);
                return dDocname;
            } catch (Throwable e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
        public void deleteContent(Properties properties, String contentId) throws ContentException{
            List<String> didList = getDIds(properties, contentId);
            contentId = contentId.toUpperCase();
            ServiceResponse    response = null;
            try {           
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder requestData = null;
                for(int i=0; i<didList.size(); i++) {
                    String did = didList.get(i);
                    requestData = client.createBinder();
                    requestData.putLocal("IdcService", "DELETE_DOC");
                    requestData.putLocal("dDocName", contentId);               
                    requestData.putLocal("dID", did);   
                    response = client.sendRequest(connectionContext, requestData);
                    closeResponse(response);
                    //delete parent folder
    //                try {
    //                    requestData = client.createBinder();           
    //                    requestData.putLocal("IdcService", "FLD_DELETE");       
    //                    requestData.putLocal("item1", "path:" + parentPath);
    //                    requestData.putLocal("constructDialog", "1");
    //                    response = client.sendRequest(connectionContext, requestData);
    //                } catch (Exception e) {
    //                    // TODO: handle exception
            } catch (Exception e) {
                throw new ContentException(e);
            } finally {
                closeResponse(response);
        public int getFileCountInFolder(Properties properties, String path) throws ContentException{
            ServiceResponse    response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder binder = client.createBinder();
                binder.putLocal("IdcService", "FLD_BROWSE");
                binder.putLocal("path", path);
                response = client.sendRequest(connectionContext, binder);
                DataBinder result = response.getResponseAsBinder();
                String num = result.getLocal("numFiles");
                return Integer.parseInt(num);
            catch (Exception e) {
                throw new ContentException(e);
            } finally {
                closeResponse(response);
        private String getFolderGUID(Properties properties, String path) throws ContentException {
            ServiceResponse    response = null;       
            String tmpFolderGUID = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;   
                DataBinder requestData = client.createBinder();
                requestData.putLocal("IdcService", "FLD_INFO");
                requestData.putLocal("path", path);       
                response = client.sendRequest(connectionContext,
                        requestData);
                DataResultSet result = response.getResponseAsBinder().getResultSet("FolderInfo");
                tmpFolderGUID = result.getRows().get(0).get("fFolderGUID")
                    .toString();
                if(StringUtils.isBlank(tmpFolderGUID))
                    tmpFolderGUID = null;           
            } catch (Exception e) {               
            } finally {
                closeResponse(response);
            return tmpFolderGUID;
        public boolean deleteFolder(Properties properties, String path) throws ContentException {
            if(getFolderGUID(properties, path)==null)       
                return false;
            int fileCount = getFileCountInFolder(properties, path);
            ServiceResponse    response = null;
            if(fileCount==0) {
                try {
                    IdcClientManager manager = new IdcClientManager();
                    IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                    client.getConfig().setProperty ("http.library", "apache4");
                    String user = properties.getProperty(USERNAME_PROPERTY);
                    String pwd = properties.getProperty(PASSWORD_PROPERTY);
                    IdcContext connectionContext = new IdcContext(user, pwd);
                    pwd = null;               
                    DataBinder binder = client.createBinder();   
                    binder.putLocal("IdcService", "FLD_DELETE");       
                    binder.putLocal("item1", "path:" + path);
                    binder.putLocal("constructDialog", "1");
                    response = client.sendRequest(connectionContext, binder);
                    return true;
                catch (Exception e) {
                    throw new ContentException(e);
                } finally {
                    closeResponse(response);
            } else {
                return false;
        private String buildPath(String[] arr, int i) {
            StringBuilder buf = new StringBuilder();
            for(int j=0; j<=i; j++) {
                buf.append(arr[j]);
                buf.append(SLASH);
            return buf.toString();
        private String makeFolders(Properties properties, String[] paths) throws ContentException{
            String folderGUID = "";
            ServiceResponse response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                String parentFolderGUID = null;
                for(int i=0; i<paths.length; i++) {
                    String fullPath = buildPath(paths, i);
                    DataBinder requestData = null;                   
                    parentFolderGUID = folderGUID;
                    folderGUID = getFolderGUID(properties, fullPath);
                    boolean exists = folderGUID!=null;
                    DataResultSet result = null;               
                    if(!exists) {
                        //create new folder
                        try {
                            requestData = client.createBinder();                   
                            requestData.putLocal("IdcService", "FLD_CREATE_FOLDER");
                            requestData.putLocal("fParentGUID", parentFolderGUID);
                            requestData.putLocal("fFolderName", paths[i]);
                            response = client.sendRequest(connectionContext, requestData);
                        } finally {
                            closeResponse(response);
                        //retrieve folderGUID of new folder
                        folderGUID = getFolderGUID(properties, fullPath);                   
            } catch (Throwable e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
            return folderGUID;
        public List<String> getDIds(Properties properties, String contentId) throws ContentException{
            contentId = contentId.toUpperCase();
            List<String> didList = new ArrayList<String>();
            ServiceResponse    response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder requestData = null;
                requestData = client.createBinder();
                requestData.putLocal("IdcService", "GET_SEARCH_RESULTS");
                requestData.putLocal("SortField", "dInDate");
                requestData.putLocal("SortType", "DESC");
                requestData.putLocal("QueryText", "dDocName <matches> `" + contentId +"`");
                response = client.sendRequest(connectionContext, requestData);
                DataBinder result = response.getResponseAsBinder();
                DataResultSet resultSet = result.getResultSet("SearchResults");
                for (DataObject dataObject : resultSet.getRows()) {
    //                System.out.println("ID : " + dataObject.get("dID")+" dDocName : "
    //                        + dataObject.get("dDocName") + " Title : " + dataObject.get("dDocTitle")
    //                        + " Author : " + dataObject.get("dDocAuthor") + " Security Group : "
    //                        + dataObject.get("dSecurityGroup"));
                    String did = dataObject.get("dID");
                    didList.add(did);
                    //break;
            } catch (Exception e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
            return didList;
         * Get the file content represented by contentId from a Oracle WebCenter Content Server.
         * The return value is the input stream of retrieved file content.
         * @param properties        The Oracle WebCenter Content Server connection properties.
         * @param contentId         The Content ID for the content item in Oracle WebCenter Content Server.
         * @throws ContentException The exception when retrieving content from Oracle WebCenter Content Server.
         * @return                  The input stream of retrieved file content.
        public InputStream retrieveContent(Properties properties, String contentId) throws ContentException{
            try {
                return new FileInputStream(retrieveContentFile(properties, contentId));
            } catch (Throwable e) {
                throw new ContentException(e);
        public File retrieveContentFile(Properties properties, String contentId) throws ContentException {
            contentId = contentId.toUpperCase();
            ServiceResponse response = null;
            try {
                IdcClientManager manager = new IdcClientManager();
                IdcClient client = manager.createClient(properties.getProperty(URL_PROPERTY));
                client.getConfig().setProperty ("http.library", "apache4");
                String user = properties.getProperty(USERNAME_PROPERTY);
                String pwd = properties.getProperty(PASSWORD_PROPERTY);
                IdcContext connectionContext = new IdcContext(user, pwd);
                pwd = null;
                DataBinder binder = client.createBinder();
                binder.putLocal("IdcService", "GET_FILE");
                //binder.putLocal("dID", dID);
                binder.putLocal("dDocName", contentId);
                binder.putLocal("RevisionSelectionMethod", "Latest");
                response = client.sendRequest(connectionContext, binder);
                InputStream in = null;
                OutputStream out = null;
                String edxhome = System.getProperty("edx.home");
                File tmpParent = new File(edxhome);
                tmpParent = new File(tmpParent, "Output");
                tmpParent = new File(tmpParent, "tmp");
                tmpParent.mkdirs();
                File tmpFile = File.createTempFile("down_", "_ucm", tmpParent);
                tmpFile.deleteOnExit();
                try {
                    in = response.getResponseStream();
                    out = new FileOutputStream(tmpFile);
                    byte[] buf = new byte[1024];
                    int read = -1;
                    while((read = in.read(buf))!=-1) {
                        out.write(buf, 0, read);
                } finally{
                    try {
                        if(in!=null)
                            in.close();
                    } catch (Exception e2) {
                    try {
                        if(out!=null)
                            out.close();
                    } catch (Exception e2) {
                return tmpFile;
            } catch (Throwable e) {
                throw new ContentException(e);
            } finally{
                closeResponse(response);
        private void closeResponse(ServiceResponse response) {
            if(response!=null) {
                try {
                    response.close();
                } catch (Exception e) {
        private static final String SLASH = "/";   
        private static final String URL_PROPERTY = "contentServerURL";
        private static final String USERNAME_PROPERTY = "contentServerUser";
        private static final String PASSWORD_PROPERTY = "contentServerPassword";
        static volatile boolean flag = false;
        static class UploadTask implements Runnable{
            public void run() {           
                try {
                    while(!flag) {
                        UCMContentManager manager = new UCMContentManager();
                        Properties properties = new Properties();
                        properties.put(URL_PROPERTY, "https://slc402124:16201/cs/idcplg");
                        properties.put(USERNAME_PROPERTY, "weblogic");
                        properties.put(PASSWORD_PROPERTY, "weblogic1");
                        File contentFile = new File("C:/toding/mypro/UCM/test.txt");
                        String parentPath = "/new/test/multiThreadUpload/";
                        String location = makePath(parentPath);
                        manager.saveContent(properties, contentFile, location);
                        System.out.println(location);
                        Thread.sleep(5000);
                } catch (Exception e) {
                    e.printStackTrace();
                    flag = true;
        public static void main(String[] args) throws Exception{
            ThreadPoolExecutor executor = new ThreadPoolExecutor(10, 10, 60, TimeUnit.SECONDS,
                     new LinkedBlockingQueue<Runnable>());
            for(int i=0; i<10; i++) {
                 UploadTask uploadTask = new UploadTask();
                 executor.execute(uploadTask);
            while(!flag) {
                Thread.sleep(5000);
            executor.shutdown();
        public static String makePath(String parentPath) {
            StringBuilder buf = new StringBuilder();
            buf.append(parentPath);
            if(!parentPath.endsWith("/")) {
                buf.append("/");
            Calendar rightNow = Calendar.getInstance();
            String pattern = "yyyyMMdd";
            SimpleDateFormat simDateForm = new SimpleDateFormat(pattern);
            String dateStr = simDateForm.format((rightNow).getTime());       
            pattern = "HHmmssSSS";
            simDateForm = new SimpleDateFormat(pattern);
            String timeStr = simDateForm.format((rightNow).getTime());
            buf.append(dateStr);
            buf.append("/");
            buf.append(timeStr);
            buf.append("_");
            buf.append(random.nextInt(10000));
            String finalLocation = buf.toString();
            return finalLocation;
        private static SecureRandom random = new SecureRandom();

  • Caching@URLservices  How to clear  resp. exception after the provider-refresh?

    Hello,
    we have created a servlet-application "CondorSTAR", running in OC4J via mod_proxy.
    Using URLservices at the portal, we get an 405 "Method not allowd". Oops, there was a misconfiguration in the servlet-application, so that was correct.
    After repairing the application, we can now connect "native", i.e. via the URL for the OC4J! But that works not in Portal, the "error-page seems to be cached". We get the same error-message 405 Method not allowed...
    Then we have restarted httpd (graceful, later restart), we have given a provider refresh, but still the error is there. Oops, there was also an exception...
    Has anybody an idea, to clear the cache resp. what about the exception after the provider-refresh?
    Thanks
    Michael
    -----8<---------8<----------8<---------8<---------8<--------8<--
    configuration details:
    this is PDK Services for Java version 3.0.9.0.5./PDK URL
    Services version 3.0.9.0.4. (December-Release)/Oracle Portal Version: 3.0.9.8.0/iAS 1.0.2/SunOS 5.7
    -----8<---------8<----------8<---------8<---------8<--------8<--
    jserv.properties: wrapper.classpath=/oracle/IAS/web/PDK/JPDK.3.0.9.0.5/jpdk/lib/provider.jar
    wrapper.classpath=/oracle/IAS/web/PDK/JPDK.3.0.9.0.5/urlservices/lib/urlservices.jar
    wrapper.classpath=/oracle/IAS/web/PDK/JPDK.3.0.9.0.5/urlservices/lib/tidy.jar
    -----8<---------8<----------8<---------8<---------8<--------8<--
    From jserv.log after the provider.refresh
    24/01/2002 10:20:28:199 GMT+01:00] CondorSTAR/ 3.0.9.8.0
    [24/01/2002 10:20:28:200 GMT+01:00] CondorSTAR/DefaultProvider.getPortlets() - ProviderId = 83990
    57
    [24/01/2002 10:20:28:200 GMT+01:00] CondorSTAR/ - start index = 0
    [24/01/2002 10:20:28:200 GMT+01:00] CondorSTAR/ - count = 999
    [24/01/2002 10:20:28:201 GMT+01:00] CondorSTAR/ - byUser = false
    [24/01/2002 10:20:28:224 GMT+01:00] CondorSTAR/ - User = PORTAL30
    [24/01/2002 10:20:28:225 GMT+01:00] CondorSTAR/DefaultProvider.getPortlets() - returning 1 of 1 p
    ortlets
    [24/01/2002 10:20:30:942 GMT+01:00] page/JNI: Exception when trying to connect in 1.
    [24/01/2002 10:20:30:953 GMT+01:00] page/Timeout occurred, label=71 url=http://c3po.isae.condor-v
    ersicherungen.de:7778/pls/portal30/!PORTAL30.wwpro_app_provider.execute_portlet
    [24/01/2002 10:20:30:953 GMT+01:00] page/ContentFetcher InterruptedIOException Caught, Fetcher Ti
    medout name=content-fetcher20
    -----8<---------8<----------8<---------8<---------8<--------8<--
    From jserv.log after the 405 error is displayed
    [24/01/2002 10:24:03:855 GMT+01:00] CondorSTAR/Entering URLSecurityManager hasAccess(Portlet,ProviderUse
    r) *****************
    [24/01/2002 10:24:03:855 GMT+01:00] CondorSTAR/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is
    non registered, Returningtrue
    [24/01/2002 10:24:03:989 GMT+01:00] CondorSTAR/Entering URLSecurityManager hasAccess(PortletReference,Pr
    oviderUser) *****************
    [24/01/2002 10:24:03:989 GMT+01:00] CondorSTAR/Entering URLSecurityManager hasAccess(Portlet,ProviderUse
    r) *****************
    [24/01/2002 10:24:03:989 GMT+01:00] CondorSTAR/URLSecurityManager:hasAccess(Portlet). Auhtorize Type Is
    non registered, Returningtrue
    [24/01/2002 10:24:04:012 GMT+01:00] CondorSTAR/URLSecurityManager:hasAccess(PortletReference: Return Val
    ue being returnedtrue
    [24/01/2002 10:24:04:098 GMT+01:00] CondorSTAR/renderBody : Entering render ****************************
    [24/01/2002 10:24:04:098 GMT+01:00] CondorSTAR/renderBody : DebugLevel = 3
    [24/01/2002 10:24:04:098 GMT+01:00] CondorSTAR/ProviderSubscribe : Hashtable doesn't have any values. Lo
    ading from file ...
    [24/01/2002 10:24:04:098 GMT+01:00] CondorSTAR/URLProvider:init:mapFilePath /oracle/IAS/web/Condor-Provi
    der/CondorSTAR
    [24/01/2002 10:24:04:099 GMT+01:00] CondorSTAR/URLProvider:storeSubscriberKeyPersistent: Leaving ...
    [24/01/2002 10:24:04:099 GMT+01:00] CondorSTAR/URLProvider:loadSubscriberInfo: Entered ...
    [24/01/2002 10:24:04:109 GMT+01:00] CondorSTAR/URLProvider:loadSubscriberInfo: Created File Inputstream
    ...java.io.FileInputStream@119119e
    [24/01/2002 10:24:04:151 GMT+01:00] CondorSTAR/URLProvider:loadSubscriberInfo: Exception occured ... jav
    a.io.StreamCorruptedException: Caught EOFException while reading the stream header
    [24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/ProviderSubscriber:getSubscriber -- ProviderId & subscrib
    erID -- 8399057 & null
    [24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/URLRenderer:renderBody -- subscriberID -- null
    [24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/Before getHtpsProxyInfo
    [24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/No httpsProxy Values specified in provider.xml
    [24/01/2002 10:24:04:158 GMT+01:00] CondorSTAR/After checking for httpsProxy proxy tag
    [24/01/2002 10:24:04:197 GMT+01:00] CondorSTAR/Inline pageurl received = null
    [24/01/2002 10:24:04:197 GMT+01:00] CondorSTAR/getURLStream Inside
    [24/01/2002 10:24:04:210 GMT+01:00] CondorSTAR/getURLStream:Session = null
    [24/01/2002 10:24:04:210 GMT+01:00] CondorSTAR/getURLStream : Content URL Specified = http://c3po.isae.c
    ondor-versicherungen.de:7778/pof/servlet/Welcome
    [24/01/2002 10:24:04:224 GMT+01:00] CondorSTAR/getURLStream : URL Constructed = http://c3po.isae.condor
    -versicherungen.de:7778/pof/servlet/Welcome
    [24/01/2002 10:24:04:267 GMT+01:00] CondorSTAR/Connection type = HTTPClient.HttpURLConnection[http://c3p
    o.isae.condor-versicherungen.de:7778/pof/servlet/Welcome]
    [24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream : After doInput and doOutput
    [24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream : After Connect
    [24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream:After open connection
    [24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream: Null check for session
    [24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream: Check for Cookies != null
    [24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream: No cookies found in servlet session.null
    [24/01/2002 10:24:04:277 GMT+01:00] CondorSTAR/getURLStream: Before getInputStream
    [24/01/2002 10:24:05:823 GMT+01:00] CondorSTAR/getURLStream: After getInputStreamHTTPClient.RespInputStr
    eam@1b45f7d
    [24/01/2002 10:24:05:823 GMT+01:00] CondorSTAR/getUrlStream: Before returning Input Stream ...
    [24/01/2002 10:24:05:823 GMT+01:00] CondorSTAR/UrlStream received = HTTPClient.RespInputStream@1b45f7d
    [24/01/2002 10:24:05:823 GMT+01:00] CondorSTAR/renderBody:filter is not null
    [24/01/2002 10:24:05:833 GMT+01:00] CondorSTAR/filterContent : Entering HtmlFilter filterContent ******
    [24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/filterContent : Url input stream ---- : HTTPClient.RespIn
    putStream@1b45f7d
    [24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/ConvertStreamToStringBuffer: Inside
    [24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/Character encoding = ISO-8859-1
    [24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/ConvertStreamToStringBuffer:Before close
    [24/01/2002 10:24:05:834 GMT+01:00] CondorSTAR/ConvertStreamToStringBuffer: Leaving
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/filterContent : HtmlFilter Trim HTML Header Contents :
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader:Before replacing escape characters
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader:Token to be replaced<head
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader:ExcludeString6
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader:Last occurence found for: <head
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlHeader: Before returing after trimming
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/filterContent : URL Contents Before footerTrimTag : <HEA
    D><TITLE>405 Method Not Allowed</TITLE></HEAD><BODY><H1>405 Method Not Allowed</H1>Initialisation Error:
    Welcome null</BODY></HTML>
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/filterContent : Trimming HTML Footer Contents :
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlFooter:Before replacing escape characters
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlFooter:Token to be replaced/body>
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlFooter:Last occurence found for: /body>
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/TrimHtmlFooter: Before returing after trimming
    [24/01/2002 10:24:05:835 GMT+01:00] CondorSTAR/filterContent : URL Contents AFTER TRIM HTML FOOTER : <H
    EAD><TITLE>405 Method Not Allowed</TITLE></HEAD><BODY><H1>405 Method Not Allowed</H1>Initialisation Erro
    r: Welcome null</BODY>
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/filterContent : Processs Request : Before checking base
    hrefhttp://c3po.isae.condor-versicherungen.de:7778/pof/servlet
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/********************filterContent : Converting relative
    srcs to absolute srcs ********************
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/*********************************************
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Attribute to be searched for = src
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/**********************************************
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Total no. of occurences = 0
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/filterContent : Converting relative hrefs to absolute hr
    efs
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/*********************************************
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Attribute to be searched for = href
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/**********************************************
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Total no. of occurences = 0
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/filterContent : Converting relative actions to absolute
    actions
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/*********************************************
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Attribute to be searched for = action
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/**********************************************
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/Total no. of occurences = 0
    [24/01/2002 10:24:05:836 GMT+01:00] CondorSTAR/filterContent : Converting relative backgrounds to absol
    ute backgrounds
    [24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/*********************************************
    [24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/Attribute to be searched for = background
    [24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/**********************************************
    [24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/Total no. of occurences = 0
    [24/01/2002 10:24:05:837 GMT+01:00] CondorSTAR/filterContent : Convert all href to have a parameter of t
    arget=_blank
    [24/01/2002 10:24:05:857 GMT+01:00] CondorSTAR/addTargetNew: Inside
    [24/01/2002 10:24:05:857 GMT+01:00] CondorSTAR/addTargetNew: HREF Not Found
    [24/01/2002 10:24:05:857 GMT+01:00] CondorSTAR/addTargetNew: Before returning
    [24/01/2002 10:24:05:857 GMT+01:00] CondorSTAR/filterContent() Before check for AuthType:
    [24/01/2002 10:24:05:884 GMT+01:00] CondorSTAR/renderContents:getCharacterEncoding() = ISO-8859-1
    [24/01/2002 10:24:05:884 GMT+01:00] CondorSTAR/******************renderContents:Contents to be rendered
    [24/01/2002 10:24:05:884 GMT+01:00] CondorSTAR/<FORM NAME="urlservices_parameter_form_1889" METHOD="GET"
    ACTION="http://c3po.isae.condor-versicherungen.de:7778/servlet/page"><INPUT TYPE="hidden" name="_pageid
    " value="54,56,98,88,90" />^M<INPUT TYPE="hidden" name="_dad" value="portal30" />^M<INPUT TYPE="hidden"
    name="_schema" value="PORTAL30" />^M<SCRIPT Language="JavaScript1.1">
    function submitURL1889(url)
    document.urlservices_parameter_form_1889.p_8401668.value=url;

    Hi,
    Log information shows that the URL you are trying to use =>
    "http://c3po.isae.condor-versicherungen.de:7778/pof/servlet/Welcome" always return content
    <HTML><HEAD><TITLE>405 Method Not Allowed</TITLE></HEAD><BODY><H1>405 Method Not Allowed</H1>Initialisation Error:
    Welcome null</BODY></HTML>
    while the exception has nothing to do with the portlet functioning. Please make sure that you are using the right servlet.
    Thanks,
    Amjad.

  • Activites after source system refresh

    Hi all,
    we made source system refresh recently.
    When iam running INIT I am not able to get the data ,but in rsa3 data it is available
    Now  I am not able to retrive the data from source system for SD data sources like 2LIS_02_ITM.
    Can any one tell me what type of activities i need to do after source system refresh for LO data sources.
    Thank
    Pruthvi

    Hi Pruthvi,
    As you mentioned about refresh, it would be a system other than Production system.
    Delta Loads:
    1. Whenever a refresh happens from the production, the delta pointers are disturbed.
    2. You need to re initialize the delta pointer for the DS you mentioned.
    3. If it is for the testing purpose of the Delta functionality, you may intialize the delta pointer 1st and then ask for postings of data in the ECC side.
    4. Once the postings are done, you would see data in Delta Queue in RSA7 in source system.
    5. Now run the Delta InfoPackage so as to fetch this data from the Delta Q of SS to the BW system.
    Full Loads
    1. If you are expecting a full load (Historical data), you need to first fill the Setup tables (in Background only) in the SS.
    2. Once the Setup table fill job is completed in SS, you may execute a Full InfoPackage in order to get this full load.
    Let me know if this helps..
    -Bhushan.

  • Macbook will not boot up after running Software Update (Couldn't fix it)

    Hi there,
    I also have been experiencing some problems after running Software Update (Security update + Java) a couple of days ago. Similarly to Jandaf (http://discussions.apple.com/thread.jspa?messageID=9000023) I have only the gray start up screen + Apple logo + gear wheel constantly rotating. Based on the information provided in this forum I have tried some procedures which didn't solved my problem so far. Below I describe I have tried:
    1) I have booted using the installation DVD and run the disk utility. When performing the First Aid/Verify Disk I found some errors ('Invalid node structure'). But I couldn't fix the problem using disk repair (same problem 'Invalid node structure' 'Volume check failed'.
    2) I also tried to boot in single user mode (command + s) to run fsck -fy. It didn't work. I got the following message (last 4 lines):
    CSRHIDTTransitionDriver::probe: -s
    CSRHIDTTransitionDriver::probe: booting in single user .. do not match
    Extension "com.apple.driver.AppleUSBTCKeyboard" has no kernel dependency.
    Extension "com.apple.driver.AppleUSBTCEventDriver" has no kernel dependency.
    3) When trying to boot in safe mode. I got a grey screen with the following message:
    'You need to restart your computer. Hold down the power button for several seconds or press the Restart button".
    4) I also tried to 'Archieve & Instal'. Again no success. After reading the DVD the action is terminated because some errors (does not specify).
    5) I also tried the 'German Medicine' (http://discussions.apple.com/message.jspa?messageID=8728797#8728797) (i.e. Connect the 'problematic MacBook' to my old G4 via firewire and reinstall the 2009-001 update). Again no success. The G4 cannot mount the MacBook hardrive.
    I don't know what to do any more.
    A) Can I resuscitate my old system? If yes how?
    B) If not, can I at least save the data I have in my old HD?
    C) Is it possible to format and reinstall the OS or is this this computer doomed?
    Apologies for writing so many questions but I'm really freaking out!
    Thank you.
    B.

    Hi BDAqua,
    I did as you said and got a firewire backup drive (Seagate - FreeAgent Desk 500GB). I tried to make a carbon copy of HD but it seems that the copy had some problems. Below I report both the CCC and console logs:
    1) "Cloning method: Backup everything
    Delete items on target that aren't on the source: No
    18:23:39 Enabling ownership on the target volume...
    18:23:50 The target volume has ownership enabled.
    18:23:50 The target volume has Access Control Lists enabled.
    18:23:50 Authenticating...
    18:23:50 Initiating synchronization engine...
    18:23:51 Cloning...
    18:31:20 rsync: readdir("/Applications/Utilities/Audio MIDI Setup.app/Contents/Resources/French.lproj"): Input/output error (5)
    19:04:41 rsync: readdir("/System/Library/Components/AudioCodecs.component/Contents/Resources/Fr ench.lproj"): Input/output error (5)
    19:05:41 rsync: readdir("/System/Library/CoreServices/Menu Extras/IrDA.menu/Contents/Resources/French.lproj"): Input/output error (5)
    19:06:01 rsync: readdir("/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/French.lproj"): Input/output error (5)
    19:07:05 rsync: readdir("/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSBC DCECMData.kext/Contents/Resources/French.lproj"): Input/output error (5)
    19:10:13 rsync: readdir("/System/Library/PrivateFrameworks/Assistant.framework/Versions/A/Resou rces/French.lproj"): Input/output error (5)
    19:50:10 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /Volumes/Home/Users/bombich/Development/Bombich_Software/rsync-3.0.5pre2/main.c (1047) [sender=3.0.5pre2] (51)
    19:50:11 rsync: Some errors were encountered during the backup., Error code: 51
    19:50:14 Sync Engine warnings: (
    "rsync: readdir(\"/Applications/Utilities/Audio MIDI Setup.app/Contents/Resources/French.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/Components/AudioCodecs.component/Contents/Resources/F rench.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/CoreServices/Menu Extras/IrDA.menu/Contents/Resources/French.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/French.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/AppleUSB CDCECMData.kext/Contents/Resources/French.lproj\"): Input/output error (5)",
    "rsync: readdir(\"/System/Library/PrivateFrameworks/Assistant.framework/Versions/A/Reso urces/French.lproj\"): Input/output error (5)",
    "rsync error: some files/attrs were not transferred (see previous errors) (code 23) at /Volumes/Home/Users/bombich/Development/Bombich_Software/rsync-3.0.5pre2/main.c (1047) [sender=3.0.5pre2]"
    2) "Mac OS X Version 10.4.11 (Build 8S2167)
    2009-03-01 10:30:14 +0100
    2009-03-01 10:30:21.962 SystemUIServer[213] lang is:en
    Mar 1 11:20:32 Bs-Home-Mac /usr/sbin/ocspd: starting
    Mar 1 11:38:25 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 12:46:40 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 13:54:55 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 15:03:13 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 16:11:31 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 17:19:46 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Main starting
    2009-03-01 17:47:20.393 Skype[313] SkypeApplication::init called
    2009-03-01 17:47:21.554 Skype[313] SKInitDebugLogging
    2009-03-01 17:47:46.169 Skype[313] SkypeSound::setAudioDeviceUID: cannot find audio device with UID (null), trying to use default system output device instead
    2009-03-01 17:47:47.208 Skype[313] SkypeSound::setAudioDeviceUID: cannot find audio device with UID (null), trying to use default system output device instead
    Starting the process...
    2009-03-01 17:48:36.186 Skype[313] MacVideo getDimensions rc == NO, width 0, height 0
    2009-03-01 17:48:36.367 Skype[313] MacVideo getDimensions rc == NO, width 0, height 0
    2009-03-01 17:48:37.367 Skype[313] MacVideo getDimensions rc == NO, width 0, height 0
    2009-03-01 17:48:37.369 Skype[313] MacVideo getDimensions rc == NO, width 0, height 0
    2009-03-01 17:59:16.450 Skype[313] SkypeSound::setAudioDeviceUID: cannot find audio device with UID (null), trying to use default system output device instead
    Mar 1 17:59:19 Bs-Home-Mac crashdump[355]: Skype crashed
    Mar 1 17:59:20 Bs-Home-Mac crashdump[355]: crash report written to: /Users/bernardolima/Library/Logs/CrashReporter/Skype.crash.log
    Mar 1 18:23:50 Bs-Home-Mac authexec: executing /Applications/Carbon Copy Cloner.app/Contents/Resources/helper_tool
    Mar 1 18:28:01 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Main starting
    2009-03-01 18:41:03.154 Skype[393] SkypeApplication::init called
    2009-03-01 18:41:12.433 Skype[393] SKInitDebugLogging
    Mar 1 19:36:16 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 19:55:54 Bs-Home-Mac mdimportserver[480]: -[ABAddressBook sharedAddressBook] Can't ABACQUIREFILELOCK Framework/AddressBook/ABAddressBook.m:2746
    Mar 1 19:57:12 Bs-Home-Mac mdimportserver[480]: * +[NSUnarchiver unarchiveObjectWithData:]: extra data discarded
    Mar 1 19:57:12 Bs-Home-Mac mdimportserver[480]: * +[NSUnarchiver unarchiveObjectWithData:]: extra data discarded
    Mar 1 20:44:34 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 21:52:51 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor
    Mar 1 23:01:07 Bs-Home-Mac ntpd[191]: sendto(17.72.255.12): Bad file descriptor"
    Due to my lack of knowledge I can't judge how bad this is. But I can tell you that every time I read the word bad in the log it scares the s*** out me.

  • Missing partitions after running Recovery from previous System Image Backup in Windows 8.1

    After running Recovery from a recent Sytem Image Backup the LRS_ESP partition is now missing and the Used space on the  PBR_DRV partition is reported as 95.20MB while it previously reported 9.52GB in use. The WINRE_DRV, SYSTEM_DRV, Windows8_OS and D:LENOVO partions appear to be OK. 
    I ran the Recover after replacing the original 500GB HDD with a 1TB. Any details/links/recommendations on recreating/correcting the LRS_ESP and PBR_DRV partitions? Thanks!

    Here are the before and after partition details obtained through Partition Wizard:
    Link to image 1
    Link to image 2
    Moderator note: large image(s) converted to link(s):  About Posting Pictures In The Forums

  • T400 with ATI Radeon HD 3400. Driver not found after running ImageX.exe /Capture

    Hello,
    I was able to reproduce the following problem on a T400.
    - unattended installation of WXP-SP3 (slipstreamed)
    - reboot
    - install latest ATI driver from Lenovo/IBM site (8.503.2.2-080818a-069536C)
    - reboot
    At this point, the video driver is well configured.
    - Reboot once or twice, video driver still good.
    - Boot the T400 on WinPE 2.0
    - Capture the C:\ to a network file share using ImageX.exe (from Microsoft's WAIK 1.1)
    - Shutdown the T400, and reboot on C:\
    - At this point, video driver is "lost". The Hardware Wizard says "new driver found", but stick with default VGA.
    Then I get an ATI error telling the driver is missing or not well installed.
    - When rebooting several times, suddenly the card is back in the device manager as a Radeon HD 3400.
    (without re-installing the driver ...)
    Anyone has an explanation ?
    Please not I did not run "sysprep.exe" before capturing with ImageX.exe
    stefan

    Update on this problem.
    After running "sysprep.exe -mini -quiet -reseal -shutdown", I ran the "ImageX.exe /capture".
    After rebooting the T400, the ATI driver was fine.
    Either is a coincidence (but I could repeat it 3 times...) or it is not advised to run "ImageX.exe /Capture" on a non-syspreped Windows XP.
    I know that a non-syspreped Vista system has a limitation if captured with ImageX.exe. But I am not aware on any limitation with XP.
    Stefan

  • HELP - ABAP Program Cancelled After Running for 2.5 Hours in Background

    I have an ABAP report program that was being tested in our QA system and it died after running for 2.5 hours with the status of "Cancelled" (which, I assume, means it was terminated by SAP for exceeding some type of governor).
    I ran Code Analyzer and no performance issues were recognized.
    I am running several SELECT statements during program execution.  These are a list of all the SELECT statements used in my program.  Also, I'm using PNPCE to get a list of pernrs for which to pull data at the beginning of the program.
    SELECT *
          INTO CORRESPONDING FIELDS OF TABLE gt_p0167
          FROM pa0167
          WHERE pernr EQ gt_selected_pernrs
            AND bplan IN s_bplan
            AND begda LE pn-endda
            AND endda GE pn-begda.
              SELECT SINGLE fgbdt fasex
                INTO (lv_dob, lv_gender)
                FROM pa0021
                WHERE pernr EQ gt_selected_pernrs
                  AND subty EQ <fs_dtyxx>
                  AND objps EQ <fs_didxx>
                  AND begda LE pn-endda
                  AND endda GE pn-begda.
      SELECT SINGLE agency ansvh
        INTO (p_agency_out, lv_ansvh)
        FROM pa0001
        WHERE pernr EQ p_pernr_in
          AND begda LE pn-endda
          AND endda GE pn-begda.
      SELECT SINGLE vorna nachn gbdat perid gesch
        INTO (gt_control_table-fname, gt_control_table-lname, gt_control_table-dob, gt_control_table-mskssn, gt_control_table-gender)
        FROM pa0002
        WHERE pernr EQ p_pernr_in
          AND begda LE pn-endda
          AND endda GE pn-begda.
      SELECT SINGLE perid
        INTO (lv_ssn)
        FROM pa0106
        WHERE pernr EQ p_pernr_in
          AND subty EQ p_subty_in
          AND objps EQ p_objps_in
          AND begda LE pn-endda
          AND endda GE pn-begda.
      SELECT SINGLE smoke
        INTO (p_smoker_out)
        FROM pa0376
        WHERE pernr = p_pernr_in
          AND begda LE pn-endda
          AND endda GE pn-begda.
      SELECT SINGLE state pstlz zcounty
        INTO (p_state_out, lv_zip, p_county_out)
        FROM pa0006
        WHERE pernr EQ p_pernr_in
          AND begda LE pn-endda
          AND endda GE pn-begda.
      SELECT SINGLE werks btrtl
        INTO (lv_werks, lv_btrtl)
        FROM pa0001
        WHERE pernr EQ p_pernr_in
          AND begda LE pn-endda
          AND endda GE pn-begda.
        SELECT SINGLE region
          INTO (p_region_out)
          FROM zpat_county_code
          WHERE county EQ p_county_in.
          SELECT SINGLE pernr
            INTO lv_pernr
            FROM pa0002
            WHERE perid EQ gt_cobra_table-l_essn.
      SELECT SINGLE eecst ercst
        INTO (lv_eecst, lv_ercst)
        FROM t5ubi
        WHERE barea EQ '01'
          AND bplan EQ lv_bplan
          AND bcost EQ p_bcost_in
          AND cstv1 EQ '0001'
          AND smoke EQ p_smoker_in
          AND begda LE pn-endda
          AND endda GE pn-begda.
        SELECT SINGLE kwert
          INTO lv_kwert
          FROM t511k
          WHERE molga EQ '10'
            AND konst EQ 'ZCOB1'
            AND begda LE pn-endda
            AND endda GE pn-begda.

    The screen shot the tester sent me only says that it was canceled.  However, the log shows the following:
    09/17/2008 16:54:32 Job Started
    09/17/2008 16:54:32 Step 001 started (program ZBNI001...
    09/17/2008 19:22:09 ABAP/4 processor: DATASET_NOT_OPEN
    09/17/2008 19:22:09 Job cancelled
    I'm not sure it was an error, per se, but maybe SAP canceled it because it had been running too long?  The "DATASET_NOT_OPEN" is curious although I've no idea what it means.
    Thanks for your help.

  • Alv show in report but when see in spool (after run background job) there i

    my program have some error when i run result alv show in report but when see in spool (after run background job) there is no data, (other program can see result in spool)
    Please help
    here is some example of my program
    ********************************declare internal table*****************************
    internal table output for BDC
    data : begin of t_output occurs 0,
    bukrs type anla-bukrs,
    anln1 type anla-anln1,
    anln2 type anla-anln2,
    zugdt type anla-zugdt,
    result(70) type c,
    end of t_output.
    *****get data from loop********************************
      loop at t_anla.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_anla-anln1
             IMPORTING
                  OUTPUT = t_anla-anln1.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_anla-anln2
             IMPORTING
                  OUTPUT = t_anla-anln2.
    check record is correct or not
        select single bukrs anln1 anln2 zugdt
        into w_output
        from anla
        where bukrs = t_anla-bukrs and
        anln1 = t_anla-anln1 and
        anln2 = t_anla-anln2
       zugdt = '00000000'
    if record is correct
        if sy-subrc = 0 and w_output-zugdt = '00000000'.
          w_output-bukrs = t_anla-bukrs.
          w_output-anln1 = t_anla-anln1.
          w_output-anln2 = t_anla-anln2.
          w_output-result = 'Yes : this asset can delete'.
          append w_output to t_output.
    if record is not correct
        elseif sy-subrc = 0 and w_output-zugdt <> '00000000'.
    there is error record  this asset have value already
          v_have_error = 'X'.
          w_output-bukrs = t_anla-bukrs.
          w_output-anln1 = t_anla-anln1.
          w_output-anln2 = t_anla-anln2.
          w_output-result = 'Error : this asset have value already'.
          append w_output to t_output.
        else.
    there is error record this asset donot exist in table anla
          v_have_error = 'X'.
          w_output-bukrs = t_anla-bukrs.
          w_output-anln1 = t_anla-anln1.
          w_output-anln2 = t_anla-anln2.
          w_output-result = 'Error : this asset doest not exist'.
          append w_output to t_output.
        endif.
    *end of check record is correct or not
        clear w_output.
      endloop.
    ******************************show data in ALV***************************************************
    show data from file in ALV
      perform display_report_ALV.
    *&      Form  display_report_ALV
    form display_report_ALV.
      DATA: LT_FIELD_CAT TYPE SLIS_T_FIELDCAT_ALV,
          LT_EVENTS TYPE SLIS_T_EVENT,
          LV_REPID LIKE SY-REPID.
      PERFORM ALV_DEFINE_FIELD_CAT USING LT_FIELD_CAT.
      PERFORM ALV_HEADER_BUILD USING T_LIST_TOP_OF_PAGE[].
      PERFORM ALV_EVENTTAB_BUILD USING LT_EVENTS[].
      LV_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM = LV_REPID
                IT_FIELDCAT        = LT_FIELD_CAT
                I_SAVE             = 'A'
                IT_EVENTS          = LT_EVENTS[]
           TABLES
                T_OUTTAB           = t_output
           EXCEPTIONS
                PROGRAM_ERROR      = 1
                OTHERS             = 2.
      IF SY-SUBRC NE 0.
        WRITE: / 'Return Code : ', SY-SUBRC,
          'from FUNCTION REUSE_ALV_GRID_DISPLAY'.
      ENDIF.
    endform.
    *&      Form  alv_define_field_cat
          text
         -->P_LT_FIELD_CAT  text
    FORM ALV_DEFINE_FIELD_CAT USING  TB_FCAT TYPE SLIS_T_FIELDCAT_ALV.
      DATA: WA_FIELDCAT LIKE LINE OF TB_FCAT,
        LV_COL_POS TYPE I.
      DEFINE FIELD_CAT.
        CLEAR WA_FIELDCAT.
        ADD 1 TO LV_COL_POS.
        WA_FIELDCAT-FIELDNAME = &1.
        WA_FIELDCAT-REF_TABNAME = &2.
        WA_FIELDCAT-COL_POS = LV_COL_POS.
        WA_FIELDCAT-KEY = &3.
        WA_FIELDCAT-NO_OUT = &4.
        WA_FIELDCAT-REF_FIELDNAME = &5.
        WA_FIELDCAT-DDICTXT = 'M'.
        IF NOT &6 IS INITIAL.
          WA_FIELDCAT-SELTEXT_L = &6.
          WA_FIELDCAT-SELTEXT_M = &6.
          WA_FIELDCAT-SELTEXT_S = &6.
        ENDIF.
        WA_FIELDCAT-DO_SUM = &7.
        WA_FIELDCAT-OUTPUTLEN = &8.
        APPEND WA_FIELDCAT TO TB_FCAT.
      END-OF-DEFINITION.
      FIELD_CAT  'BUKRS'  'ANLA'     'X' '' 'BUKRS' 'Company Code' '' ''.
      FIELD_CAT  'ANLN1'  'ANLA'     'X' '' 'ANLN1' 'Asset Number' '' ''.
      FIELD_CAT  'ANLN2'  'ANLA'     'X' '' 'ANLN2' 'Asset Sub Number' '' ''.
    FIELD_CAT  'ATEXT'   'T5EAE'     'X' '' 'ATEXT' 'Result' '' ''.
      FIELD_CAT  'RESULT'  ''     'X' '' 'RESULT' 'RESULT' '' ''.
    ENDFORM.                    " alv_define_field_cat

    Hi,
    Check this code..
    FORM display_report_alv.
      DATA: lt_field_cat TYPE slis_t_fieldcat_alv,
      lt_events TYPE slis_t_event,
      lv_repid LIKE sy-repid.
      PERFORM alv_define_field_cat USING lt_field_cat.
      PERFORM alv_header_build USING t_list_top_of_page[].
      PERFORM alv_eventtab_build USING lt_events[].
      lv_repid = sy-repid.
      IF sy-batch EQ 'X'.  ----> " System Field for Backgroud..if Background use list display
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            i_callback_program = lv_repid
            it_fieldcat        = lt_field_cat
            i_save             = 'A'
            it_events          = lt_events[]
          TABLES
            t_outtab           = t_output
          EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.
      ELSE.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program = lv_repid
            it_fieldcat        = lt_field_cat
            i_save             = 'A'
            it_events          = lt_events[]
          TABLES
            t_outtab           = t_output
          EXCEPTIONS
            program_error      = 1
            OTHERS             = 2.
      ENDIF.
      IF sy-subrc NE 0.
        WRITE: / 'Return Code : ', sy-subrc,
        'from FUNCTION REUSE_ALV_GRID_DISPLAY'.
      ENDIF.
    ENDFORM.                    "display_report_ALV

  • Hello, I have a problem with my mac book pro after running the battery dead on a game.  The display has shrunk leaving two black margins on either side. What to do ?

    Hello, I have a problem with my mac book pro after running the battery dead on a game.  The display has shrunk leaving two black margins on either side. What to do ?

    Go to System Preferences>Displays and set the resolution to "Best for this computer" (or something to that effect).
    Clinton

  • Deleting Rows From A Table After Running a Report

    I've created a report that inserts rows into a table on the asp page then calls a BI Publisher report to display the data. After running the report in BI Publisher I need to delete the rows from the table that had just been inserted. How is the best way to go about this in BI Publisher?

    The best way I know of would be to use an "afterReport trigger".
    An afterReport trigger fires after the XML output has been generated.
    Thanks,
    Bipuser

  • OIM: Error after running in patch_oimapp.sh

    Hi All,
    I have OIM11gR2 installed and I am trying to configure the LDAP Synch with OID via OVD. As per the documentation, after running the patch_oimapp.sh, I am getting below error:
    explode-archived-apps-was:
    seed-ootb-jobs:
    seed-ootb-jobs:
    +[echo] ----> SEEDING OUT OF THE BOX SCHEDULE JOBS AND TRIGGERS+
    +*[java] Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver+*
    *+[java]* at java.net.URLClassLoader$1.run(URLClassLoader.java:202)+
    +[java] at java.security.AccessController.doPrivileged(Native Method)+
    +[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)+
    +[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)+
    +[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)+
    +[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)+
    +[java] at java.lang.Class.forName0(Native Method)+
    +[java] at java.lang.Class.forName(Class.java:169)+
    +[java] at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:723)+
    +[java] at oracle.iam.scheduler.seed.SeedSchedulerData.main(SeedSchedulerData.java:111)+
    BUILD FAILED
    +/opt/oracle/Middleware/Oracle_IAM/server/setup/deploy-files/setup.xml:21: The following error occurred while executing this line:+
    +/opt/oracle/Middleware/Oracle_IAM/server/setup/deploy-files/setup.xml:84: The following error occurred while executing this line:+
    +/opt/oracle/Middleware/Oracle_IAM/server/seed_data/seed-rcu-data.xml:37: Java returned: 1+
    Total time: 44 seconds
    Below is my appserver.profile file:
    # Please fill the information below before running the post-patch script.
    # Put the OIM DB schema owner name here
    operationsDB.user=DEV_OIM
    # Put the DB driver to be used
    operationsDB.driver=oracle.jdbc.OracleDriver
    # Put the absolute path to the Weblogic/Websphere server directory here.
    appserver.dir=/opt/oracle/Middleware/wlserver_10.3
    # The host on which OIM db is running
    operationsDB.host=oracle
    # The service name of the OIM db [Do not mention the SID here.]
    operationsDB.serviceName=ORACLE11G
    # The port of the OIM db
    operationsDB.port=1521
    # Application server was or wls
    appserver.type=wls
    Any pointers what could be wrong?
    Regards,
    Sunny

    Hi Guys,
    Thanks for the reply.
    Copied the ojdbc6.jar in WLS_HOME/server/lib, OIM_HOME/server/lib,DOMAIN_HOME/lib, restarted the server but still no luck:
    patch:
    check-appserver-type:
    [echo]
    [echo] websphere.server----${appserver.was}
    [echo]
    explode-archived-apps:
    [delete] Deleting directory /opt/oracle/Middleware/Oracle_IAM/server/apps/oim.ear
    [delete] Deleting directory /opt/oracle/Middleware/Oracle_IAM/server/apps/Nexaweb.ear
    [mkdir] Created dir: /opt/oracle/Middleware/Oracle_IAM/server/apps/oim.ear
    [mkdir] Created dir: /opt/oracle/Middleware/Oracle_IAM/server/apps/Nexaweb.ear
    [unzip] Expanding: /opt/oracle/Middleware/Oracle_IAM/server/patching/oim.ear into /opt/oracle/Middleware/Oracle_IAM/server/apps/oim.ear
    [unzip] Expanding: /opt/oracle/Middleware/Oracle_IAM/server/patching/Nexaweb.ear into /opt/oracle/Middleware/Oracle_IAM/server/apps/Nexaweb.ear
    check-appserver-type:
    [echo]
    [echo] websphere.server----${appserver.was}
    [echo]
    explode-archived-apps-was:
    seed-ootb-jobs:
    seed-ootb-jobs:
    [echo] ----> SEEDING OUT OF THE BOX SCHEDULE JOBS AND TRIGGERS
    [java] Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
    [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    [java] at java.security.AccessController.doPrivileged(Native Method)
    [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    [java] at java.lang.Class.forName0(Native Method)
    [java] at java.lang.Class.forName(Class.java:169)
    [java] at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:723)
    [java] at oracle.iam.scheduler.seed.SeedSchedulerData.main(SeedSchedulerData.java:111)
    BUILD FAILED
    /opt/oracle/Middleware/Oracle_IAM/server/setup/deploy-files/setup.xml:21: The following error occurred while executing this line:
    /opt/oracle/Middleware/Oracle_IAM/server/setup/deploy-files/setup.xml:84: The following error occurred while executing this line:
    /opt/oracle/Middleware/Oracle_IAM/server/seed_data/seed-rcu-data.xml:37: Java returned: 1
    Total time: 50 seconds
    Regards,
    Sunny

Maybe you are looking for

  • Header and Footer in a BEx report

    Hi Everyone, I have a requirement where I need to provide a space for the user to sign-off with their name and signature at the bottom of the print-out of a BEx report. For this purpose I need to provide a space at the bottom of the report where the

  • Error during search occurred - com.sapportals.wcm.WcmException: An operatio

    Upon clicking the SEARCH button, we are encountering the below error: "Error during search occurred - com.sapportals.wcm.WcmException: An operation has failed on a file (create, delete, copy, move, ...);location=gb2ap320dia27:30013,location=gb2ap320d

  • Portege R500 - I loose settings in Fingerprint software

    Hi, I use fingerprint software, but sometimes, I lost my settings and Password Bank and user fingers are clear. I must import last settings and then working well. I lost my settings 2 or 3 times at week! Do you have any idea? Thanks

  • [solved] sli with no xorg.conf

    i just did a fresh install of arch and have no xorg.conf. i am using 10-monitor.conf and 20-nvidia.conf. system works fine i am just wondering is it possible to set sli without using xorg.conf? if it is how to do it? Last edited by flyer (2012-04-30

  • Camera Raw and EOS 550D

    Hi All I am having big problems  opening .CR2 files from my Canon 550D. I have got Photoshop CS3 and  Elements 8, and downloaded Camera Raw 5.7 and installed it both  automatically and manually. In case it may not work with CS3 I have also  downloade