Error with RMI method call

Hi,
I am trying to access a stateless session bean from a client running under JBuilder.
The method returns a basic object that is serializable, but I get the following
error.
java.lang.ArrayIndexOutOfBoundsException
     at com.sun.corba.se.internal.corba.AnyImpl.read_value(AnyImpl.java:345)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:572)
     at com.sun.corba.se.internal.javax.rmi.CORBA.Util.readAny(Util.java:199)
     at javax.rmi.CORBA.Util.readAny(Util.java:92)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1486)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
     at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:1060)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1555)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
     at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:906)
     at com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:33)
     at java.lang.reflect.Constructor.newInstance(Native Method)
     at com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:113)
     at com.sun.corba.se.internal.core.ServiceContexts.<init>(ServiceContexts.java:106)
     at com.sun.corba.se.internal.iiop.ReplyMessage.read(ReplyMessage.java:133)
     at com.sun.corba.se.internal.iiop.IIOPInputStream.<init>(IIOPInputStream.java:89)
     at com.sun.corba.se.internal.iiop.ClientResponseImpl.<init>(ClientResponseImpl.java:29)
     at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:622)
     at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
     at com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:37)
     at java.lang.reflect.Constructor.newInstance(Native Method)
     at com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:113)
     at com.sun.corba.se.internal.core.ServiceContexts.<init>(ServiceContexts.java:106)
     at com.sun.corba.se.internal.iiop.ReplyMessage.read(ReplyMessage.java:133)
     at com.sun.corba.se.internal.iiop.IIOPInputStream.<init>(IIOPInputStream.java:89)
     at com.sun.corba.se.internal.iiop.ClientResponseImpl.<init>(ClientResponseImpl.java:29)
     at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:622)
     at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
Could you please point out some possible errors? Thanks.
Charles

[email protected] (Shawn Samuel) writes:
Its quite likely that this is fixed in SP3. I suspect that the Map you
are using is custom marshaled. There were some problems with this in
SP2 which got fixed in 7.0 but weren't backported until recently.
Can you be more explicit about the implementation class you are using?
It seems unlikely that this is the null problem since the Map does not
contain extra space. Unless you are putting nulls in it? Are you, the
JDK won't cope with the correct encoding of null.
andy
I'm having a similar problem and getting nowhere.
I'm calling a method on a stateless session bean with a serializable
object as an argument that returns the same type of serializable
object. This error comes back somewhere after the session bean returns
on the server side. I'm running WL6.1SP2, jdk1.3.1_02, using rmi/iiop
with the jdk orb and com.sun.jndi.cosnaming.CNCtxFactory on the
client. I am able to make calls to the EJB that only take String
arguments with no problems whatsoever.
The serializable object contains Strings and a Map. Weblogic would
give me a CORBA error on receiving the function call when I populated
the Map. Leaving the Map null and setting only the Strings resulted in
the call going all the way through the session bean method with no
problem, but after populating a return object of the same type with
only Strings, leaving the Map member null, and returning, I get the
below error on the client.
I'm getting a similar stack trace, but running a debugger on weblogic
doesn't seem to indicate any unchecked exceptions being thrown.
Is there something I'm overlooking here?
thanks,
Shawn
my stack trace:
java.lang.ArrayIndexOutOfBoundsException
     at com.sun.corba.se.internal.corba.AnyImpl.read_value(AnyImpl.java:345)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:572)
     at com.sun.corba.se.internal.javax.rmi.CORBA.Util.readAny(Util.java:199)
     at javax.rmi.CORBA.Util.readAny(Util.java:92)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1486)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
     at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:1060)
     at com.i2.cis.operation.ejb._EJBOperation_Stub.invoke(Unknown Source)
     at com.i2.cis.transport.ejb.CISTransportEJB.invoke(CISTransportEJB.java:46)
     at com.i2.cis.transport.CISTransportBasic.execute(CISTransportBasic.java:138)
     at com.i2.cis.api.connector.CISConnection.execute(CISConnection.java:59)
     at com.i2.cis.api.connector.CISInteraction.execute(CISInteraction.java:45)
     at com.i2.cis.api.connector.test.CISClient.main(CISClient.java:55)
Andy Piper <[email protected]> wrote in message news:<[email protected]>...
"Charles Canning" <[email protected]> writes:
This indicates that the server threw an unchecked exception but the
client was unable to unmarshal it. Please make sure you are using SP2
of WLS 6.1. Also what version of the JDK are you using?
andy
Hi,
I am trying to access a stateless session bean from a client running under JBuilder.
The method returns a basic object that is serializable, but I get the following
error.
java.lang.ArrayIndexOutOfBoundsException
     at com.sun.corba.se.internal.corba.AnyImpl.read_value(AnyImpl.java:345)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_any(CDRInputStream.java:572)
     at com.sun.corba.se.internal.javax.rmi.CORBA.Util.readAny(Util.java:199)
     at javax.rmi.CORBA.Util.readAny(Util.java:92)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1486)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
     at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:1060)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1555)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1768)
     at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:897)
     at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:264)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:250)
     at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:212)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_value(CDRInputStream.java:906)
     at com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:33)
     at java.lang.reflect.Constructor.newInstance(Native Method)
     at com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:113)
     at com.sun.corba.se.internal.core.ServiceContexts.<init>(ServiceContexts.java:106)
     at com.sun.corba.se.internal.iiop.ReplyMessage.read(ReplyMessage.java:133)
     at com.sun.corba.se.internal.iiop.IIOPInputStream.<init>(IIOPInputStream.java:89)
     at com.sun.corba.se.internal.iiop.ClientResponseImpl.<init>(ClientResponseImpl.java:29)
     at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:622)
     at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
org.omg.CORBA.UNKNOWN: minor code: 0 completed: Maybe
     at com.sun.corba.se.internal.core.UEInfoServiceContext.<init>(UEInfoServiceContext.java:37)
     at java.lang.reflect.Constructor.newInstance(Native Method)
     at com.sun.corba.se.internal.core.ServiceContextData.makeServiceContext(ServiceContextData.java:113)
     at com.sun.corba.se.internal.core.ServiceContexts.<init>(ServiceContexts.java:106)
     at com.sun.corba.se.internal.iiop.ReplyMessage.read(ReplyMessage.java:133)
     at com.sun.corba.se.internal.iiop.IIOPInputStream.<init>(IIOPInputStream.java:89)
     at com.sun.corba.se.internal.iiop.ClientResponseImpl.<init>(ClientResponseImpl.java:29)
     at com.sun.corba.se.internal.iiop.IIOPConnection.createInputStream(IIOPConnection.java:622)
     at com.sun.corba.se.internal.iiop.ReaderThread.run(IIOPConnection.java:109)
Could you please point out some possible errors? Thanks.
Charles--

Similar Messages

  • Error: The AcquireConnection method call to the connection manager failed with error code 0xC0202009 using DB2 connection

    I have a SSIS project that I am newly running on the SQL server (2005) .  It was previously run on my PC.  I am importing data from a DB2 server to the SQL server.
    I am in the SA group on the server
    My connection to DB2 works
    When open the package and run it in preview mode, I can retrieve the data.
    When I execute the package I get the below errors:
    [MIDAS OLE DB Source [1]] Error: The AcquireConnection method call to the connection manager "NGMDSPA.alharris" failed with error code 0xC0202009.
    [DTS.Pipeline] Error: component "MIDAS OLE DB Source" (1) failed validation and returned error code 0xC020801C.
    What I have already done that has not worked:
    The original Protection level was set to EncryptSensitiveWithPassword. 
    I have reset the Package Password.
    I have set the protection level to DontSaveSensitive
    I saved the package on the server and set a Package Password.
    I created a new package, set the Protection level to DontSaveSensitive, set a package password in a configuration file using the Package Configuration Wizard.
    Error continues

    Yes.  The Drivers are installed and I have a successfull connection.  I am trouble shooting the issue on the server in BIDS.  I can connect to the DB2 server via the Connectionmanager.  I can also preview the data in the OLE
    DB source connection.  Therefore I know that I have a proper connection
    If you're setting option as DontSaveSensitive then you need to pass the connection information from configuration file/ config table. Otherwise it wont be able to use it for connecting to your source/destination servers. This is the recommended way as it
    will enable you to change connection info at runtime.
    If you want connection info to persist you need to use protection level as EncryptSensitiveUsingUserKey or EncryptSensitiveUsingPassword and set a password.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Rmi method call timeout

    i was wondering if there was any way to timeout a rmi method call.
    the situation i had was that a client would envoke an rmi method, and
    the method would deadlock in weblogic. the client making the call will
    hang forever.
    thanks

    Thank you for this enlightening addition. I regret I failed to perceive
    earlier that your comments were to be interpreted as evidence of sincere
    commitment to solving this problem.
    Regarding 7.0, you'll note that I described the timeout attribute solution
    as "improving stability" rather than as a complete cure. It should be borne
    bear in mind that this is an alternative to a completely locked system. When
    stress tested, this change did allow the application to recover and run for
    the rest of the day.
    I'm obliged to you for your concern regarding any liability I might be
    incurring in relation to the BEA licensing agreement. Fortunately I think I
    may be able to put your mind at rest on this matter relatively easily. If I
    may direct your attention to the BEA support site, my experience is that on
    entering the search terms "rmi descriptor timeout", the relevant information
    will be revealed. Also, I suspect that, as a fellow engineer, it has not
    escaped your attention that the RMI descriptor is a valid XML document. As
    such, it has a DTD named "rmi.dtd" which (alas) also fails to conceal this
    attribute.
    While we're pursuing what has now become a gratifyingly productive vein,
    let's offer another possible approach to this issue, namely the use of
    per-VM timeouts for socket calls. These were introduced in the Sun JDK 1.4.1
    and so are available to people running WebLogic 8.1 today. Again these
    suggestions have been tested for basic socket I/O (I haven't tried RMI). To
    my knowledge these are not endorsed by BEA:
    For client connections, timeouts can be set globally by passing the
    following startup parameters to the JVM:
    sun.net.client.defaultConnectTimeout (default: -1)
    sun.net.client.defaultReadTimeout (default: -1)
    sun.net.client.defaultConnectTimeout specifies the timeout (in milliseconds)
    to establish the connection to the host.
    sun.net.client.defaultReadTimeout specifies the timeout (in milliseconds)
    when reading from input stream when a connection is established to a
    resource.
    (reference: Sun's Networking Properties documentation at
    http://java.sun.com/j2se/1.4.1/docs/guide/net/properties.html )
    Supplying non-default values for these properties should allow a server to
    recover from a blocked downstream system if socket I/O is being used.
    Regards
    Alex
    On Fri, 30 Jan 2004 09:02:23 -0800, Andy Piper <[email protected]>
    wrote:
    Alex Thomas <[email protected]> writes:
    Hardly a constructive response to what is clearly a significant problem.
    First, it should be obvious that this issue will be encountered in any
    distributed system using T3 or RMI, not because of any shortcoming in
    WebLogic services but because of blocking behaviour in downstream systems.That's why it is a new feature in 9.0. I'm not arguing that the
    use-case is invalid, simply that your suggestion should not be tried.
    Second, the solution I proposed has been tested (on 7.0SP1) and does improve
    overall stability, as other people here have apparently discovered.Tested by who? Not by us because we know there are significant,
    dangerous, problems with the approach you describe. Support are
    under strict instructions not to offer this as a solution to
    anyone. If anyone in BEA told you, they shouldn't have. If you
    discovered it by decompiling the code then you are in violation of
    your license agreement.
    There is a supported mechanism for timing out connect attempts in 7.0
    and later which you can get through support, but for timing out RMI
    calls you will have to wait until 9.0 (or cook up a business case for
    a backport).
    Hope this clears things up.
    andy

  • Issue with a method call in a TaskFlow (works 2 times instead of 1)

    Hi guys,
    i'm using jdev11.1.1.1.2.0 and the integrated weblo or remote weblo 10.3.2.0.
    I'm encountering a problem with a method call which is invoked inside a Task Flow.
    Let me tell us the details of :
    I'm invoking a method call which is part of a Task Flow from the backingbean of the view which is placed before the method call in the taskFlow diagram.
    AN outcome String from the method of the backing bean allows to navigate to the method of the Task flow.
    The method call is called and works normally BUT MY PROBLEM IS THAT THE METHOD IS CALLED TWO TIMES SO THE RESULT IS FALSE.
    For information, the second time the method is called it takes care of the result when it is invoked the first time. So its parameters are updated and are a little different from the first time to the second time.
    NB : This method consists of inserting a row in the database. My result is 2 rows inserted instead of one.
    Thanks for help for this strange behaviour

    Hi
    create a temp calculated column
    =IF(ISBLANK([Duration]),"",[Item Start Date]+([Duration])
    and check if it's working OK
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • User authentication error with Proxy Java Calling web Service in XI

    Hello,
    I have deploy a Web Service in SAP XI 3.0. within a SOAP sender adapter.
    I have also created the Proxy Java Class to access the webservice in the Developer Studio and a Plain Java Class (only with a method main) which uses the proxy classes to consume the web service.
    But when I launch the program a get the next error message:
    java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
         at com.everis.serviciosweb.xi.MI_OUT_STATUSBindingStub.MI_OUT_STATUS(MI_OUT_STATUSBindingStub.java:73)
         at com.everis.llamadas.invocacionWSStatus.main(invocacionWSStatus.java:76)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage
    Where MI_OUT_STATUSBindingStub is my Stub Class.
    I have tried to set USERNAME_PROPERTY and PASSWORD_PROPERTY at runtime from my Stub class to the values that I use to access SAP XI (Integration Repository & Integration Directory) but it still doesn't´t work.
    Have anyone a solution?
    Thanks.

    Hi,
        finally I have fixed it.
    The root of the problem was on the way that I proceed with the generation of wsdl in Integration Directory.
    The second step in the wizard for generation of wsdl ask for a url to call the web service and gives you an option to complete the url automatic. I have use this option and it have proposed my an url of type http://<host>:<port>/sap/xi/engine?entry=.......
    But the SOAP adapter call is in the form http://<host>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<business service>:<channel>
    So using this type of url in the generation of wsld solves all the problems.
    Regards,
    Antonio.

  • Im new to java can someone please help me with external method calls

    I have only been doing java for a couple of months using bluej, I really dont understand external method calls, this is for an assignment and i have managed the bulk of the code, ineed to make external calls to the other classes to return and input data.
    this is the code i have writen so far.
    class CD
    // The fields.
    public Artist performer;
    private String album;
    private String genre;
    private int numberOfTracks;
    private int yearReleased;
    *Please enter CD details, text entry requires quote marks "Greatest Hits"
    public CD (String album_Name){
    album = album_Name;
    numberOfTracks = 0;
    yearReleased = 0;
    performer = new Artist();
    /**blank constructor*/
    public CD ()
    {album = "";
                genre = "";
                numberOfTracks = 0;
                yearReleased = 0;
                performer = new Artist();}
    * accessor methods
    /** method to return album details to the output window*/
    public void print_albumDetails(){
    System.out.println("Album: " + album);
    System.out.println("Genre: " + genre);
    System.out.println("Number of Tracks: " + numberOfTracks);}
    /** accessor method to return the name of the album*/
    public String show_album(){
    return album;}
    /** accessor method to show artist details from artist class*/
    public void print_details(){
    performer.print_details();}
    * mutator methods
    /** mutator method to change album name please enter name with quotes*/
    public void change_album(String newAlbum){
    album = newAlbum;}
    /**mutator method for adding the album year and checking it correct
    * please enter a year between 1900 and 2005*/
    public void album_year (int year){
    if ((year < 1900) || (year > 2005))
    System.out.println("sorry the year is incorrect please enter a year between 1900 and 2005");
    else yearReleased = year;}
    /** mutator method to alter the number of tracks and check if the ammount is greater
    * than zero*/
    public void change_Number_Of_Tracks(int no_Of_Tracks){
    if (no_Of_Tracks > 0)
    numberOfTracks = no_Of_Tracks;
    else System.out.println("you have not entered a correct number");}
    /** mutator method to change the genre and check it has been entered correctly
    * Please enter 1 for Soul
    * 2 for Blues
    * 3 for Jazz*/
    public void change_Genre(int Change_Genre){
    if ((Change_Genre <= 0) || (Change_Genre > 3)){
    System.out.println("You have not entered the correct available genres");
    System.out.println("which are 1 for Soul,2 for Blues or 3 for Jazz");}
    else if (Change_Genre == 1)
    genre = "Soul";
    else if (Change_Genre == 2)
    genre = "Blues";
    else if (Change_Genre == 3)
    genre = "Jazz";
    to this i need to add an external call to the class Artist to be able to enter firstname and second name, I know that external calls use dot notation
    and the instance of Artist is called performer but i cant get the call to these methods in the Artist class to work
    Artist class
    /** mutator method to change or add artist first name, remember to add quotes*/
    public void cName(String name){
    firstname = name;}
    /** mutator method to change or add artist surname remember to add quotes*/
    public void csurName(String surname){
    lastname = surname;}
    can some please give me some help

    Also, if you can't get them to work, what is the error message you are getting?
    Baron Samedi

  • ERROR_WAIT_NO_CHILDREN error while native method calling

    I have some self-made DLL and call it from Java over JNI.
    Under 100% repeatable conditions, the calling of the native method conduce to
    java.exe(JVM) termination with errorlevel 128L. Without any trace or reports.
    If to assume, that java.exe uses OS error codes, then 128L is
    'ERROR_WAIT_NO_CHILDREN - There are no child processes to wait for.'
    What that? JVM crashed by the Dll?
    Some additional information:
    I found the position(approximately) in C code where the execution is stopping.
    It far from JNI/C function declaration.
    Dll is compiled by Watcom C/C++32 Compiler and Linker, Version 11.0.
    I tried to compile Dll by Borland C++ 5.5.1 free command-line compiler, and error
    disappears. But I don't think it right way to refer the error to compiler.
    And something else. Native code work fine, if it was called not from Java but
    from native application.
    Any ideas?
    Thanks.

    Hmm, could You send the header of the method from Your
    DLL which you are calling from Java?Sure.
    JNIEXPORT jint JNICALL Java_mypackage_NativeBuilder_build
    (JNIEnv *env, jobject obj, jstring project)

  • Runtime Error with a WD calling a RFM

    Hi Everyone,
    I have a WebDynPro application calling an R/3 RFM. I did it using "Import Adaptive RFC Model" wizard. I have put in the code for calling the RFM on some Action that I have defined.  But, when I deploy and run the application, it fails with Error 500 and details are as under.
    Root Cause
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to load client to connect to SLD. Please check your SLD connection settings using the Visual Admin.
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory$1.run(SystemLandscapeFactory.java:654)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getClient(SystemLandscapeFactory.java:647)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:460)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:247)
        ... 47 more
    Correction Hints
    Accessing the System Landsape Directory (SLD) failed. Depending on the concrete reason (see root cause) check the following:
    is the SLD Supplier in the J2EE engine configured correctly? See the SLD documentation for more details about the SLD and about how to configure it.
    are all JCO destinations maintained correctly? Use the preinstalled Web Dynpro Content Admin application to check/edit the destination. Use the Ping and Test functions of the Content Admin to verify that each destination is properly configured.
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error while obtaining JCO connection.
       at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:90)
       at com.sap.dictionary.runtime.ProviderFactory.internalResolveLogicalNameToJCODestination(ProviderFactory.java:408)
       at com.sap.dictionary.runtime.ProviderFactory.resolveLogicalNameToJCODestination(ProviderFactory.java:354)
       at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:215)
       at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:180)
       at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:87)
       at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:73)
       at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:48)
       at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)
       at com.sap.dictionary.runtime.DdBroker.getSimpleType(DdBroker.java:170)
    Is there any setting that I am missing in SLD? or, what could be the problem?
    Thanks for your time,
    Kiran

    Hi Kiran,
    You need to configure your SLD and then your JCO connections.
    I guess you have not specified your SLD settings in Visual administrator under SLD Data supplier service.
    Check following links for the same.
    Re: Configuration of SLD
    Re: Web Dynpro - Problem with (SLD) JCO Connection
    Regards,
    Bhavik

  • Error using a method call in the starting conditions of a Workflow

    Hi,
    In SRM 4, I have a doubt about a start condition with WFWS14000109 I need to trigger the WF depending on organizational unit of the requester (not purchase group or purchase organization).
    I have seen in the editor, in SWB_COND in the part of requisitionerUser the Method ReadOrgUnit.
    I change to traditional mode of the editor and when I select the method I get in Express1. field
    &_EVT_OBJECT.REQUISITIONERUSER.READORGUNIT(_RESULT='OBEG';ACTORGUNIT= )&
    If I use = and the organizational unit in express2 field I get error
    Partial expression expected (expression '&_EVT_OBJECT_REQUISITIONERUSER.READORGUNIT(_RESULT',position       76)
    Can anybody say me where is the error? how I should express the condition.
    Thanks
    Best Regards

    I don't think you can use a BOR method in a condition. At least not as far as I know. I think it would be better to create a virtual attribute in your delegated subtype of BUS2121 and use that in the condition.
    Regards,
    Martin

  • Error with Asynchronous RFC call to JDBC

    Hi all,
    We are working on a scenarion where in we have to make an asynchronous RFC call to JDBC.
    We have configured RFC sender adapter following this weblog
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    We have created data types only for the database as RFC does not require any data types.
    And also we have created message types,message interfaces accordingly.
    In Message Mappping,we mapped the export parameters of RFC to the access fields of database message type.
    Also we have created sender agreement,interface determinations etc.... accordingly
    And for sending RFC request asynchronously we followed this weblog
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    Once done with all the above steps we could able to trigger the RFC call and caught with the following errors in SXMB_MONI and no errors are seen in communication monitoring
    SOAP Error:
    +<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>+
    +- <!--  Request Message Mapping+
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
       <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_curr_exg_mm2_</SAP:P1>
    <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" /> <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_curr_exg_mm2_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Also trace shows the following error thogh the interface determinations are properly configured
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface BAPI_EXCHRATE_GETCURRENTRATES*</Trace>
      <Trace level="1" type="T">select interface namespace urn:sap-com:document:sap:rfc:functions</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface *</Trace>
      <Trace level="1" type="T">select interface namespace</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
      <Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
      <Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">----</Trace>
      <Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
    the above errors are shown as part of request mapping..
    Can any one please let me know what other configurations do we need to do?
    I did not map the RFC import parameters,do we need to do that
    Any help in this regard is really appreciated
    Rgds,
    Santhosh

    Hi,
    I am really happy to hear that the problem with mapping is resolved.
    Now as per your requirment It needs to be aynschornous RFC--> XI ---> JDBC call. In XI you should map the RFC Export parameters to the traget structure of JDBC.
    then the question is to how to trigger the RFC Function Module in R/3 to XI.
    Plesae follow below steps to trigger it from SAP R/3
    1. Create a RFC in the R/3 system
    2. Configure the SM59 and Sender Communication channle as given in the Michal's blog. Also test if it is succesful.
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    3. Import the RFC in XI
    4. Do the mapping to the target strucutre
    5. Configure the JDBC receiver adapter
    /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    6. You can trigger the RFC from R/3 sytem by using
    Async Call - in ABAP program use below syntax to call RFC. Here the export parameters will be passed on to XI which further have mapped to JDBC.
    CALL Function "RFC Name" IN BACKGROUND TASK destination <sm59 destination>
    COMMIT WORK.
    Sync Call
    CALL Function "RFC Name" destination <sm59 destination>
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 27, 2008 9:14 AM

  • Errors with getInstanceVariables() method

    When trying to use the getInstanceVariables() method in a JSP, it doesn´t recognize
    the sintaxis used which is like the example used on the BEA manuals:
    List list = admin.getInstanceVariables(task.getInstanceId());
    The problem is as follows: when trying to access the page that contains the list
    of tasks, once the user is logged on, the following error appears:
    Compilation of 'C:\bea\wli21\config\wlidomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ApCuentaB13c\jsp_servlet\__worklist.java'
    failed:
    C:\bea\wli21\config\wlidomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ApCuentaB13c\jsp_servlet\__worklist.java:510:
    cannot resolve symbol
    probably occurred due to an error in /worklist.jsp line 453:
    List list = admin.getInstanceVariables(task.getInstanceId());
    Full compiler error(s):
    C:\bea\wli21\config\wlidomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ApCuentaB13c\jsp_servlet\__worklist.java:510:
    cannot resolve symbol
    symbol : variable admin
    location: class jsp_servlet.__worklist
    List list = admin.getInstanceVariables(task.getInstanceId());
    //[ /worklist.jsp; Line: 453]
    We think it's not using the admin as a nexus with the EJBObject. We feel it's
    necessary to emphasize that we are invocating:
         com.bea.wlpi.server.admin.Admin

    The first error is on line 17
    public void readPlayers( fin, teamArray)When declaring a method, you have to indicate the types of the parameters, e.g., public void readPlayers(Scanner fin, Player[] teamArray) {Further, you may NEVER define a method within another method.
    the second error is on line 53
    else (type.equals("Hockey"))type.equals("...") is only for testing equality. It returns a boolean value of true or false. There are two possible solutions here:
    else if (type.equals("Hockey")) //to test if variable "type" is set to the value "Hockey"
    or
    else (type="Hockey") //to force the variable "type" to represent the string "Hockey"
    Which to use depends on what you want to accomplish.

  • Error with setTextFormat() method

    This is a very common issue but is still pissing me off.
    I've this code:
    item.addEventListener(MouseEvent.CLICK, function(e) {
                var style:TextFormat = new TextFormat();
                style.underline = true;
                e.currentTarget.label.text.setTextFormat(style);
    Everytime I click on item I get back this error:
    TypeError: Error #1006: value non è una funzione.
        at Function/<anonymous>()
    Any ideas?

    try:
    item.addEventListener(MouseEvent.CLICK, function(e) {
                var style:TextFormat = new TextFormat();
                style.underline = true;
                e.currentTarget.label.setTextFormat(style);

  • UnitOfWork- problem with registerAllObjects method call

    Hi,
    I have created passed a vector of objects to the register method of the UnitOfWork but to my surprise i noticed only the last object in the vector is commited to the database.
    My code snippet is as below
    UnitOfWork uow = getUnitOfWork() ;
    Vector shiftClone = (Vector) uow.registerAllObjects(obj) ;
    uow.commit();
    thanks
    vasu               

    Based on your code, I don't think you understand the concept of static variables.
    You should probably have 2 panels.  One panel hosts the button.
    The other does the painting of the rectangle.
    public class ButtonPanel extends JPanel implements ActionListener {
         private JButton button = new JButton("Make Rectangle");
         private RectanglePanel rp = null;
         public ButtonPanel(RectanglePanel rp) {
              this.rp = rp;
              button.addActionListener(this);
              setLayout(new FlowLayout(FlowLayout.CENTER));
              add(button);
         public void actionPerformed(ActionEvent evt) {
              rp.setRectangle(generateRandomRectangle());
              rp.repaint();
         private static Rectangle generateRandomRectangle() {
    public class RectanglePanel extends JPanel {
         private Rectangle r = null;
         public void setRectangle(Rectangle r) {
              this.r = r;
         public void paint(Graphics _g) {
              super.paint(_g);
              Graphics2D g = (Graphics2D) _g;
              if (r != null)
                   g.draw(r);
    public class MyProg {
         public static void main(String[] args) {
              JFrame f = new JFrame();
              RectanglePanel rp  =new RectanglePanel();
              ButtonPanel bp = new ButtonPanel(rp);
              JPanel panel = new JPanel(new BorderLayout());
              panel.add(rp, BorderLayout.NORTH);
              panel.add(bp, BorderLayout.CENTER);
              f.setContentPane(panel);
              f.setSize(400, 400);
              f.show();
    }

  • The AcquireConnection method call failed with error code 0xC0202009.

    I've seen the previous threads on this (although maybe not all of them). However, i don't think I'm getting the error for the same reason. The full error I'm getting is:
    - Pre-execute (Error)
    Messages
    Error 0xc0202009: {F1B3B35C-FAE3-48F6-A169-4E4D8D99F9B6}: An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft JET Database Engine"  Hresult: 0x80004005  Description: "Unspecified error".
     (SQL Server Import and Export Wizard)
    Error 0xc020801c: Data Flow Task: The AcquireConnection method call to the connection manager "DestinationConnectionExcel" failed with error code 0xC0202009.
     (SQL Server Import and Export Wizard)
    Error 0xc004701a: Data Flow Task: component "Destination 64 - production_effectivities" (7042) failed the pre-execute phase and returned error code 0xC020801C.
     (SQL Server Import and Export Wizard)
    The entire package is running on one machine. The data source is SQL Server 2005 and the destination (this happens with both of them) is Excel or Access. Either way I cannot get the package which the wizard generated to run at all. This error occurs after the first table is exported. I'm running on WinXP SP2 with 2005 Developer and ALL components installed except analysis services.
    Anyone else have this problem or know the solution?
    Jeff

    I am getting the same error. My Destination and source both are on SQL Server 2005 on the same box.
    I am using SQL- Code for Source and and table as destination. When the package runnes under Transaction- TransactionOption-Supported then the packages excuted fine but it fails when i change the Transaction- TransactionOption to Required.
    It fails with following error code.
    [OLE DB Destination [22]] Error: The AcquireConnection method call to the connection manager "FMFCLSQADB01.DWH_Rakesh" failed with error code 0xC0202009.
    [DTS.Pipeline] Error: component "OLE DB Destination" (22) failed the pre-execute phase and returned error code 0xC020801C.
    [Connection manager "FMFCLSQADB01.DWH_Rakesh"] Error: The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction.".
    [Connection manager "FMFCLSQADB01.DWH_Rakesh"] Error: An OLE DB error has occurred. Error code: 0x8004D00A.
    When i change the source SQL query to Table or View then it works fine.
    Thanks for any suggestion.
    Regards
    Rakesh
    Now, my issues related to “SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction."…..”. are fixed.
    This is one of the very common errors that comes up in SSIS (SQL Server Integration service) 
    I have faced this issue for at-least two occasions. Both of them have one common setting: “TransactionOption” was set to “Required”.
    In first case, I had multiple dataflow tasks but there were no sequence given. There were no error if I ran the package with TransactionOption=Supported. But when I ran the package in TransactionOption= Required, it got failed.
    To fix the issue I have changed my package and put the entire dataflow task one after another (connected thru Constraint).  
    In another case, where I was doing data transfer from one server to another, I had to configure the MSDTC.

  • Installation error with 9.2 deleting older version of Apple Software Update

    Have tried installing directly from Apple.com and have tried downloading and
    then installing. Get the error with either method. Have even tried to install
    Quick Time standalone directly and from a Quick Time download with same error.
    I've even tried ALL Apple's trouble shooting methods to no avail. When I attempt to remove most of the programs with windows the error received is network resource is unavailable. Even when I remove/delete etc following Apple's trouble shooting I hit a brick wall and am hoping for advice/solutions.

    When I attempt to remove most of the programs with windows the error received is network resource is unavailable.
    Doublechecking, Mister Russell. Is it also saying that the AppleSoftwareUpdate.msi is missing?

Maybe you are looking for

  • AS2 & OFTPS

    Hi All, Could any one please clarify 1.The differnces between AS2 & OFTPS adapters and in which scenarios we prefer OFTPS compared to AS2 2.If we are using AS2 sender adapter to pick data two different mail boxes on different servers, Is there a poss

  • How to extend current year accounting calendar?

    Due to the business requirements, there is a need to change the accounting periods from Apr-Mar to Jul-Jun. The current FY13 is from Apr-12 to Mar-13. The new FY14 will be changed to Jul-13 to Jun-14. So the periods from Apr-12 to Jun-12 will be cons

  • IdeaPad 2 Flex 15 direct gpu missing

    Hello! One of My freinds bought an Ideapad Flex 2 15. The machine should have NVIDIA® GeForce® GeForce 840M 2 GB onboard, but Windows 8.1 cannot recognize it. In the device manager is only the cpu-s intel vga present. In the bios is no option for  th

  • PhotoSmart eStation Zeen must have the routers BROADCAST of the SSID set to on. Very insecure!

    When configuring the Photosmart Estation printer C510a to use the WiFi network, I discovered that the Zeen does not allow that the router hides its SSID. Instead the Zeen wants that the SSID is broadcasts by the router to be succesfull connecting to

  • Can we lock an individual application without Jail break?

    Please assist on the subject: is any app available in istore which can allow us to lock individual applications. Lock Down is available for jailbroken phones but my interest is for non jail broken phone.