Oracle 9i - Java

Does anyone know of a good source
for understanding how to incorporate
the new database interaction features with Java?
Thanks,
Zeke

Thanks so much!
That looks like just what I need.
Have a good day!
Zeke

Similar Messages

  • Error starting Oracle BI Java Host service

    Hi,
    We are facing some issue while starting the Oracle BI Java Host service. It throws the following error.
    This application was working properly till some 2 days back and suddenly it has started giving this error. We have not updated any software. The host machine is Win XP.
    Sep 27, 2011 12:08:15 PM Main main
    INFO: Javahost config file(s): C:\OracleBI\web\javahost\config\config.xml. Xpath:.
    Sep 27, 2011 12:08:16 PM ApplicationImpl createEnvironment
    INFO: Config environment properties:
    presentation.coreconfigdir=C:\OracleBI\web\config
    javahostdir=C:\OracleBI\web\javahost
    rootdir=C:\OracleBI
    presentation.dataconfigdir=C:\OracleBIData\web\config
    presentation.rootdir=C:\OracleBI\web
    tempdir=C:\OracleBIData\tmp
    presentation.cordaroot=C:\OracleBI\Corda50
    Sep 27, 2011 12:08:16 PM ApplicationImpl init
    SEVERE: java.io.IOException: Unable to establish loopback connection
         at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
         at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
         at java.nio.channels.Pipe.open(Pipe.java:133)
         at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:104)
         at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
         at com.siebel.analytics.javahost.Listener.<init>(Listener.java:53)
         at com.siebel.analytics.javahost.ApplicationImpl.init(ApplicationImpl.java:121)
         at com.siebel.analytics.javahost.standalone.Main.init(Main.java:127)
    Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): bind
         at sun.nio.ch.Net.bind(Native Method)
         at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
         at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
         at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:72)
         ... 9 more
    Request some input to resolve this error.
    Thanks in advance.

    @Deepak,
    Following are the log contents
    Sep 27, 2011 12:08:15 PM Main main
    INFO: Javahost config file(s): C:\OracleBI\web\javahost\config\config.xml. Xpath:.
    Sep 27, 2011 12:08:16 PM ApplicationImpl createEnvironment
    INFO: Config environment properties:
    presentation.coreconfigdir=C:\OracleBI\web\config
    javahostdir=C:\OracleBI\web\javahost
    rootdir=C:\OracleBI
    presentation.dataconfigdir=C:\OracleBIData\web\config
    presentation.rootdir=C:\OracleBI\web
    tempdir=C:\OracleBIData\tmp
    presentation.cordaroot=C:\OracleBI\Corda50
    Sep 27, 2011 12:08:16 PM ApplicationImpl init
    SEVERE: java.io.IOException: Unable to establish loopback connection
    at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:106)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.nio.ch.PipeImpl.<init>(PipeImpl.java:122)
    at sun.nio.ch.SelectorProviderImpl.openPipe(SelectorProviderImpl.java:27)
    at java.nio.channels.Pipe.open(Pipe.java:133)
    at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:104)
    at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
    at com.siebel.analytics.javahost.Listener.<init>(Listener.java:53)
    at com.siebel.analytics.javahost.ApplicationImpl.init(ApplicationImpl.java:121)
    at com.siebel.analytics.javahost.standalone.Main.init(Main.java:127)
    Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): bind
    at sun.nio.ch.Net.bind(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:119)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:52)
    at sun.nio.ch.PipeImpl$Initializer.run(PipeImpl.java:72)
    It also mentions about the buffer space....could that be a reason for this.
    By the way, I forgot to mention, this deployment is in a VMWare (with XP as OS) which is hosted on Windows Server.

  • Need Expert Advice regarding oracle and java objects

    In our project, we are submitting data for many screens at a time. Some screens will have a list of records to be submitted. There is also some hierarchy among the data up to 4 levels.
    In such a scenario, we need to know the best way to exchange data between Oracle and Java. Currently java holds the data as objects, where each object may contain an array of next level of objects in it.
    Is it best approach to pass the entire data with hierarchy to Oracle using nested table approach and internally oracle handling the data? Is there any other way to do this?
    Also in some scenarios we need to pass the entire information for all the screens in one shot with the hierarchy. So we need to know a solution for that also. Could you please help us in this regard?

    See Oracle JPublisher technique to map Oracle object types to Java ones:
    http://download-west.oracle.com/docs/cd/B10501_01/java.920/a96658/toc.htm
    Rgds

  • Oracle BI Java host not starting for Windows 7 64 bit

    Hi,
    I am struggling to start "Oracle BI Java host" on my Windows 7 64 bit machine. All other services - BI Server, Presentation Server and even OC4J works good.
    BI Version: OBIEE 10g EE - 10.1.3.4.1
    I have checked these places:
    1. Environment variable: C:\Java\jdk\bin;
    2. Instanceconfig.xml: *<JavaHome>C:\Java\jdk</JavaHome>*
    3. Java verision: *6.0.230.5*
    Can anyone help me to identify and solve this issues.
    Thanks,
    Yar.
    Edited by: Yar on Mar 9, 2011 7:11 AM

    Hi Yar,
    You can try changing the Heap memory allocation parameter for Javahost at <OBI Install Directory>\instances\instance_Number\config\OPMN\opmn\opmn.xml file...
    Search for -Xmx1024M and replace with -Xmx768M, save the file and Start the JavaHost, it should work.
    Regards,
    Kalyan
    http://123obi.com

  • Oracle BPM Java API - getting informations about process activities

    Hi
    I have a problem with Oracle BPM Java API, can someone help me?
    I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
    Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
    I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
    I did some tests, below a piece of code of my test:
    IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
    IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
    IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
    List<ProcessMetadataSummary> processMetadataSummaryList =
    processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
    if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
    return;
    ProcessMetadataSummary processMetadataSummary = null;
    for (ProcessMetadataSummary summary: processMetadataSummaryList) {
    if (summary.isIsDefaultRevision()) {
    processMetadataSummary = summary;
    break;
    if (processMetadataSummary == null)
    processMetadataSummary = processMetadataSummaryList.get(0);
    IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
    oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
    Sequence<UserTask> activities = process.getActivities(UserTask.class);
    for (UserTask activity: activities) {
    System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
    There is another way to get this information?
    Thank's

    Hi
    I have a problem with Oracle BPM Java API, can someone help me?
    I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
    Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
    I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
    I did some tests, below a piece of code of my test:
    IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
    IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
    IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
    List<ProcessMetadataSummary> processMetadataSummaryList =
    processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
    if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
    return;
    ProcessMetadataSummary processMetadataSummary = null;
    for (ProcessMetadataSummary summary: processMetadataSummaryList) {
    if (summary.isIsDefaultRevision()) {
    processMetadataSummary = summary;
    break;
    if (processMetadataSummary == null)
    processMetadataSummary = processMetadataSummaryList.get(0);
    IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
    oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
    Sequence<UserTask> activities = process.getActivities(UserTask.class);
    for (UserTask activity: activities) {
    System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
    There is another way to get this information?
    Thank's

  • Oracle error: java.sql.sqlrecoverableException: Closed Connection

    need help on this closed connection
    getting oracle error: java.sql.sqlrecoverableException: Closed Connection when running a java application using tomcat api to oracle 11g database EE 11.2.0.3.0 on windows 2008 R2
    The process is reading data from an Oracle database using user_sdo_geom_metadata , memory allocated to DB is 5GB, java pool size 1G allocated , below is the code which gets data from Oracle
    <NamedDataSourceDefinition:NamedDataSourceDefinition xmlns:NamedDataSourceDefinition="http://www.mapinfo.com/mxp" xmlns="http://www.mapinfo.com/mxp" xmlns:gml="http://www.opengis.net/gml"xmlns:ns2="http://www.mapinfo.com/midev/service/common/v1" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://www.mapinfo.com/midev/service/namedresource/v1"version="MXP_WorkSpace_1_5"> 
    <ConnectionSet/> 
    <DataSourceDefinitionSet> 
    <DBDataSourceDefinition id="TXLANDMARKS"> 
    <DataSourceName>txlandmarks</DataSourceName> 
    <ConnectionMember> 
    <InlineDBConnection dbType="oracle"> 
    <JDBCDriverParameters> 
    <JDBCUrl>jdbc:oracle:thin:@NOIORAENT2K8-64:1521:FMETEST</JDBCUrl> 
    <DriverPropertySet> 
    <Property name="user" value="NOIDADATADEV"/> 
    <Property name="password" value="mndata"/>
    </DriverPropertySet>
    </JDBCDriverParameters>
    </InlineDBConnection>
    </ConnectionMember>
    <DBTable owner="NOIDADATADEV" useQuotes="true">TXLANDMARKS</DBTable>
    </DBDataSourceDefinition>
    </DataSourceDefinitionSet>
    <DataSourceRef ref="TXLANDMARKS"/>
    </NamedDataSourceDefinition:NamedDataSourceDefinition>
    Both the machines can ping to each other successfully, no firewall exists between them, these are connection setting been used in pooling-datasource-factory.properties
    poolingDataSourceFactoryClass=com.mapinfo.midev.dbms.jdbc.TomcatDataSourceFactory
    # what follows are properties specific to com.mapinfo.midev.dbms.jdbc.TomcatDataSourceFactory
    # defaultAutoCommit - the default auto commit state of the connection. if
    # not set the assumes the driver default
    # defaultAutoCommit =
    # (int) The maximum number of active connections that can be allocated from # this pool at the same time. The default value is 20
    maxActive = 10
    # (int) The maximum number of connections that should be kept in the pool at # all times. Default value is maxActive. Idle connections are checked # periodically (if enabled) and connections that been idle for longer than
    # minEvictableIdleTimeMillis will be released.
    maxIdle = 10
    # (int) The minimum number of established connections that should be kept in  the pool at all times. The connection pool can shrink below this number if # validation queries fail. Default value is 10
    minIdle = 5
    # (int)The initial number of connections that are created when the pool is # started. Default value is 10
    initialSize = 5
    # (int) The maximum number of milliseconds that the pool will wait (when # there are no available connections) for a connection to be returned before # throwing an exception. Default value is 30000 (30 seconds)
    # maxWaitMillis = 30000
    # (int) The number of milliseconds to sleep between runs of the idle # connection validation/cleaner thread. This value should not be set under 1
    # second. It dictates how often we check for idle, abandoned connections,
    # and how often we validate idle connections. The default value is 5000
    # (5 seconds).
    # timeBetweenEvictionRunsMillis = 5000
    # (int) The minimum amount of time an object may sit idle in the pool before
    # it is eligible for eviction. The default value is 60000 (60 seconds).
    # minEvictableIdleTimeMillis = 60000
    # (boolean) Flag to remove abandoned connections if they exceed the
    # removeAbandonedTimout. If set to true a connection is considered abandoned
    # and eligible for removal if it has been in use longer than the
    # removeAbandonedTimeout Setting this to true can recover db connections
    # from applications that fail to close a connection. See also
    # logAbandoned The default value is false.
    # removeAbandoned = false
    # (int) Timeout in seconds before an abandoned(in use) connection can be
    # removed. The default value is 60 (60 seconds). The value should be set to
    # the longest running query your applications might have.
    # removeAbandonedTimeout = 60
    # (boolean) Flag to log stack traces for application code which abandoned a
    # Connection. Logging of abandoned Connections adds overhead for every
    # Connection borrow because a stack trace has to be generated. The default
    # value is false.
    # logAbandoned = false
    # (long) Time in milliseconds to keep this connection. When a connection is
    # returned to the pool, the pool will check to see if the now
    # - time-when-connected > maxAge has been reached, and if so, it closes the
    # connection rather than returning it to the pool. The default value is 0,
    # which implies that connections will be left open and no age check will be
    # done upon returning the connection to the pool.
    # maxAgeMillis = 0

    Hi,
    I understand that you have raised a SR for this issue which is being worked upon by our team.
    Additionally, please note that the "Closed connection" error typically happens because a timeout parameter of some sort timed out the connection. This could be a parameter specified in your datasource, in your application code, or network (such as a firewall).
    You may also want to -
    1.  check your database to be sure it is not timing out connections.
    2.  Make sure your network is running efficiently and that it can provide fast connections,
    3. Check your Java Virtual Machine (JVM) Code Cache For Oracle Enterprise Data Quality for any memory related issues
    Thanks,
    Shwet

  • New in Oracle and Java

    I used Sql Server and .Net for developing application to now. I switch to Oracle and Java recently. I have installed Oracle 11g. What I need to start developing aoolication with Java and Oracle?
    Has Oracle a graphical interface like MS Sql Server? how can I install them? What Developing Environment You suggest for Java? I am familiar with eclipse.

    user987274 wrote:
    I used Sql Server and .Net for developing application to now. Which means 1 year or 5?
    I switch to Oracle and Java recently. I have installed Oracle 11g. What I need to start developing aoolication with Java and Oracle? Starting basics.
    1. Learn basics of java
    2. Learn basics of Oracle
    3. Learn JDBC which allows you to code in java and talk to Oracle.
    Do not attempt step 3 until you have complete 1 and 2.
    Has Oracle a graphical interface like MS Sql Server? That would be a Oracle question rather than a java question. There are other forums on this site specific to Oracle.
    Myself I just use sqlplus.
    how can I install them? Huh? Just like you install anything else.
    1. Acquire appropriate software
    2. Read documentation
    3. Install
    4. Look for post install options that might be relevant.
    What Developing Environment You suggest for Java? I am familiar with eclipse.I presume that you mean that you know eclipse exists for java rather than that you have used it before.
    Since you are probably used to using Visual Studio, then you probably want an IDE. Eclipse will suffice for that.

  • Requirements to become an Oracle certified Java application

    Hi everyone,
    I want to know any information on how to become an Oracle certified Java application for the company I work for.
    Technologies involved are Java and Eclipse.
    any information or contact you can provide will be highly appreciated.
    Best regards,
    Sebastian

    My suggestion is:
    Consider First:
    1) The exam 1z0-051 which should demonstrate your SQL skills.
    2) The exam 1z0-047 which should earn an SQL Certified Expert Certificate.
    Beyond that you will need to become more familiar with PL/SQL and go towards a PL/SQL developer OCA then OCP
    I believe the following thread is relevant 1Z0-146
    Read the blogs/FAW at the top of the forum, and become familair with the oracle education certification pages.
    You may also seek out some the the '2-day' training as well.
    Hoep this helps.

  • Oracle XDK Java 9.2.0.2.0 installation problem

    Hi,
    I downloaded xdk_java_9_2_0_2_0 and I did change the default connection with my username and password in XSQLConfig.xml file. When I tried to execute XSQL.bat file under bin folder I am getting the error in dos window as follows
    Bad command or file name
    Oracle XDK Java 9.2.0.2.0 Production
    XSQL-005: XSQL page is not well-formed.
    XML parse error at line 1, char 1
    Start of root element expected.
    Please suggest me what I need to do...

    This means your XSQL page is not well-formed XML document. Please check the syntax in your .xsql file.

  • How to connect with Oracle in java

    Hello!
    I would like to use java for my graduation project. And connect with Oracle in java.
    I used j2sdk1.4.2_04 and Oracle 9i release 9.2.0.1.0
    May I ask where could supply me information or content ?
    Thanks!!

    hi jus a sample code
    public class DbUtil {
    // Connection instance
    private static Connection conn = null;
    private Object connection;
    public DbUtil() {
         // Connect to the database
    dbConnect();
    * This method performs the clean up action and closes the application
    void exitDbUtil(){
    // If connected to database
    if (conn != null) {
    try {
    // Close the connection
    conn.close();
    conn=null;
    catch (Exception ex){      // Trap errors
    System.out.println(" Error while Closing the connection: "+ex.toString());
    * Creates a database connection object
    private void dbConnect() {
    try {
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    String url = "jdbc:oracle:thin:@" + ConnectionParams.s_hostName +
              ":" + ConnectionParams.s_portNumber +
              ":" + ConnectionParams.s_databaseSID;
    // Create a connection object
    conn = DriverManager.getConnection(url, ConnectionParams.s_userName,
                             ConnectionParams.s_password);
    catch(Exception e){

  • Link between oracle and java

    Please, can you explain me the link between oracle and java.

    The link b/w oracle and java is through
    driver.
    Driver name :JDBC

  • Oracle Reports Java API link Error

    The Oracle Reports Java API link on the Oracle Reports page produces an error.
    http://www.oracle.com/technology/products/reports/htdocs/getstart/docs/index.html

    1) In Oracle Reports *10g*, Reports services are exposed as a webservice. Though it does not contain all possible actions, you can use it to run report, get job info and some other operations . [ Other than this there is no exposed java API yet ]
    Please see chapter 14
    "Using the Oracle Reports Web Service"
    in http://download-west.oracle.com/docs/html/B10314_01/toc.htm
    Thanks
    The Oracle Reports Team

  • Oracle BPEL Java Client API: Reading Configurations dynamically

    We have a requirement to use Oracle BPEL Java client API to control the BPEL instances at the runtime, from an ADF BC Application. is there any possibility to read the configurations/properties that are required to look up (using 'oracle.soa.management.facade.Locator' ) the BPEL Process Manager/Server from connections.xml/adf-config.xml ?
    In other terms, as we need the details like the bpel server URL, security credentials..etc to lookup the BPEL server and instances using the BPEL java client API, how can we read these details from the ADF standard config files like Connections.xml/adf-config.xml instead of hard coding them in the Java program.
    Edited by: 899479 on Feb 4, 2013 6:02 AM

    The api's for BPEL / Workslow canbe found here:
    http://orasoa.blogspot.com/2007/05/newbie-getting-started-with-oracle-soa.html
    Marc

  • Are Oracle spatial java libraries redistributable?

    Hi,
    Do you have any idea about Oracle's policy on distributing Oracle Spatial Java Class Libraries? Can our software that is targeted for commercial purpose distribute it?
    We are using these SDO java libraries.
    oracle_sdo.jar
    sdoapi.jar
    sdogr.jar
    sdonm.jar
    sdotopo.jar
    sdoutl.jar
    Also if redistribution is not allowed, can our users having Oracle DB license, copy these libraries from their Oracle DB machine to the machine where our product is installed.
    Please guide us to appropriate web link on this topic. We could not get clear information by going through Oracle sites.
    Thanks in advance,
    Subrahmanyam.

    Go to: http://www.oracle.com/technology/software/products/spatial/index.html
    Then click one of the downloads and you get the "Oracle Technology Network Development and Distribution License Terms". The second box covers the distribution license.
    I'm sure that its covered in there .... Lots of Legal Mumbo-Jumbo ...... But it contains this line:
    "You may also distribute the programs with your applications to your customers."
    So it looks like "Yes" is the answer to your question !
    Ro

  • Where's the Oracle Forms Java API documentation for 11g?

    Hi,
    Can anyone point me in the direction of the Oracle Forms Java API documentation?
    The only thing I can find is this: http://www.oratransplant.nl/1012jdapiDoc/oracle/forms/jdapi/JdapiModule.html but this seems to be for 10.1.2 and it doesn’t correspond to the version I’m using (11.1.1.3).
    Help appreciated,
    Donal.

    i couldn't find the api either however if you implement the class you will simply get compiler errors explaining what you left out.

  • Oracle or Java Job please guide.

    Hi friends,
    I have knowledge of both Oracle8 and Java. I live in India. I want a good job.
    I have started a group on Oracle and Java discussion. one can join that by :
    [EMAIL][email protected][EMAIL] .
    I would like to know which is better for career Java or Oracle8.
    Thanks for guidance.
    Sanjay Sharma
    [EMAIL][email protected][EMAIL]

    any sax parsers?What version of Java are you using? With Java 1.4 the XML parser is included in the SDK / JRE.
    If you're using an older version of Java, go to http://xml.apache.org and get the Xerces parser.

Maybe you are looking for

  • Webpage not loading

    I am connected to the internet and every other wireless computer or ipad works in the house but mine. I have tried reseting the network and restarting my ipad but webpages still aren't loading. Any tips or does anyone know why this is happening?

  • Has anyone seen changing map ids corrupting an HTML project?

    I am working in RoboHelp8, and generating .chm help files to be attached to my company's software application. I built a map id file from numbers the programmer gave me. His calls have been able to use my generated files, but the "HH_HELP_CONTEXT cal

  • SD Process Design for Plantation industry - need advise

    Hi all experts, I am implementing for a crude palm oil plantation company, in which the general flow of the sales process from Estate to the Milling Plant is as below: Sales Order --> Delivery Order* --> PGI --> Billing* Sales Order: The fresh fruit

  • Consuming Web Service Issues

    Hello All, I appreciate any help in getting me pointed in the right Direction. I am trying to pull values from my vender's web services. They required that I place .wsdl file on my server then call to the local file which will then make calls to thei

  • How do I clear reading list on safari

    I Would like to know how to clear the reading list on safari.