Cannot find JavaDoc for the com.sun.msv package

Where can I find the JavaDoc for the com.sun.msv package ?

What is the msv package? I also (after a quick google search) can't find any mention of this.
What is the package for?

Similar Messages

  • IDM with SQL server Error: Cannot find columns for the table...

    Hi all,
    I am Configuring IDM with SQL Server repository and ran into this error.
    'Cannot find columns for the table 'object'
    .....jdbc...[SQL Server]Invalid object name 'object'
    Can anybody please help me!!
    G

    Yes, permissions are very important. I ran into a similar problem because I didn't have the correct permissions. Make sure the user has the following permissions:
    CREATE ANY TABLE
    ALTER ANY TABLE
    DROP ANY TABLE
    CREATE ANY PROCEDURE
    EXECUTE ANY PROCEDURE
    DROP ANY PROCEDURE
    Also, make sure there is enough space in the default tablespace of that user.
    HTH
    ~Suvesh

  • [svn:fx-trunk] 15779: * Package and class level javadoc for the flex2. compiler.mxml package

    Revision: 15779
    Revision: 15779
    Author:   [email protected]
    Date:     2010-04-27 20:19:48 -0700 (Tue, 27 Apr 2010)
    Log Message:
    Package and class level javadoc for the flex2.compiler.mxml package
      and subpackages.
    QE notes:
    Doc notes:
    Bugs:
    Reviewer: Corey (post commit)
    Tests run: checkintests
    Is noteworthy for integration: NO
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/AbstractGenerator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InvalidStateAttributeUsage.j ava
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InvalidStateSpecificValue.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MXMLNamespaces.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlCompiler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/HTTPServiceAnalyzer .java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/RemoteObjectAnalyze r.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/SyntaxAnalyzer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/WebServiceAnalyzer. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AnonymousObjectGraph Builder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ArrayBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/DocumentBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/HTTPServiceBuilder.j ava
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/InlineComponentBuild er.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ModelBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/PrimitiveBuilder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/RemoteObjectBuilder. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ServiceRequestBuilde r.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/VectorBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/WebServiceBuilder.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLListBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/Analyzer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/AnalyzerAdapter.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ArgumentsNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ArrayNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/BindingNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/BooleanNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/CDATANode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ClassNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DeclarationsNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DefinitionNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DesignLayerNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/DocumentNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/FunctionNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/HTTPServiceNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/InlineComponentNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/IntNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/LayeredNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/LibraryNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/MetaDataNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/MethodNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ModelNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/Node.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/NumberNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/OperationNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/PrimitiveNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/PrivateNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/RemoteObjectNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ReparentNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/RequestNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/ScriptNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/StateNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/StringNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/StyleNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/SyntaxTreeBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/UIntNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/VectorNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/WebServiceNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/XMLListNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/XMLNode.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/XercesClassLoader.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/CodeFragmentList.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/DescriptorGenerator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/StatesGenerator.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/TextGen.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/VelocityUtil.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/AttributeHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/BindingHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/ChildNodeHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/DeclarationHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/FrameworkDefs.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/NodeTypeResolver.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/TextParser.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/TypeCompatibility.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/ValueNodeHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Assignable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Deprecated.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/DynamicProperty.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Effect.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/ElementTypeNotFound. java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Event.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Inspectable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Property.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Style.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Type.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/TypeTable.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Array.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/BindingExpression.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/DocumentInfo.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/EventHandler.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/LineNumberMapped.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Method.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Model.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MovieClip.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Operation.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/StatesModel.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/VariableDeclaration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/Vector.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/InitializedProperty Declaration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/PropertyDeclaration .java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/UninitializedProper tyDeclaration.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ArrayElementInitial izer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/DynamicPropertyInit ializer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/EffectInitializer.j ava
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/EventInitializer.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/Initializer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/NamedInitializer.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/StaticPropertyIniti alizer.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/StyleInitializer.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/ValueInitializer.ja va
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/VisualChildInitiali zer.java
    Added Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/dom/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/decl/package.html
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/init/package.html
    Removed Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/reflect/Parameter.java

  • [svn:fx-trunk] 15741: * Package and class level Javadoc for the flex2. compiler.media package.

    Revision: 15741
    Revision: 15741
    Author:   [email protected]
    Date:     2010-04-26 22:43:03 -0700 (Mon, 26 Apr 2010)
    Log Message:
    Package and class level Javadoc for the flex2.compiler.media package.
    QE notes:
    Doc notes:
    Bugs:
    Reviewer: Corey (post-commit)
    Tests run: checkintests
    Is noteworthy for integration: NO
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/AbstractTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/DataTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/FontTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/ImageTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/JPEGTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/LosslessImageTranscoder.jav a
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/MovieTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/SVGTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/SkinTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/SoundTranscoder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/XMLTranscoder.java
    Added Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/media/package.html

  • Please assist: NoClassDefFoundError: com/sun/msv/datatype/xsd/IntType

    Hi,
    I've developed a very simple schema and used jaxb of jwsdp-1.2 to generate the related data model.
    After that, I created a number of generated objects, and marshaled them out to an XML file. It worked perfectly, however, after making some unrelated changes, I've come back and re-ran the generation, only to see it fail. I'll post the details below, any help or guidance will be truly appreciated. Thanks in advance!
    Schema:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="database" type="DatabaseType"/>
    <xsd:complexType name="DatabaseType">
         <xsd:sequence>
              <xsd:element name="name" minOccurs="0" type="xsd:string"/>
              <xsd:element name="card" minOccurs="0" maxOccurs="unbounded" type="CardType"/>          
         </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="CardType">
    <xsd:sequence>
    <xsd:element name="id" minOccurs="0" type="xsd:int"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    Stack Trace:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/msv/datatype/xsd/IntType
         at com.sun.xml.bind.DatatypeConverterImpl.printInt(DatatypeConverterImpl.java:252)
         at javax.xml.bind.DatatypeConverter.printInt(DatatypeConverter.java:393)
         at com.zzz.generatedObj.impl.CardTypeImpl.serializeElementBody(CardTypeImpl.java:323)
         at com.zzz.generatedObj.impl.runtime.SAXMarshaller.childAsElementBody(SAXMarshaller.java:378)
         at com.zzz.generatedObj.impl.DatabaseTypeImpl.serializeElementBody(DatabaseTypeImpl.java:103)
         at com.zzz.generatedObj.impl.DatabaseImpl.serializeElementBody(DatabaseImpl.java:43)
         at com.zzz.generatedObj.impl.runtime.MarshallerImpl.write(MarshallerImpl.java:161)
         at com.zzz.generatedObj.impl.runtime.MarshallerImpl.marshal(MarshallerImpl.java:134)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:66)
         at com.zzz.CardLoader.main(CardLoader.java:134)
    And to look at the CardSerializeCode:
    public void serializeElementBody(com.zzz.generatedObj.impl.runtime.XMLSerializer context)
    throws org.xml.sax.SAXException
    if (has_Id) {
    context.startElement("", "id");
    context.endNamespaceDecls();
    context.endAttributes();
    try {
    //HERE IS THE LINE IT DISLIKES-->>
    context.text(javax.xml.bind.DatatypeConverter.printInt(((int) _Id))); //this is the line it dislikes <--- <---
    } catch (java.lang.Exception e) {
    com.zzz.generatedObj.impl.runtime.Util.handlePrintConversionException(this, e, context);
    context.endElement();
    I'm running:
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
    Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
    on Linux.
    Thanks again!!

    I've done some experimenting with this. Aparently, not only is the xsd:int type no longer valid, but neither is xsd:boolean or xsd:integer (BigInteger).
    I can see that the com.sun.msv.datatype package cannot be found, (even though it's still a mystery how this disappeared.) but I have no idea how to search for the correct jar...
    ps. Wouldn't it be great for someone to keep an online database of jar's searchable by package name/class?
    I'm going to try some more things... but still I would appreciate it if someone can help speed things along - Thanks!

  • JFrame Transperency  com.sun.awt package

    Hi,
    In my application i am having the requirement of tranperent window. I searched lot in google and i find transperent JFrame is possible. For making the JFrame transperent the **com.sun.awt** package is needed.
    But this package is unavailable in JDK1.6. I am also using JDK 1.6 version.
    If anyone knows the JDK containning this package. Please let me know that link(JDK containing com.sun.awt package).

    Don�t know if it help, but I found that 'org.apache.batik.svggen.SVGGraphics2D' substitutes 'com.sun.awt.svg.*'
    Also I found some info about com.sun.awt in here:
    http://java.sun.com/products/personaljava/spec-1-1/pJavaSpec.html

  • 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.

  • I want to re-install Premiere Elelments 8, but cannot find downloads for version 8.  Where can I download the files for version 8?

    I want to re-install Premiere Elelments 8, but cannot find downloads for version 8.  I have the serial no.  Where can I download the files for version 8?

    Hi Jeff.  I did purchase Premiere Elements 8 from Adobe (download version), but couldn't find the files to download again on the adobe.com website.  I did, however carry out another search of files from my old PC and eventually found the files to reinstall on my new PC, using my registered product serial no.  Installation has worked.  It seems that Adobe has stopped supporting version 8 as I could only find version 9 and later for download from the adobe.com website.
    Thanks for your prompt reply

  • Why can't I import the com.sun.javadoc package?

    I have JDK 1.6 but I don' think it's there...Any idea where I can find the com.sun.javadoc package?

    com.sun.javadoc is not part of the normal JSE API.
    It's part of some packages that come with the JDK that can be used to extend some JDK functionality.
    It's delivered in tools.jar inside your JDKs lib directory.

  • Com.waveset.util.ConfigurationError: Cannot find columns for table 'object'

    I am trying to install IDM on my own laptop and use MS SQL Server 2000 as the repository. I run the create table scripts, copy all the jar files to C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\Idm\WEB-INF\lib. But I still got the following error message:
    com.waveset.util.ConfigurationError: Cannot find columns for table 'object' ==>com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'object'
    Does anyone have any idea of what may cause this problem?
    THANKS!

    I found the solution to this issue.. is that the Database user ID must be set to the schema .. this is the statment that probably did not work:
    CREATE USER <username> FOR LOGIN <login name> with DEFAULT_SCHEMA = <database name>
    In sql 2005 expand the database... open security .. find the user.. right click and select properties.. in the default schema box.. select the SunSync database .. in the schemas owned by this user select the sunsync schema database..
    good luck

  • What does it mean if the system "cannot find driver for console framebuffer"?

    I've just installed Solaris 7 on a SparcStation 20 with 256 MB RAM, 1 + 2 GB hard drives, 1xSuperSparcII. When I boot up it says "NOTICE:Cannot find driver for console framebuffer". I can't run the CDE, and I assume this is because there is no graphics driver. The graphics card (it's an add-on but by Sun) presumably needs a driver and I would have thought that this would have been included with the Solaris 7 CD. The whole thing worked fine when it was running Solaris 2.5.1 and now I've installed a new OS (initial as opposed to upgrade) it just don't work. Any ideas?

    The "output-device" parameter may not be set properly in Open Boot Prom(OBP) and hence during installation, the driver may not be installed. To fix this, try the following steps.
    1. Note down the current value for output-device. This value is to be restored later.
    printenv output-device
    2. Set the "output-device" parameter to "screen" in OBP
    setenv output-device screen
    3. Perform a reconfiguration boot using the command "boot -r"
    4. The error will not appear. Verify that /dev/fb refers to a device link.
    5. Go to ok prompt again and restore the output-device to its original value (as noted in step 1). The reason for doing this is that some resolution parameters would have been set earlier for your output-device.
    6. Reboot the system again. The error may appear again but since the device link is already created, the CDE will work.
    Please contact us if there are any issues.
    Thanks
    Srinivasan

  • Help! My iPod touch won't let me download any apps. A message keeps coming up saying "This Apple ID cannot be used for the iTunes store. Please enter another Apple ID" I changed my ID to see if that would work but the same message still comes up.

    Help! My iPod touch won't let me download any apps. A message keeps coming up saying "This Apple ID cannot be used for the iTunes store. Please enter another Apple ID" I changed my ID to see if that would work but the same message still comes up.

    Where are you physically located?
    What country's Store are you using?
    The two have to be the same and the payment method for your account also has to be associated (billing address, where iTunes gift card was purchased) with that country.
    Has the ID(s) worked before for purchases for this country's store?

  • Hello - does anyone now how to place a complain for an over charged invoice over a in-purchase game? Apple is charging 10 times more the purchase we made and I cannot find anyplace in the App store to complain online or via email? Please help if you know

    Hello - does anyone now how to place a complain for an over charged invoice over a in-purchase game? Apple is charging 10 times more the purchase we made and I cannot find anyplace in the App store to complain online or via email? Please help if you know

    Use the Report a Problem link in the iTunes email receipt you received. Also in-app purchases can be made without the password if you bought the app within the last 15min. You should enable the in-app restriction in Settings.

  • Compile Error for Import com.sun.javadoc.*;

    I need to write some simple doclets and found some beginner code on the Sun website. The first line of the sample app is:
    import com.sun.javadoc.*;However, I get a compile error:
    C:\JavaDoc\Doclet\ListClass.java:1: package com.sun.javadoc does not exist
    import com.sun.javadoc.*;I found the com.sun.javadoc package in the tools.jar file in the lib directory of my sdk. So I added the following to my classpath:
    C:\j2sdk1.4.2_08\lib;Then I recompiled but received the same error. What have I done wrong? I'm on Windows XP.
    TIA.

    > C:\j2sdk1.4.2_08\lib;
    C:\j2sdk1.4.2_08\lib\tools.jar;

  • Are JavaDocs available for the com.thortech.xl.webclient classes

    I am trying to understand how to customize the Request Detail page. We have a consultant who modified the requestDetailTiles.jsp page in order to accommodate a TextArea for one of our REQ UDF fields, but the way it was coded, we are seeing this modification for all of the subsequent UDFs we are adding to REQ, which are TextField and LookupField/ComboBox. I need to be able to accommodate the TextArea and the LookupFields.
    I am starting out trying to just understand the requestDetailTiles.jsp page and I need to get at the documentation for the com.thortech.xl.webclient classes. Are the JavaDocs available for these classes?

    I am trying to understand how to customize the Request Detail page. We have a consultant who modified the requestDetailTiles.jsp page in order to accommodate a TextArea for one of our REQ UDF fields, but the way it was coded, we are seeing this modification for all of the subsequent UDFs we are adding to REQ, which are TextField and LookupField/ComboBox. I need to be able to accommodate the TextArea and the LookupFields.
    I am starting out trying to just understand the requestDetailTiles.jsp page and I need to get at the documentation for the com.thortech.xl.webclient classes. Are the JavaDocs available for these classes?

Maybe you are looking for

  • Get values from dynamic form items

    Hi All, I create a dynamic form with text input component private function buildForm():void{                 var numberOfColumns:Number = 5                 var formItem:FormItem = new FormItem();                 var hBox:HBox = new HBox();           

  • Steps to uninstall app from ipad3?

    Steps to uninstall app from ipad3?

  • Error in ABAP Proxy generation?

    hai pals, my intention is to push the data from XI to SAPBWSEM system throgh an ABAP PROXY.        but , here i got an error which i already mentioned in the forum, that is " no connection to integration builder(only local data visible) ".         i

  • 9ias JSP can't find Classes I created

    I created a package for my JSP and import it to be used in a JSP. It works great, but for some reason, it displays an error message saying it can't find the class in import. Can anyone explain that? Thanks.

  • Help needed to create active links from a database

    I want to create active links to web addresses stored in my Access database and returned on the detail page of a Master/Detail set. The code below returns the correct entry from the database field - but I can't seem to make it an active link. <%=(rsN