Can not create connection for SMS sending?

hello, everyone.
I am a beginner in mobile develepment, now is trying write an appication which can send Short Message.
The program run well on the simulators come with WTK 2.2. But when I
try it on the simulator of Series 60 MIDP SDK 2.1, I get an error.
There is the code cause the error:
msgConn = (MessageConnection) Connector.open("sms://" + address + ":20000");
The information like these:
java.io.IOException: SymbianOS error = -15 : System:
System error.
     at com.symbian.util.NativeError.checkIO(+20)
     at com.symbian.gcf.ConnectionEndPoint.checkError(+22)
     at com.symbian.gcf.ConnectionSessionBase.createConnection(+33)
     at com.symbian.gcf.ConnectionEndPoint.<init>(+76)
     at com.symbian.gcf.DatagramConnectionEndPoint.<init>(+7)
     at com.symbian.midp.io.protocol.sms.SMSClientConnectionImpl.<init>(+7)
     at com.symbian.midp.io.protocol.sms.Protocol.openConnection(+59)
     at com.symbian.gcf.ProtocolBase.openConnection(+145)
     at com.symbian.gcf.GCFConnector.open(+197)
     at javax.microedition.io.Connector.open(+7)
     at javax.microedition.io.Connector.open(+6)
     at javax.microedition.io.Connector.open(+5)
     at example.sms.SMSSender.run(+36)
Is there someone who has met with the same problem or is familiar with Series 60 MIDP 2.1 would like to give me some advice? I will appreciate this help very much.
Best Regards.

Viet Thach wrote:
Dear all!!
I have created a connection pool to ORACLE DB9i. But when weblogic 7 start,
it show the error:
Cannot startup connection pool "ecsPool" weblogic.common.ResourceException:
weblogic.common.ResourceException:
Could not create pool connection. The DBMS driver exception was:
java.sql.SQLException: Io exception: Connection
refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(
CODE=12505)(EMFI=4))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)
at
oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
at oracle.jdbc.driver.OracleDriver.connect(OracleD....
I have user sqlw user/pass@connect , it works OK!
I have use thin connection of ORACLE
jdbc:oracle:thin:@host:1521:SID
driver: oracle.jdbc.driver.OracleDriverHi. Show me the entry in the tnsnames.ora file that corresponds to the DBMS
you want to connect to. From that, I can show you the proper arguments
to give to Oracle's thin driver to make it work.
Joe

Similar Messages

  • Why in the new version of Flash CC I can not create swf for Google DPF system???

    Hi!
    In the Flash CC, the lowest version save swf is 10.3.
    Why is the new version of Flash CC can not create swf to Google DPF system?
    https://support.google.com/dfp_sb/answer/1382874?hl=en
    https://support.google.com/adwordspolicy/answer/94230?hl=en
    Please help me.
    I would be grateful for any help solve the problem.
    Regards!

    There are many people complaining about this in other threads.  I found the solution from kglad in this thread: http://forums.adobe.com/message/5750996
    You can get Flash CC to publish to version 9 player by putting these two files in these locations:
    This file: http://forums.adobe.com/servlet/JiveServlet/download/5510986-147069/Fl ashPlayer9_0.xml
    Goes here: C:\Program Files\Adobe\Adobe Flash CC\Common\Configuration\Players\FlashPlayer9_0.xml
    This file:  http://forums.adobe.com/servlet/JiveServlet/download/5510986-147068/pl ayerglobal.swc.zip
    Goes here: C:\Program Files\Adobe\Adobe Flash CC\Common\Configuration\ActionScript 3.0\FP9\playerglobal.swc
    You may need to create the FP9 folder.
    Restart flash and you should see Player 9 in your publish options.  You'll have to find the AS3 clickTag code.

  • Can not create Connection pool while connect to oracle is OK!!! Please, help me!

    Dear all!!
    I have created a connection pool to ORACLE DB9i. But when weblogic 7 start,
    it show the error:
    Cannot startup connection pool "ecsPool" weblogic.common.ResourceException:
    weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Io exception: Connection
    refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(
    CODE=12505)(EMFI=4))))
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)
    at
    oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
    at oracle.jdbc.driver.OracleDriver.connect(OracleD....
    I have user sqlw user/pass@connect , it works OK!
    I have use thin connection of ORACLE
    jdbc:oracle:thin:@host:1521:SID
    driver: oracle.jdbc.driver.OracleDriver

    Viet Thach wrote:
    Dear all!!
    I have created a connection pool to ORACLE DB9i. But when weblogic 7 start,
    it show the error:
    Cannot startup connection pool "ecsPool" weblogic.common.ResourceException:
    weblogic.common.ResourceException:
    Could not create pool connection. The DBMS driver exception was:
    java.sql.SQLException: Io exception: Connection
    refused(DESCRIPTION=(TMP=)(VSNNUM=150999297)(ERR=12505)(ERROR_STACK=(ERROR=(
    CODE=12505)(EMFI=4))))
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:361)
    at
    oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
    at oracle.jdbc.driver.OracleDriver.connect(OracleD....
    I have user sqlw user/pass@connect , it works OK!
    I have use thin connection of ORACLE
    jdbc:oracle:thin:@host:1521:SID
    driver: oracle.jdbc.driver.OracleDriverHi. Show me the entry in the tnsnames.ora file that corresponds to the DBMS
    you want to connect to. From that, I can show you the proper arguments
    to give to Oracle's thin driver to make it work.
    Joe

  • Can not create activity for a workspace in the DTR

    Hi there,
    I am trying to get familiar with the DTR which comes with the WAS 6.40 SP9.
    I figured out how to create a workspace. Now I try to create a project at this workspace. Therefore an activity is necessary. The NW Developer Studio (perspective DTR with admin-plugin activated) tells me that an activity was created but there is none.
    Thus, i tried to create an activity with the DTR Shell. At first the shell tolds me that an activity was created but a second later it showed me the following error:
    Could not create the requsted activity.Set client properties on activity failed: Internal Server Error.
    I tried to find some logfiles and at the SAP Management Console at the database i found an error which occurs when i try to create an activity:
    ERR 51080 SYSERROR -9041 BD Index not accessible
    Have anybody an idea how to solve this problem?

    I guess you are using MaxDB as the database.
    The error message indicates that some database indexes could have got corrupted in your database.
    To check this, you the MaxDB Database Manager.  Go to
    Instance->Tuning->Index Use.  Provide the table owner (SAP<SID>DB) and click on 'Search' on the tool bar.  It lists you all the indexes for the owner.  The last column shows if there are any bad indexes.
    If indeed there are bad indexes, then you can recreate them via Instance->Recovery->Index.  Provide the table owner, table and index name and click on 'Recovery'.
    -Girish

  • Can not create connection

    I wrote a small program to try OCCI (Oracle 9i Release 2). I compile with MS VC .Net and run the program on Windows 2000 and Windows XP:
    // test.cpp
    #include <occi.h>
    using namespace oracle::occi
    main()
    Environment* env;
    Connection* conn;
    env = Environment::createEnvironment();
    try
    conn = env->createConnection("test", "test", "test");
    catch(SQLException& sqlExcp)
    cout << sqlExcp.getErrorCode()
    << sqlExcp.getMessage() << endl;
    catch(exception& excp)
    cout << excp.what() << endl;
    catch(...)
    cout << "----Unknown error.----" <<endl;
    I run the program an two platform and the result is:
    ----Unknown error.----
    In the debug output window of VC .Net, I get the message:
    HEAP[test.exe]: Invalid allocation size - cccc0060 (exeeded 7ffdefff)

    You need to use a separate occi dll to work with VC7(.NET) and it is available for Oracle 9.2.0.3 on Windows. Please contact Oracle support for details.

  • Can't create payment for the invoice created by DI Server

    I can not create payment for my invoice that created by DI Server.  The error -2028 appears. I investigated this issue and found that the OINV.CtlAccount is empty. After I filled it manually, I can create the payment for it. Any suggestions? BTW, the version used is SBO2005B.

    It's resolved by apply the patch. Before that, I create a trigger as the work-around

  • Yoga 11 - can not create an account for the App store,

    I can not create an account for the App store, I live outside of the USA and the only address option is in the USA. Can you help me
    Moderator Note: Edited subject to match content.

    Hi
    Welcome To Lenovo Community
    We are really sorry to hear about the issue you are facing,
    I have verified the Microsoft windows 8 app store has different regions listed
    And you can connect app store using an existing Microsoft account like Hotmail, msn etc.
    Please refer below link
    http://windows.microsoft.com/en-US/windows-8/explore-windows-store#1TC=t1
    Also if you can share the link or screen shot of the app store to help you further
    Do give this a try and let us know  
    Hope This Helps
    Cheers!!!
    WW Social Media
    Important Note: If you need help, post your question in the forum, and include your system type, model number and OS. Do not post your serial number.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    Follow @LenovoForums on Twitter!
    How to send a private message? --> Check out this article.
                            English Community   Deutsche Community   Comunidad en Español

  • Can not create the connection in the enrironment!!

    hello,every one:
    please see the following code:
              Environment *env = Environment::createEnvironment(Environment::OBJECT);
              Connection *conn = env->createConnection(userName,password,connectString);
    try
    //use the conn
              catch (SQLException &ex)
                   env->terminateConnection(conn);
                   Environment::terminateEnvironment(env);
                   throw;//re-throw
              env->terminateConnection(conn);
              Environment::terminateEnvironment(env);
              Environment *ev = Environment::createEnvironment(Environment::OBJECT);
    //the program stopped here,display i can not create the new connection
              Connection *cn = ev->createConnection(userName,password,connectString);
              ev->terminateConnection(cn);
              Environment::terminateEnvironment(ev);
    I have terminated the connection and the environment,then why I can not create the
    connection in the new environment?
    I have tried several times,if you connect the same database as the former,then it
    does not work,but if you connect a new database ,it can create the new connection!
    plus:I don't want to use conection pool .
    Can I have some method to solve the problem?
    Please help me!
    Thanks a lot in advance!
    tony from China

    Hi Tony,
    This similar sample works perfectly fine for me. Can you
    retry with this?
    #include <iostream>
    #include <occi.h>
    using namespace std;
    using namespace oracle::occi;
    int main()
            Environment *env = Environment::createEnvironment(Environment::OBJECT);
            Connection *conn = env->createConnection("scott","tiger","inst1");
            try
            //use the conn
            catch (SQLException &ex)
                    env->terminateConnection(conn);
                    Environment::terminateEnvironment(env);
                    cout<<ex.getMessage();
            env->terminateConnection(conn);
            Environment::terminateEnvironment(env);
            Connection *cn;
            Environment *ev;
            try{
            ev = Environment::createEnvironment(Environment::OBJECT);
            cn = ev->createConnection("scott","tiger","inst1");
            catch (SQLException &ex)
                    ev->terminateConnection(cn);
                    Environment::terminateEnvironment(ev);
                    cout<<ex.getMessage();
            ev->terminateConnection(cn);
            Environment::terminateEnvironment(ev);
    }Rgds
    Amogh

  • : Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'adobe'@'localhost' (using password: YES))

    hi all can anyone help me i am geting Exception while starting LCES server
    : Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'adobe'@'localhost' (using password: YES))

    hi all can anyone help me i am geting Exception while starting LCES server
    : Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'adobe'@'localhost' (using password: YES))

  • I have an apple id but ı can not use it for sign in to itunes connect account while publishing my ibook document. Why ı can not login? What can ı do to figure out this problem?

    I have an apple id but ı can not use it for sign in to itunes connect account while publishing my ibook document. Why ı can not login? What can ı do to figure out this problem?

    As note already on the iBA forum [ AppleID for ibooks publishing ], you need two IDs. You can't use your developer ID.
    If you already signed up for books with that ID, you need to talk to Apple to straighten things out.

  • I can not create an Installer, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...

    I can not create an Installer on LabView, After install the Vision Builder Demo and then uninstall it. I can not create a Labview installer anymore, it asks me for a Vision Builder Installer, even if My Labview program does not have nothing to do with it...
    Solved!
    Go to Solution.

     Hi Shada this can happen if you are including additional installers to your installer for example DAQmx. When you are doing this the installer has to include other files like MAX (Measuremente and Automation Explorer). Probably when you installed Vision Builder it updated MAX, so when your installer is trying to Include MAX, its asking for the source where it was installed in your computer in this case Vision Builder.
     Here you can cache the information so its not asked again, or you can download a newer version fo DAQmx, so it will update MAX and change de dependecy.
     You can find more details about this issue in this KB:
    KnowledgeBase 3S88PJMY: Why Do I Get A "Missing Distribution" Error When Trying to Build an Installe...
    And for keeping a copy here is more info:
     How Do I Stop the Missing Distribution Notification Each Time I Build An Installer?
    Best Regards
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Can you play this url? (JMF error 'could not create player for')

    Hello,
    I can play this url in Windows Media Player
    http://anon.vht.com.edgesuite.net/dl/deg18-062405-2425.wmv
    However when I try to play it in JMStudio 2.1.1e, I get error "could not create player for deg18-062405-2425.wmv"
    Any help appreciated,
    thanks,
    Anil

    please login and vote for this bug to be fixed - 4 years old!!!
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4670412

  • I can not get my email to send through my iPad email. The email works for all other options. The error says I need to enter a password in setting, but I have entered the password numerous times to no avail. Any ideas?

    I can not get my email to send through my iPad email. The email works for all other options. The error says I need to enter a password in setting, but I have entered the password numerous times to no avail. Any ideas?

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
     Cheers, Tom

  • I can not create a new ID in my iphon 4s, well I've created several to solve the problem of FaceTime, and the last restoration would not let me create a new ID. I can do? Thanks for helping.

    I can not create a new ID in my iphon 4s, well I've created several to solve the problem of FaceTime, and the last restoration would not let me create a new ID.
    I can do?
    Thanks for helping.

    Thanks Ckuan
    I can do, to create new ID?
    No way to delete all information from Iphon to create another ID?
    I will appreciate your answer

  • I am in south africa, just bought a voucher for us$ to get stuff from US itunes....but i can not create us itunes account, i am in south africa, just bought a voucher for us$ to get stuff from US itunes....but i can not create us itunes account

    how can i buy stuff in US istore with a voucher i just bought.... I am in South africa and can not create a itunes account in the US

    You can't, you can only buy content from your own country's store - to be able to buy from another country's store you need a valid billing address in that country and be in that country when buying from it. You will either need to make do with what is in the South African store (and I know that it hasn't got the same content as in other countries), or for music you could use other music purchase download sites that you have access to (and you can copy your own CDs).

Maybe you are looking for

  • Why does firefox 4 freeze on the 1st result page of google search engine

    I updated to Firefox 4 yesterday and now every time I use the google search engine my screen freezes on the first results page and will not allow me to click on any of the links on it, saying that it is not responding before eventually the screen goe

  • Help! Serious Ps Problem!

    I bought a new PC computer a few weeks ago and installed the full  adobe CS4 suite onto it and have been using it on this new computer ever  since without any problem. I've used it on the old computer for two years without this problem. Then, last ni

  • Transferring text files to iPod

    Notes Folder I have a 80G Video iPod. It's completely updated w/ most current sofware (as is iTunes). It's enabled for disc use. i restored my ipod , how can i transfer text to my ipod?

  • Thunderbird not able to import all the previous rss from opml file

    I'm using Thunderbird (linux) and move distros. So I exported all the rss feeds with the option available and got the opml file. Then imported the opml file back to the new Thunderbird. But thunderbird didn't retrieve all the rss feeds lists from the

  • Problems with media software..​.

    Hi, I am new to the Blackberry.  Just purchased the Pearl 8110 from and with AT&T service.   The software that comes with it is v4.3 though here on the site I see the version is v4.6 for the lastest.  Can I use the version here on my phone even thoug