Sign On Help using jPos!!!

Dear All,
We are developing a client application that should communicate with the Utiba Uchoose Server. According to the Utiba spec we have to send,
2-byte length header in Binary format (Network byte order)
(Note: this length header denotes the number of bytes in the message body only)
AND
Message body in ASCII format.
Inorder to communicate with the server we developed a sign on application using jPos. But the response is null. I am providing the code we have developed.
package lk.dialog.ezi.api;
import java.util.Date;
import java.io.PrintStream;
import org.jpos.util.*;
import org.jpos.iso.*;
import org.jpos.iso.packager.*;
import org.jpos.iso.channel.ASCIIChannel;
import org.jpos.iso.header.BaseHeader;
import java.nio.*;
public class SignOnTest implements Runnable {
    ASCIIChannel channel;
    ISOMUX mux;
    public void setupMUX () {
        ISOPackager packager = new ISO87APackager();
        channel = new ASCIIChannel("192.168.70.82", 17001, packager);
        mux = new ISOMUX (channel);
        Thread t = new Thread (mux);
        t.start();
    public void run () {
            ISOMsg m = new ISOMsg();
                try{
                    m.setMTI("0800");
                    m.set(new ISOField(7, ISODate.getDateTime(new Date())));
                    m.set(new ISOField(11, "000001"));
                    m.set(new ISOField(70, "061"));
                    m.set(new ISOField(100, "123456"));
                    m.setPackager(new ISO87APackager());
                    byte[] messageBody=m.pack();
                    short messageLength=(short)messageBody.length;
                    ByteBuffer bb=ByteBuffer.allocate(2);
                    bb.putShort((short)messageLength);
                    bb.flip();
                    byte[] header=bb.array();
                    BaseHeader bh=new BaseHeader(header);
                    m.setHeader((ISOHeader)bh);
                    ISORequest req = new ISORequest(m);
                    mux.queue(req);
                    ISOMsg res = req.getResponse(60*1000);
                    if (res != null) {
                        res.dump(System.out, "");
                        System.out.println(res.getString(39));
                    else{
                        System.out.println("Response is null");
                    mux.showCounters(System.out);
                } catch (ISOException e) {
                    e.printStackTrace();
    public static void main (String args[]) {
        SignOnTest test = new SignOnTest();
        test.setupMUX ();
        (new Thread(test)).start();
}############Output Result##########
Response is null
Connections: 1
TX messages: 1
TX expired: 0
TX pending: 0
RX messages: 0
RX expired: 0
RX pending: 1
RX unmatched: 0
RX forwarded: 0
Please help me to get around this problem. Thanks in advance.

On my laptop I got the info I sent you above.  On an iMac I got the followowing.
(machine name):~ (user name)$ klist
Credentials cache: API:501:3
        Principal: (user name)@AUSTIN.LOCAL
  Issued           Expires          Principal
Nov 10 10:49:19  Nov 10 20:49:19  krbtgt/(domain name)@(domain name)
Nov 10 10:49:27  Nov 10 20:49:19  cifs/(server)@(domain name)
(Machine name):~ (user name)$ kinit (user name)@(domain name)
(user name)@austin.local's Password:
kinit: Password incorrect
(Machine name):~ (user name)$
I'm working on Windows servers so I'm not sure if I can do that second step.

Similar Messages

  • I want to eliminate an autofill choice that pops up when I sign into yahoo using the Firefox browser. I tried yahoo help which said hover over the unwanted line and press delete, but that did not work. I am using a Mac if that makes a difference.

    Question
    I want to eliminate an autofill choice that pops up when I sign into yahoo using the Firefox browser. I tried yahoo help which said hover over the unwanted line and press delete, but that did not work. Do you know how I can get rid of this autofill? I am using a Mac if that makes a difference. Thanks.

    Use Shift+Delete on Mac.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    *Click the (empty) input field on the web page to open the drop down list
    *Highlight an entry in the drop down list
    *Press the Delete key (on Mac: Shift+Delete) to remove it.

  • Already signed in on ebay; then I go to either revise my item or sell and item, ebay will ask you to sign in again; using Firefox, the same screen keeps coming up, asking me to sign in. I then have to use IE . Deleting history does not help.

    Already signed in on ebay; then I go to either revise my item or sell and item, ebay will ask you to sign in again; using Firefox, the same screen keeps coming up, asking me to sign in. I then have to use IE . Deleting history does not help.

    # Yes, if you go to accounts.firefox.org, sign out, you will now be signed out.
    # Sign back in, and you will be asked to save the password you entered.
    # This will save the password and autocomplete if you have this option turned on.
    I am not exactly sure why the menu did not detect the password change or if it was stored incorrectly after you changed it? But after storing the correct password you can manage any duplicate passwords in the password manager.[[Password manager - Remember, delete and change saved passwords in Firefox]]

  • My Apple ID is incorrect in my iPhone. Did the "settings...store...tap ID shown...signout...sign back in using correct ID and the incorrect ID is still appearing when I try to sign in at the Apps Store...Help!

    My question is this...My Apple ID that appears in the AppStore log in is incorrect. I have tried the recommended "Settings...Store...Tap ID shown...sign out...sign back in w/ correct ID/password multiple times.  When I go to the Apps Store to log in, the incorrect Apple ID is still displayed...have contacted Apple support numerous times and none of the suggestions offered have worked...Help!

    I had the same thing happen today on my wife's phone.  I couldn't find any answers on the support site and of course I could not get any help from Apple since my phone was old.  I kept digging and figured out how to fix the problem.  I opened the app store app and signed out of the old id and then signed back in using my new id.  It looks like this may have fixed the problem.

  • I cant use i message, i cant sign in help!!!

    when imessage is verifying my id apple it returns to the part when you put your id apple with yor password and i cant sign in help please!!!

    From this Apple support document: iOS: Troubleshooting Messages
    Ensure you have an active Internet connection.
    Verify that you are using a valid Apple ID at myinfo.apple.com. You can also create an Apple ID or reset your password from this webpage.
    Ensure that your date, time, and time zone are set correctly. If your country has recently made a daylight saving time (DST) change, it may be necessary to manually set the time zone to one that matches your local time.
    Check that your email address is verified in Settings > Messages > Receive At.
    If Settings > Messages > Receive At shows your email status as "verifying," follow the instructions in the verification email that was sent to complete the process.
    Toggle iMessage off and on in Settings > Messages.
    B-rock

  • Hey guys i please i need a help on my ipad. i have received an ipad from anonymous person but she has already logged in to iclouds, since i dont know her password how do i sign out without using password on ios 8?

    Hey guys i please i need a help on my ipad. i have received an ipad from anonymous person but she has already logged in to iclouds, since i dont know her password how do i sign out without using her password on ios 8?

    You can't. Your mysterious benefactor must remove the device from her (I guess you know it's a her?) iCloud account by logging into icloud.com, going to Find my iPhone and removing from there.
    Matt

  • TS4268 I have apple ID and when trying to sign in to use FaceTime,i always get registration error.how may you help me for that guys,thanks.

    I have apple ID and when trying to sign in to use FaceTime,I always get error in registration,(This words always apper; The server encountered an error processing registration.Please try again later.)
    Can I get your Advise on what to do? Thanks

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Issue while signing a jar using RSA certificate

    Hi,
    I am trying to sign a java applet using trusted certificate with the help of Java keytool and jarsigner of JRE1.6. For this I have followed the following steps:
    1.Generated key pair in a keystore - keytool -genkeypair -keyalg RSA -alias eaikey -keystore eaikeystore  -validity 3650 -keysize 2048
    2.Generated CSR using command keytool -certreq -alias eaikey -file eaicert.csr -keystore eaikeystore and send the .csr file to the CA
    3.CA has returned the certificate reply (.cer file)that contained a root certificate
    4.When I tried to import the certificate using command keytool -import -file eaicert.cer -alias eaicertkey  -keystore eaikeystore to keystore, initially it gave me error as Input not an X.509 certificate.So I opened the .cer file in my text editor and removed the texts before the Begin And End Certificate.Then it got imported correctly by running the
    5.When I tried to sign the jar using command  jarsigner application.jar eaicertkey  -keystore eaikeystore
    it gave the exception as jarsigner: Certificate chain not found for: eaicertkey.  eaicertkey must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
    Please help me with the step I am missing here.I doubt I am doing something wrong in the import step.
    Thanks in advance.

    you can mail me directly to [email protected], and I'll try to help.
    no guarenty :-)
    Tal
    [email protected]

  • Signing a document using an image

    I can no longer sign a document using an image with Adobe Ready XI.  I have tried to "change saved signature" and click on the "use image" option.  It then requires me to save a copy but after I do so the box disappears and I don't have an option to browse for the image I want to use.  If I click on Place signature again it forces me to set up a digital ID. This happened after an update I did yesterday.  How can I use an image to sign and NOT a digital ID?

    Ok, here's what I've got:
    myCert.cer (certificate)
    myKey.pfx (PKCS12 keystore)
    With this two files I should be able to get the private key (from myKey.pfx), the public key (from the certificate)... and use this to sign the document.
    Can anyone help me to do that? (in Java Code)
    I'll apreciate any help...
    Juaris.

  • Signing a document using an existing certificate

    Hi, I've been searching for APIs to digitally sign documents.
    I've successfully signed documents using Keystore and KeyPairGenerator (both of them work), but I haven't been able to use an existing certificate (a .cer file) to sign a document.
    Can anyone help me with this?
    An example code of signing a document using (for example) a certificate stored in myCertificate.cer would be really helpful.
    Thanks
    Juan Ignacio.

    Ok, here's what I've got:
    myCert.cer (certificate)
    myKey.pfx (PKCS12 keystore)
    With this two files I should be able to get the private key (from myKey.pfx), the public key (from the certificate)... and use this to sign the document.
    Can anyone help me to do that? (in Java Code)
    I'll apreciate any help...
    Juaris.

  • I need to digital sign a document using Acrobat Reader. Is it possibile?

    I am an IT Manager for a little city in northern italy.
    I have almost 50 clients with smart cards enabled for what concerns digital signage.
    I use flawlessy the software of the firm who provides the smart card. (infocamere.it).
    This uses sha256 crypt, no problems about it.
    The problem I have is:
    The final file is a "p7m" envelope.
    I would prefer to use a "pdf" envelope. One only file.
    I tried to follow this video
    http://tv.adobe.com/watch/acrobat-x/how-to-digitally-sign-a-document-with-adobe-reader/
    Simply it doesn't work.
    I have also a couple of Acrobat Standard.
    I can "pdf-sign" with Acrobat Standard 9.
    I am not able to do the same with reader 9 or X.
    There is a way to do it?
    Thank You.

    You can sign a PDF using Adobe Reader 9 or X, but the document must be "Reader Extended" to enable this functionality, This can be done using ADEP\LiveCycle Reader Extensions (server product) or Acrobat Professional 9 (Advanced > Extend Features in Adobe Reader) or Acrobat X Professional (File > Save As > Reader extended PDF)
    For some more info...  http://www.adobe.com/eeurope/products/server/readerextensions/  or http://help.adobe.com/en_US/enterpriseplatform/10.0/Overview/WS92d06802c76abadb2c8525912dd cb9aad9-7ffa.html
    Regards
    Steve

  • Code signing cert error using Digicert - Unable to build a valid certificate chain for the signer

    Steps to fix this error on code signing adobe air using .p12 cert from Digicert - Unable to build a valid certificate chain for the signer
    a. Open Firefox and browse to https://www.digicert.com/digicert-root-certificates.htm
    b. On the middle of the page, download -
    DigiCert Assured ID Code Signing CA-1
    Valid until: 10/Feb/2026
    Serial #: 07:F4:73:6F:AF:EF:40:8A:1F:66:40:F2:65:D1:0A:C1
    Thumbprint: B170A10819BEA936905D719E643399783E1F4567
    Download
    c. Install the cert in Firefox
    d. Once done, export again the code signing cert from digicert, through (click Firefox -> Preferences -> View Certificates -> HIghlight the digicert code signing cert -> click Backup)
    e. Done, the newly exported file should now have the valid certificate chain and that should fix the error "Unable to build a valid certificate chain for the signer"
    Even though this is from Digicert, this should also work for other Certificate Authority providers assuming you download your provider's root cert for code signing.
    Regards,
    Reigner S. Yrastorza

    Are you talking about AIR Help produced by RoboHelp or an AIR application that you are creating?
    If the latter, please see the notice at http://forums.adobe.com/community/robohelp/airhelp
    If you are using RoboHelp, which version?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • I just purchased FaceTime and it installed on my MacBook OS 10.6.8. It doesn't accept my Apple ID to allow sign in and use FaceTime

    I just purchased FaceTime and it installed on my MacBook OS 10.6.8. It doesn't accept my Apple ID to allow sign in and use FaceTime

    This is what I found out about my own question as nowhere in my search of Apple support was there a similar problem addressed. 
    What I found that was very frustrating in Apple Support was the references to going into FaceTime preferences to reset certain items.  But it can't be opened
    if I couldn't activate the sign in... and yes I was very careful with entering correct symbols for i.d. and password. Also, navigating the site is such a mishmash that searches kept changing as I found myself in communities without any reference to backtrack how I got there.
    Enough grousing.
    I am fortunate to have a TD Curran store nearby.  They are a licensed Apple Dealer and service center located in the NW of the U.S.A.  They used my id and password, activated the program and tested it on their store phone.
    The only thing I could determine that was different was the ISP. The store had a Comcast Commercial business contract- high speed.
    My ISP is CLEAR WiMAX out of Portland, OR. When they were independent and just starting I signed on for a very reasonable monthly with the lowest speeds- they have served me well until this fiasco.
    My speeds are download ~ 0.789 mbps and upload ~0.390 mbps.
    This, I hope, helps at least one person.

  • Can I sign on to use the free apps without credit card info?

    Can I sign on to use the free apps without giving a credit card? I am an older person without very much technical knowledge and received this mini ipad as a gift. I do not have an smart devices, just a laptop which I primarily use for music which I have downloaded from youtube and from various other freemusic sites. Can anyone help with any tips on how to use and get the free apps for "free". Hope I made this eay to understand. Thanks for any information.
    Paul

    I primarily use for music which I have downloaded from youtube and from various other freemusic sites.
    Just as a precautionary note: be very careful which sites you use to download your music from; if the site is offering something for free which costs money elsewhere it can quite often contain hidden additions (malware) or some other unwanted stuff.

  • Unable to sign a document using latest adobe reader.

    Hi guys,
    I've never had to sign a document using reader before so I'm really lost. I've downloaded the latest adobe reader version and created an adobe account. The form is enabled for reader and signatures as far as I can tell.
    I'm logged in while the file is open but under the right side tab "sign" all the options are grayed out, I also cant just click on the signature box like it mentions in the help vids.
    I've added a screen shot to show you what I mean.
    Thanks guys,
    Mike

    Try updating the software, first? PKCS12 is the latest one.
    Also-- you have to make sure you have a digital ID stored in the computer (or through a server), or you can create one.

Maybe you are looking for