JSON/RPC

Hello everyone
Can anybody point me toa working implementation of JSON-RPC for iPhone? I found a couple of JSON libraries (BSJSON and TouchJSON) - but not any implementation of the "RPC" part. I need to do JSON-RPC over http-post, btw.
help would be highly appreciated!
/morten

Anyone ?

Similar Messages

  • AUR3 [aur-pyjs] implementation in python (pyjs) + JSON-RPC

    Welcome to AUR3.
    available (pre-alpha)...
    http://aur.archlinux.org/packages.php?ID=38359
    QUICKSTART
    1) install
         # http://aur.archlinux.org/packages.php?ID=38359
    2) run
         # /usr/lib/aur-pyjs-git/aur serve -f
    3) view
         # http://127.0.0.1:8000/Aur.html
    INTRODUCTION
    This is a reimplementation of the AUR using a widget toolkit known as Pyjamas (http://pyjs.org).  Client-side code (to run in web browsers) is written and maintained in python; when deploying to production, the python sources are compiled/translated to 100% pure javascript.  The resulting javascript code can be ran on any major browser.  When deployed, this is a 100% pure javascript application... thus, javascript is required, else you will see only a blank page.
    WHY PYJS?
    1) anyone that knows python can write clean, maintainable client-side code
    2) eliminates the need to know the umpteen inconsistencies amongst browsers
    3) via pyjamas-desktop, the app runs as 100% pure python, as a true desktop app, with no modifications
    4) back-ends are JSON-RPC; allows back-ends to be written in any language, and enforces a clean separation
    PROJECT STATUS
    1) FRAMEWORK
         [complete] basic URL dispatcher
         [complete] load new content pages with cache support
         [new] create generic URL-to-module dispatcher (like cherrypy/etc.)
    2) SHELL
         [complete] pixel perfect to other sections of the site
         [complete] links/titles/copyright in place
    3) BASIC SEARCH
         [complete] search front-end
         [incomplete] perform search front-end
         [incomplete] perform search back-end
    4) ADVANCED SEARCH
         [complete] define toggles
         [incomplete] define filters
         [incomplete] define sorts
         [incomplete] enable/enforce limits
         [complete] search front-end
         [incomplete] perform search front-end
         [incomplete] perform search back-end
    5) LANGUAGES
         [incomplete] Language.py module methods
         [incomplete] language JSON-RPC backend (preferred), or hardcode in Language.py
         [incomplete] replace hardcoded text with calls to Language module
    6) HOME
         [complete] create page
         [incomplete] introduction/disclaimer
         [incomplete] recent updates front-end
         [incomplete] recent updates back-end
         [incomplete] statistics front-end
         [incomplete] statistics back-end
    7) BROWSE/SEARCH/MY PACKAGES
         [complete] create page
         [incomplete] paginating results front-end
         [incomplete] paginating results back-end
    8) VIEW PACKAGE
         [incomplete] create page
         [incomplete] package details front-end (name/link/desc/deps/files/etc.)
         [incomplete] package details back-end
         [incomplete] list comments front-end
         [incomplete] list comments back-end
         [incomplete] add comment front-end
         [incomplete] add comment back-end
    9) ACCOUNTS
         [incomplete] create page
         [incomplete] create/edit account front-end
         [incomplete] create/edit account back-end
    10) SUBMIT
         [incomplete] create page
         [incomplete] submit package front-end
         [incomplete] submit package back-end
    PYJAMAS-DESKTOP ONLY (as python)
    1) INSTALL
         [incomplete] add 'install' links (view/browse/search pages)
         [incomplete] install status/details front-end (GUI)
         [incomplete] python module "back-end" to download packages + dependencies and install
    GET INVOLVED
    1) set up a development environment + pyjs sandbox at ~/aur-pyjs...
         # /usr/lib/aur-pyjs-git/aur sync ~/aur-pyjs
         # cd ~/aur-pyjs
    2) update pyjamas anytime by running...
         # ./aur sync
    3) generate the AUR...
         # ./aur trans
    4) view the AUR...
         # ./aur serve -f
         # http://127.0.0.1:8000/Aur.html
    5) create a package based on remote git master...
         # ./aur pkg
    6) create a package based on your local git master...
         # ./aur pkg -l
    7) create a package based on your local git master AND install it...
         # ./aur pkg -li
    All of the commands support a 'help' and 'usage' parameter:
    # ./aur help
    Usage: aur-pyjs COMMAND [help|OPTION]...
    Develop, translate, package, and serve AUR3
    COMMANDs:
    pkg build package from local/remote master; opt. install; opt. upload
    sync bootstrap/update local/target devel environment
    trans translate python sources to javascript for deployment
    serve lastest local build at http://localhost:8000
    # ./aur pkg help
    Usage: aur-pyjs pkg [-l] [-i] [-u]
    Package local/remote build and optionally install and/or upload to AUR legacy
    Options:
    -l favor local source over remote
    -i install package locally
    -u upload to AUR legacy after building
    LAST WORDS
    yes.  I hope this to become the official AUR, and/or some other directions [1]
    yes.  running as a python desktop app, you will be able to install packages directly
    yes.  project is active; tentative completion date, ~October 2010
    possibly.  I'd like to make it capable of running independently, managing the local system
    no.  project is not a revived incarnation of other attempts
    ) advanced search will be restricted
    ) SOMEONE CAN START BUILDING JSON-RPC BACKENDS NOW
    ) PHP and MySQL s_ck.   If I do it, the back-ends will be python ( + git/sqlite/couchdb)
    ) feedback appreciated
    ) to contribute, fork on github and send me a request.
    C Anthony
    [1] http://bbs.archlinux.org/viewtopic.php?id=90970
    Last edited by extofme (2010-09-12 23:37:47)

    Xyne wrote:Sorry for being too lazy right now to check myself, but would this require that Javascript be enabled to use the AUR or does Pyjamas gracefully fall back to plain HTML?
    heh, yeah i purposefully wasn't mentioning that at this point .
    no, it is not able to fall back to plain old HTML.  there was/is a project, pyjamas-server or something, where the backend/server would run the app as python (i think, might have been spidermonkey), compute the DOM, then spit the result to the client/browser as an HTML document.  every time you did an "action" (clicked something/whatever), you would make a new request to the server, it would do the action for you, then spit back the result.  i'm not sure completely how it worked, but the biggest problem was that in order to maintain a "state" from the clients perspective (simply retaining variables/etc.), a permanent/daemon process was required on the server.  this daemon would essentially be doing the same thing a client browser would have done, had javascript been enabled, but the daemon is doing it for _every_ client that doesn't support JS.  the other option was to serialize/deserialize the entire state after each request, but that's slow
    i have some hope for this in the future, but ATM it's not here.  although, it may be easy to "snapshot" points in a running pyjamas app, and save the DOM.  this could then be served up, and could reuse the same CSS as the JS version; i believe this is sort of how the new test suite in pyjs works, but i'm not sure.
    the other option would be to just create a super simple HTML only version, maybe try to reuse the CSS, i dunno.  i've done manual web development for so long, that frankly i stopped caring about supporting 15 browsers and degrading gracefully to 10 different levels of functionality, it's just too much, and drives you mad wasting time.  this is why i love pyjamas; it takes care of the top 5 browsers or so, and others usually work fine.  so, i make a full functioning version, and a super crappy basic HTML version that does the bare minimum; if you don't like it, enable JS.  with the advent of HTML5 and the JS API's, JS will start to become a hard requirement anyways i think.
    that was my long winded way of saying "no".
    Xyne wrote:Regardless, it seems that you have a good vision for this project and I hope that your enthusiasm for it continues. I know that it can be somewhat discouraging when initially met with nay-saying and/or a seeming lack of interest.
    thanks, and yeah it can be.  haha i thought people would be all over the idea of a new AUR, esp. one capable of running as a desktop app/installing with one click.  thats why i made it so easy to bootstrap a dev environment.  but meh, i code because i enjoy it, so i keep doing it cuz it feels gooooood.
    C Anthony

  • JSF/AJAX vs JSON-RPC/AJAX

    Has anyone directly compared these two approaches to rich internet client applications? I am in the process of choosing a technology base for AJAX applications, and see some attraction in the lighter weight of JSON, and the direct access to java objects from javascript looks appealing and much simpler than JSF. It does appear that the JSON-RPC-Java approach will require the client js to handle all of the UI events. How much effort in this area does JSF save?

    I should have been more clear.
    On the https://bpcatalog.dev.java.net page in the left navbar is a link to the CVS repository "Version control - CVS", click on it. Then there is a link "Setup CVS command line client" that leads you to a the page ( https://bpcatalog.dev.java.net/servlets/ProjectSource) that you will have to login to see. This page tells you how to connect and download with CVS.
    I have summarized the page content below:
    Hope this helps - Thanks - Mark
    To use WinCvs to check out your own set of source code files, you must first set up the correct cvs root using the following steps.
    1. Launch WinCvs and select Admin - Preferences. Enter the CVSroot:
    :pserver:[email protected]:/cvs
    Click OK.
    2. If this is your first cvs checkout, create a folder in Windows Explorer to hold all of your cvs project folders. Then create a subfolder for this project. (You may even want to create separate subfolders for each module if you're working in more than one.)
    3. In WinCvs, select Admin - Login and enter your CVS password.
    4. Click on the left window in the program and select a folder. Then select Create - Checkout Module. Select the project folder you created earlier.
    5. Enter the project module name and click OK. You should see a scrolling list of filenames as these are created in your folder(s).
    6. Repeat the module creation process for each additional cvs module you wish to check out.

  • Json rpc and json rpc cpp integration

    hi frnds,
    I am new with json rpc and json rpc cpp, all i just need a way to talk to c++ code from my servlet/jsp without using jni, i got following link by searching on google but not able to implement it, so i am looking for json rpc with json rpc cpp
    http://www.ibm.com/developerworks/webservices/library/ws-xml-rpc/
    thanks in advance
    Irfan

    Anyone ?

  • I am getting the following message every time I try to access mail from iCloud:

    IS FATAL
    true
    APPLICATION NAME
    mail
    TITLE
    Mail could not be loaded
    MESSAGE
    There was a problem loading the application due to a possible network error or missing resources. Please try again.
    LOG
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: MAIL in main()
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: Creating local CK.AccountPreferences object
    Sun, 09 Dec 2012 12:19:48 GMT:  WARN:  Attempting to process mailprefs from CloudOS…
    Sun, 09 Dec 2012 12:19:48 GMT:  WARN:  Rejecting mailprefs from CloudOS because timeZone information is unavailable in mailprefs
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: Creating local CK.User object
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: -->  Request 1:   POST to https://p06-mailws.icloud.com:443/wm/preference?clientBuildNumber=1N44&clientId= 38E35891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF244118CF1C3 8DDCC11F788D45E,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: ----------------> Request out: /wm/preference-list-->1355055588208/1
              wmsid: null
              params: {"locale":"en-us","timeZone":"Europe/Athens"}
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: SC.Object:sc1364:dispatch('load content')
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: "2.0 Waiting for Content" handled event 'load content' (no transition)
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: SC.Object:sc2819:dispatch('noContent')
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG:   "6.2 pop up View" handled event 'noContent' with a transition to "6.2.2 No Content"
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG:     -> entering "6.2.2 No Content"
    Sun, 09 Dec 2012 12:19:49 GMT:  DEBUG: APPLICATION: Received applicationWillBecomeActive
    Sun, 09 Dec 2012 12:19:49 GMT:  DEBUG: APPLICATION: Received routeDidChange
    Sun, 09 Dec 2012 12:19:49 GMT:  WARN:  APPLICATION: Received applicationDidBecomeActive
    Sun, 09 Dec 2012 12:19:50 GMT:  WARN:  REJECTING SERVER RESPONSE CoreMail.MailRequest.willReceive:
                                                                Status:200
                                                                Request:/wm/preference
                                                                Wmsid:7
                                                                Redirect Count:1
                                                                Timeout Redirect Count:0
                                                                ResponseText:<h1>Redirect</h1>
    Sun, 09 Dec 2012 12:19:50 GMT:  DEBUG: -->  Request 2:   POST to https://p06-mailws.icloud.com:443/wm/preference?clientBuildNumber=1N44&clientId= 38E35891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF244118CF1C3 8DDCC11F788D45E,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:50 GMT:  DEBUG: ----------------> Request out: /wm/preference-list-->1355055588208/1
              wmsid: 7
              params: {"locale":"en-us","timeZone":"Europe/Athens"}
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: <--  Response 2:  200  (4395ms),  headers: Content-Type=application/json-rpc; charset=UTF-8  body: (omitted)
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: <---------------- Request in: /wm/preference-list-->1355055588208/1,httpStatus: 200,round trip time: 4395ms, wmsid: 7
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Attempting to load 'contacts'
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Module 'contacts' is not loaded, loading now.
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Loading JavaScript file in 'contacts' -> '/applications/mail/frameworks/contacts/en-us/1N44/javascript.js'
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Attempting to load 'contacts'
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Module 'contacts' is not loaded, loading now.
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: -->  Request 3:   POST to https://p06-mailws.icloud.com:443/wm/folder?clientBuildNumber=1N44&clientId=38E3 5891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF244118CF1C38DDC C11F788D45E,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: ----------------> Request out: /wm/folder-list-->1355055594893/2
              wmsid: 7
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Object:sc1364:dispatch('load content')
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: "2.0 Waiting for Content" handled event 'load content' (no transition)
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: SC.Module: Module 'contacts' finished loading.
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: SC.Module: Evaluating and invoking callbacks for 'contacts'.
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: SC.Module: Module 'contacts' has completed loading, invoking callbacks.
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: ContactsAutocomplete name order preference set: 'first,last'
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: -->  Request 4:   POST to https://p06-mailws.icloud.com:443/wm/recents?clientBuildNumber=1N44&clientId=38E 35891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF244118CF1C38DD CC11F788D45E,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: -->  Request 5:   GET to https://p02-contactsws.icloud.com:443/co/addressbook/?clientBuildNumber=1N44&cli entId=38E35891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF24411 8CF1C38DDCC11F788D45E&locale=en_US&order=last%2Cfirst,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:55 GMT:  WARN:  attempt to re initialize contacts, ignoring configure call.
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: <--  Response 5:  200  (2719ms),  headers: Cache-Control=no-cache, no-store, private, Content-Type=application/json; charset=UTF-8  body: (omitted)
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: <--  Response 3:  200  (3535ms),  headers: Content-Type=application/json-rpc; charset=UTF-8  body: (omitted)
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: <---------------- Request in: /wm/folder-list-->1355055594893/2,httpStatus: 200,round trip time: 3534ms, wmsid: 7,104,no imap connection
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: FolderDataSource.localFetchResponse error = 104/no imap connection
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: SC.Object:sc1364:dispatch('propertyChanged')
    Sun, 09 Dec 2012 12:19:58 GMT:  ERROR: Bootstrap error: FolderList.LoadFailed.ServerError
    ORIGIN
    server
    TYPE
    error
    APP STATECHART
    SC.Statechart:sc1433
      initialized: true
      name: cloudos-statechart
      current-states: [
        active.application.displayingCurrentApp
      state-transition:
        active: false
        suspended: false
      handling-event: false
    BUILD NUMBER
    1N44
    TIME
    Sun Dec 09 2012 14:20:00 GMT+0200 (EET)        (1355055600880)
    HOST
    www.icloud.com
    USER AGENT
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/536.26.17 (KHTML, like Gecko) Version/6.0.2 Safari/536.26.17
    DSID
    221791513
    ENVIRONMENT
    PROD
    RECENT LOG MESSAGES
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: MAIL in main()
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: Creating local CK.AccountPreferences object
    Sun, 09 Dec 2012 12:19:48 GMT:  WARN:  Attempting to process mailprefs from CloudOS…
    Sun, 09 Dec 2012 12:19:48 GMT:  WARN:  Rejecting mailprefs from CloudOS because timeZone information is unavailable in mailprefs
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: Creating local CK.User object
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: -->  Request 1:   POST to https://p06-mailws.icloud.com:443/wm/preference?clientBuildNumber=1N44&clientId= 38E35891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF244118CF1C3 8DDCC11F788D45E,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: ----------------> Request out: /wm/preference-list-->1355055588208/1
              wmsid: null
              params: {"locale":"en-us","timeZone":"Europe/Athens"}
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: SC.Object:sc1364:dispatch('load content')
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: "2.0 Waiting for Content" handled event 'load content' (no transition)
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG: SC.Object:sc2819:dispatch('noContent')
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG:   "6.2 pop up View" handled event 'noContent' with a transition to "6.2.2 No Content"
    Sun, 09 Dec 2012 12:19:48 GMT:  DEBUG:     -> entering "6.2.2 No Content"
    Sun, 09 Dec 2012 12:19:49 GMT:  DEBUG: APPLICATION: Received applicationWillBecomeActive
    Sun, 09 Dec 2012 12:19:49 GMT:  DEBUG: APPLICATION: Received routeDidChange
    Sun, 09 Dec 2012 12:19:49 GMT:  WARN:  APPLICATION: Received applicationDidBecomeActive
    Sun, 09 Dec 2012 12:19:50 GMT:  WARN:  REJECTING SERVER RESPONSE CoreMail.MailRequest.willReceive:
                                                                Status:200
                                                                Request:/wm/preference
                                                                Wmsid:7
                                                                Redirect Count:1
                                                                Timeout Redirect Count:0
                                                                ResponseText:<h1>Redirect</h1>
    Sun, 09 Dec 2012 12:19:50 GMT:  DEBUG: -->  Request 2:   POST to https://p06-mailws.icloud.com:443/wm/preference?clientBuildNumber=1N44&clientId= 38E35891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF244118CF1C3 8DDCC11F788D45E,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:50 GMT:  DEBUG: ----------------> Request out: /wm/preference-list-->1355055588208/1
              wmsid: 7
              params: {"locale":"en-us","timeZone":"Europe/Athens"}
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: <--  Response 2:  200  (4395ms),  headers: Content-Type=application/json-rpc; charset=UTF-8  body: (omitted)
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: <---------------- Request in: /wm/preference-list-->1355055588208/1,httpStatus: 200,round trip time: 4395ms, wmsid: 7
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Attempting to load 'contacts'
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Module 'contacts' is not loaded, loading now.
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Loading JavaScript file in 'contacts' -> '/applications/mail/frameworks/contacts/en-us/1N44/javascript.js'
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Attempting to load 'contacts'
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Module: Module 'contacts' is not loaded, loading now.
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: -->  Request 3:   POST to https://p06-mailws.icloud.com:443/wm/folder?clientBuildNumber=1N44&clientId=38E3 5891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF244118CF1C38DDC C11F788D45E,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: ----------------> Request out: /wm/folder-list-->1355055594893/2
              wmsid: 7
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: SC.Object:sc1364:dispatch('load content')
    Sun, 09 Dec 2012 12:19:54 GMT:  DEBUG: "2.0 Waiting for Content" handled event 'load content' (no transition)
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: SC.Module: Module 'contacts' finished loading.
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: SC.Module: Evaluating and invoking callbacks for 'contacts'.
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: SC.Module: Module 'contacts' has completed loading, invoking callbacks.
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: ContactsAutocomplete name order preference set: 'first,last'
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: -->  Request 4:   POST to https://p06-mailws.icloud.com:443/wm/recents?clientBuildNumber=1N44&clientId=38E 35891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF244118CF1C38DD CC11F788D45E,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:55 GMT:  DEBUG: -->  Request 5:   GET to https://p02-contactsws.icloud.com:443/co/addressbook/?clientBuildNumber=1N44&cli entId=38E35891-8FD4-44DA-A10A-0A5614716C3D&dsid=221791513&id=BADD0B53AD2ADF24411 8CF1C38DDCC11F788D45E&locale=en_US&order=last%2Cfirst,  headers: Content-Type=text/plain,  body: (omitted)
    Sun, 09 Dec 2012 12:19:55 GMT:  WARN:  attempt to re initialize contacts, ignoring configure call.
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: <--  Response 5:  200  (2719ms),  headers: Cache-Control=no-cache, no-store, private, Content-Type=application/json; charset=UTF-8  body: (omitted)
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: <--  Response 3:  200  (3535ms),  headers: Content-Type=application/json-rpc; charset=UTF-8  body: (omitted)
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: <---------------- Request in: /wm/folder-list-->1355055594893/2,httpStatus: 200,round trip time: 3534ms, wmsid: 7,104,no imap connection
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: FolderDataSource.localFetchResponse error = 104/no imap connection
    Sun, 09 Dec 2012 12:19:58 GMT:  DEBUG: SC.Object:sc1364:dispatch('propertyChanged')
    Sun, 09 Dec 2012 12:19:58 GMT:  ERROR: Bootstrap error: FolderList.LoadFailed.ServerError

    Change your password and this will reset your email.

  • [ANN] XINS 2.1 open source Web Services framework release

    XINS 2.1 Web Services Framework has been released.
    XINS is an open source Web Services Framework based on simple specifications of the Web Service in XML and
    generation of code and documentation from the specification.
    The generation includes Client JAR with its Javadoc, Server side template with its Javadoc, documentation in OpenDocument Format,
    documentation in HTML including the test forms, WSDL file, unit tests (JUnit) and stubs.
    The Web Services accept several protocols including REST, SOAP, XML-RPC, XML, JSON Yahoo! and JSON-RPC.
    What's new:
    * Start the API with java -jar <api name>.war
    * Improved generated specification in OpenDocument Format
    * Include/exclude calling convention with ACLs
    * New calling convention that maps SOAP request and response as the wsdl2api command mapping.
    * Smaller generated build.xml
    * Added possibility to include other runtime properties files
    * The runtime property location can be a URL
    * Swing Graphical User Interface
    * New tools: emma, glean, webstart
    * New target: javadoc-test-<api name>, javadoc-apis
    * Bug fixes and small RFEs
    Download XINS 2.1:
    Windows installer: http://prdownloads.sf.net/xins/xins-2.1.exe?download
    TAR GZ archive: http://prdownloads.sf.net/xins/xins-2.1.tgz?download
    Resources:
    Web site: http://xins.sourceforge.net/
    XINS demos: http://xins.sourceforge.net/demo.html
    Documentation: http://xins.sourceforge.net/documentation.html
    User guide: http://xins.sourceforge.net/docs/index.html

    I recommend you implement your web service with JAX-WS 2.0
    Axis (both version) are good but why do you want to use something that is not included in JEE API, when Java provide same thing with better performance.
    personally try to prevent non standard technologies despite they can be better than core java implementation sometimes.
    I don't know Xfire.
    the good:
    -JAX-WS performance is better than axis,
    - you can create your web service simply with annotation.(this means write class and then make it as a service easily)
    - support every kind of service invocation(callback,Asynchronous,...)
    - architecture is nice (you can operate on SOAP level)
    the Bad:
    - It is JEE 5 or JSE 6 dependent.
    - there is seriously lack of documentation and examples for it, on java web sites and internet.

  • Can the Plug-in Compete?

    Why hasn't Java become the dominant technology in RIA development?
    I'm not the first person to ask this question, nor will I be the last. It is unbelievable to me that the company that invented the RIA over a decade ago has made little or no progress in this field and presents absolutely no challenge to inferior technologies that came later. JavaScript was named "Java" script deceptively to give it better visibility in the marketplace, but given its dominance in the RIA market, you'd never believe it.
    I have been developing software for over 25 years now with the majority of my experience in C++ development and object-oriented analysis and design. Wanting to move into the web market, I started doing RIA development a few years ago. I was horrified by the development options available to me and the seemingly infinite amount of hoops I had to jump through to get even the simplest application functionality implemented and working correctly. I had been using Java to do backend work and had really come to like it. To me, the ideal situation would be to use Java to do the client-side work as well as the server-side work. Not only would I be using a real OO programming language, I'd also be using a single technology across the board. The problem was that there really was no nice client-side Java solution available. Swing was just too cumbersome and inflexible and other products had similar drawbacks. What I really wanted was a client-side solution that was as easy to use and just as flexible as HTML/CSS for building a UI, but provided the dynamic and robust programming features of Java. So I quit my full-time job about 18 months ago and started designing a Java-based RIA product called the Galileo RIA Framework.
    One of the many frustrations that I had experienced working with JavaScript was the problem of inconsistent appearance and behavior on different browsers; therefore, when I started designing Galileo one of its primary requirements was that it be able to run on all major browsers on all major platforms and produce a consistent looking UI. Knowing the history of the Java Plug-in, I wasn't sure if it would meet this requirement. Much to my relief, it turned out that the latest Java plug-in (1.5 at the time) worked fine with all the latest and greatest browsers (IE, Firefox, Netscape, Opera, Safari, and Camino) on all of my test machines which included Windows XP and Vista, Mac OS-X, and a few Linux distros. This was great. I figured now all I had to do was focus on developing the actual UI framework and I would have the product I had been longing for and a product that the Java community would be excited about.
    I recently released Galileo as a Beta and while many developers who have looked at the product have admitted that it is an impressive product and that they'd like it to gain much success, they are reluctant to use it because it depends on the Java Plug-in. This has been a major disappointment to say the least. I knew that applets had developed a stigma over the years, but I didn't realize how pronounced the distaste for the plug-in had become. The negativity and skepticism within the Java community itself is so overwhelming that any hope for wide acceptance of the plug-in seems impossible. The funny thing is that all the developers I have talked with would like the plug-in to become widely accepted, but in order for it to become widely accepted, it would have to be used, however, most website developers are hesitant to use it, because, well, it's not widely accepted.
    I want to change this. Not only because the success of my product depends on it, but because I would like more job opportunities to be available to me as a Java programmer as the RIA market continues to grow.
    Why did the Java Plug-in fail in the first place?
    My guess is that there were several major reasons for the failure of the Java Plug-in. One, applets and the plug-in were introduced at a time when most users were limited to dial-up access to the internet. Downloading the plug-in and the applets that used it took too long for a normal user's patience. Two, a Swing UI compared to an HTML website designed by a graphics artist looked terrible. Three, platform and browser compatibility may have been an issue also, but not being involved in Java development back then, I don't know if that was an issue or not. Four, it has been said that installation of the Plug-in was not straightforward and could have been difficult for non-developers. Five, the web was still pretty new itself. The concept of the RIA didn't exist; therefore, there wasn't any pressure for websites to be anymore than straight HTML. Adding technology that complicated implementation, limited potential visitors, and looked bad, just didn't make any sense.
    Can the Java Plug-in compete now?
    I'm optimistic it can for several reasons. One, according to the latest statistics I've read, 86% of U.S. internet users now use broadband. Download times for JAR files and other resources have become negligible. Two, Sun has finally decided to rewrite the plug-in making it easier to detect, download, install, and upgrade. Also most major browsers will prompt the user in a standard way to install the plug-in if a page that requires it is loaded. Three, new operating systems / machines are coming with the Java plug-in already installed. I know both my Windows Vista machines from Dell did, my Mini-Mac from Apple did, and several distros of Linux install the plug-in when the OS is installed. Four, installing a plug-in just isn't a big deal for users anymore. According to a June 2008 survey 99% of internet enabled desktops have already installed the Flash plug-in and 85% have Java installed. Five, standard HTML websites are no longer the standard. To be competitive, websites will have to continue to evolve with RIAs being the latest evolutionary step. Where standard HTML sites with bits and pieces of JavaScript could be developed by graphic artists and other non-developer types, RIAs, because of the complicated implementations, require software developers. Where the major driving force in the web development market used to be graphics artists and non-developer types, as the RIA market grows software developers, many of which are Java developers, will become a greater driving force. This opens up more opportunities for Java. And six, with a framework like Galileo which allows easily customizable UI's that can look as good as any HTML/CSS based UI, aesthetics are no longer an issue for Java UI's.
    I was discussing this issue with Marty Hall of www.coreservlets.com this week and here's what he had to say:
    I would love it if a Java-based solution gained some traction in the RIA world. I spend a lot of time doing Ajax training, and right now, Ajax is tremendously complicated for developers. Developers have to learn xhtml, XML, JSON, JavaScript, Prototype, 37 other JavaScript libraries, and a server-side technology (servlets/JSP, PHP, ROR, or whatever). Even with integrated technologies like GWT or JSON-RPC, there are still an awfully lot of underlying technologies for a developer to master, and the interface is still limited by what current browsers can support."
    I really hope your framework catches on. It would be a good thing. You could build apps that were so much better if you had a real programming language and a single underlying technology.
    The more compelling apps out there that get people to install Java in their browsers the better. And the more powerful but simplified GUI frameworks like yours, the better.
    JavaRiaDev.org
    I believe a window of opportunity has opened to give the Java Plug-in a rare second chance. It appears that Sun believes this too, since they have taken the initiative to redesign the plug-in and to create JavaFx. However, with no disrespect to Sun, if Java developers expect the plug-in to succeed due to Sun's efforts alone, I think they are sadly mistaken. In order for the plug-in to succeed, a concerted effort by the Java community will be necessary. For this reason I have created JavaRiaDev.org. The main initiative of this effort will be to pool developer resources to create RIAs that utilize the Java plug-in and appeal to a broad audience by coming up with new ideas for websites, copying successful website ideas and making them better, and/or trying to forge strategic partnerships with existing websites that already have a substantial user base who are looking to upgrade to RIA technology. The second initiative will be to provide the appropriate resources to help other developers interested in Java RIA development. I, of course, will be pushing Galileo, but will welcome the use of any product that promotes the use of the Java plug-in.
    There will no doubt be skeptics in the Java community who say this is a fool's errand. But for those like me who are not content sitting on the sidelines waiting for others to decide their fate, I say join me and help me in my effort to make Java, if not the dominating, at least a viable option for RIA development. Personally I'd like to have an impact that creates the general opinion that any machine connected to the internet that isn't equipped with the Java plug-in is an inconvenience to the user. If a machine has a modern browser there's no reason for it not to have the plug-in.
    If you are interested in becoming a part of this effort, please email me.
    Thanks,
    M. Warble
    [email protected]

    Some people on the forum claim that you can use an iPhone charger with an iPad, but it will charge slowly enough to the point where the iPad won't show charging status.
    You can use the iPhone with either charger, but that doesn't hold true for the iPad, like Kappy says.

  • Facing issues in  Bugzilla 4.2 installalation

    Hi All,
    I have to install Bugzilla 4.2 on Oracle Linux 5.6 64 bit OS.
    I have installed the prerequisites . Such as .
    1.perl-5.16.2.tar.gz
    2.mysql-5.6.3-m6-linux2.6-x86_64.tar.gz
    3.Apache 2.2
    After that I ran ./checksetup.pl --check-modules  to check all perl modules .
    It has shown some missing modules .
    Then I ran /usr/bin/perl install-module.pl --all  to install automatically .
    Most of the modules got installed .But still facing some issues in installing the rest modules.
    [sabhijit@cr-beaodi-01 bugzilla-4.2.5]$ ./checksetup.pl --check-modules
    * This is Bugzilla 4.2.5 on perl 5.8.8
    * Running on Linux 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010
    Checking perl modules...
    Checking for CGI.pm (v3.51) ok: found v3.63
    Checking for Digest-SHA (any) ok: found v5.83
    Checking for TimeDate (v2.21) ok: found v2.24
    Checking for DateTime (v0.28) ok: found v0.78
    Checking for DateTime-TimeZone (v0.71) ok: found v1.57
    Checking for DBI (v1.41) ok: found v1.623
    Checking for Template-Toolkit (v2.22) ok: found v2.24
    Checking for Email-Send (v2.00) ok: found v2.198
    Checking for Email-MIME (v1.904) ok: found v1.911
    Checking for URI (v1.37) ok: found v1.60
    Checking for List-MoreUtils (v0.22) ok: found v0.33
    Checking for Math-Random-ISAAC (v1.0.1) ok: found v1.004
    Checking available perl DBD modules...
    Checking for DBD-Pg (v1.45) not found
    Checking for            DBD-mysql (v4.001)    not found
    Checking for DBD-SQLite (v1.29) ok: found v1.37
    Checking for DBD-Oracle (v1.19) not found
    The following Perl modules are optional:
    Checking for                   GD (v1.20)     not found
    Checking for                Chart (v2.1)      not found
    Checking for          Template-GD (any)       not found
    Checking for           GDTextUtil (any)       not found
    Checking for              GDGraph (any)       not found
    Checking for MIME-tools (v5.406) ok: found v5.504
    Checking for libwww-perl (any) ok: found v6.04
    Checking for             XML-Twig (any)       not found
    Checking for PatchReader (v0.9.6) ok: found v0.9.6
    Checking for perl-ldap (any) ok: found v0.53
    Checking for Authen-SASL (any) ok: found v2.16
    Checking for RadiusPerl (any) ok: found v0.22
    Checking for SOAP-Lite (v0.712) ok: found v0.715
    Checking for JSON-RPC (any) ok: found v1.03
    Checking for JSON-XS (v2.0) ok: found v2.33
    Checking for Test-Taint (any) ok: found v1.06
    Checking for HTML-Parser (v3.40) ok: found v3.55
    Checking for HTML-Scrubber (any) ok: found v0.09
    Checking for Encode (v2.21) ok: found v2.49
    Checking for Encode-Detect (any) ok: found v1.01
    Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
    Checking for Email-Reply (any) ok: found v1.202
    Checking for TheSchwartz (any) ok: found v1.10
    Subroutine File::Slurp::O_RDWR redefined at lib/File/Slurp.pm line 11
    Subroutine File::Slurp::O_CREAT redefined at lib/File/Slurp.pm line 11
    Subroutine File::Slurp::O_EXCL redefined at lib/File/Slurp.pm line 11
    Checking for Daemon-Generic (any) ok: found v0.82
    Checking for             mod_perl (v1.999022) not found
    Checking for     Apache-SizeLimit (v0.96)     not found
    * OPTIONAL MODULES *
    * Certain Perl modules are not required by Bugzilla, but by *
    * installing the latest version you gain access to additional *
    * features. *
    * The optional modules you do not have installed are listed below, *
    * with the name of the feature they enable. Below that table are the *
    * commands to install each module. *
    * MODULE NAME * ENABLES FEATURE(S) *
    * GD * Graphical Reports, New Charts, Old Charts *
    * Chart * New Charts, Old Charts *
    * Template-GD * Graphical Reports *
    * GDTextUtil * Graphical Reports *
    * GDGraph * Graphical Reports *
    * XML-Twig * Move Bugs Between Installations, Automatic Update Notifications *
    * mod_perl * mod_perl *
    * Apache-SizeLimit * mod_perl *
    COMMANDS TO INSTALL OPTIONAL MODULES:
    GD: /usr/bin/perl install-module.pl GD
    Chart: /usr/bin/perl install-module.pl Chart::Lines
    Template-GD: /usr/bin/perl install-module.pl Template::Plugin::GD::Image
    GDTextUtil: /usr/bin/perl install-module.pl GD::Text
    GDGraph: /usr/bin/perl install-module.pl GD::Graph
    XML-Twig: /usr/bin/perl install-module.pl XML::Twig
    mod_perl: /usr/bin/perl install-module.pl mod_perl2
    Apache-SizeLimit: /usr/bin/perl install-module.pl Apache2::SizeLimit
    To attempt an automatic install of every required and optional module
    with one command, do:
    /usr/bin/perl install-module.pl --all
    [sabhijit@cr-beaodi-01 bugzilla-4.2.5]$
    I got the below error when trying to install the rest modules.
    CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
    CPAN: CPAN::Meta loaded ok (v2.112621)
    CPAN: Module::CoreList loaded ok (v2.82)
    CPAN.pm: Building L/LD/LDS/GD-2.49.tar.gz
    **UNRECOVERABLE ERROR**
    Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.
    If you want to try to compile anyway, please rerun this script with the option --ignore_missing_gd.
    Warning: No success on command[usr/bin/perl Makefile.PL  LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl]
    LDS/GD-2.49.tar.gz
    /usr/bin/perl Makefile.PL LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl -- NOT OK
    Skipping test because of notest pragma
    Running make install
    Make had some problems, won't install
    Could not read metadata file. Falling back to other methods to determine prerequisites
    Installing Chart::Lines version 2.004006...
    Chart::Lines is up to date (2.4.6).
    CPAN.pm: Building P/PH/PHRED/Apache-SizeLimit-0.96.tar.gz
    Can't find mod_perl installed
    The error was: Can't locate mod_perl2.pm in @INC (@INC contains: /home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/x86_64-linux-thread-multi /home/sabhijit/Bugzilla/bugzilla-4.2.5/lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at Makefile.PL line 149.
    Warning: No success on command[usr/bin/perl Makefile.PL  LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl]
    PHRED/Apache-SizeLimit-0.96.tar.gz
    /usr/bin/perl Makefile.PL LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl -- NOT OK
    Skipping test because of notest pragma
    CPAN.pm: Building C/CA/CAPTTOFU/DBD-mysql-4.022.tar.gz
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 83.
    Cannot find the file 'mysql_config'! Your execution PATH doesn't seem
    not contain the path to mysql_config. Resorting to guessed values!
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
    Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
    Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
    Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
    PLEASE NOTE:
    For 'make test' to run properly, you must ensure that the
    database user 'sabhijit' can connect to your MySQL server
    and has the proper privileges that these tests require such
    as 'drop table', 'create table', 'drop procedure', 'create procedure'
    as well as others.
    mysql> grant all privileges on test.* to 'sabhijit'@'localhost' identified by 's3kr1t';
    You can also optionally set the user to run 'make test' with:
    perl Makefile.PL --testuser=username
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
    Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
    Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
    Can't exec "mysql_config": No such file or directory at Makefile.PL line 479.
    Can't find mysql_config. Use --mysql_config option to specify where mysql_config is located
    Failed to determine directory of mysql.h. Use
    perl Makefile.PL --cflags=-I<dir>
    to set this directory. For details see the INSTALL.html file,
    section "C Compiler flags" or type
    perl Makefile.PL --help
    Warning: No success on command[usr/bin/perl Makefile.PL  LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl]
    CAPTTOFU/DBD-mysql-4.022.tar.gz
    /usr/bin/perl Makefile.PL LIB="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib" INSTALLMAN1DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man1" INSTALLMAN3DIR="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/man/man3" INSTALLBIN="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLSCRIPT="/home/sabhijit/Bugzilla/bugzilla-4.2.5/lib/bin" INSTALLDIRS=perl -- NOT OK
    Skipping test because of notest pragma
    Running make install
    Make had some problems, won't install
    [sabhijit@cr-beaodi-01 bugzilla-4.2.5]$
    I could not able to install DBD-mysql (v4.001) on it .
    Can anyone suggest what would be the solution ?
    Thanks a ton !!!

    Hi Dude!
    Thanks for your reply .
    It is not possible to upgrade the Linux version .
    Is there any lower Bugzilla version which is Compartible to our envirnoment ?
    Below is the installation directories.
    Mysql - Installed in /home/sabhijit/mysql
    Apache -Installed in /home/sabhijit/apache
    Perl - Installed in /home/sabhijit/perl
    I have installed the above as sabhijit user; not as root.
    All are installed from tar.
    I have tried to install DBD::mysql (4.001) .I kept it in the location /home/sabhijit/perl .
    Also got error here as below :
    *[sabhijit@cr-beaodi-01 DBD-mysql-4.022]$*
    *[sabhijit@cr-beaodi-01 DBD-mysql-4.022]$ pwd*
    */home/sabhijit/perl/DBD-mysql-4.022*
    *[sabhijit@cr-beaodi-01 DBD-mysql-4.022]$ perl Makefile.PL*
    Can't locate DBI/DBD.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at Makefile.PL line 25.
    *[sabhijit@cr-beaodi-01 DBD-mysql-4.022]$*
    Its urgent !
    Thanks in advance !

  • [ANN] XINS 2.0 Web Services framework released

    XINS 2.0 has been released.
    XINS is an open-source Web Services development framework.
    XINS accepts the following protocols: REST, SOAP, XML-RPC, XML, Yahoo! JSON and JSON-RPC.
    From the specification of the API written in simple XML, XINS generates:
    * Documentation of the specifications and implementations in HTML and OpenDocument format
    * Test forms, for testing your applications with a browser
    * Client-side Java code, supporting load-balancing, fail-over and time-out handling
    * Server-side skeleton
    * Web application (WAR file), compatible with servlet containers
    * WSDL, for SOAP-interoperability
    * SMD, for the Dojo toolkit
    * Unit test code, based on JUnit
    * Stubs, typically used for testing
    The 2.0 release adds the following features:
    * New protocols: Yahoo! JSON (with callbacks) and JSON-RPC (1.0 and 1.1)
    * Import of WSDL and XML Schema.
    * WSDL and SMD meta functions
    * Better integration with the Spring Framework, the Dojo toolkit and GWT
    * Examples with REST implementation, implementation in Groovy and with Dojo toolkit
    Links:
    * Web site: http://xins.sourceforge.net/
    * Features: http://xins.sourceforge.net/features.html
    * Demo: http://xins.sourceforge.net/demo.html
    * User guide: http://xins.sourceforge.net/docs/
    * Primer: http://xins.sourceforge.net/primer.html

    XINS 2.0 has been released.
    XINS is an open-source Web Services development framework.
    XINS accepts the following protocols: REST, SOAP, XML-RPC, XML, Yahoo! JSON and JSON-RPC.
    From the specification of the API written in simple XML, XINS generates:
    * Documentation of the specifications and implementations in HTML and OpenDocument format
    * Test forms, for testing your applications with a browser
    * Client-side Java code, supporting load-balancing, fail-over and time-out handling
    * Server-side skeleton
    * Web application (WAR file), compatible with servlet containers
    * WSDL, for SOAP-interoperability
    * SMD, for the Dojo toolkit
    * Unit test code, based on JUnit
    * Stubs, typically used for testing
    The 2.0 release adds the following features:
    * New protocols: Yahoo! JSON (with callbacks) and JSON-RPC (1.0 and 1.1)
    * Import of WSDL and XML Schema.
    * WSDL and SMD meta functions
    * Better integration with the Spring Framework, the Dojo toolkit and GWT
    * Examples with REST implementation, implementation in Groovy and with Dojo toolkit
    Links:
    * Web site: http://xins.sourceforge.net/
    * Features: http://xins.sourceforge.net/features.html
    * Demo: http://xins.sourceforge.net/demo.html
    * User guide: http://xins.sourceforge.net/docs/
    * Primer: http://xins.sourceforge.net/primer.html

  • Which is the BEST Java Web Service Framework to use?

    Hi all,
    I'm a beginner to Web Services.
    I am planning to implement java web services to make the communication between java(Tomcat Server) and C# client.
    I found list of web service frameworks like,
    1. Apache Axis,(POJO,Axiom)
    2. JSON-RPC,
    3. Java Web Services Development Pack ,
    4. Web Services Invocation Framework,
    5. Xfire,
    6. XML Interface for Network Services. ...
    Please do reply me that which web service framework will be efficient to use.

    But, I want to know which Framework will provide
    better performance?
    better than what?
    Also I want to develope the web service as a standard
    one andeach has it's own quircks and implementation details. Each should be able to generate and accept the same SOAP messages though if you implement them properly.
    It should be able to provide bulk data exchange.
    That will depend in large part on your hardware.
    Please suggest a web service framework
    (Java-based) which will give better performance.again, better than what?
    Better than messenger pidgeons?
    Better than swallows (European or African)?
    And if so, how heavy would the message capsule be? 2 swallows may be able to carry a coconut together, holding it on a piece of string.

  • Which is best web service framework for developing web services in Java?

    Hi Friends,
    I want to develop web services using Java 1.5.
    But I am in confusion with different frameworks provides to develop WS.
    Like
    1) Apache axis
    2) Java Web Service dev. Pack
    3) JSON-RPC-Java
    4) Web Ser. Invocation Pack
    5) XFire
    Can some one guide which framework should I use?
    OR where will i get useful comparison between this frameworks?

    Hi,
    Personally I have used:
    1. XFire
    2. Apache Axis
    3. Java Web Service Pack
    My personal opinion / .02 cents?
    1. XFire is awesome and very easy to set up and get running. They also have a great community / mailing lists. We use it in some production systems and it runs great.
    2. Apache AXIS 1/2 made me want to dive out the window and go splat just short of the double yellow line on the road. Pain in the butt to set up and get running. Way too complex. Really bad docs / tutorials / support.
    3. Java Web Service Pack - I really prefer NetBeans 5.5 and the JWSP. Easy to build services, cohesive enviroment. You can get the job done.
    That's my two cents.
    M Goodell

  • Is it usefull syncronized method in session bean?

    hi all
    I know that each time I call a session bean my appllication server create one instance.
    So i wonder if it's a wrong idea declaring each session bean methods syncronized.
    Regards

    It's generally not a good practice to call your business classes directly from javascript.
    But you can place a mediator (business delegate) java class inbetween and can access the session bean instead.
    To access any java class using ajax, you may need a remoting library like DWR or JSON-RPC.
    These libraries offer very powerful and easy way to use ajax in your application.
    But if you want a more simpler solution, then have a look at libraries like "ajax4jsf" or "ajaxanywhere".

  • Distrib -e "Arch(org|code|pkgs|aur|forum|wiki|bugs|.*)?" -- thoughts

    design the output of every tool we use to look like merge-able chains in a DSCM.
    this is something i've been thinking about long before i came to Arch.  i want to see next-generation package/configuration/change management in a distributed distribution.
    I am familiar with git, and most of what i have tried is relating with it; however. it's only because i know much about it.  other possibilities would be bazaar?/mercurial/fossil/etc.  i like fossil; i have not tried it but it looks closest to what i want to achieve.  i don't think it could scale to the levels we'd need however.
    ASSERTIONS
    ) all PKGBUILD are DSCM (git/?) based
    ) bugs should ride along with software, and be merge-able when branches merge
    ) cryptographic signatures for each user
    ) wiki for each software
    ) forum "channels" for each software
    ) P2P sharing of SCM (blobs/trees/commits in git) units
    ) P2P sharing of common SCM (packs in git) pack
    ) P2P sharing of user configs and ABS build trees; each user may host their own binary/source repo, and sign their packages)
    ) P2P and distribution are good
    essentially, everything is a branch/tree and we use facilities of DSCM with a P2P layer above.  the arch servers could become another node in the system and a long term record keeping peer.  others could add servers.  you could open the wiki/bugs/etc offline, in a web browser, and merge later.  when you edit your PKGBUILDS, they can be forked by others and improved, maybe pushed to the core/community repos.  official repo builds could be signed by an official Arch GPG key.  bring everything as close to source as possible, and spread it out.
    this is completely brainstorming right now, but i have done some tricky cool stuff with git.  i want to keep all/most of the logic/information withing the git DAG (commit graph).  i think we could do neat stuff with the git index, git grafts, and several operations could safely be done in parallel.  we could do mapreduce type calculations on the "ArchNet" to get crazy statistics and visualizations.
    i intend to actually build something soon-ish-awhile.  right now im working on an app that can produce 3D visualizations in VPython from any kind of input stream... i want to hook that kind of stuff up and visualize the arch/linux/gnu/buzz.
    another offshoot project for me was to use VPython (that app is really fun) to navigate and manipulate git repositories in real time.  imagine visualizing your system in 3D while working on it.  like a 3D admin panel where you overlay others configs and entire systems on to your own to see what changes/etc. DSCM can do this.
    thoughts?  what other kinds of things could we do if everything Arch behaved like a P2P super-repository?
    Last edited by extofme (2010-02-14 01:34:37)

    Anntoin wrote:Some interesting ideas. But you need to start small first and make a proof of concept before you try and tackle everything. A detailed plan of how packages are handled and a basic implementation would be a start for example (still not a small job though), then testing the behaviours that you are interested with that framework. You have an idea where you want to go with this but you will need to focus on a few core features and show their benefit before anyone will consider this.
    ah yes of course.  the first step is getting a distributed index, and a "package" format (packages become fuzzy items, below/above); this will be realized in the form of:
    "AUR3 [aur-pyjs] implementation in python (pyjs) + JSON-RPC"
    https://bbs.archlinux.org/viewtopic.php?pid=823972
    i have a package in the AUR for that [aur-pyjs], but it's old as i haven't been able to update in awhile, and won't be until i secure a development job in my new city (next week hopefully).  aur-pyjs will be built on top of the concepts i have outlined in this thread, and will in time become prototype.  check it out; pretty neat even though it can't do much yet :-).  soon though, i will update the package, and it will then be able to run as a native python desktop app (pyjamas allows the same code to run as a website or a desktop app).  at that point, it will be trivial to implement connectivity to the old AUR/repos, and we will in effect have a pacman+aur replacement.  from there i will tackle bugs+forum, of which there are already several implementations on top of DSCM sub-systems to research and learn from.
    stefanwilkens wrote:
    Dieter@be wrote:Interesting ideas, I think i like them.
    but trying to store too many big files (ie package files) inside a VCS seems like a bad idea.  space requirements will be much bigger then what we have now, unless you make the VCS "forget" about older versions or something...
    mostly this.
    the base of what you're proposing is a tremendous amount of data that would never be touched after a new version is released, how do your suggestions fit the rolling release model. Especially relatively large packages updated with high frequency (nvidia binary drivers, for instance) could cause the space requirement to increase rapidly unless moderated.
    packages are not stored in the DSCM, their contents are.  the package itself is simply a top-level tree object in git, linking to all other trees and blobs comprising the package state, and a reference to said tree.  this means everything and anything that is common between _any_ package and _any_ version will be reused; if ten unrelated packages reference the same file, only one copy will ever exist; blobs are the same.  however, some packages may indeed create gigantic, singular blob type objects that always change, and this will be addressed (next...).
    git compresses the individual objects itself, in gz format; this could be changed to use the xz format, or anything else.  it also generates pack files full of differentiated objects, also compressed. it would not always be necessary to have the full history of a package (if you look somewhere above, i breifly touch this point with various "kinds" of packages, some capable of source rebuild, some capable of becoming any past source/binary version, some a single version/binary only, etc.).  you would not have to retain all versions of "packages" if you did not want, but you could retrieve them at anytime so long as their components existed somewhere on the network.  servers could be set up to provide all packs, all version, effectively and automatically performing the intended duty of the "arch rollback machine".  the exact mechanism is not defined yet, but it will likely involve some sort of SHA routing protocol, to resolve missing chunks.
    git's data model is stupid simple; structures can be created to represent a package, it's history, it's bugs/status, and it's information (wiki/etc.), in an independent way so they do not depend on each other, but still relate to each other, and possess knowledge of how to "complete" and find each other.  it will not be structured in the typical way git is used now.  unfortunately this is very low level git stuff, and difficult to explain properly, so i won't go there; just know that ultimately the system will only pull the objects you need to fulfill the directive you gave it, and there will be rules to control your object cache.  your object cache can then be used to fulfill the requests of others; ie. P2P.
    since git itself is in a rather poor state when it comes to bindings, i will be using the pure python git library, dulwich, instead.  while in time this could be changed to use proper bindings, or some bits written as C modules, it's possible pypy will make all that unnecessary.  i don't need anything git core offers except its data structures and concepts; although, i intend to make the entire system (adding bugs/updating packages/editing wiki/editing forum/etc.) _completely_ 100% accessible from a basic git client.  for example, you could write a post in the forum by "committing" to a special branch; you could search the entire wiki, and its history from the terminal while installing; you could add a bug, and link a patch to it, directly usable and buildable by others for testing; this could all be done offline, and pushed once a connection was available... this will lead to all sorts of interesting paths...
    in one super run-on sentence:
    i intend to construct a "social", 100% distributed distribution platform, where everyone is a [potentially] contributing node and has [nearly] full access to all informations, each node's contributions are cryptographically verifiable, each node may easily participate in testing/discussion or lend computing resources, each node may republish variations of any object or collection under their own signature, each node may "track" or "follow" any number of signatures with configurable aggressiveness (no such thing as "official repos"; your personal "repo" is the unique overlay of other nodes you trust, and by proxy some nodes they trust; "official repos" degrade into an Arch signature, a Debian signature, Fedora, etc.), and finally, do all of this is a way that is agnostic to the customized distribution (or other package managers) above it, or it's goals, and eventually spread to other distros, thus creating a monstrous pool of shared bandwidth, space, ideas, and workload, whilst at the same time converging user/developer/tester/vendor/packager/contributor/etc. toward: person.
    piece of cake
    C Anthony
    Last edited by extofme (2010-09-11 05:23:46)

  • Has anyone implemented JavaScript Object Notation in LabVIEW?

    Hi Guys,
    I was looking at writing an application using JSON-RPC
    http://en.wikipedia.org/wiki/JSON-RPC
    Has anyone implemented something similar, or are there any examples of this?
    I was going to write it with TCP VIs, and use string parsing to work through any responses, but if anyone had some advice, it would be appreciated.
    Cheers,
    Anthony

    Anthony,
    This sounds like a very interesting project and I would like to hear how it goes for you.
    You can of course choose to implement a JSON-RPC system using either TCP or HTTP as the transport. TCP would give you a potentially more responsive system but you would have to implement much more of the system from scratch as it were.
    As LaRisa_s was saying, if LabVIEW 8.6 is available to you, you can take advantage of the Web Services feature which will do a lot of the work for you. Your VI that runs as a web service would have to parse the data sent from the client to determine the correct VI to call and then convert the parameters and call the VI.
    You are completely correct that there is no direct support for JSON-RPC. We evaluated several Web Service and RPC mechanisms before deciding on RESTful web services for LabVIEW 8.6. In fact, if you have LV8.6 and JSON-RPC isn't a hard requirement, I would strongly recommend looking at using the RESTful mechanism that is built in. If you can use it then much less work will be required of you on the server side of your application.
    If you do need to go with JSON-RPC I would be interested to hear what factors went into the decision so we can improve LabVIEW's built in web services.
    Either way- let us know how your project goes.

  • ICloud email not connecting.

    Hi,
    I am unable to send/recieve any @mac.com emails through Apple Mail, my iPhone, and through iCloud.com. I have, long ago, transitioned to iCloud since we were first allowed and just ran into this problem.
    I have two accounts set up through Apple Mail, my @mac address and an Exchange email for my work. The Exchange account is able to send/receive through Apple Mail, my iPhone and through the Exchange web site. No problems with the Exchange account
    My @mac address is unable to connect to the server. The last email I recieved was about 5 hours ago at 5:22 am PDT. I first noticed it on my iPhone when it kept asking me to enter my password. Then when I launched Apple Mail on my desktop I get a dialog box asking me to enter password for the .Mac Account. It also says that the MobileMe IMAP server "p99-imap.mail.me.com" rejected the pasord for my account. When I enter the password, the same dialog box pops up.
    However, I am able to sign into iCloud.com and check my calendar, address book, Find My iPhone and iWork. But I cannot connect to Mail through iCloud.com. It tries to load the mail page but returns a dialog saying that it cannot and asks whether or not I want to send a report to Apple.
    I have tried changing my password thru the My Apple ID support page and I am still having this problem. I can access all iCloud services except for Apple Mail.
    Can anyone help? Thanks for taking the time.
    Tom

    I'm having the same. Cannot read mail on Icloud.com, it gives me an error (í'll try to post it here), and on Macbooks, iphones, macpros is giving "wrong login or password".  Tried to connect from anoter WiFi network, even from 3G. Nothing. All services shown OK on icloud service page.
    The error on icloud.com is:
    ORIGIN
    server
    TYPE
    error
    BUILDNUMBER
    1I44
    TIME
    Fri Mar 16 2012 22:27:40 GMT-0300 (BRT)        (1331947660714)
    HOST
    www.icloud.com
    USERAGENT
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.54.16 (KHTML, like Gecko) Version/5.1.4 Safari/534.54.16
    DSID
    88978894
    PRSID
    88978894
    RECENTLOGMESSAGES
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: MAIL in main()
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: -->  Request 1:   POST to https://p99-mailws.icloud.com:443/wm/preference?dsid=88978894,  headers: Content-Type=text/plain,  body: (omitted)
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: ----------------> Request out: /wm/preference-list-->1331947651287/1
              wmsid: 95
              params: {"locale":"pt-br","timeZone":"America/Recife"}
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: SC.Object:sc1117:dispatch('load content')
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: "2.0 Waiting for Content" handled event 'load content' (no transition)
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: SC.Object:sc2495:dispatch('noContent')
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG:   "6.2 pop up View" handled event 'noContent' with a transition to "6.2.2 No Content"
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG:     -> entering "6.2.2 No Content"
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: SC.Module: Attempting to load 'addresses'
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: SC.Module: Module 'addresses' is not loaded, loading now.
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: SC.Module: Loading JavaScript file in 'addresses' -> '/applications/mail/frameworks/addresses/pt-br/1I44/javascript.js'
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: SC.Object:sc3395:initStatechart()
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: -> entering "9 Address List Not Visible"
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: ContactsAutocomplete name order preference set: 'first,last'
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: -->  Request 2:   GET to https://p03-contactsws.icloud.com:443/co/addressbook/?order=last,first&locale=pt _BR&dsid=88978894,  headers: Content-Type=text/plain,  body: (omitted)
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: SC.Module: Module 'addresses' finished loading.
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: SC.Module: Evaluating and invoking callbacks for 'addresses'.
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: SC.Module: Module 'addresses' has completed loading, invoking callbacks.
    Sat, 17 Mar 2012 01:27:31 GMT:  DEBUG: APPLICATION: Received applicationWillBecomeActive
    Sat, 17 Mar 2012 01:27:32 GMT:  DEBUG: <--  Response 2:  200  (488ms, suspended for 607ms),  headers: Cache-Control=no-cache, no-store, private, Content-Type=application/json; charset=UTF-8  body: (omitted)
    Sat, 17 Mar 2012 01:27:32 GMT:  WARN:  APPLICATION: Received applicationDidBecomeActive
    Sat, 17 Mar 2012 01:27:34 GMT:  DEBUG: <--  Response 1:  200  (3641ms),  headers: Content-Type=application/json-rpc; charset=UTF-8  body: (omitted)
    Sat, 17 Mar 2012 01:27:34 GMT:  DEBUG: <---------------- Request in: /wm/preference-list-->1331947651287/1,httpStatus: 200,round trip time: 3642ms, wmsid: 95
    Sat, 17 Mar 2012 01:27:34 GMT:  WARN:  Empty SENT folder guid
    Sat, 17 Mar 2012 01:27:34 GMT:  WARN:  Invalid TRASH folder guid: Deleted Messages
    Sat, 17 Mar 2012 01:27:34 GMT:  DEBUG: SC.Object:sc1117:dispatch('load content')
    Sat, 17 Mar 2012 01:27:34 GMT:  DEBUG: -->  Request 3:   POST to https://p99-mailws.icloud.com:443/wm/folder?dsid=88978894,  headers: Content-Type=text/plain,  body: (omitted)
    Sat, 17 Mar 2012 01:27:34 GMT:  DEBUG: ----------------> Request out: /wm/folder-list-->1331947654991/2
              wmsid: 95
    Sat, 17 Mar 2012 01:27:34 GMT:  DEBUG: "2.0 Waiting for Content" handled event 'load content' (no transition)
    Sat, 17 Mar 2012 01:27:35 GMT:  DEBUG: SC.Module: Prefetching module 'cloudkit/error_catcher'.
    Sat, 17 Mar 2012 01:27:35 GMT:  DEBUG: SC.Module: Loading CSS file in 'cloudkit/error_catcher' -> '/applications/mail/frameworks/cloudkit/error_catcher/pt-br/1I44/stylesheet.css '
    Sat, 17 Mar 2012 01:27:35 GMT:  DEBUG: SC.Module: Loading JavaScript file in 'cloudkit/error_catcher' -> '/applications/mail/frameworks/cloudkit/error_catcher/pt-br/1I44/javascript-str ings.js'
    Sat, 17 Mar 2012 01:27:35 GMT:  DEBUG: SC.Module: Module 'cloudkit/error_catcher' finished loading.
    Sat, 17 Mar 2012 01:27:35 GMT:  DEBUG: SC.Module: Module 'cloudkit/error_catcher' was prefetched, not evaluating until needed.
    Sat, 17 Mar 2012 01:27:38 GMT:  DEBUG: <--  Response 3:  200  (3252ms),  headers: Content-Type=application/json-rpc; charset=UTF-8  body: (omitted)
    Sat, 17 Mar 2012 01:27:38 GMT:  DEBUG: <---------------- Request in: /wm/folder-list-->1331947654991/2,httpStatus: 200,round trip time: 3252ms, wmsid: 95,104,no imap connection
    Sat, 17 Mar 2012 01:27:38 GMT:  DEBUG: FolderDataSource.localFetchResponse error = 104/no imap connection
    Sat, 17 Mar 2012 01:27:38 GMT:  DEBUG: SC.Object:sc1117:dispatch('propertyChanged')
    Sat, 17 Mar 2012 01:27:38 GMT:  ERROR: CoreMail handled error 11010 before exiting Mail
    Sat, 17 Mar 2012 01:27:38 GMT:  DEBUG: "2.0 Waiting for Content" handled event 'propertyChanged' with a transition to "2.1 Folder List Item"
    Sat, 17 Mar 2012 01:27:38 GMT:  DEBUG: <- leaving  "2.0 Waiting for Content"
    Sat, 17 Mar 2012 01:27:38 GMT:  DEBUG: -> entering "2.1 Folder List Item"

Maybe you are looking for