Error in httpconnection in MIDlet

hai all
i use following code to get a connection from midlet.I try it using WTK2.0 and the emulator.But it asks that
"Wants to send information.This will require the use of airtime which may cost you money. Is this OK?(http)"
and then i select "this time.Ask me next time" option which is the default one.
but i got error while connecting....
please help..Thanks in advance.....

I hope you are running httpConnection behind the proxy. I also got same problem when i tried to connect through the proxy. I solved the problem by using local Web Server in my system. I hope there is the problem from proxy when you connect through the proxy if your code is correct.

Similar Messages

  • Strange Error inside of my MIDlets; ONLY on mobilephones. Emulator works

    Hi there,
    I got an strange error during using my MIDlets on my mobilephone.
    I created two MIDlets, connecting to webservers via HTTP.
    both work fine in emulator, but not on a real phone :-(
    Logging from server tells me,
    that NO request was sent to the server.
    I got back that Exception:
    ConnectionNotFoundException
    with message: Error connecting
    Did I missed a config-detail, or whats wrong on this?
    Thanks in advice.
    Regards,
    Matthias

    Khalid.Ali,
    thanks for you quik replay!
    Yes, my phone supports MIDP2.0and CLDC 1.1
    My Midlet compiles agains MIdP1 and MIDP2
    It runs! All screens are shown on my phone.
    but when I press the Command to send a Request,
    I got that Exception.
    (The message of the Exception I read in catch-block
    and put it to the Form-class, shown after that)
    so MIDlet works, but not the HTTP-Access
    any ideas?
    Please, what did you mean with "data plan with your service provider" ?
    I could read the page in WAP-Browser (from my phone) that I try to read
    in the MIDlet with HTTP
    Thanks

  • Need help with my HttpConnection From Midlet To Servlet...

    NEED HELP ASAP PLEASE....
    This class is supposed to download a file from the servlet...
    the filename is given by the midlet... and the servlet will return the file in bytes...
    everything is ok in emulator...
    but in nokia n70... error occurs...
    Http Version Mismatch shows up... when the pout.flush(); is called.. but when removed... java.io.IOException: -36 occurs...
    also i have posted the same problem in nokia forums..
    please check also...
    http://discussion.forum.nokia.com/forum/showthread.php?t=105567
    now here are my codes...
    midlet side... without pout.flush();
    public class DownloadFile {
        private GmailMidlet midlet;
        private HttpConnection hc;
        private byte[] fileData;
        private boolean downloaded;
        private int lineNumber;
    //    private String url = "http://121.97.220.162:8084/ProxyServer/DownloadFileServlet";
        private String url = "http://121.97.221.183:8084/ProxyServer/DownloadFileServlet";
    //    private String url = "http://121.97.221.183:8084/ProxyServer/Attachments/mark.ramos222/GmailId111d822a8bd6f6bb/01032007066.jpg";
        /** Creates a new instance of DownloadFile */
        public DownloadFile(GmailMidlet midlet, String fileName) throws OutOfMemoryError, IOException {
            System.gc();
            setHc(null);
            OutputStream out = null;
            DataInputStream is= null;
            try{
                setHc((HttpConnection)Connector.open(getUrl(), Connector.READ_WRITE));
            } catch(ConnectionNotFoundException ex){
                setHc(null);
            } catch(IOException ioex){
                ioex.printStackTrace();
                midlet.alertScreen = new AlertScreen("Error C1", ioex.toString(),
                        null, AlertType.ERROR);
                midlet.alertScreen.setTimeout(Alert.FOREVER);
                midlet.display.setCurrent(midlet.alertScreen);
            try {
                if(getHc() != null){
                    getHc().setRequestMethod(HttpConnection.POST);
                    getHc().setRequestProperty("Accept","*/*");
                    getHc().setRequestProperty("Http-version","HTTP/1.1");
                    lineNumber = 1;
                    getHc().setRequestProperty("CONTENT-TYPE",
                            "text/plain");
                    lineNumber = 2;
                    getHc().setRequestProperty("User-Agent",
                            "Profile/MIDP-2.0 Configuration/CLDC-1.1");
                    lineNumber =3;
                    out = getHc().openOutputStream();
                    lineNumber = 4;
                    PrintStream pout = new PrintStream(out);
                    lineNumber = 5;
                    pout.println(fileName);
                    lineNumber = 6;
    //                pout.flush();
                    System.out.println("File Name: "+fileName);
                    lineNumber = 7;
                    is = getHc().openDataInputStream();
                    long len = getHc().getLength();
                    lineNumber = 8;
                    byte temp[] = new byte[(int)len];
                    lineNumber = 9;
                    System.out.println("len "+len);
                    is.readFully(temp,0,(int)len);
                    lineNumber = 10;
                    setFileData(temp);
                    lineNumber = 11;
                    is.close();
                    lineNumber = 12;
                    if(getFileData() != null)
                        setDownloaded(true);
                    else
                        setDownloaded(false);
                    System.out.println("Length : "+temp.length);
                    midlet.setAttachFile(getFileData());
                    lineNumber = 13;
                    pout.close();
                    lineNumber = 14;
                    out.close();
                    lineNumber = 15;
                    getHc().close();
            } catch(Exception ex){
                setDownloaded(false);
                ex.printStackTrace();
                midlet.alertScreen = new AlertScreen("Error C2+ line"+lineNumber,
                        ex.toString()+
                        " | ",
                        null, AlertType.ERROR);
                midlet.alertScreen.setTimeout(Alert.FOREVER);
                midlet.display.setCurrent(midlet.alertScreen);
        public HttpConnection getHc() {
            return hc;
        public void setHc(HttpConnection hc) {
            this.hc = hc;
        public String getUrl() {
            return url;
        public void setUrl(String url) {
            this.url = url;
        public byte[] getFileData() {
            return fileData;
        public void setFileData(byte[] fileData) {
            this.fileData = fileData;
        public boolean isDownloaded() {
            return downloaded;
        public void setDownloaded(boolean downloaded) {
            this.downloaded = downloaded;
    }this is the midlet side with pout.flush();
    showing Http Version Mismatch
    public class DownloadFile {
        private GmailMidlet midlet;
        private HttpConnection hc;
        private byte[] fileData;
        private boolean downloaded;
        private int lineNumber;
    //    private String url = "http://121.97.220.162:8084/ProxyServer/DownloadFileServlet";
        private String url = "http://121.97.221.183:8084/ProxyServer/DownloadFileServlet";
    //    private String url = "http://121.97.221.183:8084/ProxyServer/Attachments/mark.ramos222/GmailId111d822a8bd6f6bb/01032007066.jpg";
        /** Creates a new instance of DownloadFile */
        public DownloadFile(GmailMidlet midlet, String fileName) throws OutOfMemoryError, IOException {
            System.gc();
            setHc(null);
            OutputStream out = null;
            DataInputStream is= null;
            try{
                setHc((HttpConnection)Connector.open(getUrl(), Connector.READ_WRITE));
            } catch(ConnectionNotFoundException ex){
                setHc(null);
            } catch(IOException ioex){
                ioex.printStackTrace();
                midlet.alertScreen = new AlertScreen("Error C1", ioex.toString(),
                        null, AlertType.ERROR);
                midlet.alertScreen.setTimeout(Alert.FOREVER);
                midlet.display.setCurrent(midlet.alertScreen);
            try {
                if(getHc() != null){
                    getHc().setRequestMethod(HttpConnection.POST);
                    getHc().setRequestProperty("Accept","*/*");
                    getHc().setRequestProperty("Http-version","HTTP/1.1");
                    lineNumber = 1;
                    getHc().setRequestProperty("CONTENT-TYPE",
                            "text/plain");
                    lineNumber = 2;
                    getHc().setRequestProperty("User-Agent",
                            "Profile/MIDP-2.0 Configuration/CLDC-1.1");
                    lineNumber =3;
                    out = getHc().openOutputStream();
                    lineNumber = 4;
                    PrintStream pout = new PrintStream(out);
                    lineNumber = 5;
                    pout.println(fileName);
                    lineNumber = 6;
                    pout.flush();
                    System.out.println("File Name: "+fileName);
                    lineNumber = 7;
                    is = getHc().openDataInputStream();
                    long len = getHc().getLength();
                    lineNumber = 8;
                    byte temp[] = new byte[(int)len];
                    lineNumber = 9;
                    System.out.println("len "+len);
                    is.readFully(temp,0,(int)len);
                    lineNumber = 10;
                    setFileData(temp);
                    lineNumber = 11;
                    is.close();
                    lineNumber = 12;
                    if(getFileData() != null)
                        setDownloaded(true);
                    else
                        setDownloaded(false);
                    System.out.println("Length : "+temp.length);
                    midlet.setAttachFile(getFileData());
                    lineNumber = 13;
                    pout.close();
                    lineNumber = 14;
                    out.close();
                    lineNumber = 15;
                    getHc().close();
            } catch(Exception ex){
                setDownloaded(false);
                ex.printStackTrace();
                midlet.alertScreen = new AlertScreen("Error C2+ line"+lineNumber,
                        ex.toString()+
                        " | ",
                        null, AlertType.ERROR);
                midlet.alertScreen.setTimeout(Alert.FOREVER);
                midlet.display.setCurrent(midlet.alertScreen);
        public HttpConnection getHc() {
            return hc;
        public void setHc(HttpConnection hc) {
            this.hc = hc;
        public String getUrl() {
            return url;
        public void setUrl(String url) {
            this.url = url;
        public byte[] getFileData() {
            return fileData;
        public void setFileData(byte[] fileData) {
            this.fileData = fileData;
        public boolean isDownloaded() {
            return downloaded;
        public void setDownloaded(boolean downloaded) {
            this.downloaded = downloaded;
    }here is the servlet side...
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            if(request.getMethod().equals("POST")){
                BufferedReader dataIN = request.getReader();
                String fileName = dataIN.readLine();
                File file = new File(fileName);
                String contentType = getServletContext().getMimeType(fileName);
                response.setContentType(contentType);
                System.out.println("Content Type: "+contentType);
                System.out.println("File Name: "+fileName);
                int size = (int)file.length()/1024;
                if(file.length() > Integer.MAX_VALUE){
                    System.out.println("Very Large File!!!");
                response.setContentLength(size*1024);
                FileInputStream fis = new FileInputStream(fileName);
                byte data[] = new byte[size*1024];
                fis.read(data);
                System.out.println("data lenght: "+data.length);
                ServletOutputStream sos = response.getOutputStream();
                sos.write(data);
    //            out.flush();
            }else{
                response.setContentType("text/plain");
                PrintWriter out = response.getWriter();
                BufferedReader dataIN = request.getReader();
                String msg_uid = dataIN.readLine();
                System.out.println("Msg_uid"+msg_uid);
                JDBConnection dbconn = new JDBConnection();
                String fileName = dbconn.getAttachment(msg_uid);
                String[] fileNames = fileName.split(";");
                int numFiles = fileNames.length;
                out.println(numFiles);
                for(int i = 0; i<numFiles; i++){
                    out.println(fileNames);
    out.flush();
    out.close();
    Message was edited by:
    Mark.Ramos222

    1) Have you looked up the symbian error -36 on new-lc?
    2) Have you tried the example in the response on forum nokia?
    3) Is the address "121.97.220.162:8084" accessible from the internet, on the device, on the specified port?

  • Error while executing the midlet ----pleasehelp

    Hi everyone,
    I am new to webservices, I am trying to execute a webservice from a midlet. Iam getting the below error.
    java.lang.NoClassDefFoundError: org/kxmlrpc/XmlRpcClient
         at kxmlrpc_demo.commandAction(+49)
         at javax.microedition.lcdui.List.callKeyPressed(+80)
         at javax.microedition.lcdui.Display$DisplayAccessor.keyEvent(+198)
         at javax.microedition.lcdui.Display$DisplayManagerImpl.keyEvent(+11)
         at com.sun.midp.lcdui.DefaultEventHandler.keyEvent(+121)
         at com.sun.midp.lcdui.AutomatedEventHandler.keyEvent(+210)
         at com.sun.midp.lcdui.DefaultEventHandler$QueuedEventHandler.run(+178)
    Below is my midlet code.
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    import java.util.*;
    import org.kxmlrpc.*;
    public class MyMidlet extends MIDlet implements CommandListener {
         private List list;
         private Command exitCommand;
         private String[] menuItems;
         private Display display;
         private Alert response;
         private XmlRpcClient xmlrpc;
         private Vector params, xmlArray;
         public MyMidlet() {
              // Initialize the User Interface
              menuItems = new String[] { "Timestamp", "Randomizer", "AddressBook" };
              list = new List("Select a service", List.IMPLICIT, menuItems, null);
              exitCommand = new Command("Exit", Command.EXIT, 1);
              response = new Alert("Service Return", null, null, AlertType.INFO);
              response.setTimeout(Alert.FOREVER);
              // Add commands
              list.addCommand(exitCommand);
              list.setCommandListener(this);
              // obtain a reference to the device's UI
              display = Display.getDisplay(this);
         }// end MyMidlet()
         public void startApp() {
              display.setCurrent(list);
         }// end startApp()
         public void pauseApp() {
         }// end pauseApp()
         public void destroyApp(boolean bool) {
              // clean up
              list = null;
              exitCommand = null;
              display = null;
         }// end destroyApp
         public void commandAction(Command com, Displayable dis) {
              if (dis == list && com == List.SELECT_COMMAND) {
                   switch (list.getSelectedIndex()) {
                   case 0:
                        try {
                             xmlrpc = new XmlRpcClient(
                                       "<a href=http:// www.wsjug.org/servlet/XmlRpcServlet EUDORA=AUTOURL> http:// www.wsjug.org/servlet/XmlRpcServlet/a>");
                             params = new Vector();
                             String serverTime = (String) xmlrpc.execute(
                                       "sysTime.getSystemTime", params);
                             response.setString(serverTime.toString());
                             display.setCurrent(response);
                        } catch (Exception ex) {
                             response.setString(ex.toString());
                             ex.printStackTrace(); // DEBUG
                             display.setCurrent(response);
                        }// end try/catch
                        break;
                   case 1:
                   case 2:
                        response.setString("Please download the full sample code");
                        display.setCurrent(response);
                        break;
                   }// end switch( list.getSelectedIndex() )
              } else if (com == exitCommand) {
                   destroyApp(true);
                   notifyDestroyed();
              }// end if( dis == list &&
              com = List.SELECT_COMMAND;
         }// end CommandAction( Command, Displayable )
    }// end MyMidlet
    I think the problem here is with the kxml.jar file which I have placed every where I find the lib folder. Could anyone please tell me where to exactly place the kxml.jar file?
    I am using Myeclipse IDE.
    Please help.
    Thanks in advance.
    Regards,
    Bharat Kumar

    Hi Vamsi.
    The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
    Can you read this note and apply solution? The note refers a patch, but the problem is the same.
    After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
    BR Rafael Ceolim

  • Error to iniciate the midlet

    Hi everyone!!!
    I´m trying compilate the HelloMIDlet class that is the initial class in a new NetBeans java ME project.
    But I have the following error, when i press run:
    Starting emulator in execution mode
    *** Error ***
    Failed to connect to device 0!
    Reason:
    Emulator 0 terminated while waiting for it to register!
    C:\Users\MyUseName\Documents\NetBeansProjects\MobileApplication3\nbproject\build-impl.xml:898: Execution failed with error code 1.
    Please help me,
    Regards

    Thanks for trying helping me...
    But I have the same error. I just have uninstall the netbeans and make refresh in the menu Tools > Java PlatForms > PlatForm Manager
    I have two PlatForms: CDC and the J2ME. Which one is the responsible for start the midlet aplication?
    What PlatForms is more indicated for developing PDA aplications?

  • Getting error trying to install Midlet

    Hello,
    I am trying to install a Midlet on my Raspberry Pi (ME 3.3) by doing the following:
    pi@raspberrypi ~/java_me_3.3/bin $ ./installMidlet.sh /home/pi/apps/TMP36rpi.jar
    configdb_load_to_db error: Unable to open file, trying to recover from the temporal one
    configdb_load_to_db error: temporal settings file is unavailable
    ERROR: Unable to read configuration file(s).  Check that ini file(s) exists in your application directory.
    javacall_initialize_configurations_from_file failed
    pi@raspberrypi ~/java_me_3.3/bin $In the directory /home/pi/apps I have the following files:
    pi@raspberrypi ~/java_me_3.3/bin $ ls /home/pi/apps
    TMP36rpi.jad  TMP36rpi.jar
    pi@raspberrypi ~/java_me_3.3/bin $It doesn't work and I don't know what I am doing wrong.
    Thanks
    Andy

    Andrey,
    still no luck:
    pi@raspberrypi ~/java_me_3.3/bin $ chmod 666 jwc_properties.ini
    pi@raspberrypi ~/java_me_3.3/bin $ ./installMidlet.sh file:///home/pi/apps/TMP36rpi.jar
    argv[1] = runMidlet
    argv[2] = -1
    argv[3] = com.sun.midp.scriptutil.CommandLineInstaller
    argv[4] = I
    argv[5] = file:///home/pi/apps/TMP36rpi.jar
    Command line parameters are passed.
    javacall_event_initialize: events system initialized
    Events system initialized.
    Time system initialized.
    JavaTask thread initialized.
    Starting JavaTask
    * rootfs -> /
    * /dev/root -> /
    * devtmpfs -> /dev
    * tmpfs -> /run
    * tmpfs -> /run/lock
    * proc -> /proc
    * sysfs -> /sys
    * tmpfs -> /run/shm
    * devpts -> /dev/pts
    * /dev/mmcblk0p1 -> /boot
    Error installing the suite: null
    java.io.IOException
    - com.sun.io.j2me.file.Protocol.connect(), bci=18
    - com.sun.io.j2me.file.Protocol.openPrimImpl(), bci=341
    - com.sun.io.j2me.file.Protocol.openPrim(), bci=5
    - javax.microedition.io.Connector.open(), bci=47
    - javax.microedition.io.Connector.open(), bci=3
    - com.sun.midp.installer.FileResourceDownloader.downloadResource(), bci=57
    - com.sun.midp.installer.ResourceDownloaderBase.downloadToFile(), bci=29
    - com.sun.midp.installer.ResourceProvisioning.downloadJar(), bci=59
    - com.sun.midp.installer.Installer.installStep7(), bci=11
    - com.sun.midp.installer.Installer.performInstall(), bci=167
    - com.sun.midp.installer.Installer.installJar(), bci=140
    - com.sun.midp.scriptutil.CommandLineInstaller.run(), bci=342
    - java.lang.Thread.run(), bci=5
    Finishing JavaTask
    pi@raspberrypi ~/java_me_3.3/bin $However if I run the AMS CLI (via port 65002) it works using the file:// protocol. CAn it be some kind of permission problem?
    --Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • ERROR request POST returns a 411 error

    I have some problems sending a POST request from my midlet:
    if i send from 1 to 1448 the servlet takes the content and stores it on a local file
    if i send from 1449 to 2000 the servlet takes the content and stores it on a local file up to only 1.41 k (1449 characters) and the emulator takes really long before it returns a "file saved succesfully" message.
    if i send above about 2000 characters the servlet returns a 411 error ..
    The midlet code is divided in two classes ... the HttpMidlet implements midlet and GUIs classes... whereas the Download class connects in a separate thread
    HttpMidlet code
    * HttpMidlet.java
    * Created on October 23, 2001, 11:19 AM
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.io.*;
    import java.io.*;
    * @author  kgabhart
    * @version
    public class HttpMidlet extends MIDlet implements CommandListener {
        // A default URL is used. User can change it from the GUI
        private static String       defaultURL = "someURL";
        // Main MIDP display
        private Display             myDisplay = null;
        // GUI component for entering a URL
        private Form                requestScreen;
        private TextField           requestField;
        // GUI component for submitting request
        private List                list;
        private String[]            menuItems;
        // GUI component for displaying server responses
        private Form                resultScreen;
        private StringItem          resultField;
        String result;
        // the "send" button used on requestScreen
        Command sendCommand;
        // the "exit" button used on the requestScreen
        Command exitCommand;
        // the "back" button used on resultScreen
        Command backCommand;
        public HttpMidlet(){
            // initialize the GUI components
            myDisplay = Display.getDisplay( this );
            sendCommand = new Command( "SEND", Command.OK, 1 );
            exitCommand = new Command( "EXIT", Command.OK, 1 );
            backCommand = new Command( "BACK", Command.OK, 1 );
            // display the request URL
            requestScreen = new Form( "Type in a URL:" );
            requestField = new TextField( null, defaultURL, 100, TextField.URL );
            requestScreen.append( requestField );
            requestScreen.addCommand( sendCommand );
            requestScreen.addCommand( exitCommand );
            requestScreen.setCommandListener( this );
            // select the HTTP request method desired
            menuItems = new String[] {"GET Request", "POST Request"};   
            list = new List( "Select an HTTP method:", List.IMPLICIT, menuItems, null );
            list.setCommandListener( this );
            // display the message received from server
            resultScreen = new Form( "Server Response:" );
            resultScreen.addCommand( backCommand );
            resultScreen.setCommandListener( this );
        }//end HttpMidlet()
        public void startApp() {
            myDisplay.setCurrent( requestScreen );
        }//end startApp()
        public void commandAction( Command com, Displayable disp ) {
            // when user clicks on the "send" button
            if ( com == sendCommand ) {
                myDisplay.setCurrent( list );
            } else if ( com == backCommand ) {
                // do it all over again
                requestField.setString( defaultURL );
                myDisplay.setCurrent( requestScreen );
            } else if ( com == exitCommand ) {
                destroyApp( true );
                notifyDestroyed();
            }//end if ( com == sendCommand )
            if ( disp == list && com == List.SELECT_COMMAND ) {
                if ( list.getSelectedIndex() == 0 ) // send a GET request to server
                  result = sendHttpGet( requestField.getString() );
                else // send a POST request to server
                  //result = sendHttpPost( requestField.getString() );
                  this.sendHttpPost( requestField.getString() );
                //resultField = new StringItem( null, result );
                //resultScreen.append( resultField );
                //resultScreen.append( result);
                //myDisplay.setCurrent( resultScreen );
            }//end if ( dis == list && com == List.SELECT_COMMAND )
        }//end commandAction( Command, Displayable )
        private String sendHttpGet( String url )
            HttpConnection      hcon = null;
            DataInputStream     dis = null;
            StringBuffer        responseMessage = new StringBuffer();
            try {
                // a standard HttpConnection with READ access
                hcon = ( HttpConnection )Connector.open( url );
                // obtain a DataInputStream from the HttpConnection
                dis = new DataInputStream( hcon.openInputStream() );
                // retrieve the response from the server
                int ch;
                while ( ( ch = dis.read() ) != -1 ) {
                    responseMessage.append( (char) ch );
                }//end while ( ( ch = dis.read() ) != -1 )
            catch( Exception e )
                e.printStackTrace();
                responseMessage.append( "ERROR" );
            } finally {
                try {
                    if ( hcon != null ) hcon.close();
                    if ( dis != null ) dis.close();
                } catch ( IOException ioe ) {
                    ioe.printStackTrace();
                }//end try/catch
            }//end try/catch/finally
            return responseMessage.toString();
        }//end sendHttpGet( String )
        private void sendHttpPost( String url )
            //adding code to run thread call
             String contenT = "4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444";//String tempURL = url /*+ "?filename=" + filename */;
            Download download = new Download (url, this, contenT);
            download.start ();
        }//end sendHttpPost( String )
        public void setOutput (String result)
            result = result.toString();
            resultScreen.append( result);
            myDisplay.setCurrent( resultScreen );
        public void pauseApp() {
        }//end pauseApp()
        public void destroyApp( boolean unconditional ) {
            // help Garbage Collector
            myDisplay = null;
            requestScreen = null;
            requestField = null;
            resultScreen = null;
            resultField = null;
        }//end destroyApp( boolean )
    }//end HttpMidletThe Download class:
    //class modified by Diego Gullo to implement multi-threaded connections in MIDP
    //importing packages
    import javax.microedition.io.*;
    import java.io.*;
    import javax.microedition.midlet.*;
    class Download implements Runnable
        private String url;
        private String contenT;
        private HttpMidlet MIDlet;
        //private String imageName = null;
        private boolean downloadSuccess = false;
        //private String downloadResult;
        public Download (String url, HttpMidlet MIDlet, String content)  //, String imageName)
            this.contenT = content;
            this.url = url;
            this.MIDlet = MIDlet;
            //this.imageName = imageName;
        * Download the image
        public void run ()
            try
                sendContent (url);
            catch (Exception e)
                System.err.println ("Msg: " + e.toString ());
        * Create and start the new thread
        public void start ()
            Thread thread = new Thread (this);
            try
                thread.start ();
            catch (Exception e)
        * Open connection and download png into a byte array.
        private void sendContent (String url) throws IOException
            HttpConnection      hcon = null;
            DataInputStream     dis = null;
            DataOutputStream    dos = null;
            StringBuffer        responseMessage = new StringBuffer();
            // the request body
            String              requeststring = contenT;
            try {
                // an HttpConnection with both read and write access
                hcon = ( HttpConnection )Connector.open( url, Connector.READ_WRITE );
                // set the request method to POST
                hcon.setRequestMethod( HttpConnection.POST );
                // obtain DataOutputStream for sending the request string
                dos = hcon.openDataOutputStream();
                byte[] request_body = requeststring.getBytes();
                // send request string to server
                for( int i = 0; i < request_body.length; i++ ) {
                    dos.writeByte( request_body[i] );
                }//end for( int i = 0; i < request_body.length; i++ )
                // obtain DataInputStream for receiving server response
                dis = new DataInputStream( hcon.openInputStream() );
                // retrieve the response from server
                int ch;
                while( ( ch = dis.read() ) != -1 ) {
                    responseMessage.append( (char)ch );
                }//end while( ( ch = dis.read() ) != -1 ) {
            catch( Exception e )
                e.printStackTrace();
                responseMessage.append( "ERROR" );
            finally {
                // free up i/o streams and http connection
                try {
                    if( hcon != null ) hcon.close();
                    if( dis != null ) dis.close();
                    if( dos != null ) dos.close();
                } catch ( IOException ioe ) {
                    ioe.printStackTrace();
                }//end try/catch
            }//end try/catch/finally
            // Return to the caller the status of the content
            if (responseMessage == null)
                //*MIDlet.*/this.setResult ("No content received!");
                while (responseMessage == null)
                    this.sendContent (url);
            else
                //MIDlet.im = result;
                //MIDlet.result = result;
                MIDlet.setOutput (responseMessage.toString());
                //*MIDlet.*/this.setResult (result);
    }Any suggestions to solve the problem???
    Thanks

    we've only deployed on 10.1.3.0.0 so i have not been able to confirm that this is not an issue in 10.1.3.1.0.
    even if this has been fixed in 10.1.3.1.0, upgrading may not be an option for us, so we prefer a fix for this in 10.1.3.0.0.
    thanks,
    ted

  • Problem executing midlet

    I launch a midlet with the j2me netbeans utility, but when I try to select (already in the mobile simulator), i get this error:
    Unable to create MIDlet ListDemo
    java.lang.ClassNotFoundException: ListDemo
            at com.sun.midp.midlet.MIDletState.createMIDlet(MIDletState.java:147)
            at com.sun.midp.midlet.Selector.run(Selector.java:151)I don't know if it is related to the code or if it is a common problem. I've tried searching on google and didn't get any feedback.
    Here's the code
    public class ListDemo
            extends MIDlet
            implements CommandListener {
        private final static Command CMD_EXIT =
                new Command("Exit", Command.EXIT, 1);
        private final static Command CMD_BACK =
                new Command("Back", Command.BACK, 1);
        private Display display;
        private List mainList;
        private List devList;
        private List roomList;
        private List specList;
        private boolean firstTime;
        public ListDemo() {
            display = Display.getDisplay(this);
            try{
                Hashtable deviceMap = getDeviceList();
                // this array defines the special actions
                String[] specArray = { "Dispositivos", "Habitaciones", "Modos" };
                // the string elements will have no images
                Image[] imageArray = null;
                devList = new List("Devices", Choice.EXCLUSIVE, fillDeviceList(deviceMap),
                        imageArray);
                devList.addCommand(CMD_BACK);
                devList.addCommand(CMD_EXIT);
                devList.setCommandListener(this);
                roomList = new List("Rooms", Choice.EXCLUSIVE, specArray,
                        imageArray);
                roomList.addCommand(CMD_BACK);
                roomList.addCommand(CMD_EXIT);
                roomList.setCommandListener(this);
                specList = new List("spec", Choice.MULTIPLE, specArray,
                        imageArray);
                specList.addCommand(CMD_BACK);
                specList.addCommand(CMD_EXIT);
                specList.setCommandListener(this);
                firstTime = true;
            }catch(IOException e){
                e.printStackTrace();
            }catch(XmlPullParserException xe){
                xe.printStackTrace();
         protected void startApp() {
              if (firstTime) {
                   // these are the images and strings for the choices.
                   Image[] imageArray = null;
                   try {
                        // load the duke image to place in the image array
                        Image icon = Image.createImage("/midp/uidemo/Icon.png");
                        // these are the images and strings for the choices.
                        imageArray = new Image[] {
                                  icon,
                                  icon,
                                  icon
                   } catch (java.io.IOException err) {
                        // ignore the image loading failure the application can recover.
                   String[] stringArray = {
                             "Dispositivos",
                             "Habitaciones",
                             "Especiales"
                   mainList = new List("Choose type", Choice.IMPLICIT, stringArray,
                             imageArray);
                   mainList.addCommand(CMD_EXIT);
                   mainList.setCommandListener(this);
                   display.setCurrent(mainList);
                   firstTime = false;
         protected void destroyApp(boolean unconditional) {
         protected void pauseApp() {
         public void commandAction(Command c, Displayable d) {
              if (d.equals(mainList)) {
                   // in the main list
                   if (c == List.SELECT_COMMAND) {
                        if (d.equals(mainList)) {
                             switch (((List)d).getSelectedIndex()) {
                             case 0:
                                  display.setCurrent(devList);
                                  break;
                             case 1:
                                  display.setCurrent(roomList);
                                  break;
                             case 2:
                                  display.setCurrent(specList);
                                  break;
              } else {
                   // in one of the sub-lists
                   if (c == CMD_BACK) {
                        display.setCurrent(mainList);
              if (c == CMD_EXIT) {
                   destroyApp(false);
                   notifyDestroyed();
         private String[] fillDeviceList(Hashtable map){
              Enumeration claves;
              String[] devices = new String[map.size()];
              claves = map.keys();
              for(int j=0;j<map.size();j++){
                   devices[j] = map.get(claves.nextElement()).toString();
              return null;
         private InputStream openUrl(String s) throws Exception {
              HttpConnection hc = (HttpConnection) Connector.open(s);
              return hc.openInputStream();
         private Hashtable getDeviceList() throws IOException,XmlPullParserException{
              DataInputStream dis = null;
              DataOutputStream dos = null;
              InputStream inputStream = null;
              Hashtable map = new Hashtable();
              try{
                   inputStream = openUrl("http://localhost:8084/WebApplication1/listDevices.do");
                   System.out.println("Despues de la conexi");
                   KXmlParser parser = new KXmlParser();
                   parser.setInput(new InputStreamReader(inputStream));
                   parser.nextTag();
                   parser.require(XmlPullParser.START_TAG, null, "devices");
                   System.out.println("devices...");
                   while(parser.nextTag() == XmlPullParser.START_TAG){
                        parser.require(XmlPullParser.START_TAG, null, "device");                    
                        String id = nextValue("device-id",parser);
                        String name = nextValue("name",parser);
                        String roomLocation = nextValue("room-location",parser);
                        String isAvaliable = nextValue("is-avaliable",parser);
                        String state = nextValue("state",parser);
                        map.put(id, name);
                        parser.nextTag();
                   parser.require(XmlPullParser.END_TAG,null,"devices");
                   parser.next();
                   parser.require(XmlPullParser.END_DOCUMENT,null,null);
              }catch(XmlPullParserException xe){
                   System.out.println("excepcion");
                   xe.printStackTrace();
              }catch(IOException e){
                   e.printStackTrace();
              }catch(Exception e){
                   e.printStackTrace();
              }finally{
                   try{
                        if (dis != null) dis.close();
                   }catch(IOException ignored){}
                   try{
                        if (dos != null) dos.close();
                   }catch(IOException ignored){}
                   return map;
    private String nextValue(String tagName, KXmlParser parser) throws XmlPullParserException, IOException {
         String string = null;
         parser.nextTag();
         parser.require(XmlPullParser.START_TAG, null, tagName);
         string = parser.nextText();
         parser.require(XmlPullParser.END_TAG, null, tagName);
         return string;
    }

    Hi,
    I had this problem in KToolbar which is the utility shipped with J2ME and what i had to do was make sure that KToolbar was looking for the main class to load, which in yours would be the ListDemo.class. i havn't used the netbeans utility but (if you can) make sure the main class is listed. (it might be in the project settings).
    Dex

  • NOKIA Series 60 Error HTTP Connection

    Hi..
    Im developing a MIDlet that uses a HTTPconnection
    The MIDlet worked fine using the Default emulator (Grayphone and the ColorPhone).
    But when i tried it on NOKIA emulator (Series_60 MIDP_SDK for Symbian OS v 1_0) it couldnt create a connection. It throwed an IOException with Status = -191 message and when i printStackTrace the error i got this :
    java.io.IOException: Status = -191
         at com.symbian.cldc.connection.ConnectionEndPoint.writeBytes(+140)
         at com.symbian.cldc.connection.OutputStream.flush(+23)
         at com.symbian.midp.io.protocol.http.HttpConnection.sendRequest(+101)
         at com.symbian.midp.io.protocol.http.HttpConnection.ensureResponse(+40)
         at com.symbian.midp.io.protocol.http.HttpConnection.openDataInputStream(+15)
         at com.symbian.midp.io.protocol.http.HttpConnection.openInputStream(+4)
         at NetConnect.connect(+303)
         at NetConnect.run(+25)
    I couldnt figure it out what's wrong in the program ?
    B'coz i didnt use NOKIA API for my MIDlet. And can anyone help me where i could find out the meaning of the Status = -191 and how to make it work ??
    I also have tried to test it on real device using NOKIA 7650, and i couldnt make a network connection too. But it work fine on NOKIA 3530 is it because of the Symbian OS or something else?
    I really need help on this..
    Thanx B4
    Regards,
    Bayu

    When running on your device, you are trying to connect to a web server to localhost = Nokia device.
    I suppose you don't have a web server running onto your device.
    The solution might be :
    - make your server ip (or address) available via internet and then try to make the connection
    - or, make your server to be a modem like server, enabling your phone to establish a connection to it, but don't forget to describe to route like table.
    - find an already internet available server on which you can set up your servlet
    Good Look.

  • Problem in executing MIDlet on Actual Device

    Below is the program i got from net, this is executing fine in the emulator but when I ported the application to actual device i.e. Nokia 7610, data was not fetched from the given URL, neither i got any exception nor error.
    I have WAP connection enabled on my mobile and also I was able to browse the same URL from the default browser that was there in the mobile.
    J2ME: The Complete Reference
    James Keogh
    Publisher: McGraw-Hill
    ISBN 0072227109
    // jad file (Please verify the jar size first)
    MIDlet-Name: httpconnection
    MIDlet-Version: 1.0
    MIDlet-Vendor: MyCompany
    MIDlet-Jar-URL: httpconnection.jar
    MIDlet-1: httpconnection, , httpconnection
    MicroEdition-Configuration: CLDC-1.0
    MicroEdition-Profile: MIDP-1.0
    MIDlet-JAR-SIZE: 100
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.io.*;
    import java.io.*;
    public class httpconnection extends MIDlet implements CommandListener {
    private Command exit, start;
    private Display display;
    private Form form;
    public httpconnection ()
    display = Display.getDisplay(this);
    exit = new Command("Exit", Command.EXIT, 1);
    start = new Command("Start", Command.OK, 1);
    form = new Form("Http Con");
    form.addCommand(exit);
    form.addCommand(start);
    form.setCommandListener(this);
    public void startApp()
    display.setCurrent(form);
    public void pauseApp()
    public void destroyApp(boolean unconditional)
    public void commandAction(Command command, Displayable displayable)
    if (command == exit)
    form=null;
    display.setCurrent(null);
    display=null;
    destroyApp(false);
    else if (command == start)
    HttpConnection connection = null;
    InputStream inputstream = null;
    try
    connection = (HttpConnection) Connector.open("http://www.someURL.com");
    //HTTP Request
    connection.setRequestMethod(HttpConnection.GET);
    connection.setRequestProperty("Content-Type","//text plain");
    connection.setRequestProperty("Connection", "close");
    // HTTP Response
    System.out.println("Status Line Code: " + connection.getResponseCode());
    System.out.println("Status Line Message: " + connection.getResponseMessage());
    if (connection.getResponseCode() == HttpConnection.HTTP_OK)
    System.out.println(
    connection.getHeaderField(0)+ " " + connection.getHeaderFieldKey(0));
    System.out.println(
    "Header Field Date: " + connection.getHeaderField("date"));
    String str;
    inputstream = connection.openInputStream();
    int length = (int) connection.getLength();
    if (length != -1)
    byte incomingData[] = new byte[length];
    inputstream.read(incomingData);
    str = new String(incomingData);
    else
    ByteArrayOutputStream bytestream =
    new ByteArrayOutputStream();
    int ch;
    while ((ch = inputstream.read()) != -1)
    bytestream.write(ch);
    str = new String(bytestream.toByteArray());
    bytestream.close();
    form.append(str);
    System.out.println(str);
    connection.close();
    catch(IOException error)
    System.out.println("Caught IOException: " + error.toString());
    finally
    if (inputstream!= null)
    try
    inputstream.close();
    catch( Exception error)
    /*log error*/ }
    if (connection != null)
    try
    connection.close();
    catch( Exception error)
    /*log error*/
    Please help me out what are the things I have to do to run this MIDlet on my Nokia 7610.
    Thanks in advance.

    You ever find an answer? I have an LG VX5200 phone which is supposed to support Java. But aside from downloading Java apps from other sites I'm trying to figure out which folder on the phone's filesystem you place the file. With BitPIM and QPST you can view the phone's filesystem. But as yet to find either a folder that works or combination of settings to get it to show up on the phone list of apps.
    I had hoped that maybe someone had downloaded a game from a site and then looked at the phone to see where and how it's stored. I can't from where I'm at.
    Michael

  • Error allocating HTTP/WSP connection

    Our midlet interacts with the Servlet with HttpConnecction, sends data to the Servlet and receive the Servlet response.
    Midlet is running correctly on Siemens CX75 Emulator and default java emulators. (Netbeans IDE) And when we testedt it on the real mobile device(Sony Ericsson) it operated correctly.
    But when we tried it on the S75 emulator, and Siemens S75 real device, we faced that it can not connect to the Servlet. We receive "java.io.IOException: Error allocating HTTP/WSP connection� error message. It seems that the application can not open the HttpConnection so Midlet can not interact with the Servlet.
    the error's full stack is;
    java.io.IOException: Error allocating HTTP/WSP connection
    - com.siemens.mp.io.wsp.WspConnection.sendRequest(), bci=208
    - com.sun.midp.io.j2me.http.HttpConnection.openInputStream(), bci=20
    - MobileTSP.sendData(), bci=8
    - MobileTSP.ReceiveData(), bci=46
    - MobileTSP$1.run(), bci=20
    Can't receive any data
    We use Thread that handles the network connection (HttpConnection). How can it be, an application that runs correctly in the emulator which can not run in the real phone and other emulators?
    Thanks...

    Welcome to the world of MIDP development.
    Once we find a problem with a specific phone we apply a different build process depending on what phone were using. (the work around is applied only to the affected phone).
    (Sorry i cant be of any real help)

  • Unable To Create MIDlet Null

    hi all!
    i am trying to run a simple midlet code and am egtting the error:
    Unable To Create MIDlet Null
    java.lang.NullPointerException
         at com.sun.midp.midlet.MIDletState.createMIDlet(+14)
         at com.sun.midp.midlet.Selector.run(+22)
    I have tried to find out the solution but all my efforts have been in vain!
    anybody who can help me please reply to my query as soon as possible!
    your guidance will be appreciated!
    The code is as follows:
    package example.MethodTimes;
    import javax.microedition.midlet.*;
    * An example MIDlet runs a simple timing test
    * When it is started by the application management software it will
    * create a separate thread to do the test.
    * When it finishes it will notify the application management software
    * it is done.
    * Refer to the startApp, pauseApp, and destroyApp
    * methods so see how it handles each requested transition.
    public class MethodTimes extends MIDlet implements Runnable {     
    // The state for the timing thread.
    Thread thread;
    * Start creates the thread to do the timing.
    * It should return immediately to keep the dispatcher
    * from hanging.
    public void startApp() {     
    thread = new Thread(this);
    thread.start();
    * Pause signals the thread to stop by clearing the thread field.
    * If stopped before done with the iterations it will
    * be restarted from scratch later.
    public void pauseApp() {     
    thread = null;
    * Destroy must cleanup everything. The thread is signaled
    * to stop and no result is produced.
    public void destroyApp(boolean unconditional) {     
    thread = null;
         public void exitApp() {     
    destroyApp(true);
    * Run the timing test, measure how long it takes to
    * call a empty method 1000 times.
    * Terminate early if the current thread is no longer
    * the thread from the
    public void run() {     
    Thread curr = Thread.currentThread(); // Remember which thread is current
    long start = System.currentTimeMillis();
    for (int i = 0; i < 1000000 && thread == curr; i++) {     
    empty();
    long end = System.currentTimeMillis();
    // Check if timing was aborted, if so just exit
    // The rest of the application has already become quiescent.
    if (thread != curr) {     
    return;
    long millis = end - start;
    // Reporting the elapsed time is outside the scope of this example.
    // All done cleanup and quit
    // destroyApp(true);
    //notifyDestroyed();
              exitApp();
    * An Empty method.
    void empty() {     
    Thanks!!

    that is because the other projects created a package of its own. Thats no problem and not required for execution.
    You have to do
    1) create in your project's src directory a subdirectory called "examples" (if you want to use the package)
    2) in this subdir (./src/examples/) you have to put the MethodTimes.java file which contains the code from above with the "package examples;" statement.
    3) run the WTKs build and afterwards the run
    This should work. If not, be plz more precisely on whats not working.
    And the WTK 2.1 should be no problem at all since I used it too.
    hth
    Kay

  • JAva ME SDK 3.0 Fatal Error : 123

    Hi,
    i have a very strange error when running my midlet inside the emulator of SDK 3.0
    This midlet runs fine under SDK 2.5, and under Nokia emulator but in SDK 3.0 I have an almost silent crash of the emulator. The only message the console is giving me is
    Fatal Error : 123
    I have no idea what this is supposed to mean.
    Can anybody point me to how I could debug this and to what might be the cause of this error ?
    Many thanks in advance

    Please check device.properties file in c:\Documents and settings\<user>\javame-sdk\3.0\work\<device_id>\device.properties.
    Check whether "profiler.enabled" is true / false.
    I faced same if profiler is enabled.
    Works for me if "profiler.enabled" is set to false.
    -Surendhar

  • Emulator runtime error - java.lang.IllegalAccessException

    Hi
    Im working through some example code, and when i build, everything is fine, with no errors, however when i run in the emulator, even though at this moment the program actually does nothing, its just a skeleton, i get the following error:
    Unable to create MIDlet MyC
    java.lang.IllegalAccessException
    at com.sun.midp.midlet.MIDletState.createMIDlet(MIDletState.java:148)
    at com.sun.midp.midlet.Selector.run(Selector.java:151)
    For hours, i have been pondering over the code, but the answer eludes me as to why i get this error
    Here is the main midlet:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class my extends MIDlet implements CommandListener {
    private MyC canvas;
    public void startApp() {
    if (canvas == null) {
    canvas = new MyC(Display.getDisplay(this));
    Command exitCommand = new Command("Exit", Command.EXIT, 0);
    canvas.addCommand(exitCommand);
    canvas.setCommandListener(this);
    // Start up the canvas
    canvas.start();
    public void pauseApp() {}
    public void destroyApp(boolean unconditional) {
    canvas.stop();
    public void commandAction(Command c, Displayable s) {
    if (c.getCommandType() == Command.EXIT) {
    destroyApp(true);
    notifyDestroyed();
    here is the class it uses:
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    import java.util.*;
    import java.io.*;
    public class MyC extends GameCanvas implements Runnable
    private Display display;
    private Sprite playerSprite;
    private boolean sleeping;
    private long framedelay;
    public MyC(Display d)
    super(true);
    display = d;
    framedelay = 33;
    public void start()
    display.setCurrent(this);
    try
    playerSprite = new Sprite(Image.createImage("/player.png"),12,12);
    catch (IOException e){}
    sleeping = false;
    Thread t = new Thread(this);
    t.start();
    public void stop()
    public void run()
    Graphics g = getGraphics();
    while (!sleeping)
    update();
    draw(g);
    try
    Thread.sleep(framedelay);
    catch (InterruptedException ie) {}
    private void update()
    return;
    private void draw(Graphics g)
    playerSprite.paint(g);
    flushGraphics();
    }

    im using j2me, and yes, i have gone straight for
    mobile phone midlet programming. That isn't going to be easy.
    When i remove the
    detail at the end of the constructor, the code wont
    exectute at all. By looking at the code i presented
    here, is there anything noticeable as to why i keep
    getting this error?"Won't execute" doesn't tell me anything.
    Removing the parameter means that you need to do other things to the code because there will be undefined items.
    If you are copying code exactly as it appears in a tutorial then you need to be aware that you might be working with different versions of code (java and midlet) and/or there might be mistakes in the tutorial. Of course if you modified the tutorial code then you could be introducing problems as well. You can look for other sources of documentation which might provide more information as to what a minimal set up looks like.

  • Source Not Found Error while Debugging

    Hello,
    I get annoying Errors while debugging a midlet. I reinstalled all programms an created a new midlet suite + midlet but the error is still there and the Midlet doesnt start.
    i got Eclipse Version: 3.2.2, Eclipse ME 1.6.6, the newest WTK 2.5 and java.vm.version=1.6.0-b105.
    I configured everything like www.eclipseme.org says it would be correct.
    Running a Midlet works fine.
    The bug opens an Helper.class file which says:
    Class File Editor: Source not found: "The Jar of this classfile belongs to the container J2ME library [ Sun Java (TM) Wireless Toolkit 2.5 for CLDC/MediaControl]. To configure the source attachment, go directly to the corresponding configuration page (For example for JRE go to 'Installed JRE#s page in references).
    Any clou how to fix this?? I need to debug my midlet :-/
    THANKS!
    Byby
    pako

    Hi,
    I just had the same problem and navigated to this page here in hope for a solution...
    However I've solved the problem now. On Eclipse, do the following.
    1) Right-click on the added Jar-file (which is producing the problem)
    2) On the popup-menu choose "Build Path" and "Configure Build Path..."
    3) On the opening preference window, click the checkbox of the Jar
    This is probably necessary because the jar has to be exported such that the simulator is able to execute it.
    Greets,
    Juri
    http://juri-strumpflohner.blogspot.com

Maybe you are looking for

  • Setup SSO  for WEB AS 6.20  to SAP R/3 using NTLM or NT Password

    HI, I have installed ITS and configured SNC on SAP R.3 4.7 x 200. When i login from the web browser into the SAP R/3  thru ITS using this url: http://192.168.1.193:82/scripts/wgate/sapntauth/! i get the response like this: Error during authentication

  • Is there any way I can convert web pages to PDF using Acrobat X Pro in Explorer from Office 2013?

    I get the error message "Could not access Acrobat's web capture facility.  Acrobat may be busy or waiting for input."  I have Win 8 OS also. Is there any way to convert?

  • JMM: legal to optimize non-volatile flag out of particular loop condition?

    Does Java Memory Model allow JIT compiler to optimize non-volatile flag out of loop conditions in code like as follows... class NonVolatileConditionInLoop {   private int number;   private boolean writingReady = true; // non-volatile, always handled

  • Table VBKD

    In table VBKD you have a POSNR 000000 for header data and then POSNR e.g. 000001 for item 1 on the sales order. According to me a POSNR not equal to 000000 will only be created when you have different purchase order data per item. When does the syste

  • Finder dosn't sort by time correctly

    I decided after a long time to upgrade to mavericks from snow leopard. Apart from some issues it works pretty well. However one issue is really annoying. When I choose to sort by "date" it only groups the files in "today" "yestarday" and so on. Finde