Client application for the KDE pastebin service

Hi all,
I am happy to share this tiny util with you all. Hope someone somewhere finds it useful.
http://lpapp.blogspot.ie/2013/10/release-cutepaste.html
Cheers,
Laszlo

Thanks for your reply Agyepong. Yes, it more looks like a missing jar issue, as I have all the beans in the deployment descriptor. But the annoying part is that the exception does not tell me which class was not found. Also, one jar that I know I have not included is ibmext.jar, could that be an issue. I just could not find this jar anywhere.
Thanks
-yogesh

Similar Messages

  • Missing applications for the SharePoint Web Services site in IIS

    We have SharePoint 2013 server farm and in one of the server missing service applications/virtual directories.
    Under IIS, “SharePoint Web Services" site including an Application Pool and SharePoint Web Services Root is available, but no applications for the SharePoint Service Applications, all applications (security token service, topology ..) virtual directories
    are missing/removed/deleted.
    Can we re-provision only service applications on local SharePoint server, local server only not in any other servers in the server farm?
    Thank You.
    -RK

    Hi RK,
    Please check if services has been started on this server via CA > System Settings 
    > Manager services on server > change server to the current one.
    Is there other application server in your farm? Please test the issue on other servers.
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • How to setup the client application for the RMI?

    Question:
    I write a short program of RMI It contain server and client
    if server and client are run on localhost they are running ok
    but run client application on remote machine it occure issuses.
    How to setup the client on remote machine?

    hello Dhanraj K, for gmail accounts there shouldn't be much manual configuration required. please try to set it up like described in [[Add an email account to the Mail app in Firefox OS]]

  • (261229964) Q RPCC-10 Where would a client application access the "waterworks.services.WaterUsage"  class?

    Q <RPCC-10> Where would a client application access the "waterworks.services.WaterUsage"
    package that it imports - and what is contained within it?
    A <RPCC-10> The WaterUsage interface is the remote interface for the stateless session
    bean that the RPC style web service uses for the business processing and it is included
    in the client.jar file for that RPC web service.

    Q <RPCC-10> Where would a client application access the "waterworks.services.WaterUsage"
    package that it imports - and what is contained within it?
    A <RPCC-10> The WaterUsage interface is the remote interface for the stateless session
    bean that the RPC style web service uses for the business processing and it is included
    in the client.jar file for that RPC web service.

  • Application for the post of an ORACLE DBA

    =================================================================
    ============
    ARUNKUMAR RAGHAVAN MSc,BEd,PGDMCH,(MBA)
    =================================================================
    ============
    CURRICULUM VITAE
    Covering letter
         From
    Arunkumar.R, email : [email protected],
    [email protected]
    No 16 /9 Nagendra nagar,
    Velachery main road, checkpost,
    Near jaya hospital,
    Chennai -600 042.
    Respected Sir / Madam,
    SUB : Application for the post of      
    ORACLE DBA / DBO - Reg
    I wish to submit the following few lines for your kind
    consideration.
    I feel more comfortable and satisfactory with this type of job
    as
    I am keen to serve as an employee of your esteemed organization,
    which has an intellectually stimulating and emotionally
    satisfying environment.
    I assure that, I will do my duty to the fullest satisfaction of
    my
    higher officials, colleagues and to the best of my knowledge and
    belief.
    I am attaching my CV, first 2 pages of my first book &#8211;&#8220;ORACLE
    ARCHITECTURE MADE EASY&#8221;, and a newsletter about Penta Media
    Graphics Ltd, my present employer.
    Expecting the favour of your earliest reply.
    Thanking you with respectful regard,
    Yours truly,
    (ARUNKUMAR.R)
    =================================================================
    ============
    CAREER OBJECTIVE
    1.     To be a dependable ORACLE DBA and to deploy an
    efficient DATA WAREHOUSE and DATA MART.
    2.     To write unique books on ORACLE DBA and DATA WAREHOUSING
    for enthusiastic learning
    Experience summary
    q     Five years and six months of overall experience in
    Software Industry.
    q     Over 24 months of work experience in the administering,
    and maintaining the Oracle Database of sizes 3 GB
    q     Training and authoring books, CBT&#8217;s,WBT&#8217;s for Oracle DBA
    and
    Data Warehousing .
    Technical skills
    Hardware               IBM PC, MAC
    Operating Systems          WINDOWS NT, 95/98/2K, MS-DOS,
    LINUX, MAC-OS
    RDBMS                    ORACLE 8I, DBASE, FoxPro,
    MSACCESS
    Internet Tools          HTML, IIS, FrontPage
    Responsibilities at PENTAMEDIA GRAPHICS LTD,
    (formerly known as PENTFOUR SOFTWARE EXPORTS LTD, SEI-CMM LEVEL
    4 COMPANY )
    1. Maintaining an "Oracle Pre-Production Database" of size 3 GB.
    2. In charge of the CBT's on Data Warehousing & ORACLE
    DBA.
    3. Installing and upgrading the Oracle server (Oracle 7.3,
    Oracle 8.0,
         ORACLE 8i,) and application tools.
    3.     Allocating system storage and planning future storage
    requirements
    for the database system.
    5. Creating Tablespaces for the different group of
    projects namely
         SOFTWARE, ENGINEERING, MANAGEMENT, and SCHOOL PROJECTS.
    6. Creating tables, views and modifying the database
    structure, as
         necessary, required by Project Leaders and Programmers.
    7. Enrolling users and maintaining system security and
    controlling and
         monitoring user access to the database.
    8. Backing up and restoring the database.
    Specific Achievements
    1. CBT's and WBT's authored (Reference:
    www.pentalearn.com )
    * Data Warehousing for beginners
    * Data Warehousing - Intermediate
    * Stepping into ORACLE DBA
    * ORACLE DBA - Security
    * ORACLE DBA - Backup & Recovery
    * Step by Step - ORACLE DBA
    * OCP GUIDE - Architecture & Administration
    Under Production
    * OCP GUIDE - Backup & Recovery
         2. Book's authored (Under compilation)
    * ORACLE ARCHITECTURE MADE EASY.
    * Learn ORACLE DBA in 23 days.
    4.     Knowledge of documentation and procedures for SEI CMM -
    ISO &#8211;
         QUALITY AUDITS.
    4. Academic Project - (Reference: [email protected])
    o Title           ORACLE QUESTION BANK
    o Outline           Training software for OCP
                   (Oracle Certified Professional)
    o Period           DEC 1998 - JAN 1999
    o Software           VB 5.0, M.S.ACCESS
         5. Awards :
    State first & district first in Vivekananda Academy
    of cultural
    Studies
    =================================================================
    ============
    Employment History
         1. Company Name           :     Pentamedia
    Graphics ltd
    Title          :     instructional designer
    Level           :     Senior Executive
    Specialization :     IT/Computer Systems/Software
    Function      :     Professional /
    Consultant / Specialist
    Industry :     Computer / Information
    Technology (Software)
    Date Joined :     12 oct 1999
    Duties           :     Responsible for CBT&#8217;s,
    WBT&#8217;s on DATA
                        WAREHOUSING & ORACLE DBA.
                        project guide for TEAM
    members.
                        Developed 5 training
    software.
                        Maintaining "ORACLE-
    PRODUCTION DATABASE"
                             of size 3GB.
    Reason for leaving:     working currently
    2. Company Name      :     S.A.International ltd
    Title           :     training officer
    Level           :     Senior Executive
    Specialization :     IT/Computer Systems/Software
    Function      :     Lecturer / Teacher /
    Trainer
    Industry :     Computer / Information
    Technology (Software)
    Date Joined :     08 Aug 1997
    Date Left      :     09 Sep 1999
    Duties :     At S.A.INTERNATIONAL LTD,(A joint
    venture company of ELCOT, GOVT OF TAMILNADU UNDERTAKING)
    Responsible for all training programmes.
                             Project guide
    for all college students.
                        Senior Faculty
    for "ORACLE DBA" classes.
    Accomplishment :     Wrote student guides on office
    2000                               and on ORACLE DBA
                        Developed 3 training
    software.
    Reason for
                   leaving      :     To get more
    experience on ORACLE DATABASE
                        MAINTENANCE
    3. Company Name      :     G.K.M.college of
    engineering & technology
    Title           :     lecturer
    Level           :     Junior Executive
    Specialization      :     Education
    Function      :     Lecturer / Teacher /
    Trainer
    Industry      :     Education
    Date Joined :     06 May 1996
    Date Left      :     09 Aug 1997
    Duties           :     Incharge of computer
    science department,
                        Conducting classes and
    all academic                                    
         activities.
    Accomplishment :     Wrote 2 student guides on office
    1997                                    and on
    ORACLE DBA.
    Reason for
                   leaving      :     To get more
    experience on ORACLE DBA
                        Activities
    4. Company Name      :     Infra computers pvt ltd
    Title           :     Asst.technical manager
    Level           :     Junior Executive
    Specialization :     Training & Development
    Function      :     Executive
    Industry      :     Computer / Information
    Technology
    Date Joined :     30 Apr 1995
    Date Left      :     06 Jun 1996
    Duties           :     Monitor the day to day
    operations of the
    SOFTWARE/HARDWARE SERVICE DEPARTMENT. Monitor the DEPARTMENT
    STOCK and cash flow position, Meeting executives for Business
    development activities
    Accomplishment :     Joined the Company since August 1994
    as Asst TECHNICAL MANAGER. Promoted to TECHNICAL MANAGER in july
    1996.
    Reason for
                   leaving      :     To study M.B.A
    (master business
                        Administration)
    ORACLE DBA SKILLS SELF EVALUATION FORM
    Oracle: SQL and PL/SQL Skills:          
                                       rate
    from
                                  0 = None
    through 5 = Guru
    Creating and maintaining database objects               3
    Store, retrieve, and manipulating data               3
    Create PL/SQL blocks of application code               1
    Familiarity with PL/SQL packages                    1
    Familiarity with PL/SQL tables and records          0
    Calling PL/SQL functions from within SQL statements     0
    Building reusable code                         
         0
    Crafting code that automatically adapts to changes     
         in data structures                         
         0
    Writing SQL inside PL/SQL programs               
         0
    Reading and writing operating system files          3
    Executing host commands and C programs               0
    Issuing database alerts                         
         1
    Analyzing memory utilization in your session          2
    Debugging and tracing program execution               1
    Manipulating raw data and large objects               1
    Building your own packages                    
         1
    Oracle Enterprise Manager Skills:               
                                       rate
    from
                                  0 = None
    through 5 = Guru
    Install Oracle Enterprise Manager                    5
    Administer and monitor Oracle database environments     5
    Oracle Enterprise Manager architecture               3
    Setup a console for your own environment               3
    Implement job and event based system management          3
    Understand the integration of shared administrator
         responsibilities                         
              3
         Tuning Pack                              
         1
    (which comprise Oracle Expert, Tablespace Manager
              and SQL Analyze)
    Diagnostic Pack                              
         0
    (which comprise Oracle Trace and Data Viewer,
         Performance Manager,
    Capacity Planner,and Top Sessions)
    Change Management Pack                         
         0
    (which comprise Database Alter, Capture, Diff,
         Propagate, Quick Change, and Plan Manager)
    Database Administration/ Backup and Recovery Skills:     
                                       rate
    from
                                  0 = None
    through 5 = Guru
    Familiarity with Oracle7 database environments          5
    Familiarity with Oracle8 database environments          5
    Set up, maintain, and troubleshoot database          4
    Plan and implement database backup and recovery
         strategies                              
              4
    Understanding of backup, restore and recovery
         operations                              
              4
    Oracle8 Recovery Manager                         4
    Network Administration Skills:                    
                                       rate from
                                  0 = None
    through 5 = Guru
    Familiarity with Oracle7 Server                    5
    Familiarity with Oracle8 Server                    5
    Familiarity with architecture of Net8               4
    Establishing connections between peers               5
    Client and a server node using various
         naming methods                              
         4
    Configuring middle tier systems                    0
    Familiarity with Names Server                    
         1
    Familiarity with Connection Manager               
         3
    Memory, I/O, physical structure and
    resource contention                         2
    Familiarity with dynamic performance views          4
    Familiarity with initialization parameters          5
    Familiarity with diagnostics and tuning guidelines     3
    Data Modeling and Relational Database Design Skills:     
                                       Arun's
    rate from
                                  0 = None
    through 5 = Guru
    Knowledge with entity-relationship models               2
    Knowledge of normalization and relational           
         database design                              
         1
    Defining business information requirements          3
    Creating entity-relationship models               
         3
    Transforming requirements into an initial
         database designs                         
              3
    Personal Strengths :
              INVOLVEMENT alone gives PERFORMANCE. With my
    spiritual base &
         MOTIVATION, I am confident that I will reach the
    pinnacle
    in the field of ORACLE DBA. I hope my right thinking &
    Hardworking nature will make me successful.
    Current Communication Address
              Address :     16/9, nagendra nagar, velachery
    main road,
                   near jaya hospital, chennai-42
                   chennai, 600042 India
    Tel [home]      :     91-44-2552406
    Tel [office]:     91-44-4839854
    Tel [mobile]:
         Email     :     [email protected],
    [email protected]
    Permanent Address
         Address      :     s/o N.Raghavan, laksminayackan
    patty(po)
                   thevaram(via), theni(dt), pin
    625530
                   laxminayakan patty,
                   625530 India
    Tel      :     91-4454-54739
    Email     :     [email protected], [email protected]
    Personal Particulars
    Date of Birth           :     05 Aug 1971
    Gender                :     Male
    Nationality           :     India
    Marital Status           :     married
         Permanent Residence of     :      India
              Passport Number          :     T465022
              Valid Upto                    Jan 2005
    EDUCATIONAL QUALIFICATION
    COURSE      UNIVERSITY/BOARD           Yr.of PASSING
         CLASS & %
    S.S.L.C      TAMILNADU SECONDARY           MAR 1986
         FIRST 85.40
    H.S.C      TAMILNADU HIGER SECONDARY     APR 1988
         FIRST 68.90
    B.Sc           MADURAI KAMARAJ UNIVERSITY      APR 1991
         FIRST 68.63
    (PHYSICS)      VIVEKANANDA COLLEGE
    M.Sc           MADURAI KAMARAJ UNIVERSITY     APR 1994
         FIRST 70.40
    (PHYSICS)
    BEd           MADURAI KAMARAJ UNIVERSITY      NOV 1995
         SECOND 52.20
    TECHNICAL QUALIFICATION
    COURSE           UNIVERSITY/INSTITUTION           Yr.of
    PASSING %
    PGDMCH#           St.JOSEPH'S COLLEGE           JULY
    1995 59.70
                   BHARATHIDASAN UNIVERSITY
    DPCS*           @ DOE & TC.T.S- NCVT TRADE      SEP 1996
    79.47
                   (AICTE^ APPROVED)
    # POST GRADUATE DIPLOMA IN MICROPROCESSOR AND COMPUTER
    HARDWARE
    * DATA PREPARATION AND COMPUTER HARDWARE
    @ DIRECTORATE OF EMPLOYMENT & TRAINING CRAFTSMEN TRAINING
    SCHEME
    ^ ALL INDIA COUNCIL OF TECHNICAL EDUCATION
    PROFESSIONAL
    TRAINING UNDERGONE
    Completed 'ORACLE DBA' Course at RADIANT SOFTWARE PVT LTD,
    WEST MABALAM,
    CHENNAI -33.
    Language Proficiency :
    Languages -          Proficiency (1=worst - 10=best)
                        Spoken               
         Written
    English          5                    6
    Tamil               9               
         9
    Supplementary
    If and when employed by the company
    Willing to Travel               :          yes
    Willing to be Relocated          :          yes
    Possess Own Transport     :          T465022 Valid
    Upto                    Jan 2005
    Expected Monthly Salary          :     
         Negotiable
    Availability               :     
         Immediately
    =================================================================
    ============

    Sorry, but according to Apple, iTunes Store: All Sales Are Final
    You can avoid accidental purchases.
    From the iTunes menu bar click iTunes / Preferences then select the Parental tab.
    Select:  iTunes Store
    Click OK.

  • Windows 7 very slow logon, Waiting for the User Profile Service, winlogon event 6006

    Hello,
    Every so often one of our Windows 7 clients which is not normally having any delay at logon will take a very long time to login. This may be 10 or 20 minutes or up to an hour in some cases.
    Typically the event log will contain entries like
    The winlogon notification subscriber <Profiles> took 572 second(s) to handle the notification event (Logon).
    There is no further information available from Event Log Online Help, nor any additional detail as to why the logon event was so slow. During the delay the user will just see "Waiting for the User Profile Service" on their screen.
    We first started seeing this problem with Windows Vista and if anything the situation has not improved since then. It has never happened with any of our Windows XP users.
    We are currently planning a migration of computers to Windows 7 but stuff like this which has not been resolved in Windows over a 2 year period will stall that migration. The least improvement is to increase the event notification to give a lot more
    information on why the user profile processing has stalled.

    Hi,
    When did the issue begin to occur? Did it occur after installing certain application or applying certain policy?
    To troubleshoot the issue, please perform the following step.
    1. Restart the machine in Safe Mode with Networking to check whether the system can login quicker.
    2. Type “gpedit.msc” in Search box and press Enter. Navigate to the following location:
    Computer Configuration->Administrative Templates->System->Logon
    Please double click “Always wait for the network at computer startup and logon” policy and disable it.
    3. Perform a
    Clean Boot to check the result.
    Thanks,
    Novak

  • Configuring the Destination URL for the Adobe Document Services

    hi all,
    I am going through the documentation for "Configuring the Destination URL for the Adobe Document Services " at :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/02/560f41ca73d349e10000000a1550b0/frameset.htm
    I am not able to understand 7th step
    <b>7.      Define the user name and password. To find out how to create the user name and password for the Adobe document services, see Creating a User for Basic Authentication in the document Adobe Document Services – Configuration Guide. You can find this guide in the SAP Service Marketplace under Quick Link /InstguidesNW04.</b>
    In our scenario
    <i>We are running NW04s SP11 on 2 machines
    1) <u>32-bit machine with ADS and credentials properly configured on Web AS for Java installation</u>
    <b>com.adobe  AdobeDocumentServices  null (710.20061024154505.342190)
    com.adobe  AdobeDocumentServicesEjbClientLibrary  null (705.20060407121920.289077)
    sap.com  SAP-JEE  7.00 SP11 (1000.7.00.11.0.20070201154700) 
    sap.com  SAP-JEECOR  7.00 SP11 (1000.7.00.11.0.20070201154700)
    com.adobe  DocumentServicesBinaries2  null (710.20060629085312.115621) 
    com.adobe  DocumentServicesConfiguration  null (710.20061024154505.342190) 
    com.adobe  DocumentServicesDestProtoService  null (710.20060821084105.325745) 
    com.adobe  DocumentServicesLibrary  null (710.20060629090137.115621) 
    com.adobe  DocumentServicesLicenseDatabase  null (705.20051005114147.242570) 
    com.adobe  DocumentServicesLicenseManager  null (710.20060929113452.336248) 
    com.adobe  DocumentServicesLicenseService  null (710.20060929113452.336248) 
    com.adobe  DocumentServicesLicenseSupportService  null (710.20060929113641.336248)
    </b>
    2) <u>64-bit machine with portal installation on Web AS for Java, with ESS and MSS</u>
    <b>sap.com/SAP-JEECOR  7.00 SP11 (1000.7.00.11.0.20070201154700)  20070308153304 
    sap.com/SAP-JEE  7.00 SP11 (1000.7.00.11.0.20070201154700)  20070308153213 
    sap.com  SAP_ESS  600 SP7 (1000.600.0.7.12.20070314050106)
    sap.com  SAP_MSS  600 SP7 (1000.600.0.7.4.20070321052655)
    sap.com  tc/wd/webdynpro  null (7.0009.20060804145649.0000) </b>
    </i>
    Why do we have to create a new user for the server which is consuming the web service? We already have an user "ADSUser" defined for the Web AS server which has ADS services deployed.
    I have opened this thread to solve the previous unanswered question I posted on SDN Empty area in place of Interactive form. .
    One more thing the adobe print forms of ESS [Total Compensation Statement and Salary Statement] are rendering properly, only the ones with Interactive ability or not.
    thanks,
    Sanketh

    Hello Sanketh,
    1. To access the NW04s configuration guide,
        - Go to https://service.sap.com/adobe
        - On the left frame (tree), under Adobe > Media Library > Documentation
        - On the right had pane you will find the link to the NW04s Configuration guide
    2. The link that you have mentioned below details the steps required to be carried out on the client machine that consumes the Adobe Document Services. In our case that is the j2ee engine on which your Web Dynpro application is running. It could be the same physical machine with two different j2ee instances hosting Web Dynpro and ADS or it could be two different physical machine or a single machine having a single instance of j2ee engine hosting both the Web Dynpro and the ADS.
    You do not have to create a separate username and a password on the consuming machine but you need to configure the Web Service client proxy to point to the ADS (maybe hosted on a different machine) with the username and the password created on the ADS server. As you have mentioned, you have already created such an user on the ADS (ADSUser). This user authentication on the client machine (consuming server - Web Dynpro) would be required at the runtime by the j2ee engine to authenticate itself with the ADS.
    Best Regards,
    Krish

  • The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

    Hi,
    Im trying to create a Rest WS with a @GET method that will return me an Emp object. I need the output as a JSON string.
    I have created a dynamic web project and added javax RS jars:
    When im trying to run this, i'm getting the below mentioned error:
    FlushResultHa E org.apache.wink.server.internal.handlers.FlushResultHandler handleResponse The system could not find a javax.ws.rs.ext.MessageBodyWriter or a DataSourceProvider class for the com.rest.assignment.EmpBean type and application/json mediaType.  Ensure that a javax.ws.rs.ext.MessageBodyWriter exists in the JAX-RS application for the type and media type specified.
    RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (500 - Internal Server Error)
    Please help as im stuck with this from long.
    Thanks in advance.
    Below is the code for my service class:
    package com.rest.assignment;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.util.Enumeration;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.ws.rs.GET;
    import javax.ws.rs.Path;
    import javax.ws.rs.Produces;
    import javax.ws.rs.core.Application;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
    @Path("/restService")
    public class RestService extends Application {   
        @GET
        @Path("/getEmpDetails")
        @Produces(MediaType.APPLICATION_JSON)
        public Response getStringResponse()
            EmpBean empBean = new EmpBean();
            String filePath = "C:/Program Files/IBM/workspace/HelloWorld/src/com/rest/resources/EmpData.properties";
            Properties properties = new Properties();
            try {
                properties.load(new FileInputStream(filePath));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
             Enumeration e = properties.propertyNames();
             String result="";
            String[] empDetailsArr;
            while (e.hasMoreElements()) {
              String key = (String) e.nextElement();
              String empDetails = properties.getProperty(key);
              empDetailsArr=empDetails.split(",");    
              empBean.setFirstName(empDetailsArr[0]);
              empBean.setLastName(empDetailsArr[1]);
              empBean.setEmpId(empDetailsArr[2]);
              empBean.setDesignation(empDetailsArr[3]);
              empBean.setSkillSet(empDetailsArr[4]);
              result = empDetailsArr[1];
            //return empBean;
            return Response.ok(empBean).type(MediaType.APPLICATION_JSON_TYPE).build();
        @Override
        public Set<Class<?>> getClasses() {
            Set<Class<?>> classes = new HashSet<Class<?>>();
            classes.add(RestService.class);
            classes.add(EmpBean.class);
            return classes;
    and my empBean goes like this:
    package com.rest.assignment;
    public class EmpBean {
        private String firstName;
        private String lastName;
        private String empId;
        private String designation;
        private String skillSet;
        public String getFirstName() {
            return firstName;
        public void setFirstName(String firstName) {
            this.firstName = firstName;
        public String getLastName() {
            return lastName;
        public void setLastName(String lastName) {
            this.lastName = lastName;
        public String getEmpId() {
            return empId;
        public void setEmpId(String empId) {
            this.empId = empId;
        public String getDesignation() {
            return designation;
        public void setDesignation(String designation) {
            this.designation = designation;
        public String getSkillSet() {
            return skillSet;
        public void setSkillSet(String skillSet) {
            this.skillSet = skillSet;
    Web.xml goes like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <display-name>restWS</display-name>
    <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
      <servlet-name>REST</servlet-name>
      <servlet-class>com.ibm.websphere.jaxrs.server.IBMRestServlet</servlet-class>
      <init-param>
       <param-name>javax.ws.rs.Application</param-name>
       <param-value>com.rest.assignment.RestService</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
      <servlet-name>REST</servlet-name>
      <url-pattern>/rest/*</url-pattern>
    </servlet-mapping>
    </web-app>
    When i try to return a string from my get method, it gives me a proper response. i get this exception when im trying to return a JSON response.

  • JBO-27122 error in ADF mobile client application for blackberry

    Hi,
    I am trying to develop a simple ADF mobile client application for blackberry. Currently, working only with Blackberry 9700 simulator. I am using the following for development:
    - Jdev 11.1.1.3
    - Oracle database lite 10.3.3
    I have done all the steps as given in the oracle demo. But when I try to run the application in blackberry simulator, the page shows the following error:
    ERROR: failed to change page
    oracle.jbo.server.DBTransactionImpl.createPreparedStatement: JBO-27122: SQL error during statement preparation. Statement: select po_header_id from po_headers_all where po_header_id=1
    [oracle.jbo.server.DBTransactionImpl.createPreparedStatement] Encountered exception executing query on ViewObject: header1
    [oracle.jbo.server.DBTransactionImpl.createPreparedStatement] Error retrieving BindingContainer : 'mobile_twoPageDef'
    oracle.adfnmc.java.sql.SQLException:
    oracle.adfnmc.java.sql.SQLException:net.rim.device.api.database.DatabaseException: select po_header_id from po_headers_all where po_header_id=1 : SQL logic error or missing database
    Unable to create/prepare native statement with SQL select po_header_id from po_headers_all from po_header_id=1
    Unable to create PreparedStatement with SQL select po_header_id from po_headers_all from po_header_id=1
    Please suggest what could have been wrong while developing or deploying the application.
    P.S. : The view object (header) shows data successfully when run in the application module. Also, a .db file gets created in the SD card folder. The synchronisation is a success when mSync.exe file is run in the <Oracle_Home>/Mobile/Server/Sdk/bin.

    Sorry my content got repeated.
    you can go through this thread FOD mobile db sync with base adf server db not working
    there is link that you can follow for synchronization (check second last message)
    Edited by: Nikhil Gokhale on Apr 17, 2011 3:55 AM

  • Known Issue while running Adobe Story desktop application for the first time on Mac OS 10.8

    You may encounter the following error message while running the Adobe Story desktop application for the first time on Mac OS 10.8:
    For resolution, please go to:
    http://helpx.adobe.com/story/kb/run-story-app-mac-os.html

    The /Developer directory contains the compiler(s) and various tools and libraries.
    Does your user account name really contain a single quote? If so, it looks like the quote is getting eaten by one of the build scripts, which is resulting in a file path that doesn't exist.

  • Can I use the SDK on a PC to develop applications for the iPad, iPhone, etc

    I was thinking about paying the $99 a year to join the developer program because I want to download the SDK and try creating applications for the iPhone and iPad; however, can you download the SDK and use it on a PC or does it require that you have a Mac in order to do development work? The xcode4 and interface builder feature looked rather nice but I didn't know if I were to sign up and download if it would all run on my PC (Windows 7)or not.

    It will not run under windows, and you need an Intel-based Mac running Snow Leopard to use it. Have you looked at the Mac Mini?
    http://store.apple.com/us/browse/home/shopmac/family/macmini?mco=MTQzMDMxODY

  • I just signed up for the New REVEL service and I need to know How do I download it to my Computer?

    i currently use ADOBE PHOTOSHOP ELEMENTS 9 to Download and Edit my Photos from my Camera.
    Now, I just signed up (under the Monthly Plan) for the New REVEL Service. How do I Download it to my Computer.
    My Computer uses the WINDOWS 8 Operating System.
    HELP,
    TOBY

    Hi Toby
    Welcome to Adobe Revel! You do not need to download anything right now. Currently on a PC you access Revel via adoberevel.com on a web browser.
    Here are some useful links for you that might speed up the learning curve. They show you how to do things in the browser version as well as Mac and iOS. PC users can not edit using adoberevel.com. The apps include editing. Since Elements versions prior to version 11 do not connect to Revel, you can save to your hard drive and upload to Revel from there.
    You can sign up to be notified when a Revel app is available for Windows and Android by going to http://www.photoshop.com/products/revel ….scroll down and look on the right side where it says "coming soon- Notify me" for windows or android. Click and you can sign up to be notified.
    In the coming months, we will expand Revel onto new platforms, devices, and file formats.
    Pattie
    SHARE
    FAQ: How do I share my photos in Revel?
    http://forums.adobe.com/thread/1295026?tstart=0
    UPLOAD
    FAQ: How do I add (upload) files to Revel?
    http://forums.adobe.com/thread/1162795?tstart=0
    DOWNLOAD
    FAQ: How Do I Download files from Revel?
    http://forums.adobe.com/thread/1166462?tstart=0
    EDIT
    FAQ: How do I edit photos in Revel?
    http://forums.adobe.com/message/5088287#5088287
    DELETE
    FAQ? How do I delete a file in Revel?
    http://forums.adobe.com/thread/1162793?tstart=0

  • Service billing for the material and service registers

    Dear All,
    I have doubt, if i do a sale of material 'X' and for the same material if i have to do a service invoice for rendering some service at the customer end. eg:- service charges for transportaion of the material to the customer place, doing installation charges for the material at the customer end etc.,
    how should i go about it in SD .
    A. Should i have to create a seperate mm master record for the list of service with the item category group LEIS
    B. or is it possible to do a service invoice with out creating a sales order i.e directly based on the billing of the material 'x'
    C. Is there any service tax register standard available. or if i wanted to create a service master should i have to ask the abaper to develop a z program for it
    d. is this tcode can be used S_ALR_87012357 for service tax registers?
    kindly update me on this
    thanking you in advance
    kumi

    Hi
    You need to create a material with item category group
    a) LEIS (Service without Delivery) or
    b) DIEN (Service with Delivery)
    Based on the same you could bill the customer.
    ... Please.
    with kind regards
    Sundar

  • Has anyone submitted a successful application for the up-to-date program?

    has anyone submitted a successful application for the up-to-date program? I submitted my application 2 days ago and when I log on it's still under review.  Has anyone had difficulty with this? When they finally get back to me am I likely to be offered iworks? - I've fulfilled all criteria, I just wonder whether they expect me to jump through any more hoops

    Change your Mac's System Preferences to English and go to the Mac App Store and you should see it for free.
    Otherwise see the Apple Up-To-Date Program:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=429&mforum=iworktips ntrick
    Peter

  • I used my iPhone maps it works very well. Is there an application for the iPad that could be used on a boat?

    I used my iPhone maps it works very well. Is there an application for the iPad that could be used on a boat?

    Indeed :-)
    This forum is riddled with questions by users that cannot get their computer to do what they want, *despite* the fact they use a very precise and (usually) unambiguous method of telling it want they want it to do -- a programming language. Making it comprehend *natural* language is, by any way of measuring, a number of degrees more difficult.
    That said: in what way would a computer program (advanced or "dumb") be able to help the OP? Spell check is one -- but it's not a *fact* that anything written *badly* equals nonsense. In politics, for example, the most eloquent speakers still manage to make a fool of themselves :D The same goes for "grammar". Of course, bad grammar is more difficult to understand -- EVEN for a human. So a computer is bound to fail on that as well.
    Fact checking then? I usually can't even find what I want in one go with Almighty Google (which seems to turn things around: if it cannot find "enough" web pages with the exact phrase you asked it, it automatically assumes you are interested in synonyms, antonyms, homonyms, and other *unrelated* stuff! Yeah THANK you but I want to find what I typed in!)
    A good starting point would be to define in more detail what this hypothetical software *ought* to do -- that needs to be a bit more concrete than "I want it to do my job for me."

Maybe you are looking for

  • ALL peripherals do not work. No usb,displayport,ethernet

    I've tried to find a similar thread but each one seems to be item specific and not all.  My problem seems to be all peripherals (anything that plugs in the back) do not appear to be functioning.  The unit turns on and off, that's it. I have a 3,1 mac

  • Strange issue with Lync 2013 Front end pool and UC Endpoints.

    I have two servers in a Lync Pool. S1 and S2.  I also have an ACD server that has Trusted endpoints within Lync. With both servers running, if a call is answered by S2 there are a bunch of weird delays in transfers.  IF I shut down S2, everything wor

  • Finding column name in database

    Hi all.. I want to find each column name, how many tables this column name is there in database. For single colum, i can find by using this query.. select a.COLUMN_NAME, a.TABLE_NAME from all_tab_columns a where a.OWNER='DC_ERD' and a.COLUMN_NAME ='A

  • Transports in XI and Client Proxies

    Hi All, I had to transport XI Contents from Dev to Qua. I had 2 different SLD's. so what do i need to transport in SLD? CR,LD,NR or All I had created Proxies in $TMP package in sender system. How do i transport them? Thanks in Advance, Sriram

  • Is it worth installing ios7 on my 8gb iphone4.

    Currently using ios5 because I fear if I upgrade it will take up the precious free space I have left for music.