Stepper Axis Encoder Problems

I have a NI 7344 board controlling a servo motor and stepper motor each with their own seperate drives. I am having issues with the stepper encoder output while running in closed-loop mode. When running the stepper in velocity mode the measured velocity according to the motion card is about 15% of what the actual velocity of the stepper.
The encoder position counts however, do update at the correct rate. If I connect the same encoder output to another axis and set that as a servo axis the encoder velocity is measured correctly (I've done it simulataneously and the servo axis displays the correct velocity while the stepper axis does not). I have verified that the stepper and encoder counts per revolution are correct and every relevant encoder setting is correct.
Anybody have any ideas?
Thanks

The velocity reporting for steppers in NI-Motion 6.1.2 can be slightly incorrect at low step speeds with 733x and 734x boards because of a fixed point calculation error - this is ONLY a reporting error and the steppers WILL move at the correct speed. This has been fixed with NI-Motion 7.0.
The Primary and Secondary feedback channels can no longer be set in MAX starting with NI-Motion 7.0, however, they can be set through the Motion API in LabVIEW, CVI, etc. This change was made to reduce the complexity of the interface in MAX.
Hopefully this explains better the behavior of what you were seeing.

Similar Messages

  • Apache axis deserialization problem

    Can anybody help?
    We are using Apache's Axis web service framework for consuming web services. One of the web services has "nested" or complex types in the response, and the Axis framework is not processing it properly.
    Is there something that we need to configure to get this to work? Any suggestions are much appreciated.
    It gives the following message:
    org.xml.sax.SAXException: Invalid element in com.chase.egw._GWProfile - Product
    at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
    at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
    at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
    at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
    at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:323)
    at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
    at org.apache.axis.client.Call.invoke(Call.java:2272)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at com.chase.egw.GWProfilePortTypeSoapBindingStub.getProfile(GWProfilePortTypeSoapBindingStub.java:185)
    at com.echase.common.mf.sso.SSOGatewayServiceDelegate.getGWProfile(SSOGatewayServiceDelegate.java:178)

    I am having the same problem as you describe.
    Checkout out this link:
    http://dev-forums.ebay.com/thread.jsp?forum=1002&thread=100000782
    It talks about adding the following to the complex type defintion in the WSDL
    <xsd:any processContents = "lax"/>
    The good news is this solved the exception problem.
    The bad news is that my complex objects are not being deserialed. I've posted to the AXIS users mailing list.
    Here is what I posted:
    Hi,
    I need a little help getting started with AXIS.
    I've done some SOAP web services development a few years back using SUN JAXM, but I will be using AXIS for a webservice project in the near term.
    In order to get familiar with AXIS I did the GOOGLE thing and aquired a sample WDSL to try out.
    I am using 1.2RC3 version of AXIS with Tomcat 5.0.28.
    Here is the WSDL I first used:
    <wsdl:definitions
    name="PhotoCatalogService"
    targetNamespace="http://examples.com/PhotoCatalog"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:types="http://examples.com/PhotoCatalog/types"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns="http://examples.com/PhotoCatalog">
    <wsdl:types>
    <xsd:schema targetNamespace="http://examples.com/PhotoCatalog/types"
    xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd"
    xmlns:types="http://examples.com/PhotoCatalog/types">
    <xsd:import namespace="http://ws-i.org/profiles/basic/1.1/xsd" schemaLocation="WS-ISwA.xsd"/>
    <!-- Status contains the references the old photo available as attachment. -->
    <xsd:element name="Status" type="wsi:swaRef" />
    <!-- passed in as parameter of replacePhoto operation, contains the order. -->
    <xsd:element name="PhotoInfo">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="customerName" type="xsd:string"/>
    <xsd:element name="photoID" type="xsd:int"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    <wsdl:message name="addPhotoRequest">
    <wsdl:part name="oldPhoto" element="types:PhotoInfo"/>
    <wsdl:part name="photo" type="xsd:hexBinary"/>
    </wsdl:message>
    <wsdl:message name="addPhotoResponse">
    <wsdl:part name="status" type="xsd:string"/>
    </wsdl:message>
    <wsdl:message name="replacePhotoRequest">
    <wsdl:part name="oldPhoto" element="types:PhotoInfo"/>
    <wsdl:part name="newPhoto" type="xsd:hexBinary"/>
    </wsdl:message>
    <wsdl:message name="replacePhotoResponse">
    <wsdl:part name="status" element="types:Status"/>
    </wsdl:message>
    <wsdl:portType name="PhotoCatalog">
    <wsdl:operation name="addPhoto">
    <wsdl:input message="tns:addPhotoRequest"/>
    <wsdl:output message="tns:addPhotoResponse"/>
    </wsdl:operation>
    <wsdl:operation name="replacePhoto">
    <wsdl:input message="tns:replacePhotoRequest"/>
    <wsdl:output message="tns:replacePhotoResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="PhotoCatalogBinding" type="tns:PhotoCatalog">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="addPhoto">
    <wsdl:input>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="oldPhoto" use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="photo" type="image/jpeg"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="status" type="text/plain"/>
    <mime:content part="status" type="text/xml"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="replacePhoto">
    <wsdl:input>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="oldPhoto" use="literal"/>
    </mime:part>
    <mime:part>
    <mime:content part="newPhoto" type="image/jpeg"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:input>
    <wsdl:output>
    <mime:multipartRelated>
    <mime:part>
    <soap:body parts="status" use="literal"/>
    </mime:part>
    </mime:multipartRelated>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="PhotoCatalogService">
    <wsdl:port name="PhotoCatalogPort" binding="tns:PhotoCatalogBinding">
    <soap:address location="http://localhost:8080/jaxrpc-AttachmentsSample/photocatalog"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    When I used the previous WSDL to generate a service and then a client I got the following error on the client side when trying the "addPhoto" service:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: org.xml.sax.SAXException: Invalid element in com.examples.PhotoCatalog.types.PhotoInfo - PhotoInfo
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:tislaptop
    org.xml.sax.SAXException: Invalid element in com.examples.PhotoCatalog.types.PhotoInfo - PhotoInfo
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:745)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:141)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2754)
    at org.apache.axis.client.Call.invoke(Call.java:2737)
    at org.apache.axis.client.Call.invoke(Call.java:2413)
    at org.apache.axis.client.Call.invoke(Call.java:2336)
    at org.apache.axis.client.Call.invoke(Call.java:1793)
    at com.examples.PhotoCatalog.PhotoCatalogBindingStub.addPhoto(PhotoCatalogBindingStub.java:190)
    at com.examples.PhotoCatalog.PhotoCatalogProxy.addPhoto(PhotoCatalogProxy.java:45)
    at com.examples.PhotoCatalog.TestPhotoService.main(TestPhotoService.java:41)
    Here is an abridged network trace of the SOAP request sent from client to server...
    POST /axis/services/PhotoCatalogPort HTTP/ 1.0
    Content-Type: multipart/related;type="text/xml";start="<DBB2B5537065926A4CBC8F8ED8D88F15>";boundary="----=_Part_0_20983130.1113483759295"
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    User-Agent:Axis/1.2RC3
    Host: xxx.xxx.xxx.xxx:8080
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: ""
    Content-Length: 8466
    ------=_Part_0_209831301113483759295
    Content-Type: text/xml; charset=UTF-8
    Content-Transfer-Encoding: binary
    Content-Id: <DBB2B5537065926A4CBC8F8ED8D88F15>
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XML Schema-instance">
    <soapenv:Body>
    <addPhoto xmlns="">
    <ns1:PhotoInfo xmlns:ns1="http://examples.com/PhotoCatalog/types">
    <customerName>karl</customerName>
    <photoID>100</photoID>
    </ns1:PhotoInfo>
    <photo href="cid:9AD6390B491EF0EE0B0FCEA7AA945655" xsi:type="ns2:Image" xmlns:ns2="http://xml.apache.org/xml-soap"/>
    </addPhoto>
    </soapenv:Body>
    </soapenv:Envelope>
    ------=_ Part_0_20983130.1113483759295
    Content-Type:image/jpeg
    Content -Transfer-Encoding:binary
    Content-Id: <F2369DA809C4B1B0ADBA8538372E6F23>
    ...QE..QE.......
    ------=_Part_0_20983130.1113483759295
    After a little searching I found some info that led me to change the WSDL a little. I redefined the "PhotoInfo" type as follows
    <xsd:element name="PhotoInfo">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="customerName" type="xsd:string"/>
    <xsd:element name="photoID" type="xsd:int"/>
    <xsd:any processContents = "lax"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    Now there is no exception thrown, but the PhotoInfo and photo objects are not deserialized. I get null values passed to the PhotoCatalogBindingImpl class.
    I noticed that an org.apache.axis.message.MessageElement[] object and associated methods was added to the PhotoInfo class, which I assume is due to adding the <xsd:any processContents = "lax"/> line to the WSDL.
    Here is the PhotoInfo and PhotoCatalogBindingImpl class source for reference:
    * PhotoCatalogBindingImpl.java
    * This file was auto-generated from WSDL
    * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
    package com.examples.PhotoCatalog;
    import javax.xml.transform.Source;
    public class PhotoCatalogBindingImpl implements com.examples.PhotoCatalog.PhotoCatalog{
    public javax.xml.transform.Source
    addPhoto(com.examples.PhotoCatalog.types.PhotoInfo oldPhoto, java.awt.Image photo) throws java.rmi.RemoteException {
    return null;
    public org.apache.axis.types.URI replacePhoto(com.examples.PhotoCatalog.types.PhotoInfo oldPhoto, java.awt.Image newPhoto) throws java.rmi.RemoteException {
    return null;
    * PhotoInfo.java
    * This file was auto-generated from WSDL
    * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java emitter.
    package com.examples.PhotoCatalog.types;
    public class PhotoInfo implements java.io.Serializable, org.apache.axis.encoding.AnyContentType {
    private java.lang.String customerName;
    private int photoID;
    private org.apache.axis.message.MessageElement [] _any;
    public PhotoInfo() {
    public PhotoInfo(
    org.apache.axis.message.MessageElement [] _any,
    java.lang.String customerName,
    int photoID) {
    this.customerName = customerName;
    this.photoID = photoID;
    this._any = _any;
    * Gets the customerName value for this PhotoInfo.
    * @return customerName
    public java.lang.String getCustomerName() {
    return customerName;
    * Sets the customerName value for this PhotoInfo.
    * @param customerName
    public void setCustomerName(java.lang.String customerName) {
    this.customerName = customerName;
    * Gets the photoID value for this PhotoInfo.
    * @return photoID
    public int getPhotoID() {
    return photoID;
    * Sets the photoID value for this PhotoInfo.
    * @param photoID
    public void setPhotoID(int photoID) {
    this.photoID = photoID;
    * Gets the _any value for this PhotoInfo.
    * @return _any
    public org.apache.axis.message.MessageElement [] get_any() {
    return _any;
    * Sets the _any value for this PhotoInfo.
    * @param _any
    public void set_any(org.apache.axis.message.MessageElement [] _any) {
    this._any = _any;
    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
    if (!(obj instanceof PhotoInfo)) return false;
    PhotoInfo other = (PhotoInfo) obj;
    if (obj == null) return false;
    if (this == obj) return true;
    if (__equalsCalc != null) {
    return (__equalsCalc == obj);
    __equalsCalc = obj;
    boolean _equals;
    _equals = true &&
    ((this.customerName==null && other.getCustomerName()==null) ||
    (this.customerName!=null &&
    this.customerName.equals(other.getCustomerName()))) &&
    this.photoID == other.getPhotoID() &&
    ((this._any==null && other.get_any()==null) ||
    (this._any!=null &&
    java.util.Arrays.equals(this._any, other.get_any())));
    __equalsCalc = null;
    return _equals;
    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
    if (__hashCodeCalc) {
    return 0;
    __hashCodeCalc = true;
    int _hashCode = 1;
    if (getCustomerName() != null) {
    _hashCode += getCustomerName().hashCode();
    _hashCode += getPhotoID();
    if (get_any() != null) {
    for (int i=0;
    i<java.lang.reflect.Array.getLength(get_any());
    i++) {
    java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);
    if (obj != null &&
    !obj.getClass().isArray()) {
    _hashCode += obj.hashCode();
    __hashCodeCalc = false;
    return _hashCode;
    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
    new org.apache.axis.description.TypeDesc(PhotoInfo.class, true);
    static {
    typeDesc.setXmlType(new javax.xml.namespace.QName("http://examples.com/PhotoCatalog/types", ">PhotoInfo"));
    org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("customerName");
    elemField.setXmlName(new javax.xml.namespace.QName("", "customerName"));
    elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
    typeDesc.addFieldDesc(elemField);
    elemField = new org.apache.axis.description.ElementDesc();
    elemField.setFieldName("photoID");
    elemField.setXmlName(new javax.xml.namespace.QName("", "photoID"));
    elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
    typeDesc.addFieldDesc(elemField);
    * Return type metadata object
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
    return typeDesc;
    * Get Custom Serializer
    public static org.apache.axis.encoding.Serializer getSerializer(
    java.lang.String mechType,
    java.lang.Class _javaType, 
    javax.xml.namespace.QName _xmlType) {
    return
    new org.apache.axis.encoding.ser.BeanSerializer(
    javaType, xmlType, typeDesc);
    * Get Custom Deserializer
    public static org.apache.axis.encoding.Deserializer getDeserializer(
    java.lang.String mechType,
    java.lang.Class _javaType, 
    javax.xml.namespace.QName _xmlType) {
    return
    new org.apache.axis.encoding.ser.BeanDeserializer(
    javaType, xmlType, typeDesc);
    I guess my questions are as follows:
    1. Why is exception thrown in the first scenario? Is there something wrong with the WSDL? I guess there is, but I can't figure it out.
    2. When the change is made to the WDSL(adding <xsd:any processContents = "lax"/>) is there something that I need to add to the PhotoInfo class
    to process the org.apache.axis.message.MessageElement[] object. Do I need to "manually" parse that object in the PhotoCatalogBindingImpl class to get
    the values of customerName and photoID?
    Any other help would be appreciated..
    thanks,
    Karl Schwarz
    System Architect
    Northrop Grumman

  • H264 From Axis Encoder feed to FMS 3.5

    Hello, my name is Dave and I am working on an issue that I have very little knowledge in. Here is the problem space.
    I have a feed from an Axis Encoder that I would like to display in Flex 3.4. As far as I know there is no direct way of doing this. Is this is not true please let me know.
    So I started to explore the possibilities of using Flex Media Server 3.5 to receive this feed from the Axis Encoder and using NetConnection and NetStream publish this feed to Flex…
    Is this possible? I wish I had the time to research this to the point so that I can fully understand the technical aspects but I just do not have that luxury.
    I have an axrtsp://MY_IP:POR/mpeg4/1/media.amp feed. Can FMS understand this?
    Thanks for your input and time,
    Dk.

    ok I just solved my problem.
    I am running vista and FMS is installed in ... "program files" ... etc.
    So, when adding user through "users.exe" command users.dat remains empty even though it reports "new user successfuly added".
    The problem was vista write protection.

  • Encoding problems in email while on Windows Mail app

    Hello.
    I have a question concerning email and encoding problems in the Windows Mail App in Windows 8.1.  I have encountered a problem with an email I received, while reading, I see strange ASCII characters in one email.  I have never encountered it in
    my web browsers nor Gmail, just the Mail App.
    I was referred to come here when I had asked a similar question there:
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-ecoms/strange-foreign-ascii-characters-appearing-in/911f8a44-c302-4fa1-bcaa-3297b32d9120
    I don't know which forum to go to so I picked here.
    Is there any way that it can be resolved.  I tried to troubleshoot, nothing worked; I even synched, to no avail.
    I look forward to a response.
    JB

    Hi JB,
    The responder on answers was a bit confused. The MSDN forums are for developers to discuss writing their own apps. We cannot help with problems using Windows or its built-in apps.
    If the folks on answers cannot help then you may need to open a support incident. See
    http://support.microsoft.com , or the folks on answers may be able to direct you to the specific page for the Windows Mail app.
    --Rob

  • Encoding problem while reading binary data from MQ-series

    Dear all,
    we are running on 7.0 and we have an encoding problem while reading binary data from MQ-series. Because we are getting flat strings from queue we use module "Plain2ML" (MessageTransformBean) for wrapping xml-elements around the incoming data.
    The MQ-Series-Server is using CCSID 850, which we configured in connection parameters in communication channel (both parameters for Queuemanager CCSID and also CCSID of target).If there are special characters in the message (which HEX-values differ from codepage to codepage) we get errors in our adapter while executing, please see stack-trace for further analysis below.
    It seems to us that
    1. method ByteToCharUTF8.convert() expects UTF-8 in binary data
    2. Both CCSID parameters are not used anyway in JMS-adapter
    How can we solve this problem without changing anything on MQ-site?
    Here is the stack-trace:
    Catching com.sap.aii.af.mp.module.ModuleException: Transform: failed to execute the transformation: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException caused by: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException
        at com.sap.aii.af.modules.trans.MessageTransformBean.throwModuleException(MessageTransformBean.java:453)
        at com.sap.aii.af.modules.trans.MessageTransformBean.process(MessageTransformBean.java:387)
        at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_0.process(ModuleLocalLocalObjectImpl0_0.java:103)
        at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292)
        at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)
        at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:84)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.ConvertBinaryToXiMessageFilter.filter(ConvertBinaryToXiMessageFilter.java:304)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.ConvertJmsMessageToBinaryFilter.filter(ConvertJmsMessageToBinaryFilter.java:112)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.InboundDuplicateCheckFilter.filter(InboundDuplicateCheckFilter.java:87)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filterSend(TxManagerFilter.java:123)
        at com.sap.aii.adapter.jms.core.channel.filter.TxManagerFilter.filter(TxManagerFilter.java:59)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.DynamicConfigurationFilter.filter(DynamicConfigurationFilter.java:72)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.PmiAgentFilter.filter(PmiAgentFilter.java:66)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.InboundCorrelationFilter.filter(InboundCorrelationFilter.java:60)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.JmsHeadersProfileFilter.filter(JmsHeadersProfileFilter.java:59)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageInvocationsFilter.filter(MessageInvocationsFilter.java:89)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.JarmMonitorFilter.filter(JarmMonitorFilter.java:57)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.filter.ThreadNamingFilter.filter(ThreadNamingFilter.java:62)
        at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:195)
        at com.sap.aii.adapter.jms.core.channel.SenderChannelImpl.doReceive(SenderChannelImpl.java:263)
        at com.sap.aii.adapter.jms.core.channel.ChannelImpl.receive(ChannelImpl.java:437)
        at com.sap.aii.adapter.jms.core.connector.MessageListenerImpl.onMessage(MessageListenerImpl.java:36)
        at com.ibm.mq.jms.MQMessageConsumer$FacadeMessageListener.onMessage(MQMessageConsumer.java:399)
        at com.ibm.msg.client.jms.internal.JmsMessageConsumerImpl$JmsProviderMessageListener.onMessage(JmsMessageConsumerImpl.java:904)
        at com.ibm.msg.client.wmq.v6.jms.internal.MQMessageConsumer.receiveAsync(MQMessageConsumer.java:4249)
        at com.ibm.msg.client.wmq.v6.jms.internal.SessionAsyncHelper.run(SessionAsyncHelper.java:537)
        at java.lang.Thread.run(Thread.java:770)
    Caused by: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message: 'sun.io.MalformedInputException'; nested exception caused by: sun.io.MalformedInputException
        at com.sap.aii.messaging.adapter.Conversion.service(Conversion.java:714)
        at com.sap.aii.af.modules.trans.MessageTransformBean.processTransform(MessageTransformBean.java:538)
        at com.sap.aii.af.modules.trans.MessageTransformBean.processTransform(MessageTransformBean.java:528)
        at com.sap.aii.af.modules.trans.MessageTransformBean.processTransform(MessageTransformBean.java:471)
        at com.sap.aii.af.modules.trans.MessageTransformBean.process(MessageTransformBean.java:364)
        ... 36 more
    Caused by: sun.io.MalformedInputException
        at sun.io.ByteToCharUTF8.convert(ByteToCharUTF8.java:270)
        at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:287)
        at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:337)
        at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:223)
        at java.io.InputStreamReader.read(InputStreamReader.java:208)
        at java.io.BufferedReader.fill(BufferedReader.java:153)
        at java.io.BufferedReader.readLine(BufferedReader.java:316)
        at java.io.LineNumberReader.readLine(LineNumberReader.java:176)
        at com.sap.aii.messaging.adapter.Conversion.convertPlain2XML(Conversion.java:310)
        at com.sap.aii.messaging.adapter.Conversion.service(Conversion.java:709)
        ... 40 more
    Any ideas?
    Kind regards, Stefan

    Hi Stefan,
    for the first MTB now we are using only one parameter: Transform.ContentType = text/plain;charset="ISO-8859-1"
    The second MTB, which does the XML-Wrapping, is configured like this:
    Transform.Class = com.sap.aii.messaging.adapter.Conversion
    Transform.ContentType = application/xml
    xml.conversionType = SimplePlain2XML
    xml.fieldNames = value
    xml.fieldSeparator = §%zulu§%
    xml.processFieldNames = fromConfiguration
    xml.structureTitle = payload
    Both CCSID configuration parameters from the "Source"-Tab we've set to 850.
    Now, we don't get an error anymore - sun.io.malformedInputException - , but, unfortunately, now special character conversion succeeded (we need an "ß" and we get an ISO-HEX-E1 -> á).  E1 is (different from ISO) an "ß" in 850.
    Any ideas?

  • Encoding problem in call-back to hook URL (post parameters)

    Hello all,
    I'm encountering a character encoding problem while retrieving the content of the shopping basket from one of our provider.
    After the POST request is made by the provider to our system using the hook url, when debbuging I can see that some special characters are represented with the sign '#' (after the call the ITS_IMPORT_CONTEXT).
    In our case using the parameter http_content_charset with various values, including UTF-8, did not change the result.
    Inspecting the HTTP traffic has highlighted the following: the encoding received from the provider is related to UTF-8, but while we are expecting the hexadecimal values, we are receiving the "Unicode code points", which are not recognized by our SAP system. For more details look at the UTF-8 encoding table found here and compare the values under column "Unicode code point" with the one under column "UTF-8 (hex.)".
    As an example, for the character 'é', we are receiving the value "%E9" (the code point) instead of receiving the the hexa value : "%C3%A9".
    Do you have any idee if this can be corrected on our side or if the provider must addapt the way it's sending the POST parameters?
    Many thanks in advance for you help.
    Best regards,
    Jerome.

    Hi Jason,
    Indeed I had contacted the provider and informed them about the encoding problem and the fact that passing the parameter http_content_charset had no effect on the sent back encoding.
    They have taken into account my request and have changed the encoding used during the request to the HOOK_URL.
    Thanks to all of your for your help.
    Regards,
    Jerome.

  • Character encoding problem using XSLT and Tomcat on Linux

    Hi,
    I have an application running on a Tomcat 4.1.18 application server that applies XSLT transformations to DOM objects using standard calls to javax.xml.transform API. The JDK is J2SE 1.4.1_01.
    It is all OK while running on a development enviroment (which is Windows NT 4.0 work station), but when I put it in the production enviroment (which is a red hat linux 8.0), it comes up with some kind of encoding problem: the extended characters (in spanish) are not shown as they should.
    The XSL stylesheets are using the ISO-8859-1 encoding, but I have also tried with UTF-8.
    These stylesheets are dynamicly generated from a JSP:
    // opens a connection to a JSP that generates the XSL
    URLConnection urlConn = (new URL( xxxxxx )).openConnection();
    Reader readerJsp = new BufferedReader(new InputStreamReader( urlConn.getInputStream() ));
    // Gets the object that represents the XSL
    Templates translet = tFactory.newTemplates( new StreamSource( readerJsp ));
    Transformer transformer = translet.newTransformer();
    // applies transformations
    // the output is sent to the HttpServletResponse's outputStream object
    transformer.transform(myDOMObject, new StreamResult(response.getOutputStream()) );Any help would be appreciated.

    Probably you need to set your LANG OS especific environment variable to spanish.
    Try adding this line:
    export LANG=es_ES
    to your tomcat/bin/catalina.sh, and restart tomcat.
    It should look like this:
    # OS specific support.  $var _must_ be set to either true or false.
    cygwin=false
    case "`uname`" in
    CYGWIN*) cygwin=true;;
    esac
    export LANG=es_ES
    # resolve links - $0 may be a softlink
    PRG="$0"
    .(BTW, keep using ISO-8859-1 encoding for your XSL)
    HTH
    Un Saludo!

  • C# GWTypeLibrary - AddressBook Entry encoding problem

    Hello.
    I am using C#(Visual Studio 2005) and GroupWareTypeLibrary to develop for
    GroupWise Client 7.0.
    Working with AddressBook I have faced some problems.
    I am getting display name (AddressBookEntry.DisplayName) for all entries
    of AddressBook. Almost all DisplayNames are correct but there are some
    problems with two or three of them (there are some illegal char displayed
    instead of some char of real user DisplayName). I think it is local
    encoding problem bekause I see the same problem with the same users in
    GroupWise Client AddressBook.
    I thought display name is building not correctly but when I tried to get
    these users first and last name I have got the same problem with encoding
    in them.
    Please advice how to decide this problem.
    Regards,
    Alex.

    Sounds like a GW Client problem and not an API problem if you see it in the client address book. Technical Support should be able to help you.
    Glade,
    Novell Developer Support

  • Encoding Problems with WRT300N V2

    Hello guys,
    i have following problem:
    I have a WRT300n Router and it seems to have problems with WPA2 encoding. I have 2 different deviceses (a SMC Ethernet Bridge and a PS3) trying to connect to my Linksys wireless router. No chance in WPA2 mode but when I try in WEP-Mode, both devicec can connect to it.
    Are there known encoding problems?
    Any idea what i can do?

    It is able to use. But my router always drops the connection. WEP is no problem, but ... what about low security and Wirless N is not enabled ??

  • Encoding problem (via ORB)

    Hello,
    I posted this problem few months ago, but still havent been able to solve this.
    I have a Client Server program which communicates via ORB, i.e. using CORBA, with server running on Solaris OS and Client running on windows.
    The server returns string containing chinese characters to the client.
    However, my chinese characters dont appear properly on the client side.
    If i run the client on the Solaris OS there is no problem with it.
    I tried converting the encode of the string by getting its byte and creating
    a new string with encoding parameter. None of this seems to work.
    I can see the chinese character when the server is writing to OutputStream of CORBA, but on the InputStream of CORBA it does not
    show properly.
    Any ideas on how i can overcome this encoding problem where the C/S is
    communicating via CORBA (ORB)?
    Thanks in advance.

    Thanks for your reply
    Yes, i know the BIG5 is for Traditional Chinese and japansese is using like Shift-JIS or EUC.
    So when i try to post japanese in a BIg5 web page, i think it's normal that i can't see it in BIG5 encoding.
    But then i change the Safari default decoding to BIG5 HKSCS, the japanese appers! At the same time i can see the traditional chinese too!
    And if i use Firefox, i can both see the japanese and chinese at the default BIG5 encoding.
    So i simple think maybe safari translate my japanese into BIG5 HKSCS,not Shift-JIS. But if i use Firefox, i can get the same result with only BIG5 encoding, not BIG5 HKSCS. So i am just wondering why it's different between Safari and Firefox with the same BIG5 encoding.
    Following is a example URL
    It's a MAC discussing froum with BIG5 encoding in Taiwan.
    http://ubb.frostyplace.com.tw/viewtopic.php?t=19162
    It's a froum topic posted by me. I input some japanese into this topic
    If you browse this page with Safari BIG5 encoding, you can see a lot of question mark instead of the original japanese word that i and other people posted.
    But if you change the encoding to BIG5 HKSCS, the japanese appears. And if you using Firefox with BIG5 encoding, the japanese appears too.
    So is it someing wrong with Safari's BIG5 encoding or some other reason makes this happen?

  • View Object Encoding problem

    I'm using Jdeveloper version 11.1.2.1. I have a encoding problem when creating View Object based on a query. This is my query:
    select id, DECODE(id,'11','Индивидуално,'13','Semejno','14','Grupno') naziv
    from ins_type
    where class_id = '14' and id in ('11', '13', '14')
    It is a simple LOV query with cyrilic letters. When I save the ViewObject and re-open it im getting question marks(???????) instead of the cyrilic letters. This only happens in the view object. I dont have other encoding issues when working with cyrilic letters only when im trying to build a View Object based on a query that has cyrilic letters. If i read those values from the database everything is fine
    Thanks,

    Change the encoding of your application to UTF-8 which appears to be sufficient for cyrilic chars. Here is a quick guide on how to do this http://docs.oracle.com/cd/E17984_01/doc.898/e14693/appa_configuring_jdev.htm
    You may also need to update any pages that have encoding explicitly set

  • Czech characters encoding problem in RTFTemplate with Velocity engine

    Hi,
    I am trying to use your RTFTemplate project but I have trouble displaying Czech characters in the generated RTF document. Instead of characters like �&#269;&#345;� I get only questionmarks ????. I thought that this could be related to setting a wrong encoding in the velocity.properties file, so I set it to windows-1250 (support for Czech characters) but it didn�t help. Do you have any idea, what could be the problem? If this is not the right place to ask such question, please let me know about a better one.
    Thank you for your time,
    Ivo Jansky

    Hi Jason,
    Indeed I had contacted the provider and informed them about the encoding problem and the fact that passing the parameter http_content_charset had no effect on the sent back encoding.
    They have taken into account my request and have changed the encoding used during the request to the HOOK_URL.
    Thanks to all of your for your help.
    Regards,
    Jerome.

  • Urgent , encoding problem

    Hi ,
    i have received very important msg from ministry , but i cannot read it
    its be like this : &#29184;&#26880;&#24832;&#27648;&#8704;&#15872;
    i want to convert it to arabic chars ,
    any ideas ?

    Yes, it's an encoding problem. And no, the damagehas
    already been done by applying an incorrectencoding.
    This cannot be reversed.so there is no solution for this ?Yep you're fucked.
    The Ministry of Double Ungood Codings will be coming to collect you shortly so that you might be educated with the double plus good ways.

  • AC3 audio encoding problems

    Have been encoding ac3 without any problems until recently. Now all ac3 encodes just play back as digital "noise", and the problems exists with default as well as modified versions of the standard ac3 preset.
    I'm using latest versions of Compressor and Quicktime. Anyone seen this issue and know how to solve? I'm considering reinstalling Compressor, but that seems to entail a complete FCS2 reinstall...

    UPDATE: I rebooted my mac using my backup system disk, which has quicktime 7.1.6 installed. I found that under this configuration my ac3 files could be played back. So it's NOT an encoding problem after all. It seems to be a decoding problem. So next up I'll try reinstalling my current version of Quicktime on the main system disk (that's QT 7.2 of course.) If that doesn't work, I'll have to try reverting to Quictime 7.1.6 I guess...

  • PHP charater encoding problem.. i think

    Hi,
    IF I post a message through my form containing the Danish
    characters " �
    � � " and read it in my email client (TB 1.5 or
    OE) it has turned into
    this " ������ "
    instead of the � (or &aelig;), � (or oslash;),
    � (or
    &aring;).
    Does anybody know why? I know it must be a encoding problem
    and I tried
    to send a php header bore anything else but still no go.
    I'll appreciate any help.
    Thanks
    Kim

    Thanks both of you. I'm not quite sure about this "To control
    the
    encoding of an email sent by the PHP mail() function, you
    need to add an
    additional header in the fourth argument to mail()."
    This is the form...
    <?php
    if(isset($_POST['Submitted'])) {
    $Errors = Array();
    if(!trim($_POST['navn'])) $Errors[] = "Indtast venligst for
    og
    efternavn";
    if(!preg_match("/[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9]{2,4}/",$_POST['email']))
    $Errors[] = "Indtast venligst en gyldig e-mail ";
    if(!trim($_POST['kommentar'])) $Errors[] = "Kommentar";
    if(strtolower(trim($_POST['spamtrap'])) != "syv") $Errors[]
    = "Stav
    tallet 7 med bokstaver - (syv)";
    if(!count($Errors)) {
    $SendTo = "[email protected]";
    $Subject = "mail fra hjemmesiden";
    $FromString = "Fra: ".$_POST['email']."\r\n";
    $additionalHeaders = "Content-Type: text/plain;
    charset=utf-8\r\n";
    $Indhold = "Der er blevet sendt flg. oplysninger:\r\n\r\n";
    $Indhold .= "Navn: ".$_POST['navn']."\r\n";
    $Indhold .= "Email: ".$_POST['email']."\r\n";
    $Indhold .= "Telefon nummer: ".$_POST['telefon']."\r\n";
    $Indhold .= "Adresse: ".$_POST['adresse']."\r\n\r\n";
    $Indhold .= "Postnummer og By:
    ".$_POST['postby']."\r\n\r\n";
    $Indhold .=
    "kommentar:\r\n".preg_replace("(\r\n|\r|\n)","\r\n",$_POST['kommentar'])."\r\n";
    $MailSuccess = mail($SendTo,$Subject,$Indhold,$FromString);
    header("Location:
    http://www.lazur.dk/tak.php");
    exit;
    ?>
    Is that correct?
    Kim
    Kim skrev:
    > Hi,
    >
    > IF I post a message through my form containing the
    Danish characters " �
    > � � " and read it in my email client (TB
    1.5 or OE) it has turned into
    > this " ������
    " instead of the � (or &aelig;), � (or oslash;),
    � (or
    > &aring;).
    >
    > Does anybody know why? I know it must be a encoding
    problem and I tried
    > to send a php header bore anything else but still no go.
    >
    > I'll appreciate any help.
    >
    > Thanks
    > Kim

Maybe you are looking for

  • Netcenter Drive Disconnects When Copying:  Error -36

    I recently purchased a 250 GB Western Digital Netcenter Drive for my network. Model Number: WDXE2500JBN I am able to connect directly to the drive by using either the Network browser in Finder or mapping to the drive directly using "Connect to Server

  • Audit Issue in QA after system restore and client copy

    Hi Experts, We have an audit issue and need your advise on that. Our QA system was audited and auditors were looking for the approval tickets on which a user was created. I found that several users that were not created in QA and do not even exist in

  • Root Account

    I need serious help!!! I am a new mac user...I've had my computer for less than a year and I just found out after not being able to log into my root account that you shouldnt use it for everyday usage and I have and now I can't log into it. How do I

  • Is it possible/wise to have 2 listeners for a single 8i database?

    I currently have an 8i database with one listener. That listener has TCP.INVITED_NODES set in the sqlnet.ora. We have some DBAs that may need to add their own machines to the TCP.INVITED_NODES list on an ad-hoc basis. Since 8i does not let you change

  • Photoshop Elements 8 for Mac

    I've been looking on the website and find great videos for PSE 7.0 for Windows.  Where can I find the PSE 8 for Mac videos - how to get started, etc?  It's very difficult to look at other versions - especially for Windows.  This doesn't translate ove