Oracle 10g express and jdevloper 10g

hi,
i created a connection via the graphic mode of jdev10g, but i didn't find the way how to use this connection.
i am using oracle 10g express
somebody can help me

A JDBC connection may be used as a JNDI resource.
If the Connections-Navigator connection is DBConnection1, the corresponding datasource is jdbc/DBConnection1DS.
1. Create a JSP page or a servlet.
2. In the web.xml of the web application add
<resource-ref>
<res-ref-name>jdbc/DBConnection1DS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
3. In the JSP page or servlet obtain a connection with the datasource.
InitialContext initialContext = new InitialContext();
javax.sql.DataSource ds = (javax.sql.DataSource)initialContext.lookup("java:comp/env/jdbc/DBConnection1DS");
java.sql.Connection conn = ds.getConnection();

Similar Messages

  • Deinstalling 10g 1 and installing 10g 2

    Windows 2000 SP4
    I deinstalled 10g version 1 and installed 10g 2, but I did not see the database I had created using version 1. I uninstalled 10g 2 and reinstalled 10g 1 but no dice.
    The database files, control files, directories and data all seem to be there. I tried the utilities to upgrade but they do not "see" the database. The services for the instance are not there anymore.
    How do I get my instance and database back?
    Message was edited by:
    robmera

    Try using ORADIM utility. See http://download-west.oracle.com/docs/cd/B14117_01/win.101/b10113/create.htm#sthref284

  • Oracle 9i installation over 10g express and importing tables

    I have Oracle 10g Express Edition installed. I want to install Oracle 9i database because of some reasons and want to import few tables from Oracle 10g database to Oracle 9i database. Is it possible? I also want to know whether 10g and 9i can work in isolation without problems.

    According to How converting WE8MSWIN1252 character set to AL32UTF8 character set, import/export of some tables should work.

  • Oracle 10g Express and Windows Vista

    I am new to Express and this forum. I have been searching the Oracle site to see when Express will be Vista ready. I found some info that there are some tweeks that you can do to trick it to working on Vista. I would like to know when there will be an official release that is Vista compatible. Thanks PM

    Well, I posted this and then I did find a document that talks about the 10g Release 2 supports VISTA with some exceptions. Thanks PM

  • Dual sc/pc connector MMF for X2-10G-SR and XENPAK-10G-SR

    the data sheet for both xenpak and x2 10G-SR specifies dual sc/pc connector MMF
    we want to know if this is the same SC connector we use for GBIC converters.

    Just for your information, a fiber link does not care if one end of the fiber has an GBIC (SC-type connector) and the other end has a SFP (LC-type of connector); or any other transceiver footprint (X2, CFP, etc.)..  The thing that is important is that each module is the same specification, and matches the fiber type and link length of the network (10GBASE-SX in this example).
    Good luck.

  • Can i Use Oracle Report 6i and Report 10g in Same PC ?

    Hi,
    My Comapany wants to Migrate Oracle 6i Reports to Oracle 10g .My Question is can i use both versions in a Single Machine ? If i can do so what are the Steps i need to follow .I Tried once but its Doesnt seem to work.
    Thanks in Advance.
    Dev

    It will install necessary components at installation time. And when you run the forms, it will install JDK if not already installed.

  • Connection to oracle 10g express from jdev 10g

    hi,
    when i try to make a connection to my database from jdev 10g.
    i receive a message "network adaptator could not estabilished the connection".
    however when i try to connect with the same parameters in an other pc the connection is termineted successfully.
    thanks for help

    For XE database SID is XE

  • Oracle client 9i and server 10g

    Sorry for incovenience..
    Edited by: Chanchal Wankhade on Oct 19, 2012 4:15 AM

    Are the query plans the same on the two servers? Do they have the same data? The same initialization parameters? Are your statistics accurate?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • X2-10G-LX4 and SFP-10G-SR

    Hi
    Issue 1
    I have a 6506-E with WS-X6708-10Gig Modules and i have installed X2-10G-LX4 transceiver on them, on the other side i have a UCS 6120 and installed a SFP-10G-SR.
    The link between the 2 does not come up,  what could be the reason for that? The distance between the 2 is 10 meters and i have already tried changing the cables.
    Issue 2
    If i connect the WS-X6708-10Gid module with X2-10GB-LR module and connect it to X2-10GB-LR on another 6506-E, the link comes up. that means there is no problem with the Module or the ios on the switch.
    but if connect X2-10GB-LX4 on 6506-E and X2-10GB-LX4 on the other side, the link does not come up. Any clue what could be the reason ? I have already tried changing the transceiver.
    Can someone please help ?

    issue 2
    If i connect the WS-X6708-10Gid module with X2-10GB-LR module and connect it to X2-10GB-LR on another 6506-E, the link comes up. that means there is no problem with the Module or the ios on the switch.
    but if connect X2-10GB-LX4 on 6506-E and X2-10GB-LX4 on the other side, the link does not come up. Any clue what could be the reason ? I have already tried changing the transceiver.
    You have got answer for first issue that LX4 cannot work with SR. By the way what kind of fiber you have Single Mode/Multimode?
    second issue,
    If your X2-10GB-LRmodule have worked then i can assume that you have single mode fiber for testing as LR is only for Single mode fiber .
    LX4 is only made for Multimode fiber and it is not going to work on single mode fiber no matter what you try (as you are saying link is not comming up).
    Cisco X2-10GB-LRM is the only module which can work for Single mode and Multimode (ofcourse you need Mode conditioning patchchord )

  • SFP-10G-LR and SFP-10G-LRM Compatibility

    Hello,
    Has anyone had success/experience running across OS2 SM with a SFP-10G-LR at one end and a SFP-10G-LRM at the other, where the total link length is <300m?
    Thanks,
    Andrew

    Dear Dima L,
    I will check this tomorrow... but expect the same error.
    Regards,
    Manuel

  • Difference between Oracle Application Express and Oracle Forms/Reports

    hi guys,
    i have just use oracle apex to create some report generation tools through the web. know that this is what is known as html db in the past.
    however, i have not really touch oracle forms and reports before, neither have i really seen how they work.. but soemhow i feel oracle report/forms seems to be more.. then this oracle apex.
    it includes integration with web services, java and pl/sql .
    but i still cant really figure out what is the actual general main difference ?
    is it that for oracle forms there can be some programming logic inside , whereas for apex , it is just using what is available from what oracle provides ..
    i am read oracle form white paper, but seriously, i am not a very web guy. it has alot of components that i am not familiar with.
    so i hope you guys can just give me a more general rough idea.
    regards,
    Noob.

    Hi, my .05$
    ... most Forms & Reports users will tend to be old installed base customers using applications developed many years ago in F&R such as insurance company cores and even banking cores. Going from client/server F&R6 to "web" F&R10g is costly as you have to license an application server and most likely need to migrate to recent versions of the DB in case the customer is still on oracle 8 (common occurrence). So many customers opt. to not migrate or to simply invest in new web enabled solutions.
    Using the migration tool f&r installed base will have an easier job of migrating and at a price of whatever DB edition they are using and probably be able to do it with the same people who maintain their f&r systems provided they learn a bit about web technologies.
    what might be interesting to see is performance perception of users on f&r vs. apex...
    regards,
    luis aranguren

  • Oracle 10g express, Windows Vista and Visual Studio 2005

    Hello,
    I have Oracel 10g express and Visual Studio 2005 professional, all installed on Windows Vista and working fine.
    I want to use the .net tools but I have had problems to install the wright version for this environment. Has anybody have this same configuration working? What are the downloads I need to have and the steps to have the .net oracle tools working ?

    It can be done:
    1) Download and install XE. Don't download the special "ODT for XE"
    2) Download and install ODAC 11g with ODT into a different directory than XE
    3) Copy over the TNSNAMES.ORA from the XE install into the new Oracle home.

  • Create tablespace in Oracle 10g Express

    Hi,
    I've been playing around over the last few days with Oracle 10g Express and I need to create my own tablespace and therefore create user associated with my custom table space.
    I tried with the command create tablespace, but I am not successful with configuring the parameters such as the datafile location and such. I did go through the Oracle Concepts Guide which was very helpful, but I must be missing something.
    Also assuming that my db scheme will be part of my application and therefore released to my client as script so they can re-create my database how would the table space integration work on their end.
    I would I have to place my first line of the script to create the table space and ask them for database file location?
    Any advice will be appreciated.
    Thank you in advance.

    user12359577 wrote:
    The reason why I think I should create my own tablespace is because I am creating a database scheme and thus I think it is appropriate to place my db scheme in its own tablespace instead of simply using the Users tablespace default.
    This is my command:
    create tablespace MYTBLSPACE;
    Error:
    Error starting at line 1 in command:
    create tablespace MYTBLSPACE
    Error at Command Line:1 Column:32
    Error report:
    SQL Error: ORA-02199: missing DATAFILE/TEMPFILE clause
    02199. 00000 - "missing DATAFILE/TEMPFILE clause"
    *Cause:    A CREATE TABLESPACE statement has no DATAFILE/TEMPFILE clause.
    *Action:   Specify a DATAFILE/TEMPFILE clause.
    I am also not sure how to specify the datafile.
    Thank you.How about checking with the fine SQL Reference manual for the syntax of the CREATE TABLESPACE command?
    Learning where to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com. Drill down to your product and version.
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are reference manuals. Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    Edited by: EdStevens on Mar 3, 2010 10:13 AM
    Edited by: EdStevens on Mar 3, 2010 10:15 AM

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
    The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
    - Service: host:1521/XE
    - Username: username
    - Password: password
    Then when I tried to connect the crystal report crashes always.
    Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
    Please advise...

    Thank you bala,
    First, How I should start the Listener on the database server?
    Listener.ora content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    How to configure the tnsnames.ora on the client side?
    tnsnames.ora content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = XE)+
    +)+
    +)+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
    Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
    Thanks in advance...

  • Max connections in Oracle 10g Express

    Hi,
    How much connections are possible in Oracle 10g Express ?

    I do the following test:
    I format the test PC, install the O.S. and install Oracle 10g Express and run the following code:
    package testedb;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.List;
    public class TesteDB {
         * @param args
         public static void main(String[] args) {
              List<Connection> connections = new ArrayList<Connection>();
              try
         Class.forName ("oracle.jdbc.driver.OracleDriver");
         while(true)
              connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:XE", "system", "xxx"));
              //connections.add(DriverManager.getConnection("jdbc:oracle:thin:@albatroz:1521:MYDB", "system", "xxx"));
              System.out.println("connections: "+connections.size());
         catch (ClassNotFoundException e)
         System.out.println ("Could not load the driver");
         e.printStackTrace ();
         } catch (SQLException e) {
              System.out.println("----------------------------------------------------------");
                   System.out.println("Qtd of connections: "+connections.size());
                   System.out.println("----------------------------------------------------------");
                   e.printStackTrace();
    After the first test I format again the PC, install the O.S. and install Oracle 10g Standard and run the same code, changing only the database name.
    Well, I get the following results:
    - Oracle 10g Express: I get 19 connections;
    - Oracle 10g Standard: I get 181 connection;
    Final report:
    With the same hardware (1GB RAM) and O.S. (Windows XP Professional) test, the Oracle 10g Express has any restrictions at the question max connections.
    Message was edited by: Hugo Haas
    Hugo Haas

Maybe you are looking for

  • 3 ALV on a single screen.

    Hi, I need to display 3 alv on a single screen. There is a FM called 'REUSE_ALV_BLOCK_LIST_APPEND' which can do it but in the documentation its advised not to use it,since it has still not been released. Is there some other way to display 3 alvs on a

  • Oracle 10g free limit for web

    1. Kindly let me know about the maximum limit of Oracle 10g for free use on web 2. How can I see that how much I used on the web Thanks & best regards

  • XML setup error when using hiberate 3.2 frame

    I am installing Eclipse+hiberate3.2+mysql5. I am trying to run the following class but some exceptions occur. //I am trying to run class Test package ch03.hibernate; import org.hibernate.*; import org.hibernate.cfg.*; public class Test {      public

  • After all the updates (itunes 10.6, iphone 5.1, and iphoto) all my photos are suddenly being synced with my iPhone.

    After all the updates (itunes 10.6, iphone 5.1, and iphoto) all my photos are suddenly being synced with my iphone. Before I was able to pick the "last 12 months" or last import, or certain album. Now everything is greyed out?

  • ***Just a little audio clarification....

    (1) If I have one track of audio (A1) in my project, and both bars bounce in my audio level meter, this is stereo, correct? (2) If it is stereo, what is it when I make a copy of it and put it on (A2) and then make those a pair? Is this somehow double