HELP: Problem when compile cldc1.1 and midp2.0 in winxp

the error msg is
"missing com.sun.cldc.io.GeneralBase"
i check all the folder and cannot find this class, does it really necessary? why sun do miss it in the release?
anyone can help me? thanks a lot

Actually we are implementing chat application for Jabber( XMPP Protocol). And i am writing the connection code and stream reading code in seperate Thread only. But the problem is, for the first connction i am able to contact server but for subsequent connections the server not recognizing the session which was started using other thread. Thats because i wanted to open connection and streams only once per application startup and perform all operations in that session only.
Jabber is used for developing Google Talk also.

Similar Messages

  • Silly problem when compiling main class

    hi there,
    i have a problem when compiling the main class.
    the classes used by the main class are not recognized. the compiler can't locate the children classes.
    i've already set the path and classpath environment variables, but there's still something missing.
    how should i organize my folders in order to be able to compile the main class successfully, please?
    thanks.

    It would be good to have a precise problem description: the actual command used, folder structure and environment variable settings. Even if you have to construct a simple test case with a couple of classes that illustrates the problem.
    In the absence of that some generic remarks:
    The PATH variable typically points at all the folders that contain executable files that you use often. You can always access other executable files by specifying there full names.
    The CLASSPATH variable is typically left unset.
    When you use the java tools (like the javac compiler or the java runtime) you can specify the classpath that you want to use with -cp. This will override any CLASSPATH value. So in the simple case of two classes (Main and MyClass), you can put them in anywhere you like (for example C:\MyJavaStuff) and compile and run with:
    {noformat}
    C:\MyJavaStuff> javac -cp . *.java
    C:\MyJavaStuff> java -cp . Main
    {noformat}(Mind the dot after -cp))
    By a "main" class I guess you mean a class with a static void main(String args[]) method, but I am suspicious of your "child" classes. Perhaps packages are involved. A precise description of the problem would help.

  • I am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error

    i am facing problem when configuring listener.ora and tnsnamess.ora in listener side it is showing The listener supports no services The command completed successfully  and in when i cross check with listener from tns it is showing the error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    here is my listener file
    lsn =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.125.128)(PORT = 1575))
    #ADR_BASE_LISTENER = /u01/app/oracle
    (SID_LIST_LISTENER=
    (SERVICE_NAME=kull)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1)
    tnsnames.ora
    to_lsn=
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = kull )
    my database name is kull
    please somebody help

    Biswaranjan wrote:
    i have two database one is kull and another is kk
    i configured listener.ora in kull
    and tnsnames.ora in kk
    when i am running lsnrctl start listener in database kull
    This makes no sense.  You don't configure a listener nor a tnsnames.ora "in a database".   I hope this is just a language issue and not reflective of a fundamental misunderstanding of how tns works.
    read: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/ Help! I can’t connect to my database 
    read: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/ Help! I can’t connect to my database (part duex)
    it is showing the message
    Alias                     lsn
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                05-JUL-2013 19:08:06
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/log/diag/tnslsnr/server1/lsn/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1575)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1)(PORT=1575)))
    The listener supports no services
    The command completed successfully
    and in another database in kk when i am giving the command tnsping to_lsn
    it is giving this message
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1575)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = kull)))
    OK (0 msec)
    but when i am cross check sqlplus system/manager@ to_lsn
    it is giving the following error
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor

  • I have a problem when ı want to update and restore my ipad for ios5 : an error occurred while restoring this ipad (-10), what can i do??

    i have a problem when ı want to update and restore my ipad for ios5 : an error occurred while restoring this ipad (-10), what can i do??

    Error -1 is not mentioned in this article about error messages during a restore process: http://support.apple.com/kb/TS3694
    This one comes close:
    The device could not be restored. An internal error occurred, or Error 3200: This indicates a network-connectivity or traffic issue. If you see this error, wait an hour or more and try again.
    You may also check your security software settings, to make sure that iTunes can contact Apple servers during this process: iTunes for Windows: Troubleshooting security software issues

  • Hi i would like help with:  When I draw circle and add stroke I can not see stroke  I use Photoshop CS 5

    Hi i would like help with:
    When I draw circle and add stroke I can not see stroke
    I use Photoshop CS 5

    Make sure the stroke is set to a color and not to the symbol that appears here for Fill

  • Package problem when compiling

    Hi,
    I'm new to java. I'm using Win2000 and JDK1.3.1. I set the "c:\jdk1.3.1\bin" in the System's path. There are three java programs with their own package in the directory as follows:
    "pack.java" - under "c:\jdk1.3.1\bin\test", it will call pack1 & pack2.
    "pack1.java" - under "c:\jdk1.3.1\bin\test\sub1"
    "pack2.java" - under "c:\jdk1.3.1\bin\test\sub2"
    It's ok to compile "pack1.java" and "pack2.java" under their directory. But there is the compiling error for the "pack.java" under "c:\jdk1.3.1\bin\test", even though I've put the "import test.sub1.pack1;" and "import test.sub2.pack2;" in the code. The error were as follows:
    - cannot resolve symbol
    - symbol : class pack1
    - location: package sub1
    - import test.sub1.pack1;
    - cannot resolve symbol
    - symbol : class pack2
    - location: package sub2
    - import test.sub2.pack2;
    I'm not sure what the problem is with the package and/or the import statement. Can any experts help me?
    Thanks in advance.
    Hanna

    Hi all gurus,
    Thank you very much for the help!
    After adding the classpath "c:\jdk1.3.1\bin" to the System's setting, I can compile the "pack.java" under the "test" directory with the command "javac -classpath c:\jdk1.3.1\bin c:\jdk1.3.1\bin\test\pack.java". However, when I run "pack" with the command "java -classpath c:\jdk1.3.1\bin c:\jdk1.3.1\bin\test\pack", there is another error appears as follows, although the "pack.class" has been already there:
    - "Exception in thread "main" java.lang.NoClassDefFoundError: c:\jdk1/3/1\bin\test\pack"
    My "pack.java" code is below:
    package test;
    import test.sub1.pack1;
    import test.sub2.pack2;
    class pack{
    public static void main(String[] args){
    System.out.println("Starting pack");
    System.out.println("Instantiate obj of public classes in different packages");
    //Instantiate objects of pack1 and pack2 in different packages.
    new pack1();
    new pack2();
    System.out.println("Ending pack");
    What's wrong with them? Could you please help me on that?
    Thanks again!
    Hanna

  • Error message when compiling invalid packages and procedures

    Hi.
    I have a routine for copying certain data from a production database to a test database. To do this I disable constraints and triggers, truncate tables, copy tables and enable triggers and constraints again.
    Now several of my functions, procedures and packages are made invalid and marked with a red cross. In SQL Developer I can compile invalid functions, procedures and packages. When I compile functions it works fine, but when compiling procedures and packages I get the following error message:
    An error was encountered performing the requested operation:
    ORA-00904: "ATTRIBUTE": Invalid identifier
    Vendor code 904
    When I click OK on this message I get a confirmation saying:
    Packages have been compiled with #0.CNT# errors.
    I had this error in both the previous and the new version. Is this a bug or is there a way to come around it? When I copy and modify the SQL generated to perform this task and run it in SQL Plus it works fine.
    I use Windows 2000 5.00.2195 Service Pack 4, SQL Developer version 1.2.1, Oracle 9.2.0.8.0 and Java version 1.5.0_11
    Message was edited by:
    SvSig

    i have now upgraded to Java 1.6 update 2. I still get basically the same error, but it is presented a little bit differently:
    An error was encountered performing the requested operation:
    ORA-00904: "ATTRIBUTE": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:
    *Action:
    Vendor code 904
    Are there other possible error causes than the operating system version and the database version?
    We are going to install an Oracle 10 test database in a couple of weeks, so then I will find out whether the database version is the problem.

  • Problem when combinning PWM signal and Analog signal TOGETHER!

    Hello everybody,
    first of all i have DAQmx 6212, and i need to run a small water pump (9V-16V) which needs to be driven by a PWM signal; also i have a motor (5V-13V) for a water valve that needs to be driven by a analog signal and it has a built in a force feedback potentiometer, i connected on the extremeties of this potentiometer +5V from the DAQmx and used the output voltage from the third extremety as a diagnose value for knowing the position of the motor.
    my VI shows:
    1. is a normal Counter output to create my PWMout signal.
    2. is an analog input i use it as a PWMin to the LabVIEW to diagnose what is happenning in my water pump through the duty cycle and the frequency.
    3. is an analog input from the third extremety of the potentiometer.
    4. is an analog output which i have used as a power supply for the motor valve and i have used an AC/DC amplifier to aplify the signal from the DAQmx and drive the motor, between (3. and 4.) i have made a feedback with some calculations i had a P-controller to know the actual position of the motor valve.
    My Problem:
    when putting 1. and 2. in the same VI alone, i am getting a clean PWM in/out with no problems mentioned;
    also when putting 3. and 4. in the same VI alone i can control the motor valve without any problems;
    but when i put all these 4 together as found in the attached VI, i have a problem that the motor valve is running continously without stopping even if i change the valve position between 0 and 100 %, i should mention that i am seeing a normal PWM out/in signal on my oscilloscope, one other thing that if i delete one of (1. or 2.)  and run the VI the motor valve is working fine without any problems.
    so this my problem, if you can think of any solution please let me know.
    thanks in advance for your help.
    Regards,
    Alosh
    Solved!
    Go to Solution.
    Attachments:
    pwm.out.in.analog.out.in.vi ‏45 KB

    Dear nathand thanks for your reply,
    i have ran the vi again and i am have error no 50103 from the (AI, number 3. )  but it is not displaying the error message, the VI keeps running without any error notification.
    adding to that,  i have tested the VI again today by placing (1. and 2.for the PWM inout) together in one VI and (3. and 4.for the motor valve) in another VI and ran them one after the other, i had another problem. if i turn the motor valve vi, the motor will run smoothly but in the pwm vi i will have a problem in which the AI did not read any value. also doing this vice versa by running the pwm vi first it will work perfect but the motor vi will have problem in reading the measured voltage in AI during this the motor will keep on running without stopping.
    so i think now the problem is in AI (2. and 3.) readings they are interfering on each other but i am not discovering where is my problem...
    Q: does the AI's seems well build or i can do it in an another way so to get over the interfering?
    Regards,
    Alosh

  • Create problem when compiling the servlet

    hi,
    i got a problem when i compile a servlet
    when i try to compile the servlet, it shows that it could
    not found the classes like httpservlet, etc.
    means the classes of the servlet
    i am using the j2sdk1.4.1 edition,
    i had include the javax.servlet.*; in the program
    please tell me what can be the problem & especially any solution for that

    the javax.servlet package and it's sub packages (javax.servlet.http, javax.servlet.jsp, javax.servlet.jsp.tagext) are not included with the Standard Edition. These packages are part of the Enterprise Edition. Check out this link for download:
    http://java.sun.com/j2ee/sdk_1.3/

  • [HELP] Problem when update 1 unicode form

    hi all,
    I got a problem when I update unicode form :(
    so, I have already tested my web application (Struts-ibatis-velocity-tiles) on my PC (tomcat 5.5.12, mysql 4.1 - utf8 default, JDK 5.0), everything was okie. I could update 1 unicode form (the form which contains unicode characters - firstname, lastname). I use 1 filter for output and input, below is my web.xml:
    <!-- Filter to set character encoding on each request -->
    <filter>
    <filter-name>Set Character Encoding</filter-name>
    <filter-class>filters.SetCharacterEncodingFilter</filter-class>
    <init-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </init-param>
    </filter>
    <!-- Define filter mappings for the defined filters -->
    <filter-mapping>
    <filter-name>Set Character Encoding</filter-name>
    <servlet-name>action</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>Set Character Encoding</filter-name>
    <servlet-name>velocity</servlet-name>
    </filter-mapping>
    but ... when I deploy and run it on eatj.com, mysql4.1 - utf8, jdk 5.0, I couldn't update unicode form, my last name and first name fields couldn't be saved with unicode characters (utf-8) ...
    what happened :( ... Is this problem of hosting or my web application ??? :(
    help me :(
    thanks in advance,
    bowlkhin

    You need to install the bc package. Apparently the script uses bc to calculate some integer values.
    Brian

  • Problem when compiling TWIN

    When compiling TWIN from AUR (here), I got stuck at "make" phase. I download the tarball from AUR and makepkg from my home directory. The point at where I got stuck is this:
    libTw.c: In function 'Tw_Close':
    libTw.c:1224: error: invalid storage class for function 'DeleteAllListeners'
    libTw.c:1253: warning: implicit declaration of function 'DeleteAllListeners'
    libTw.c: In function 'Tw_StrError':
    libTw.c:1634: error: static declaration of 'DeleteAllListeners' follows non-static declaration
    libTw.c:1253: error: previous implicit declaration of 'DeleteAllListeners' was here
    make[2]: *** [libTw.o] Error 1
    make[2]: Leaving directory `/home/prasetya/Build/twin/src/twin-0.4.6/libs/libTw'
    make[1]: *** [build-dir-libTw] Error 2
    make[1]: Leaving directory `/home/prasetya/Build/twin/src/twin-0.4.6/libs'
    make: *** [build-dir-libs] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    I have read this thread and have installed termcap-compat and required deps as mentioned. It configures fine.
    Any help is appreciated..

    Duplicate post, please go here:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=204588
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Llvm-g++ problems when compiling alchemy

    Hello community,
    I wanted to have a look at alchemy, so I installed cygwin and configured alchemy. However, I'm a little bit stucked... I did the steps in the tutorial but when compiling I got errors (note, I use g++ instead of gcc):
    $ alc-on && g++ c__/blackcat.c -O3 -Wall -swc -o swc/blackcat.swc
          3 [main] llvm-g++ 4360 child_copy: cygheap read copy failed, 0x61224780..0
    x6122A4C4, done 0, windows pid 4360, Win32 error 6
          3 [main] llvm-g++ 4656 child_copy: cygheap read copy failed, 0x61224780..0
    x6122A4C4, done 0, windows pid 4656, Win32 error 6
          3 [main] llvm-g++ 4816 child_copy: cygheap read copy failed, 0x61224780..0
    x6122A4C4, done 0, windows pid 4816, Win32 error 6
          3 [main] llvm-g++ 2792 child_copy: cygheap read copy failed, 0x61224780..0
    x6122A4C4, done 0, windows pid 2792, Win32 error 6
          4 [main] llvm-g++ 2264 child_copy: cygheap read copy failed, 0x61224780..0
    x6122A4C4, done 0, windows pid 2264, Win32 error 6
          3 [main] llvm-g++ 3368 child_copy: cygheap read copy failed, 0x61224780..0
    x6122A4C4, done 0, windows pid 3368, Win32 error 6
    So I tried different things like removing the symbolic links, then relinked them, copied alchemy again, reinstalled cygwin, installed cygwin onto another drive, copied flexsdk to c/flexsdk, but nothing of this did the job.
    Did anyone else had same errors?
    I'm running a german Windows 7 x86_64 version here.
    My business partner got it to work on his machine, but he also doesn't know why it's not working on mine.
    Can someone help?
    Kind Regards,
    Daniel

    This is an "invalid handle" error.
    The first thing to do is run your cygwin session as administrator.  If that doesn't fix it, I would check the file permissions on the drive.
    If the setup doesn't work properly (i.e. the symlinks don't get created properly), I don't think you even get this far, but that's something to check as well.  If your colleague has it working, you can compare your installs.

  • Problem when using WEB.SHOW_DOCUMENT and passing in lexical parameter

    Hi,
    I got a blank page with error "An error has occured while trying to use this document" when I tried to use web.show_document and passing a lexical parameter to 10g report on 10gAS. The URL in the web.show_document is:
    http://<srvname>:<portnum>/reports/rwservlet?server=repserver90&report=myrpt.rdf&destype=Cache&desformat=pdf&userid=<usr>/<pw>@<db>&where_clause=where%20product_type%20in%20('REPORT')
    If I change the desformat to htmlcss, it is fine to display the report. But doesn't work with desformat=pdf. The pdf file has been generated in the cache. Why can't it display on the screen.
    Also I tried to use double quote the value for where_clause. The pdf report showed up. But it ignored the where clause.
    Experts please help.
    Ying

    I use lexical parameters and they work fine, but I use a parameter list. The code is contained in a form that is called by all forms that wish to run a report. This way you only need the logic for printing in a single form. If you want the form, email me at [email protected]

  • Problem when calling the RFC and IDoc adapter at the same time

    Hi,
    I'm having a major slowdown problem with XI3.0 SP11.
    When I'm sending a message(IDoc) from R/3 into XI to get translated into an EDI document, I have no problems and it's very fast.  RFC calls are very fast too.
    Now, if I'm sending the same message and at the same time another call is done trough the RFC adapter, then the full XI environment hangs for several minutes.
    I did all recommended settings from the XI-SR1 install guide(Configuring the J2EE Engine) and tuning guide (XI Configuration Parameters)
    and I don't know what to do more?   At the Unix level, command TOP shows that dw.sap.XDV_DVEBMGS70 is taking all the CPU% available when both messages(IDoc and RFC) are sent to XI at the same time.
    Anybody have an idea what to do next?
    Rgds,
    Yves

    Did you check the dev_rfc logs ? Also check SM21 for any errors. Logon to the Target System and check SM50 transaction then you will know whats going on.
    regards
    Shravan

  • Error when Compiling package header and body - how change pkb file associat

    Hi everyone,
    it has already been noticed elsewhere (in the thread "Compiling package header and body" of Jan 12, 2010) that the compilation of package scripts sometimes fails (apparently because of a sqldeveloper bug) when the script contains the terminating slash /.
    Is this bug still open?
    Next question: In the above mentioned thread it is recommended as workaround to change the corresponding file type association from pl/sql to sql. I would like to do that; I know the place in the preferences dialog, but most of the associations there seem to be hard coded and cannot be changed.
    I would appreciate any ideas!
    Thanks in advance,
    user8632123.

    For the workaround: you'd have to change the file's extension, not the association (to e.g. .sql).
    Have fun,
    K.

Maybe you are looking for

  • Care to play with grub2-graphical?

    UPDATES: November 2, 2009:      1) Added a section to troubleshooting for flickering graphical menus October 28, 2009:      1) Added a section to troubleshooting for failing to parse the block device      2) Fixed a few outdated pieces and typos Octo

  • My external hard drive doesn't show up in finder, is it dead?

    My external hard drive doesn't show up in finder.Time machine can't find it. Does this mean my external hard drive is dead? I borrowed a friends and switched mine with hers. My acted the same way in her macbook. I switched the cords on the external d

  • Compressing/Releasing Free space in database.

    Hi, I need to copy the database version 8.1.7.4 on solaris 9 to other box running solaris 10 for upgrading to 10gR2. The size of datafiles (all datafiles has data) is about 600 GB where as the database size is about 270 GB. The traget box has storage

  • Ipod nano 3rd gen. osx??

    So heres the thang. I was given a new nano for my birthday and as I am running 10.3.9 it ain't working! Do I really need 10.4.8 or above and if so does 10.4 even exist anymore??? If I must go 10.5 will it work well on my ibook??? thank you so much fo

  • This could put MP3 Player companies out of business-Copy Protedted C

    <SPAN>I have run into a batch of new CD's that are copy protected from Sony in this case.<SPAN> <SPAN>The example I will Use is Patty Loveless's New Cd Dreamin' My Dreams. First the ripper in my Zen software kept ejecting the CD and asking me to put