CANT CONNECT TO DB USING DATASOURCE ON J2ME PERSONAL PROFILE

Having installed the optional JDBC package for J2ME and using the personal profile. I cant seem to connect using a datasource provided by HSQLDB. I keep getting the following error in WSDD:
This compilation unit indirectly references the missing type javax.naming.Referenceable (typically some required class file is referencing a type outside the classpath)
My classpath contains the database.jar file.
Where am I going wrong?
please please could some one help.
Thanks

Just a guess according to my Personal Java experience: maybe that optional JDBC package for J2ME is only JDBC1.2 compatible so that your should use HSQLDB JDB1.2 package? Thanks for correction.

Similar Messages

  • Online chat, August 6, on J2ME Personal Profile

    The J2ME Personal Profile (JSR 62), which is now available as a proposed final draft, is a CDC-based profile for small devices that require a high degree of Internet connectivity and web fidelity. It's intended as the follow-on to the PersonalJava environment. Got a question about the J2ME Personal Profile? Then get answers in this chat with Spec Lead, Jon Courtney, and Reference Implementation Lead, Tony Wyant. They'll answer your questions on Tuesday, August 6, at 11 A.M.-to-noon Pacific time (6 P.M.-to-7 P.M. GMT).
    To join the chat, go to http://developer.java.sun.com/developer/community/chat/index.html and click on "Join the current session."

    When will the Transcript for this chat be available?

  • J2me personal profile

    Hi
    Am a novice to start with j2me personal profile with embedded linux.
    Can you tell me, where I can find about the documents?
    What are the softwares I need?
    I heard about IBM J9 JVM.
    To work with IBM J9 personal profile and embedded linux,
    what are the softwares needed?
    Please help me.
    Thanks
    raja

    I'm looking to gauge Java's GUI capabilities for high
    end PDA devices. Some things that I'm looking at
    are:Personal Profile only supports AWT (not SWING)!
    -MenusAWT Menus.
    -Tree structuresNo SWING JTree!
    -Context menus (can you detect the difference between
    a single click and a click and hold as you can using
    VS.net?)All that you can do using AWT.
    -Screen/Form controls (i.e. close, minimise/hide)Belongs to the Frame and is handled by the Virtual Machine.
    With the menus can you have them at the bottom of the
    screen rather than the top (as with VS.net).Handled by the Virtual Machine. If you use e.g. J9 this is done automatically.
    >
    I'd guess that java is capable of all of these, but
    it'd be nice if someone could confirm it. Also a
    point in the direction of some examples or tutes
    would be great.Just look into an AWT tutorial.

  • What to install JDK 1.1.8 with J2ME personal profile option.

    Hi,
    I want to install JDK 1.1.8 with J2ME personal profile option in motorola device MC3190 which is having windows CE .
    1) From where I will get the exact software and what is the procedure to install it.
    Thanks
    Subhasis

    891487 wrote:
    Hi,
    I want to install JDK 1.1.8 with J2ME personal profile option in motorola device MC3190 which is having windows CE .
    1) From where I will get the exact software and what is the procedure to install it.
    Your phone vendor.

  • Cant connect to safari-used to work fine!!

    i just returned from out of the country...my wireless worked fine before i left, while i was away and i get home and cant connect!  My boyfriends computer is fine, i am using it now.  I have spoken with my provider and they couldn't help me-after taking me through system preferences, making sure i had the correct ip address, manually entering my network and passcode, restarting the connection, my computer, i think i have tried everything.  it says i am connected but safari is saying i am not.

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Has any of this been tried?

  • Cant connect to internet using airport?!!!

    Hi,
    Suddenly and out of nothing, I just dont seem to be able to get connect to internet using airport. I restarted all devices but it still not working. Though I can connect to my wireless network using airport, I cant use the internet. I can use the internet from other devices and I've already checked my settings.
    Thanks

    Hi - what do you mean when you say that you "installed Airport Express on laptop" - do you mean "with your laptop using the Windows 7 version of the Airport Utility? - and what wireless router are you referring to? - if you clarify these issues, maybe someone can help you

  • Cant connect my database using net service_name

    Good Morning to all;
    I trying to connect my database using net service_name , but i am getting error.
    I have tnsnames.ora entry and listener.ora entry.
    Please help me to crack this error.
    SQL> select name from v$database;
    NAME
    ORCLTEST
    SQL> grant connect ,resource to u1 identified by u1;
    Grant succeeded.
    SQL> grant sysdba to u1;
    Grant succeeded.
    SQL> show parameter pass;
    NAME TYPE VALUE
    remote_login_passwordfile string EXCLUSIVE
    SQL> shut immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    From DBS Directory :
    [oracle@linuxserver dbs]$ orapwd file=orapworcltest password=asdf1234 entries=3
    export ORACLE_SID=orcltest
    [oracle@linuxserver ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Mar 9 19:24:22 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR when trying to connect
    SQL> conn u1/u1@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    SQL> conn u1/asdf1234@ORCLMYTEST
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Thanks in advance ..

    Can i connect my database using username/password@netservice_name ?
    Yes, you should. Please post the result of "lsnrctl stat LISTENER_ORCL".
    *[oracle@linuxserver admin]$ lsnrctl stat LISTENER_ORCL*
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-MAR-2013 19:58:18
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linuxserver)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTener_ORcl
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 09-MAR-2013 11:10:14
    Uptime 0 days 8 hr. 48 min. 3 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener_orcl.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linuxserver)(PORT=1521)))
    Services Summary...
    Service "MYDB.PROD.ORCLPROD.COM" has 1 instance(s).
    Instance "orclprod", status UNKNOWN, has 1 handler(s) for this service...
    Service "MYDB.TEST.ORCLTEST.COM" has 1 instance(s).
    Instance "orcltest", status UNKNOWN, has 1 handler(s) for this service...
    Service "asdf" has 1 instance(s).
    Instance "asdf", status READY, has 1 handler(s) for this service...
    Service "asdfXDB" has 1 instance(s).
    Instance "asdf", status READY, has 1 handler(s) for this service...
    Service "asdf_XPT" has 1 instance(s).
    Instance "asdf", status READY, has 1 handler(s) for this service...
    Service "orclprod" has 1 instance(s).
    Instance "orclprod", status READY, has 1 handler(s) for this service...
    Service "orclprodXDB" has 1 instance(s).
    Instance "orclprod", status READY, has 1 handler(s) for this service...
    Service "orclprod_XPT" has 1 instance(s).
    Instance "orclprod", status READY, has 1 handler(s) for this service...
    Service "orcltest" has 1 instance(s).
    Instance "orcltest", status READY, has 1 handler(s) for this service...
    Service "orcltestXDB" has 1 instance(s).
    Instance "orcltest", status READY, has 1 handler(s) for this service...
    Service "orcltest_XPT" has 1 instance(s).
    Instance "orcltest", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • J2ME & Personal Profile - HOW LONG MUST WE WAIT

    Hello!
    I� am worry about the shipment off Personal Profile and CDC.
    How long must we wait so that Sun will decide to launch this product?!!!
    And what about Personal Java for WindowsCE 3.0 (not a beta release, a final and stable one)? There are VM that we can buy (Insignia), but the principles of Sun and Java are Open Source and free licenses not Open Source BUY IT?!!!!! Besides that this version do not support the possibility to access to MS Pocket Access Database...
    Does anyone know something about this?
    Thanks
    Marco

    Why don't you use J2SE instead, that way you don't have to wait for J2ME anymore!!!!!
    FYI... SavaJe has developed a new Java Operating System for StrongARM based devices such as the Compaq iPAQ. SavaJe supports all Java 2, Standard Edition, JDK 1.3 APIs, libraries and classes on mobile devices, and is the fastest Java platform capable of running all J2SE and PersonalJava applications at desktop performance. (over 10 times faster than running Java on Jeode based on the tests I have done).
    For more information, please visit: http://java.sun.com/features/2001/06/savaje.html
    For a free evaluation download, visit our website at: http://www.savaje.com

  • Connecting to TimesTen using DataSource in WebLogic on Linux

    We are trying to use weblogic 9.2 to connect to TimesTen7.0, both are on Linux.
    We have installed Oracle 10g client and then installed TimesTen 7.0 Client on the Linux server hosting weblogic.
    Created Client DSN in /var/TimesTen/sys.odbc.ini file as follows:
    [ODBC Data Sources]
    TTclientMaster=TimesTen 7.0 Client Driver
    [TTclientMaster]
    TTC_SERVER="TTServerHostName"
    TTC_SERVER_DSN=TTmaster
    When we are trying to create DataSource in weblogic Admin console it does not show up TTClient Driver in the list.
    We tried setting up using "Others" for driver and databasetype but then it asks for databasename which we don't have since TT uses DSN.
    We are looking for any pointers or references that can explain how to configure weblogic to use TimesTen using TT 7.0 client DSN.

    If you have access to a copy of TimesTen 6.0 you can look in the AppServer Configuration Guide (appsrv.pdf) that was shipped with that release. This guide is currently being rewritten and so is not yet available for 7.0.
    If you can't get hold of a copy, e-mail me at [email protected] and I'll send it to you.
    Chris

  • New ipod touch cant connect to icloud using correct email

    My daughter has a new ipod touch (5th gen) and is trying to set up icloud so she can have facetime and imessage.  it won't let her sign in using the existing apple id and account i have.  the device said an email verification was sent, and it wasn't received.  i did verify that i had typed in the correct email, not only once, but twice.  any suggestions?

    Hi melluvahess,
    Welcome to the Support Communities!
    Does your daughter already have an Apple ID?  She will need one (which is her primary email address) to keep her Facetime, iMessage, Calendars, Contacts, etc. separate from yours.  (Also, verification emails may sometimes end up in your Junk or Spam folders, so be sure to check those).
    The following articles explain the options for using different Apple ID's.  Please be sure to read the "Frequently Asked Questions" section as well so that you have a good understanding of your options:
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    There is a link in this article to create a new Apple ID:
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Cheers,
    - Judy

  • Retrieve db connection using datasource object

    The problem is: i can't retrieve the connection to database
    using datasource object in jsp.
    my jsp was build by Oracle9i Report Builder,then deployed
    to OC4J jsp container,
    i define the datasource at container level,
    but an error "log on not specified" arise.
    is it possible to use datasource object in such a way or not?
    thanks you for your help.

    What is the full Java and os versions you are using to compile and to run. Note that with JDEV the platform used for your code may be different than the platform used by JDEV itself.
    Please modify all of your exception handlers to print the stack trace. Add this as the first line in each handler.
    ex.printStackTrace();The stacktrace contains important information about where the problem really occured.
    See the Java docs for NamingException - http://docs.oracle.com/javase/6/docs/api/javax/naming/NamingException.html
    >
    This is the superclass of all exceptions thrown by operations in the Context and DirContext interfaces. The nature of the failure is described by the name of the subclass. This exception captures the information pinpointing where the operation failed, such as where resolution last proceeded to.
    •Resolved Name. Portion of name that has been resolved.
    •Resolved Object. Object to which resolution of name proceeded.
    •Remaining Name. Portion of name that has not been resolved.
    •Explanation. Detail explaining why name resolution failed.
    •Root Exception. The exception that caused this naming exception to be thrown.

  • Using Datasource with Toplink

    Hi,
    I am using toplink 10.1.3 .We are using the datasource to connect to weblogic connection pool.
    My session.xml is like this:
    - <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <user-name />
    <datasource>jdbc/ds</datasource>
    </login>
    In the java DAO part,I need a physical database connection to get the ArrayDescriptor.The part of java code is below
    java.sql.Connection dbconnection=null;
    DatabaseLogin login = serverSession.getLogin();
    dbconnection=(java.sql.Connection)login.connectToDatasource(null);
    Questions:
    1.Is the above correct way to get the Physical JDBC connection from a weblogic connection pool(configured using datasource).
    2.How will the Connection released to the pool?Should i use dbconnection.close() or clientSession.release().
    Thanks

    Thanks doug for your reply.
    I am using datasource to connect to the weblogic 9.2 connection pool.
    My specific use case is this.
    I am executing a Stored procedure which will takes a Oracle user defined data type as an Input paramater.
    some steps we use in the java code for the above use case.
    --Getting the  toplink session
    ServerSession serverSession = TopLinkGenericDAO.getSession();
    clientSession = serverSession.acquireClientSession();
    --For getting the oracle user defined array
    java.sql.Connection dbconnection=null;
    DatabaseLogin login = serverSession.getLogin();
    dbconnection=(java.sql.Connection)login.connectToDatasource(null);
    oracle.sql.ArrayDescriptor descriptor = new oracle.sql.ArrayDescriptor(
    "STRING_ARRAY", dbconnection);
    oracle.sql.ARRAY arr_ORCL = new oracle.sql.ARRAY(descriptor,
    dbconnection, aIncl_Vin);
    --for executing stored procedure
    StoredProcedureCall call = new StoredProcedureCall();
    DataReadQuery dbquery = new DataReadQuery();
    call.setProcedureName(CVeITDAOConstants.INSERT_PING);
    call.addNamedArgumentValue("para1", arr_ORCL );
    dbquery.setCall(call);
    --release connection in the finally block
    finally
    clientSession.release();
    dbconnection.close();
    The above code fails when we execute it for 150 concurrent connection(using JMeter) with connection fail exception.
    Please let me know how do i release the physical jdbc connection(dbconnection) in the finally block.
    do we need to give dbconnection.close() or just by giving clientSession.release() will also release the jdbc connection.
    Thanks.

  • Where can I find how to use DataSource?

    Hi,
    I am quite new to JDBC and is writing some small database program. I find many examples use DataSource, I want to know how to use it, but cannot find the API in the docs section of java.com.
    Can anyone point me to the location of javax.sql.DataSource, or even better some examples of using DataSource?
    Also, I am using Oracle as my database, do I need to register the oracle driver first for DataSource first also?
    Any help will be approcaited.

    Hi,
    You can get the more detailed documentation at
    http://java.sun.com/j2se/1.4/docs/api/javax/sql/DataSource.html and please visit http://www.datadirect-technologies.com/download/docs/jdbc/jdbcref/usejdbc.htm for information on how to connect to database using datasources.
    Hope this helps.
    With Regards
    Gayam_Slash

  • No facetime, no push notification, cant connect to youtube

    I updated my iphone to ios5 a month ago but since then i cant connect to youtube using built in apps. I also dont have face time and no push notification can somebody help me?

    Adobe, the creator of Flash for Mobile, announced over a year ago that they were No longer developing or supporting Flash for Mobile.  So your complaint is with them, not Apple.
    Hope this helps

  • I have problem with my wifi in 4 S, i cant connect to any wifi itried resetting network setting and reset all setting but the result was the same, its only keeps searching for wifi and cant find any, itried to use OTHER but also didnt work.please help me

    i have problem with my wifi in 4 S, i cant connect to any wifi itried resetting network setting and reset all setting but the result was the same, its only keeps searching for wifi and cant find any, itried to use OTHER but also didnt work.please help me???

    If Join was on then your home wi-fi must be set to Non-Broadcast.  If you did not set this up (maybe your provider did) then you will need to find the Network Name they used, and any password they used.  The SSID is Security Set ID and to see more try http://en.wikipedia.org/wiki/SSID .  Basically it is the name used to identify your router/network.  A lot of times the installer will leave it set as LinkSys, or Broadcom or whatever the manufacturer set it as for default.  Your best bet is to get whoever installed it to walk you through how they set it up, giving you id's and passwords so you can get in.  HOWEVER, if you are not comfortable with this (if you set security wrong, etc.) you would be well ahead of the game to hire a local computer tech (networking) to get this working for you.  You can also contact the vendor of your router and get help (if it is still in warranty), or at least get copies of the manuals as pdf files.  Sorry I can't give you more help, I hope this gives you an idea where to go from here to find more.

Maybe you are looking for

  • PO outbound message control - Condition record / PO IDOC outbound user exit

    Guys, I have a system with PO outbound message control sending PO idocs to a unique plant that is set up as a customer in the partner profile. I am using a custom message type and RSEOUT00 to send my idocs with custom message type to this plant. This

  • Significance of purchasing view in Material master

    Hi, What is the significance of purchasing view in Material master. What could be effect if this view is not maintained? Like for material type FERT there is no Purchasing view, but we can do procurement for FERT items. So what is the significance of

  • Upgrade weblogic 12.1.1 to weblogic 12.1.3 in a different hosts

    Hello. I need your help with this case, when I try to migrate a domain (Weblogic 12.1.1) in a new server (with weblogic 12.1.3), I have this error: sc-saswebD0-3>(ora09378):/orasoft/product/middleware/wlserver_12.1/wlserver/common/bin>./unpack.sh -te

  • My passed exam is missing from MCP Recent Passed Exam List

    As the topic, I passed MCSA 2008 exam 073-642, 646, 640, but only two of them (073-640 & 073 - 642) are listed on my exam history. I have scan PDF file to prove it. How can I add it in my exam history? Looking forward to your timely response. Regards

  • 2 quick Captivate questions

    Hi- When you insert a failure caption, the default text is "type failure text here." Is it possible to change the default text so you don't have to go in and change it each time you add a failure caption? Also, when you add a click box, the default "