HELP - Exception creating or maintaining Jco Destinatination

Hi,
After system copy we tried to change the jco destinations
WD_OS_MODELDATA_DEST and WD_OS_RFC_METADATA_DEST by
Web Dynpro Content Administrator" Admin", but it failed.
Now the system show,
500 Internal Server Error - Failed to process request. Please contact
your system administrator
java.lang.NullPointerException
     at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:997)
     at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:485)
     at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.updateJCOClientStatus(JCOConnectionsDetails.java:494)
     at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:711)
     at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.addJCOClientToList(JCOConnectionsDetails.java:675)
     at com.sap.tc.webdynpro.tools.explorer.JCOConnectionsDetails.wdDoInit(JCOConnectionsDetails.java:122)
     at com.sap.tc.webdynpro.tools.explorer.wdp.InternalJCOConnectionsDetails.wdDoInit(InternalJCOConnectionsDetails.java:259)
     at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
     at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
     at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:275)
     at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
     at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:539)
     at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:397)
     at com.sap.tc.webdynpro.progmodel.view.ViewManager.makeVisible(ViewManager.java:619)
     at com.sap.tc.webdynpro.progmodel.view.ViewManager.performNavigation(ViewManager.java:262)
     at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.navigate(ClientApplication.java:819)
     at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:359)
     at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659)
     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
     at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
thanks in advance
Diana

Thanks,
The solution was filling all fields of Jco connection by Sld-content maintenance -
landscape definition - Class JCO message server destination & JCO application server destination.

Similar Messages

  • Help Required on Creating and Maintaining an Apple Network Without a Server

    Hi,
    I'm an external IT technician for a new educational block at a hospital who intend on using apple mac computers alongside windows computers running off of a windows server..
    I usually deal with windows XP as an operating system so OSX is relatively new to me..
    Basically what I have is a suite of 6 iMacs which are all sharing files from the windows server via a network share drive I set up. I've just got off the phone with the project manager and she wishes to have individual logons for each member of staff and student here, this adds up to around 25 people..
    I have allready created a generic "teacher" and "student" logon which has all of the right things in the dock + settings etc that I need. Is there an easy way to duplicate those settings to create new profiles?
    I'm just trying to look for ways of making this easier for myself and for the school in the future.. I have a feeling that the ideal solution would be to have an apple server installed and manage the users from there but I don't think that it was considered at the time of purchase..
    So can anyone help me out? I'll be grateful for any tips or advice on creating and maintaining this system as I'm due to support this place for the next year.
    Thanks alot,
    Martin

    Bump.

  • Cannot create/maintain JCO connection : NullPointerException in SLD

    When I want to create a new JCO connection in SLD (via WebDynpro->Content Administrator) , I get an exception :
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.checkStatus(SystemLandscapeFactory.java:991)
         at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.checkStatus(WDSystemLandscape.java:469)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateJCODestinations(NameDefinition.java:285)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.updateNavigation(NameDefinition.java:250)
         at com.sap.tc.webdynpro.tools.sld.NameDefinition.wdDoInit(NameDefinition.java:157)
    Because the following document "[Adaptive RFC Troubleshooting Guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d8d0]" suggests that the problem could be an incomplete JCO connection definition, I removed all other existing connections (it's a sandbox system), but this action has not solved the problem.
    I also get the message "Exception while getting JCo Clients Failed to get list of defined JCO clients for deployable object 'sap.com/spider_search' " when the Content Administrator screen is displayed.
    Any idea of what is missing ?
    Thanks,
    Eric.

    Hi Eric,
    Check this forum link using this similar problem got resolved.
    can not create jco destination  500   Internal Server Error  after sp 13
    Thanks
    Anup

  • Help needed with message: "Exception creating new Poolable object"

    In r12.1.3 EBS users occasionally instead of getting the login screen will see the following message *"Unable to generate forwarding URL. Exception: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object"* Restarting the applications usually resolves the issue but it happens so infrequently that we've been unable to diagnose the problem or recreate the problem at will.
    Any assistance would be greatly be appreciated in diagnosing the problem.
    We've logged an SR with Oracle Support and they recommended turning on OC4J Debugging which they advised would create large log files. Since we can replicate this issue at will we would like to avoid turning on debugging and creating the large log files.

    user6035136 wrote:
    In r12.1.3 EBS users occasionally instead of getting the login screen will see the following message *"Unable to generate forwarding URL. Exception: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object"* Restarting the applications usually resolves the issue but it happens so infrequently that we've been unable to diagnose the problem or recreate the problem at will.
    Any assistance would be greatly be appreciated in diagnosing the problem.
    We've logged an SR with Oracle Support and they recommended turning on OC4J Debugging which they advised would create large log files. Since we can replicate this issue at will we would like to avoid turning on debugging and creating the large log files.Can you find any details about the error in the application.log and Apache log files file when the issue happens?
    Do you have the patches in these docs applied?
    Connection Leak On Login [ID 1462034.1]
    Connection Leak: Find LeakedConnectionException Reported in AOLJ Database Connection Pool Test [ID 1177093.1]
    Connection Leaks From fndgfm (fndgfm.java, fndgfm.jsp, _fndgfm.java) [ID 1231393.1]
    Please also see these docs.
    Got Error "Exception: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object" When Login EBS [ID 1485112.1]
    R12: On a cloned target the logon screen reports 'HTTP error 500 Internal server error' [ID 1335176.1]
    Upgrading From 11.510 To R121.3 and Encountered HTTP 500 Internal server [ID 1360410.1]
    Concurrent Requests (Java Based) Failing With NoClassDefFoundError 'Could not initialize class javax.crypto.SunJCE_b' [ID 1423414.1]
    Oracle.Apps.Fnd.Common.Poolexception: Not Able To Create New Database Connection [ID 1434807.1]
    Thanks,
    Hussein

  • Maintain JCO Destination Issue

    Hi ,
    I have configured SLD and maintained JCO destination WD_MODELDATA_DEST and WD_MODELDATA_DEST with SAP backend connection details.
    When i tried to create the JCO desitnation , i m getting the following issues:
    JCo destination 'RFC_MODEL' was successfully created in SLD.
    Exception while getting JCo Clients Failed to get list of defined JCO clients for deployable object 'sap.com/cafeugpcroomwd'.
    Exception while getting the JCo clients Failed to get list of defined JCO clients for deployable object 'sap.com/cafeugpcroomwd'.
    Exception while getting the JCo clients Failed to get list of defined JCO clients for deployable object 'sap.com/cafeueruico~km'.
    Exception while getting JCo Clients Failed to get list of defined JCO clients for deployable object 'sap.com/cafeugpcroomwd'.
    when i try to test the connection, i m having the following issue.
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=op60vimt75 GROUP=SPACE R3NAME=T75 MSSERV=sapmsT75 PCS=1 ERROR       service 'sapmsT75' unknown TIME        Sat Apr 17 03:32:23 2010 RELEASE     700 COMPONENT   NI (network interface) VERSION     38 RC          -3 MODULE      nixxhsl.cpp LINE        776 DETAIL      NiHsLGetServNo: service name cached as unknown COUNTER     1
    Can somebody help me out what went wrong or let me know changes i have to do ?
    your help is appreciated!!!
    Regards,
    Ravi.
    Edited by: ravikanth kasim on Apr 17, 2010 9:45 AM

    Hi Ravi,
    Please refer to below document for jco errors
    [Troubleshooting SAP Java Connector |http://wiki.sdn.sap.com/wiki/display/EP/TroubleshootingSAPJavaConnector(JCo)]
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d8d0?quicklink=index&overridelayout=true
    Creating JCO Connectivity from J2EE to SAP
    Hope it helps
    Regards
    Arun

  • Maintaining JCO destinations

    HI experts,
                     We are using a standard sdn example for flight booking . We have downloaded zip file from sdn. We did all the steps to build the project in the netweaver studio help. After deployment we are not able to maintain JCO destinations. The error is " Unable to obtain JCO destinations and it a system landscape exception". We tried to create our own JCO destinations but the same.

    Hi,
        Login to http://host:port/index.html
    Go to Webdynpro -> Content Administrator. Click on 'Maintain JCo Destinations'.
    The JCo connections you have created should be in green colour. If so, try to test the two connections (meta and model data) first. If both are successful, then ping them and check. If it works, then check from the project if you are using the right JCo connectors. If everything is fine, then it should work.
    Regards,
    Harini S

  • Need help in installing the SAP Jco

    Hi All,
    I'm installing HP Change Impact analysis on Quality center and bring SAP in Sync later.One of the installtion step isto install the SAP JCo(Java connector ).I have installed the SAP Jco and on starting the CIT Server..I get a exception messsage
    "SAP Jco is not installed;noclassdeffounderror com\sap\mw\jco\Jco "
    Can anyone help in installing the SAP Jco successfully.
    Thanks,
    Venky

    Hi venkatesh,
    To create JCO follow the procedure.
    Logon to portal>content admn>create JCO destination-->Here u have create Jco for ?Model data and Metadata.
    steps invovled in it.
    1.      Define general data
    2.      Define the J2EE cluster
    3.      Define the data type and connection type
    4.      Define the application server or message server
    5.      Define the security settings.
    Please follow the link for more information.
    http://help.sap.com/saphelp_nw04/helpdata/EN/3a/3b1b40fcdd8f5ce10000000a155106/content.htm
    Regards,
    srikanth

  • Exception thrown while using JCo in Java agents  in Lotus Domino applns.

    I am trying to use JCo in Java agents in a lotus domino application.  Here is my code:(This Java agent calls a Remote enabled function module in SAP which gives the sum of two given numbers)
    import lotus.domino.*;
    import java.util.*;
    import java.io.*;
    import com.sap.mw.jco.*;
    public class JavaAgent extends AgentBase
    private static JCO.Client jClient;
    public JCO.Client getJCOClient(String poolName) throws IOException, JCO.Exception
           System.out.println("Inside getJCOClient method");          
           System.out.println("Pool Name : "+ poolName);  
              boolean poolExists = false;     
          JCO.PoolManager poolManager  = JCO.PoolManager.singleton();
           String poolNames[] = poolManager.getPoolNames();
          // To check whether the given pool name already exists     
         if(poolNames != null)
                for(int poolIter = 0;poolIter<poolNames.length;poolIter++)
                 if(poolNames[poolIter].equals(poolName))
                        System.out.println("POOL ID =====>> "+poolName);
                        System.out.println("POOL NAMES["+ poolIter "] ========>>"poolNames[poolIter]);
                        poolExists = true;
                        break;
         String s = String.valueOf( poolExists );
          System.out.println("pool Exists :" + s );     
          if(poolExists == false)
               try
                   int maxConnections = 50;
                   String JCOClient = "111";
                   String user = "apabap4";
                   String password = "sap123";
                   String language = "en";
                   String ashost = "172.25.10.68";
                   String sysnr = "00";
                   //To create an instance of a client pool to the remote SAP system
                   System.out.println("Before addClientPool");
                   System.out.println("Pool Name : " + poolName);
                   JCO.addClientPool(poolName,maxConnections,JCOClient,user,password,language,ashost,sysnr);
              //     JCO.createClient(JCOClient, user,password,language, "172.25.10.68");
                   System.out.println("New Connection Pool Created");
               catch(JCO.Exception jcoe)
                    throw new JCO.Exception(jcoe.getGroup(),jcoe.getKey(),"Error in client pool creation "+jcoe.toString());
         try
                  //getClient() method returns a client connection from the specified spool     
                   jClient = JCO.getClient(poolName);
         catch(JCO.Exception jcoe1)
                   throw new JCO.Exception(jcoe1.getGroup(),jcoe1.getKey(),"Error in getting JCO client "+jcoe1.toString());
              return jClient;
         // End of method getJCOClient()     
         public void releaseJCOClient() throws JCO.Exception
          try
                   JCO.releaseClient(jClient);
         catch(JCO.Exception jcoe2)
                   throw new JCO.Exception(jcoe2.getGroup(),jcoe2.getKey(),"Error in releasing client "+jcoe2.toString());
    public void NotesMain()
              try {
                   Session session = getSession();
                   AgentContext agentContext = session.getAgentContext();
                  Document doc = agentContext.getDocumentContext();
       JavaAgent jcoObj = new JavaAgent();
       JCO.Client jClient = null;
       String poolId = new String("EG_POOL");
       IFunctionTemplate   ifun;//For function object
       JCO.Function func;          
       JCO.ParameterList importParams,exportParams,tableParams;
       try{
             jClient = jcoObj.getJCOClient(poolId);
           System.out.println("After Getting Connection");
           System.out.println("Attributes:" + jClient.getAttributes());
            //Create a repository object
            JCO.Repository mRepository = new JCO.Repository("myJCO_REPOSITORY", jClient);
            //Creating a function object
            ifun = mRepository.getFunctionTemplate("ZSUM");// The Function Name
           func = ifun.getFunction();
            System.out.println("Function name " + func.getName());
            //To get the import parameters in the function module
            importParams = func.getImportParameterList();
            System.out.println("Import parameters"+ importParams);
            importParams.appendValue("OPERAND1",importParams.TYPE_INT,4,"25");
           importParams.appendValue("OPERAND2",importParams.TYPE_INT,4,"25");
            jClient.execute(func);//Executing the function 
            //To get the export parameters in the function module
            exportParams = func.getExportParameterList();
               System.out.println("Export parameters" + exportParams);
            int sumVl = exportParams.getInt("SUM");
            Integer sumValue = new Integer(sumVl);
            System.out.println("Sum Value" + sumValue);
             doc.replaceItemValue("txtSum", sumValue.toString());
            //releaseJCOClient();
      catch(IOException ioe)
          ioe.printStackTrace();
      catch(JCO.Exception jcoe1)
          jcoe1.printStackTrace();
              } catch(Exception e) {
                   e.printStackTrace();
    While executing this agent I am getting the following exception.
    08/25/2004 06:27:45 PM  HTTP JVM: java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'  Native Library C:\Lotus\Domino\sapjcorfc.dll already loaded in another classloader
    08/25/2004 06:27:45 PM  HTTP JVM:  at com.sap.mw.jco.JCO.<clinit>(Unknown Source)
    08/25/2004 06:27:45 PM  HTTP JVM:  at JCoCallTrans.getJCOClient(JCoCallTrans.java:42)
    08/25/2004 06:27:45 PM  HTTP JVM:  at JCoCallTrans.NotesMain(JCoCallTrans.java:88)
    08/25/2004 06:27:45 PM  HTTP JVM:  at lotus.domino.AgentBase.runNotes(Unknown Source)
    08/25/2004 06:27:45 PM  HTTP JVM:  at lotus.domino.NotesThread.run(NotesThread.java:208)
    08/25/2004 06:27:45 PM  HTTP JVM: Error cleaning up agent threads
    Also I have placed the jco.jar in lib of jvm in Domino directory i.e.,
    Lotus\Domino\jvm\lib and
    sapjcorfc.dll and librfc32.dll in system32 of WINNT folder.
    Kindly help me to rectify this problem
    Arokiaraj.S

    I had approximate the same problem, and I've fixed it. In my jar file the javaHelpSearch Folder was named with a leading lower case "j". But in my helpset.hs it was with an upper Case "J"
    <name>Search</name>
        <label>Search</label>
        <type>javax.help.SearchView</type>
        <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
       </view>When the helpset is called from a folder: windows ignore it, but when the helpset is called from into a jar you must type it correct!

  • Maintain JCO destination button is disabled

    I am getting the following error when trying to log in to MSS:
    "com.sap.tc.webdynpro.services.exceptions.WDRuntimeE xception: Failed to resolve JCO destination name 'SAP_R3_SelfServiceGenerics_MetaData' in the SLD. No such JCO destination is defined in the SLD."
    When going to Content Administration->WebDynpro Content->Maintain JCO destinations, the button "Maintain JCO destinations" is disabled.  I am logged in as an adminsitrator.
    Can someone help?
    Tiberiu

    I tried from Visual Administrator->SLD Data Supplier to trigger SLD data supply. I get the following error: "Failed to send HTTP data:401. Unauthorized".
    I also checked the SLD logs and I found this:
    "#14 08/28/2008 08:11:37.910 [SAPEngine_Application_Thread[impl:3]_35] WARNING com.sap.lcr.cimsrv.ChangePasswordServlet: Password change required for WBEM client. Please ensure that service client users don't have initial passwords. Alternatively, logon to the SLD user interface with the corresponding user and assign a new password. After the password has been changed, client settings must be updated accordingly. "
    Is it possible the SLDSUSER password expired somehow?
    Tiberiu

  • Maintaining JCO Destination

    Hi Experts,
    After Installing EP and connecting through our BW System, i got stuck in maintaining JCO destination through Content Administration.
    Initially on the screen of maintaining JCO Destination, the Status is RED for all the Data sources, now when i click on create. it shows an Error Message which is
    500 Internal Server Error - Failed to process request. Please contact your system administrator.
       java.lang.NullPointerException
    I searched a lot on the Forums and on service marketplace, and based on the search result i did some changes like,
    1) Upgrading all the SP's from SP09 to SP10
    2) changing the J2EE Admin HTTP Provider properties
             a) ServletInputStreamTimeout
             b) ServletsLongDataTransferTimeout
             c)  ServletsLongDataTransferCallbackSize
    3) I also changed the Explorer from Internet Explorer to Mozilla.
    The Environment is Windows 2000 Server with Oracle10.
    NW7.0 SR2 SP10
    Still not able to hit the right stone. Please help me in this regards.
    Regards
    Puneet

    Hey Deepu,
    Thanks for the quick reply. What to maintain in the Host file ?
    Only IP and Host name is there.
    One more thing it worked once yesterday, but after filling all the required information and clicking on Finish it displayd the same error.
    The Windows is also 2003 Server and not 2000. Sorry for the mistake.
    Regards
    Puneet

  • Help with create a trigger

    hello all
    i have a 4 tables and i would like to create a trigger in a tables
    CREATE TABLE CLIENT_INFO
    ( CLIENT_NO     VARCHAR2(10) CONSTRAINT CLIENT_INFO_CNO_PK PRIMARY KEY,
      CLIENT_NAME   VARCHAR2(50) NOT NULL,
      ORDERS_AMOUNT NUMBER(7)
    CREATE TABLE STOCK_INFO
    ( ITEM_NO              VARCHAR2(10) ,
      ITEM_DESCRIPTION     VARCHAR2(100),
      SELLING_PRICE        NUMBER(6),
      QTY_IN_HAND          NUMBER(6)    NOT NULL,
      CONSTRAINT ITEM_NUM_SPRICE_PK PRIMARY KEY (ITEM_NO , SELLING_PRICE)
    CREATE TABLE ORDER_INFO
    ( ORDER_NO     VARCHAR2(10) CONSTRAINT ORDER_INFO_ONO_PK PRIMARY KEY,
      CLIENT_NO    VARCHAR2(10),
      ORDER_DATE   DATE,
      ORDER_AMOUNT NUMBER(6),
      CONSTRAINT ORDER_INFO_CNO_FK  FOREIGN KEY (CLIENT_NO) REFERENCES CLIENT_INFO (CLIENT_NO)
    CREATE TABLE ORDER_LINES
    ( ORDER_NO       VARCHAR2(10),
      ITEM_NO        VARCHAR2(10),
      LINE_QTY       NUMBER(6),
      SELLING_PRICE  NUMBER(6),
      TOTAL_PRICE    NUMBER(6)
    ALTER TABLE ORDER_LINES
    ADD  CONSTRAINT ORDER_LINES_ONO_FK FOREIGN KEY (ORDER_NO) REFERENCES ORDER_INFO (ORDER_NO);
    ALTER TABLE ORDER_LINES
    ADD  CONSTRAINT ORDER_LINES_INO_FK FOREIGN KEY (ITEM_NO) REFERENCES STOCK_INFO (ITEM_NO);i would like to create this trigger
    1-order_amount in table 3 due to any (insert,update or delete ) in total_price in table 4
    2-orders_amount in table 1 due to any (insert,update or delete ) in order_amount in table 3
    i would like to ask another quotations r this relations in good for tables
    thank's all

    >
    plz i need a help to create a trigger
    >
    Using a trigger won't solve your problem. You are trying to use child table triggers to maintain parent table information.
    There is no transaction control to ensure that the parent table will be updated with the correct information.
    One process could update child record 1 while another process is updating child record two. Each process will see a different total if they try to compute the sum of all child records since the first process will see the 'old' value for the child record that the second process is updating and the second process will the 'old' value for the child record that the first process is updating.
    So the last process to commit could store the wrong total in the parent record withoug an exception ever being raised.
    See Conflicting Writes in Read Committed Transactions in the Database Concepts doc
    http://docs.oracle.com/cd/E14072_01/server.112/e10713/consist.htm
    >
    some one ask me this quotation in interview
    and im told him i can't understand this structure for database he said just do it
    >
    And I would tell them that using a trigger is not the right way to accomplish that since it could invalidate the data concurrency and data consistency of the tables.
    Sometimes you just have to tell people NO.

  • How to Maintain Jco Destinations ( using ARFC2 )

    Hi Friends
    I call ARFC2  setting WD_MODELDATA_DEST and WD_RFC_METADATA_DEST.
    ... then get error message.
    com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination WD_RFC_METADATA_DEST does not exist
        at com.sap.conn.jco.rt.DefaultDestinationManager.update(DefaultDestinationManager.java:195)
        at com.sap.conn.jco.rt.DefaultDestinationManager.searchDestination(DefaultDestinationManager.java:344)
        at com.sap.conn.jco.rt.DefaultDestinationManager.getDestinationInstance(DefaultDestinationManager.java:96)
        at com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.java:61)
        at com.sap.tc.cm.arfc2.metadata.RFMParser.<init>(RFMParser.java:78)
        ... 74 more
    I wnat to Maintain the demo01's JCo Destinations, but the page is null.
    Where can I create WD_MODELDATA_DEST、WD_RFC_METADATA_DEST.
    thx.

    Hi BenChen,
    You need to create JCO Destination in the SAP Portal >> Content Administration >> Web dynpro >> Maintain Jco Destinations.
    If "Create" button not active,then you need to check SLD running or not and SLD data supplier.
    Please refer to below documents will helps
    [System Landscape Directory Process and JCo Configuration|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5?quicklink=index&overridelayout=true]
    [JCO Destination Errors|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d8d0?quicklink=index&overridelayout=true]
    [How to Configure the JCo Destination Settings|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/portal%20integration/how%20to%20configure%20the%20jco%20destination%20settings.pdf]
    Hope it will helps
    Regards
    Arun Jaiswal

  • Custom transaction has to be created to maintain the custom table

    My requirement is like this:
    We have received the request to create a special transaction to maintain directly the table ZZRPPT_SUBCONPRI (Subcontracting price table).
    Currently the table is accessed through transcation code SM30. Access to this t/code is limited due to the security reasons.
    So new transaction has to be created to maintain this table.
    Could you please suggest in this?
    US

    Hi Srinivas,
    You can create a program and in that you can call the table with the specificied restrictions.
    Maintain the transaction code for that program.
    Assigning the table
    z_view = 'ZZRPPT_SUBCONPRI '.
    For the restriction
    REFRESH z_funct.
    CLEAR z_funct.
    z_funct-function = 'ATAB'.
    APPEND z_funct.
    Lock the table
    CALL FUNCTION 'VIEW_ENQUEUE'
      EXPORTING
        action    = 'E' "E for Lock
        view_name = z_view.
    Call SM30 transaction for 'ZZRPPT_SUBCONPRI'
    CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
      EXPORTING
        action                       = z_action
        view_name                    = z_view
      TABLES
        excl_cua_funct               = z_funct
      EXCEPTIONS
        client_reference             = 1
        foreign_lock                 = 2
        invalid_action               = 3
        no_clientindependent_auth    = 4
        no_database_function         = 5
        no_editor_function           = 6
        no_show_auth                 = 7
        no_tvdir_entry               = 8
        no_upd_auth                  = 9
        only_show_allowed            = 10
        system_failure               = 11
        unknown_field_in_dba_sellist = 12
        view_not_found               = 13
        maintenance_prohibited       = 14
        OTHERS                       = 15.
    Definately the above solution will work out, because i had implemented for many of my customized tables.
    Reward points if helpful.
    Kannu.

  • Cannot maintain JCO connection  for webdynpro application in Portal Admin

    I cannot create or modify the JCO connection in Portal Content Admin->the application.name while executing webdynpro application.
    There should be a red or green icon Butr in my case for my application ,
    The create or test is disbaled .Colored  icon is not there.
    I am using SAP sneak preview and its first time.Should I check SLD settings.Pls help.
    George

    how to maintain it?
    accidently deleted SLD form localhost/sld url and now i cannot change or add the sld.It gives page cannot be displayed.PLs advice how to fix it  or should i reinstall it?
    George

  • Exception created : flex.messaging.security.SecurityException

    Hi ,
    The message below keep appearing in the systemout.log file. Any idea?
    00002ca4 webcontainer  E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
    00002ca4 servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet documents in application LiveCycleES2. Exception created : flex.messaging.security.SecurityException
        at com.adobe.workspace.users.Authentication.validateContext(Authentication.java:445)
        at com.adobe.workspace.tasks.DocumentServlet.doGet(DocumentServlet.java:166)
    00002ca4 webcontainer  E com.ibm.ws.webcontainer.WebContainer handleRequest SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
    00002ca4 webapp        E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[documents]: com.ibm.ws.webcontainer.webapp.WebAppErrorReport: Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API
        at com.ibm.ws.webcontainer.webapp.WebAppDispatcherContext.sendError(WebAppDispatcherContext. java:637)
        at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendError(SRTServletResponse.java:1187)
    -Dhiyane

    Hello Nitin,
    i didnt say that its working fine with ATG REST. i mentioned that its working fine with 10.0.2 version of ATG but not with ATG10.1.1 . Also i am using SOAP only in both the versions. i am getting the boolean exception in the line where will i pass username, password and ispasswordEncrpted. i am passing defalut username,
    password and false(ispasswordencrypted).
    so can you help me on this.
    i am pasting my clinet program here
    public class LoginClient {
      * @param args
      * @throws RemoteException
      * @throws ServletException
      * @throws SecurityException
      * @throws ServiceException
      public static void main(String[] args) throws SecurityException, ServletException, RemoteException, ServiceException {
      /*System.getProperties().put("socksProxyHost", "172.26.183.65");
      System.getProperties().put("socksProxyPort", "8180");*/
      LoginUserSEIService loginService = new LoginUserSEIServiceLocator();
      LoginUserSEI loginStub = loginService.getLoginUserSEIPort();
      org.apache.axis.client.Stub axisStub = (org.apache.axis.client.Stub) loginStub;
      CookieContainer cookieContainer = new CookieContainer();
      axisStub.setMaintainSession(true);
      // Don't allow XML elements to reference other XML elements
      axisStub._setProperty(AxisEngine.PROP_DOMULTIREFS, new Boolean(false));
      // Push cookies onto the Stub
      cookieContainer.pushCookies(axisStub);
      String userId = loginStub.loginUser("[email protected]", " password", false);
      // Get cookies out of the Stub, and pass them to subsequent calls as needed
      cookieContainer.extractCookies(axisStub);
      System.out.println("User ID : " + userId);

Maybe you are looking for

  • How to send finish material for subcontracting ?

    Dear all , I per our client requirement finish materaila has to send for the drilling to the subcontractiong . Shall i use subcontracting method in which material which i will send & which i will receipt will be same plz reply me . abhay

  • Ipad2 not able to auto upgrade

    My Ipad 2 is an old version 4, Usually should be able to auto upgrade when click "General" we can see "upgrade" at right hand side or auto prompt out to ask for upgrade the latest version. But my Ipad don't appear any message ask for upgrade. I'm try

  • ILife gone after ML Update

    I bought a Macbook Air recently , came pre-installed with Lion with iLife. As apple gave me free upgrade to 10.8 Mountain Lion , I updated sucessfully , wiping my SSD. Now iLife is missing , and says $19.9 in the app store. What to do now ?

  • How can I save my progress of the games

    Some games like Tetris you pass levels but every time I have to un-frees and re-start all the games start over. I hate this!! Is there a way to save the progress?????

  • Problems connecting an external drive (NAS) for TimeMachine backup

    Hi everyone, I have bought a Verbatim MediaShare, and want to use it as a media NAS, but also as a source for TimeMachine. I have created an administrators account on the MediaShare NAS, and then launches the Verbatim application "ComputerBackup" The