Q A Session on Community

How can I participate in Question & Answer session on our SAP Community??

As you are a new member, so you should read these documents first
The SCN Rules of Engagement | SCN
Find Topic Spaces on SCN (Forums)

Similar Messages

  • Session enabled RFC Web Service Fails & WSDL has enablesession=false

    Please help  Thanks in Advance
    A stateful Webservice with 2 RFCs, consumed by a .NET application fails and the cause seems to be because of statelessness.
    The call to 1st RFC succeeds and the call to the 2nd RFC fails with the below error message:
    An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally,
    nor declared in a RAISING clause.Dereferencing of the NULL reference"
    Question:
    1- Even though the "Session-Oriented Communication" is checked, the WSDL has EnableSession as false. Is there any special step to make it true?
    2- Even though the SOA Manager says that the Session is enabled and SessionMode is Http Cookie, the HTTPFiddler doesn't show any cookie in the .NET side.
    3- Are Web Service enabled HRXSS RFCs capable of performing Session Oriented Communication?
    Eg. Can the RFCs HrxssPerInitPernr and HrxssPerReadP0002Us be called in a sequence?
    service ws = new service();
                ws.Credentials = new System.Net.NetworkCredential("abcd", "abcd");
                System.Net.CookieContainer cookie1 = new System.Net.CookieContainer();
                ws.CookieContainer = cookie1;
                //BELOW CALL SUCCEEDS
               HrxssPerInitPernrResponse response = ws.HrxssPerInitPernr(new HrxssPerInitPernr()
    { Infty = "0002", Pernr = "52222068", Userdate="2009-01-01" });
                HrxssPerReadP0002Us read = new HrxssPerReadP0002Us() { Infty = "0002"  };
              // BELOW CALL FAILS
                HrxssPerReadP0002UsResponse readResponse = ws. HrxssPerReadP0002Us (read);
                HcmtBspPaUsR0002 [] records = readResponse.Records;
    EXCEPTION
    System.Web.Services.Protocols.SoapException was unhandled
      Message="CX_SY_REF_IS_INITIAL:Exception CX_SOAP_ROOT occurred (program: CL_SOAP_RUNTIME_ROOTCP,
    include:CL_SOAP_RUNTIME_ROOT CM004, line: 110)
    An exception with the type CX_SY_REF_IS_INITIAL occurred,
    but was neither handled locally, nor declared in a RAISING clause.Dereferencing of the NULL reference"
      Source="System.Web.Services"
      Actor=""  Lang="en"  Node=""  Role=""   StackTrace:
           at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke  at HrxssPerReadP0002Us
    Edited by: Tony TB on Jul 2, 2009 9:56 AM

    to get this working you need to enable some services in transaction SICF
    to know a complete list of all services to be enabled check oss note number 517484
    particularly these nodes should be active
    /default_host/sap/bc/soap/wsdl and
    /default_host/sap/bc/soap/wsdl11
    (to get the error thrown by the server instead of page cannot be found, in your browser go to tools->internet options->advanced and uncheck the check box "show friendly error messages" and run the wsdl button again)
    Regards
    Raja

  • Opening multiple visa sessions

    I'm having problems with opening multiple VISA sessions for communicating with 4 HP-34401A multimeters in LabVIEW 6.1. If you have a little bit of time, please take a look at what I have here to see if I'm doing something wrong.
    Thanks
    Attachments:
    HP34401_Test.vi ‏108 KB

    I have made a look at your VI. I don't have the driver for the instrument I couldn't go into the subVIs and its documentation and I could not change it for you.
    1. You initialise only 2 of the 4 meters. Initialize all meters.
    2. In sequence 0 you close the session to the meter. In the next loop iteration it will not measure as you intended. Delete the "VISA Close" function.
    3. The stop button would cause the while loop to exit. But your handling is a little bit complicated. Do following:
    Delete the "not" and case where the stop terminal is connected. Wire the stop terminal directly to the termination terminal of the while loop. With the context menu set it to "stop if True". Wire the VISA sessions to the right border of the while loop and connect t
    hem to the "VISA Close" function.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • From Whence A 100 Second Delay

    I have searched this forum, for which Alex seems to give very prompt, very thoroughly-researched replies, and have Googled the 'rest of the world'  So, probably, I should be able to resolve this like the lawyers when they become perturbed over redundancy:  "Asked and Answered"!  But sorry, if this has been asked and answered, it has been in a different context, or with different enough particulars that none of the information, I have garnered so far has allowed me to find and fix, or at least find and understand exactyl what is going on.
    Here's the infrastructure pieces:  Flex SDK 3.3, AIR 1.5, Blaze 3.2, FMS 3.5 -- it ought to make Adobe weep with joy -- I think everything is at a latest stable release level.
    Let's start with what works:  When the Flex sub-applications are running inside my AIR application, RemoteObject calls with a streaming-amf channel behave beautifully.  I am not clear how you define -- as with the most recent posting here -- "Multi-Calls".  A behavior that the application certainly relies upon is this:  A.) Some remote object call is made to get a list of objects [requiring IExternalizable handling on the ActionsScript side and Externalizable handling on the Java side].  B.) Some PopUp dialog allows the user to modify that list -- usually to add a new object.  C.)  To prevent duplicates, that PopUp code will make a new remote object call to check that or some related list of objects.  D.)  If no duplicate is found, a remote object call to write [commit] the new object will be made, but if there is a duplicate a subordinate PopUp dialog [not Alert] will be presented, and if overwrite is confirmed by the user, the remote object write will occur at that level.  I don't know if that describes "Multi-Calls", but it does describe a "conversation" over the connection that is something other than a simple request-response.  Bravo and thanks to the Adobe team for a suite of APIs that make this all possible.
    What else works:  One of the most popular Flex-only sub-applications that lives inside the AIR  client, can be accessed from the same servers -- Tomcat 6 and FMS 3.5 -- via their browser.  At start up that Flex-only sub application has this:
    var channelSet:ChannelSet = new ChannelSet();
    channelSet.addChannel (new StreamingAMFChannel ("my-streaming-amf",
            "http://our.site.org:8886/music/messagebroker/streamingamf"));
    roPerf = new RemoteObject ("performanceMAC");
    roPerf.channelSet = channelSet;
    roPerf.addEventListener (ResultEvent.RESULT, remoteResultHandler);
    roPerf.addEventListener (FaultEvent.FAULT, remoteFaultHandler);
    roProg = new RemoteObject ("programMAC");
    roProg.channelSet = channelSet;
    roLI = new RemoteObject ("leadInMAC");
    roLI.channelSet = channelSet;
    roLI.addEventListener (ResultEvent.RESULT, remoteResultHandler);
    roLI.addEventListener (FaultEvent.FAULT, remoteFaultHandler);
    establishFMSConnection();
    When that application is accessed via Firefox 3, it behaves just as it does when it is being 'played' by the AIR runtime.  When I launch that appliction with IE 8, it hangs for 100 seconds, and then plays perfectly.  I can attach two log file snapshots run with this setting in services.xml:
    <target class="flex.messaging.log.ServletLogTarget" level="Debug">
    but, since it is quite verbose and exposes content that I would probably have to edit out, I have just reduced it to what I think matters -- if you know what to look for, which I certainly do not:
    Firefox Success:
    Apr 29, 2009 9:39:20 AM org.apache.catalina.core.ApplicationContext log
    INFO: [MUSIC]04/29/2009 09:39:20.093 [INFO] [Endpoint.FlexSession] Number of streaming clients for FlexSession with id 'E58902CEDE668A919A8344C917AA8F07' is 1.
    Apr 29, 2009 9:39:20 AM org.apache.catalina.core.ApplicationContext log
    INFO: [MUSIC]04/29/2009 09:39:20.093 [DEBUG] [Endpoint.StreamingAMF] Number of streaming clients for endpoint with id 'my-streaming-amf' is 1.
    Apr 29, 2009 9:39:20 AM org.apache.catalina.core.ApplicationContext log
    INFO: [MUSIC]04/29/2009 09:39:20.156 [INFO] [Endpoint.General] Channel endpoint my-streaming-amf received request.
    Apr 29, 2009 9:39:20 AM org.apache.catalina.core.ApplicationContext log
    INFO: [MUSIC]04/29/2009 09:39:20.156 [DEBUG] [Endpoint.StreamingAMF] Deserializing AMF/HTTP request
    IE Failure:
    Apr 29, 2009 9:41:36 AM org.apache.catalina.core.ApplicationContext log
    INFO: [MUSIC]04/29/2009 09:41:36.812 [INFO] [Endpoint.FlexSession] Number of streaming clients for FlexSession with id '50433B0AE26A35EF30CCE5B58B39E7A9' is 1.
    Apr 29, 2009 9:41:36 AM org.apache.catalina.core.ApplicationContext log
    INFO: [MUSIC]04/29/2009 09:41:36.812 [DEBUG] [Endpoint.StreamingAMF] Number of streaming clients for endpoint with id 'my-streaming-amf' is 1.
    Apr 29, 2009 9:43:16 AM org.apache.catalina.core.ApplicationContext log
    INFO: [MUSIC]04/29/2009 09:43:16.828 [INFO] [Endpoint.General] Channel endpoint my-streaming-amf received request.
    Apr 29, 2009 9:43:16 AM org.apache.catalina.core.ApplicationContext log
    INFO: [MUSIC]04/29/2009 09:43:16.828 [DEBUG] [Endpoint.StreamingAMF] Deserializing AMF/HTTP request
    I had assumed, from most of the closely-related postings, that the problem related to 'too many connections', but the INFO message seems to indicate that in both cases, the User Agent is only presenting a single connection request to the server.  And, from what I had read, I thought I would find some log messages indicating that the streaming server was reverting to polling.
    Instead, all I can discern is that somewhere there was a 100 second timeout, after which the client and server had arrived at the same state that was true with Firefox after just a couple of milliseconds.  During the 100 second wait, I should add, I did not 'touch' the browser window, did not 'touch' any controls in the applcation, did not even 'touch' anything else except Windows Task Manager hoping to see something happening.

    Thanks for a prompt, well-organized, well-thought-out response.  Yes, it is
    a bit off topic and I would be happy to just take it off line, but I have
    found so many useful pieces of information by being able to read through
    closely-related materials, that I will go ahead and post a brief response
    for whatever benefit it may provide the community as a whole.  [If it turns
    out my analysis and subsequent design are faulty, describing those problems
    will benefit me and perhaps others.]
    01.  I originally implemented the RemoteObjects using the configuration
    definitions referenced as "my-amf".  I think I had understood the tradeoffs
    and the application performed acceptably in that manner.  I implicitly knew
    I wanted to avoid whatever overhead is involved in 'polling', and didn't
    think I needed to flirt with 'streaming'.  But when I began to understand
    the benefits of a 'persistent connection', I rather began to like what the
    tradeoffs appeared to be.
    02.  To follow that line of reasoning you would have to know some other
    characteristics of the application, the user community and the funding.  In
    reality, almost every user session is going to consume a connection to the
    Flash Media Server.  In the world of 'friends-and-family' with no money,
    that mostly defines the limits of what I can deliver.  One day I expect to
    review an FMS log telling me that someone could not get in because that
    would have been the 11th concurrent session!
    03.  So, with the heart of the social networking application constrained to
    a persistent streamed connection to FMS, I decided to do the same thing for
    the rest of the network traffic.  The next limitation, or probably the first
    limitation, is trying to deliver all of this 'out of a bedroom' anyway.  I
    am too far from my central office to get them to re-provision my ADSL for
    greater uplink bandwidth.  How many JukeBoxes can successfully play .mp3s
    with 384KB as the setting for the uplink in any case?  So, far, it works
    surprisingly well for at least a handful.
    04.  So, back to the channel you are the master of.  Actually, after a while
    folks tire of just listening to good music in this YouTube world in which we
    live, so this application allows drag-n-drop creation of multi-media
    Performances.  Now not only do those audio bits have to get down the wire in
    good time, a typical 3-minute Elvis song might be accompanied by a dozen or
    more JPEGs that are supposed to show up 'on the downbeat' -- so add another
    couple of megabytes to the four or five megabytes of the audio coming from
    the streaming server -- it would never work.
    05.  What does work, is your superb persistent, streaming connection!  In
    addition to the sort of business-transactions you have properly guessed as
    being involved with those RemoteObjects, there is a Chat Room.  In the Chat
    Room, a Producer can 'throw' any JPEGs he would like at the rest of the
    members.  The Consumers grab the JPEG images, look at them, and store them
    in AIR's application directory.  Now, the next time Elvis is played, and the
    CuePoints come popping out indicating that it is time to transition from an
    image of a 1958 Cadillac with fins to Fat Elvis in Vegas, at least those
    megabytes are not coming, realtime over either FMS's streaming connection or
    Blaze's streaming connection.  Indeed a 'Broadcaster" in the Chat Room will
    often be speaking into his mic and sending that traffic as 'live' FMS
    while typing a reply that is sent over another 'topic'.  So, the bottom line
    is that, from my point of view, the "my-streaming-amf" connection is a
    session-persistent communication channel that needs to multiplex as much
    traffic as possible with the leanest of resources available.  It just seemed
    like adding the extra work of opening and closing sockets would get in the
    way somewhere in all that 'black-box' code upon which I am relying.

  • Consuming a stateful web service

    We created and deployed a stateful web service(mail service) in J2EE. It is tested working fine for J2EE consumer. Now we need to create a client from SAP WebAs (abap side). We generated the proxy with logical port, having set those "State Management" and "Session Oriented-communication" features, which I believe supposed to be stateful.
    But the program crashed at the second time I call any method in the client proxy, for example, after "CALL METHOD mail_proxy->open_mail_session" to open a mail session, the "CALL METHOD mail_proxy->open_mail_store" throws an exception: "ICF Error when receiving the response: HTTP COMMUNICATION FAILURE".  It doesn’t matter which method  I used, it crashed on the second one any way. If I move the second method to the first call, the method will work fine but still crash on the 2nd called method.
    I need more information about how to make the client proxy and logical port working with a stateful web service.
    I will appreciate any hint, reference or suggestion!

    Hi,
    I am also creating a stateful web service for a standalone java client..
    Do we need to set the SESSION_MAINTAIN_PROPERTY on the client stub.It gives me a remote exception once I use this.Dont know how this web service keeps track of session..Pls advice
    Shashank

  • Consuming stateful web service via ABAP proxy

    Hi all,
    I´ve got the following scenario. I´ve a ABAP proxy generated based on a WSDL file. The provider is a WebService provided by a tomcat server. (no PI etc. as middleware). The problem i´ve now is that the webservice is stateful so I need a stateful communication between my ABAP report (client) and the Web Service.
    I´ve already found the possibiliy to switch on the feature "Session-Oriented Communication" on "Preconfiguration Tab" of the ABAP Proxy Screen. But unfortunately it´s not working.
    Anybody knows whether general system settings has to be changed for this. Or anybody has other tips.
    I´m currentliy working on the SAP Discovery System v3 which is a Netweaver 7.0.
    Many thanks in advance for your answers,
    Andy

    Marcelo  Almeida wrote:
    > You can use Logial port for it in LPCONFIG ( Transaction). See this examplo Below:
    >
    > TRY.
    >
    > CREATE OBJECT my_proxy
    > EXPORTING
    > logical_port_name = 'LP01'.
    > CATCH cx_ai_system_fault.
    > ENDTRY.
    >
    > TRY.
    > input-airline_id = p_carrid.
    > input-connection_id = p_connid.
    > input-flight_date = p_fldate.
    >
    > CALL METHOD my_proxy->flight_get_detail
    > EXPORTING
    > input = input
    > IMPORTING
    > output = output.
    > CATCH cx_ai_system_fault.
    > CATCH cx_ai_application_fault.
    > ENTRY.
    >
    > Its necessary create a connection in SM59 (type H) and setting in the call parameters logical port (LPCONFIG).
    Hi,
    thanks for your answer. It´s working!
    Cheers,
    Andy

  • Aino Problems with email Sync

    Hi,
    I am trying to sync my office email on my phone. I am getting sync error everytime.
    Can someone please help me?
    Below are my settings
    Organizer-->Syncronization
    General:
    server address: I gave address given by my IT admin
    Domain : I gave domain specified by IT admin
    username : I gave my office windows login
    password: I gave office password
    Applications:
    Selected Email and Calender
    Email:
    Message Size : Headers Only
    Date Range: 1 week
    Email : my office email id
    Calender:
    Date Range : 2 Weeks
    Settings:
    Push : On
    Sync Interval : its greyed out
    Allow Connection : I selected Any Network . Other option that i have is home network
    Connection: Connect Using : I selected Vodafone Live! . Other options I have are Vodafone MMS and Vodafone A.Pradesh
    Allow local conn. Yes
    Secure Connection : Off
    Proxy : Off
    Please let me know if I have to change any settings. I really need this
    Regards,
    Srikanth

    Hi Sam,
    I contacted vodafone. They informed that I am indeed using WAP Settings and provided me Vodafone Mobile Connect settings.
    I deleted my old account that I created and created one more account
    Settings:
    server address: I gave address given by my IT admin
    Domain : I gave domain specified by IT admin
    username : I gave my office windows login
    password: I gave office password
    Applications:
    Selected Email and Calender
    Email:
    Message Size : Headers Only
    Date Range: 1 week
    Email : my office email id
    Calender:
    Date Range : 2 Weeks
    Settings:
    Push : On
    Sync Interval : its greyed out
    Allow Connection : I selected Any Network . Other option that i have is home network
    Connection: Connect Using : I selected Vodafone Live! . Other options I have are Vodafone MMS and Vodafone A.Pradesh
    Allow local conn. Yes
    Secure Connection : Off
    Proxy : Off
    I tried both Secure Connection on and off and tried to Sync. I am still getting below message.
    "Session Failed Communication Error. Check Settings"
    Please help
    Regards,
    Srikanth

  • Too much code in my answers report!

    Hi experts!
    I'm trying to do a report but there is too much code in my columns. So I have (Removed Column) in the condicionals. Anyway that's an error! Is there any place too change the maximum length of the code I can write?
    Thanks for all!

    Stateless session beans are usually faster, because each client's session is not stateful (therefore has to be handled by the container)
    Have you done some performance measurements on your application?
    Also, how are your session beans communicating with your entity beans?? Are you employing use of Local interfaces to communicate between session<-->entity? Do you have Value Objects that are being passed from session<-->entity? Using Value Objects between s<>e saves a lot of expensive remote calls (especially if you have to get/set a lot of fields)
    Each of these seemingly little decisions can impact your performance greatly.
    HTH,
    -cedrick

  • Missing Security header in SOAP

    Hello!
    I used WSDLs to  generate a few client proxy classes in order to access web services of a 3rd party application. The first call was successfull: I called START_SESSION method passing username and password and got proper response (ticket, session ID). Afterwards, I wanted to call methods of other proxy classes of the same application and always got
    SoapFaultCode:1  WSDoAllReceiver: Request does not contain required Security header
    How do I pass security header and what does it consist of? I suppose ticket and/or session ID, but it is not part of any method's interface.
    What should I do?
    Thanks in advance!
    Kind regards,
    Igor
    Unfortunately, WSDL is not available in public. If necessary; I'll post it, but for the first post I'll try not to occupy space.

    Hi!
    I did research on this topic with server application and I quote what I found:
    <i>The Alfresco web services have always used the WS Security header to pass the ticket information to the server.
    The ticket is plucked out of the password parameter and cross checked within the server to ensure the request can proceed.
    So long as you construct the WS Security header correctly authentication at the repository should occure without problem</i>
    I get the ticket from the successfull call of START_SESSION method of different (authentication) proxy class, but don't know what to do with it. How to include it in security header of another proxy method call? Or should I do something else?
    I'll describe what I tried - please see if I did something wrong:
    1. In SE80 -> Client proxy maintenance, I selected tab Preconfiguration, selected "Session-Oriented communication" -> Checked "Select Feature"
    2. Same tab, selected "Authentication" -> Basic
    3. Activated the proxy
    4. WSSPROFILE -> Created profile based on CHECK_USERNAME template
    5. LPCONFIG -> Selected operation GET_USER, entered the newly created profile both in ProfileIn and ProfileOut, activated
    6. Activated client trace, called method and got SOAP request without any security info in header:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <soap-env:Header>
        <n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/">
          <TraceLevel xmlns="http://www.sap.com/webas/630/soap/features/runtime/tracing/">Error</TraceLevel>
        </n0:Trace>
      </soap-env:Header>
      <soap-env:Body>
        <nr1:getUser xmlns:nr1="http://www.alfresco.org/ws/service/administration/1.0" xmlns:nr2="http://www.alfresco.org/ws/model/content/1.0">
          <nr1:userName>ADMIN</nr1:userName>
        </nr1:getUser>
      </soap-env:Body>
    </soap-env:Envelope>
    I must have done something wrong.
    Regards,
    Igor

  • ISync/Bluetooth/SE k700i trouble - no other posts have helped!

    Hi,
    Buetooth file transfer works fine. My phone (Sony Ericsson K700i) and computer recognise each other fine, and can transfer files.
    But...
    iSync cannot update the phone. It was working fine, then suddenly stopped. No idea why. I tried resetting up all Bluetooth stuff from scratch. No luck. I have tried everything else I can think of (am an experianced Mac user - but this beats me). Also none of the other fixes I have spotted on these forums seem to help.
    When I try and sync i Sync says this:
    "Saturday, 13 May 2006 16:08
    [RedHavoc_K700i] Connection to the phone failed.
    Please make sure that your phone is turned on. If this error occurs again, please restart your phone.
    Device "RedHavoc_K700i" synchronization failed"
    and the phone says this:
    "session failed Communication interrupt"
    Any ideas please??
    Thanks

    Hi, I'm new to this forum, but here goes.
    I now own an SE750i and it Sync's fine, but I do have a problem I could use some help with. but later.
    My previous phone was the SE700i and had lots of BT issues, but was able to use it well provided I 'serviced' it regularly. My problem was similar to the one below, with, I think, the same message. I found the fix on another forum, sorry can't remember where.
    The fix:
    Delete
    ~/Library/Preferences/com.apple.isync.plist
    ~/Library/Preferences/com.apple.Bluetooth.plist
    ~/Library/Application Support/SyncService
    Then I:
    1. removed any pairing info on the s700i and the Mac.
    2. initiated pairing from S700i - not the Mac.
    3. Once paired, started iSync.
    4. Options to sync address book, calendar etc appear (should have 3 options)
    Sometimes a restart was necessary prior to step 3.
    Hope this helps.
    Hi,
    Buetooth file transfer works fine. My phone (Sony
    Ericsson K700i) and computer recognise each other
    fine, and can transfer files.
    But...
    iSync cannot update the phone. It was working fine,
    then suddenly stopped. No idea why. I tried resetting
    up all Bluetooth stuff from scratch. No luck. I have
    tried everything else I can think of (am an
    experianced Mac user - but this beats me). Also none
    of the other fixes I have spotted on these forums
    seem to help.
    When I try and sync i Sync says this:
    "Saturday, 13 May 2006 16:08
    [RedHavoc_K700i] Connection to the phone failed.
    lease make sure that your phone is turned on. If this
    error occurs again, please restart your phone.
    Device "RedHavoc_K700i" synchronization failed"
    and the phone says this:
    "session failed Communication interrupt"
    Any ideas please??
    Thanks
    17 Inch PowerBook   Mac OS X (10.4.6)  

  • My syncron with isync and sony erikson k700i failes

    Hey...
    I just got at k700i and in the beginning i worked fine with isync but then suddently i startet to fail every time i tryed... I dont think I have changen any thing but the name of the phone... Do anybody know what there can be wrong?
    The computer write:
    [MH-Phone] Connection to the phone failed.
    Please make sure that your phone is turned on. If this error occurs again, please restart your phone.
    Device "MH-Phone" synchronization failed
    The phone write:
    session failed
    communication got disconnected
    I really hope some one can help...

    This is a known problem with iSync 2.2 and has been the subject of a number of threads on here already.
    A possible solution is here:
    http://mobile.feisar.com/k700isync22hack.html
    BE WARNED, that this is a hack, and requires direct editing of files within the iSync application. DO NOT attempt this hack if you are not at all competent in doing so. It is very possible to break iSync if you are not careful.
    If you decide to proceed, make sure you do adequate backups before starting. Then read ALL the instructions VERY carefully and fully a couple of times before going ahead.

  • Too much SessionBean in my project

    In my project, most of business object is SessionBean (StateLess), every table has a EntityBean (BMP), will this reduce system's performance?

    Stateless session beans are usually faster, because each client's session is not stateful (therefore has to be handled by the container)
    Have you done some performance measurements on your application?
    Also, how are your session beans communicating with your entity beans?? Are you employing use of Local interfaces to communicate between session<-->entity? Do you have Value Objects that are being passed from session<-->entity? Using Value Objects between s<>e saves a lot of expensive remote calls (especially if you have to get/set a lot of fields)
    Each of these seemingly little decisions can impact your performance greatly.
    HTH,
    -cedrick

  • Swing Rich Client Framework

    Are there any good swing rich client development and server integration framework?

    jwenting wrote:
    You're thinking too much about one thing, the client and user interface.
    Don't. Think about the entire system.
    What you're looking for is classic subscriber/publisher systems, where a client subscribes to updates from a publisher and the publisher pushes updates to published clients.
    The client has to do nothing after subscribing to actually receive updates, but will of course have to actually handle the incoming data, for example by reading out a queue of incoming messages at regular intervals.Yes subscribe/publish is one type of communication which is the asynchronous messages I referred to, another is session-like communication when users chat (a user may have multiple chat session going and may also go out of band for some types of communication, that is not relayed via server) and then theres request-response communication when the client logs into the server (the client goes through 6-13 steps for authentication and data synchronization which is what I expect to use the statemachine for). You could say the client works autonomously while logging in, and is driven by user and server input the rest of the time. I should mention the protocol is well established and massive, Im not looking to design that.
    So basically my design has an network IO thread that queues incoming messages to a protocol parser that turn xml messages into java objects. Then I have a BIG GRAY box that uses the java object to decide how to interact with the datamodel and other parts of the system.
    The BIG GRAY box is the hole in my design (well I put some homemade design there but I dont like reinventing the wheel if there some principles or client design catalog somewhere that I just havent found using google). The example of updating the datamodel optimistically is just one example of the type of issues I have to deal with when the model is acted upon by both a user and a server.

  • Sony ericsson has sudenly stoped syncing

    I have a sony ericsson k700i mobile phone. isync was working well with my mobile, until i updated to OSX 10.4.6 now my phone now no longer syncs with the computer and gives me this message.
    "Saturday, 22 April 2006 16:56
    [Richisace] There was an error getting data from the phone. The synchronization may have been cancelled on the phone.
    Device "Richisace" synchronization failed"
    I have not cancelled the synchronization the phone says,
    "session failed communication interrupted"
    I have tried restarting the computer, switching the phone off and on, deleting the phone from isync and putting it back on none of these things helped. I checked your web site but can't find any info on why this might be happening. Please help as I come to rely on syncing to organize my life.

    This is a known problem with iSync 2.2 and has been
    the subject of a number of threads on here already.
    A possible solution is here:
    http://mobile.feisar.com/k700isync22hack.html
    BE WARNED, that this is a hack, and requires direct
    editing of files within the iSync application. DO NOT
    attempt this hack if you are not at all competent in
    doing so. It is very possible to break iSync if you
    are not careful.
    If you decide to proceed, make sure you do adequate
    backups before starting. Then read ALL the
    instructions VERY carefully and fully a couple of
    times before going ahead.
    Thank you for the information I tryed fixing as the web sight said but could not get my phone 2 sync still. Please let me know if you hear of another way to sort this out, as the only way round this I can think of is to get a new phone that dose work.

  • Synchronization fails @ end of sync cycle sonyE w800 usb & bluetooth HELP!

    I have tried everything I know to sort this problem . The phone still works fine for file transfer via bluetooth or usb i.e photos or mp3 etc . and there is no other problem with the phone .
    I have made a master reset of the phone and deleted and rerergistered the phone as a bluetooth and bluetooth device several times .This also works fine Everything appears normal but isync fails . the problem first started about a week ago perhaps after a crash . I have also attempted to sync the phone via usb and receive the exact same error which leads me to think the problem is with isync rather than any of the protocols .
    I deleted the isync and bluetooth prefs but didn't make any difference .
    when I try to syncronize the phone , via isync , it runs fine but right at the end of the sync it returns the error" An unexpected error occured.
    Device "W800i:-)" synchronization failed" . this is with usb or bluetooth synchronization .
    opening console I can see the following type of dialogue over and over " 14:15:02.498 [iSync:2471] ERROR (.sync.SyncConduitManager): Exception catch: [ISyncConcreteSession clientRefusedChangesForRecordWithIdentifier:]: I know nothing about a record with identifier A6DF4542-842F-462C-B8CF-9EDA75DFF821. Are you sure you got it from this session or from the session's snapshot? If so, perhaps it has been deleted?
    2007-01-28 14:15:03.682 iSync[2471] we receive the end of our sync plan".
    This doesn't mean much to me but maybe can help someone help me .
    btw the sE gives me the error message "session failed/communication interuptted" .
    any help appreciated .

    Have you tried resetting the iSync history in iSync prefs?
    Or syncing just contacts, or just calendars, to see if one will allow a full sync.
    Or syncing just a small group of contacts.
    There may be some corrupted data in either Address Book or iCal that is tripping iSync up.

Maybe you are looking for