OAS 10g and connecting to MySql

Hi. Is it possible to have an application on Oracle Application Server 10g (10.1.3.5.0) connected to MySql database?
I tried to set up JDBC data source (I copied a MySql connector into home\lib directory), but my attempts always end with error:
An error has occurred.
Error invoking method: createNativeDataSource on MBean: oc4j:j2eeType=J2EEApplication,name=default,J2EEServer=standalone
Do you have any experience with this? Is it possible at all ?
Thanks.

Hi Jnejedly,
When you say that you copied a MySql connector into home\lib directory I think you refer to the %ORACLE_HOME%/j2ee/home/applib directory, which would be fine.
The error message seems to indicate that you have not created a native data source. You can use the Application Server Console to create a native data source as follows:
jndi-name="jdbc/MyDS"
description="Native DataSource" data-source-class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
user="user"
password="password"
url="jdbc:mysql://localhost:3306/mydatabase">
Hope it helps.
Thanks,
Cris

Similar Messages

  • OAS 10g Problem Connection POOL

    I create a connecction pool in OAS 10g to connect a Oracle 10g database. I test te connection and is OK, but when I finish and tested again an error ocurs ORA-01017: invalid username/password; logon denied". I don't now what the problem is?. Can anyone helpme?

    hi,
    In oas10g,Check ur formweb.cfg
    There might be an entry as follows
    userid=xyz/efd@abcde
    Actually here u specify user-name(xyz) password(efd) and the database name(abcde)which u have specified in tnsname.ora file
    Any doubts let me know
    Regards
    Fabian

  • Creating an Oracle Spatial database in 10g and connecting ArcGIS

    I have a set of shapefiles that I want to convert into Oracle Spatial 10g and then be able to view these with the capability of ArcGIS 9 (without using ArcSDE).
    From what I've read, I think this could be done by using ODBC. Once that connection is made, will I then be able to use the full functionality of ArcGIS especially read/write functions to edit the information in Oracle Spatial?
    What data formats does Oracle Spatial in 10g support. I am concerned about raster data, CAD data, Survey data etc

    The shape files can be loaded into Oracle spatial using shp2sdo.exe available on web.To view the GIS data in ArcGIS ,ArcGIS needs the layers to be registered.Therefore you need Arcsde for registering the layers.But for viewing the data in Arcgis we do not need arcsde ,we can view the data using direct connect.For editing the data we can use ODBC connection.
    About raster data,we can load tiff,jpeg,bmp,png,gif using georaster tools provided by oracle into georaster tables.
    Thanks
    PC Rao

  • OAS 10g and ADF

    Does Oracle Application Server 10g come with the ADF (Oracle Application Development Framework)?
    If so, which editions? (Standard One, Standard, and Enterprise)
    Thanks to help.
    Scott

    Hi,
    OracleAs 10g (9.0.4)and above has ADF runtime libraries installed. If you don't find the ADF runtime libraries installed, use the runtime installer in Oracle JDeveloper to install it.
    Frank

  • Migration from OAS 10g to Weblogic 10.3

    Hello,
    I migrate large app from OAS 10g to Weblogic 10.3.
    1.
    The main part of the job was to prepare descriptors for Weblogic. Unfortunatelly I don't find any tool that could do the job:( There are some problems with descriptors namespaces. This schema and namespaces given in 10.3 docs are not working (not available):
    http://edocs.bea.com/wls/docs103/ejb/DD_defs_reference.html
    So I use the one from 10 release in weblogic-ejb-jar.xml:
    weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/10.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/10.0 http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd">
    and form 9 release in weblogic-cmp-rdbms-jar.xml:
    <weblogic-rdbms-jar xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-rdbms20-persistence.xsd">
    There are also some bugs in docs about ejb relations.
    After fixing some schema compliance exc this step success.
    2. Next the EJBComplianceChecker - its much more restrictive than OAS verification. So updates in ejb interfaces are necessary. It is not a problem with small app but when there ale a lot of code/branches to migrate it's become a problem. I have been looking for some switch that could help with this but with no result/
    EJBComplianceChecker - Spec veryfication level
    3. Now after EJB compliance checker done its job with success I have an exception that I do not understand:
    An error occurred during activation of changes, please see the log for details.
    Exception
    preparing module: EJBModule(corpo_ejb.jar)
    Unable to deploy EJB: corpo_ejb.jar from corpo_ejb.jar:
    There are 1 nested errors:
    java.io.IOException: JDT compilation error! at
    weblogic.ejb.container.ejbc.CompilerForJDT.compile(CompilerForJDT.java:66)
    at
    weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:357)
    at
    JDT compilation error!
    Could you please give me some point where the problem could be? I don't have any idea where to start looking for..
    What are your experiences with migrations from OAS to Weblogic 10?
    Thanks in advance!
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:00 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:01 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:02 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:04 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 8:05 AM

    Hi Stoigniew Sztank,
    I am working on migrating Enterpirse application developed using Struts, Ejb2.0, JMS. Its been deployed on OAS 10G and Websphere, but I need to deploy the application on Weblogic 10.3. It seems you have migrated a J2ee application from OAS 10G to Weblogic 10.3. Please can you list me the steps that you followed to migrate the application.
    As per my understanding follwing things needsto be taken care of:-
    1) Weblogic Descriptor files:
    1.1 Weblogic.xml:- we added security roles and ejb-reference-description for the ejbs.
    1.2 Weblogic-ejb-jar.xml for all the ejbs used in the application.
    1.3 Weblogic-application.xml
    1.4 Resource Adapter
    2) JMS queue set up
    3) JDBC set up
    It would be a great help if you can let me know what are the steps to migrate the application.
    Thanks and Regards
    Deepak Dani

  • OAS's application migrates 4.0.8 to the OAS 10G

    I am trying to migrate an application that runs in 4.0.8 to the OAS 10G, and i want to know if you know if some procedure for best practice for do this.

    Hi,
    What kind of applications are you running?
    4.0.8 is quite old. The documented approach would be to go 4.0.8 > 1.0.2.2.2 > 9.0.2.3 > 10.1.2.0.2, which does not sound to tempting to me at least.
    Regards,
    Mathias

  • OAS 10g vs IBM WAS6

    Hi
    I'm looking for a paper on the comparison between OAS 10g and IBM WAS 6.
    Do you kow where i could find ti ?
    Regards
    Moosy

    Hello,
    I'm sure you've already "googled" on this and potentially have found some information. I've always found the Reviews section of TheServerSide very helpful. I didn't dig around on there for you, but I'm sure you can find some independent research on there and also comparisons.
    If you have any specific questions I could try to answer them as I have experience in both, although my WAS experience is getting old.

  • How to execute a procedure on OAS 10g release 3

    Hi,
    1 - I installed OAS 10G, and Oracle 10g, but I don´t know what the path to execute a html procedure(htp.p('hi')...etc), the installer say that Oracle HTTP Server was installed in http://server:80/, but I try and I have a page not found...
    Tks.

    How I make sure that I can access static HTML??
    I read the documentation and created dad but not yet he functions, now I receive the message
    Service Temporarily Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Oracle-Application-Server-10g/10.1.3.0.0 Oracle-HTTP-Server Server at araga Port 80
    this is the dad
    # ============================================================================
    # mod_plsql DAD Configuration File
    # ============================================================================
    # 1. Please refer to dads.README for a description of this file
    # ============================================================================
    # Note: This file should typically be included in your plsql.conf file with
    # the "include" directive.
    # Hint: You can look at some sample DADs in the dads.README file
    # ============================================================================
    <Location /plsqlapp>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername scott
    PlsqlDatabasePassword tiger1
    PlsqlDatabaseConnectString orcl
    PlsqlAuthenticationMode SingleSignOn
    PlsqlDefaultPage scott.home
    PlsqlDocumentTablename scott.wwdoc_document
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure scott.wwdoc_process.process_download
    </Location>
    What´s still wrong
    if a try tnsping orcl, its ok.

  • Migration of Enterprise application (J2EE) from OAS 10G to WebLogic

    Hi Group,
    I am working on migrating Enterpirse application developed using Struts, Ejb2.0, JMS. Its been deployed on OAS 10G and Websphere, but I need to deploy the application on Weblogic 10.3. Please can you list me the steps that needs to be followed to migrate the application.
    As per my understanding follwing things needsto be taken care of:-
    1) Weblogic Descriptor files:
    1.1 Weblogic.xml:- we added security roles and ejb-reference-description for the ejbs.
    1.2 Weblogic-ejb-jar.xml for all the ejbs used in the application.
    1.3 Weblogic-application.xml
    1.4 Resource Adapter
    2) JMS queue set up
    3) JDBC set up
    It would be a great help if you can let me know what are the steps to migrate the application.
    Thanks and Regards
    Deepak Dani

    I suppose this paper is Oracle internal only at the moment.
    If you have the option, try JDev 11g and setup all the JDBC and JMS stuff in it.
    --olaf                                                                                                                                                                                                                                                                                                                   

  • ERROR#: 2002 can't connect to MySQL server through socket '/var/mysql/mysql.sock'

    I was following this adobe article (
    http://www.adobe.com/devnet/dreamweaver/articles/php_macintosh.html)
    to set up PHP and MySQL and connect a MySQL database to dreamweaver
    in Mac OS 10.4.8 and I kept getting:
    "Can't connect to MySQL server through socket
    '/var/mysql/mysql.sock' ERROR#: 2002".
    After a lot of searching I came across
    this
    article which said that there was an error in the PHP and MySQL
    connection or something.
    Anyway all I had to do was type (in a TERMINAL window):
    $ sudo mkdir /var/mysql
    $ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
    and that fixed the problem, otherwise the adobe article
    worked very well.
    Check out the "this article" link to get the fix straight
    from the horse's mouth.

    I was following this adobe article (
    http://www.adobe.com/devnet/dreamweaver/articles/php_macintosh.html)
    to set up PHP and MySQL and connect a MySQL database to dreamweaver
    in Mac OS 10.4.8 and I kept getting:
    "Can't connect to MySQL server through socket
    '/var/mysql/mysql.sock' ERROR#: 2002".
    After a lot of searching I came across
    this
    article which said that there was an error in the PHP and MySQL
    connection or something.
    Anyway all I had to do was type (in a TERMINAL window):
    $ sudo mkdir /var/mysql
    $ sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
    and that fixed the problem, otherwise the adobe article
    worked very well.
    Check out the "this article" link to get the fix straight
    from the horse's mouth.

  • Jdeveloper 10g and MySQL

    Have any one try to connect to MySQL using Jdeveloper 10g?
    Any pointers?
    Thanks

    I have a mysql connection and everything works good. I have the "SQL flavor" set to SQL92 and the "Type" to Java. I can create business components from the connection and test them. "SELECTS" work fine, but if I try to update or insert, I get an error stating that "Callable Statements not supported". Why on earth would it try and use a "CallableStatement" for INSERT and UPDATE statements??
    Here is the full trace:
    oracle.jbo.SQLStmtException: JBO-27123: SQL error during call statement preparation. Statement: UPDATE tax Tax SET tax=? WHERE TAX_ID=?
         at oracle.jbo.server.DBTransactionImpl.createCallableStatement(DBTransactionImpl.java:2725)
         at oracle.jbo.server.DBTransactionImpl2.createCallableStatement(DBTransactionImpl2.java:407)
         at oracle.jbo.server.BaseSQLBuilderImpl.doEntityDML(BaseSQLBuilderImpl.java:248)
         at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:4592)
    ## Detail 0 ##
    java.sql.SQLException: Callable statments not supported.
         at com.mysql.jdbc.Connection.prepareCall(Connection.java:1201)
         at oracle.jbo.server.DBTransactionImpl.createCallableStatement(DBTransactionImpl.java:2690)
    Any help would be appreciated.
    Thanks.

  • How to access MYSQL from Oracle 10g and vice versa

    I will like to know how do I create a database link between Oracle 10g and MYSQL database on windows.  I have been saddled with responsibility of ensuring the communications between the 2 databases and I have searched everywhere on google, I could not find anywhere where this is explain explicitly and made work.
    THank you

    In general Oracle offers 2 different products to connect from an Oracle database to a MS SQL Server. The first product is for free and it is called
    As DG4ODBC is a generic connectivity based on ODBC it allows you to connect to many foreign databases as long as you have a suitable ODBC driver.It for example allows you to read from text files but also connect to foreign databases like MS SQL Server or IBM DB2. Due to this wide variety of foreign data sources tha capabilities of DG4ODBC are very limited. It only supports a few Oracle functions that it can directly map to foreign database equivalents. All other functions will be post processed. Post processing means that ALL records from the foreign table(s) will be fetched into the Oracle database and the result is then processed locally - so depending on the amount of data stored in the foreign database it might take a while.
    To be complete here some notes to follow up:
    This Oracle support note describes possible options you have to connect to a foreign database:
    Document 233876.1 Options for Connecting to Foreign Data Stores and Non-Oracle Databases - For example - DB2, SQL*Server, Sybase, Informix, Teradata, MySQL
    So you see, to connect from Oracle to MySQL you need to use the Database gateway for ODBC release 11.2 (HSODBC which was shipped with 10g was desupported in march 2008).
    The Database Gateway for ODBC 11.2 (=DG4ODBC) license is included in the Oracle database license and it allows you to connect with a suitable 3rd party ODBC driver to a foreign database.
    For your MySQL connection you only need to download and configure the MySQL ODBC driver from the MySQL web site. Once you can connect with the ODBC driver you could then download and configure DG4ODBC.
    As you didn't post on which platform your Oracle database is installed, here 2 notes for common platforms:
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle (Doc ID 561033.1)
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install (Doc ID 1266572.1)
    - Klaus

  • JDEV 1013 and deployment to OAS 10g (9.0.4)

    Hi,
    I have read that OAS 10g (9.0.4) is not supported by Jdeveloper 1013.
    Is that mean that I can't deploy an ADF/JSF application to the OAS 10g (9.0.4)?
    Regards,
    Cezary

    Hi,
    yes and no. What it means is that you can't directly deploy from JDeveloper to this Application Server. Building J2EE 1.3 compliant applications and deploy the EAR file to OracleAs 9.0.4 should work. Note that if using ADF I am not so sure if there are issues when deploying the ADF runtime libraries.
    Frank

  • Reports Graphics and OAS 10g

    I made a report with a pie char in developer 10g, it runs OK and i see the char in my desktop. When I execute the report (.rep) in OAS 10g (Forms a Reports Services) via the rwservlet, the resulting PDF file contains everything but the chart doesn't appears (white page). Is there any kind of configuration I need to adjust?

    Hi,
    This is strange. There is no additional configuration needed for charts. If your reports are running fine, it means you should be able to get charts in the output. Does the same problem reproduce if you change the output format from PDF to HTML or HTMLCSS?
    Navneet.

  • How to create dblink between oracle 10G and mysql

    I want to create dblink between oracle 10G and mysql
    I create it in ECC6.0 using DBCO transaction tcode,which database type can choose?Microsoft sql server?Because there have no mysql item.
    I choosed MSS  so that I can test it, but it failed,there is an error that 'ORA-12569:TNS:packet checksun failure'.
    I configured the oracle tnsnames.ora file like this:
         CW.WORLD =
               (DESCRIPTION =
                    (ADDRESS_LIST =
                          (ADDRESS =
                                  (COMMUNITY = SAP,WORLD)
                                  (PROTOCOL = TCP)
                                  (HOST = XX.XX.XX.XX)
                                  (PORT = XXXX)
                   (CONNECT_DATA =
                        (SID = XXX )
                   (HS = ok )
    When I tnsping CW,it will fail,like this " TNS-12569:TNS:packet checksum failure"
    How can I do.

    I want to know if this possible?

Maybe you are looking for

  • Error message when syncing Ipad: unable to load data class

    for the past hour my itunes have been trying to sync.  it's on step 2 of syncing ipad and it's been on that for a while.  when I get to step two, after it asks me if I want to sync my purchased on my ipad to itunes, I click ok.  then i keep getting t

  • Goods Issue Documentation for Text (Non-stock) Items

    Hi all, I have a business requirement to provide some form of shipping documentation for text (non-stock) items. The business do not want to create material masters (NLAGs) for these items as they are different/one off purchases. The purchase the goo

  • How to add new fields to CRM contract Product List tab?

    Hi all! I would like to add a new custom field for CRM contract (CRMD_BUS2000121) item level, on the Product List tab. Here I found CRMT_0100A_ORDPRP_I_EXT_UI structure, therefore I enhanced this with new append structure and new fields. I also added

  • Will iMac G5 2.1 run Final Cut Pro 4.0.1

    Tried to install and run Final Cut Pro 4.0.1 on my iMac G5 2.1ghz and it installed but would not run. I did get a message that read that some software or hardware was needed (AGB Graphics Card was listed in red) but I would think that the iMac had ev

  • Need to retrieve all the node values of xml using DOM parser..pls help

    I want to fetch each node value in this xml file: <?xml version="1.0" encoding="UTF-8"?> <Main> <AAAAA> <ES>ESValue</ES> <EI>EIValue</EI> </AAAAA> <BBBBB> <SIP> <ST>STValue</ST> <TB>TBValue</TB> <PM>PMValue</PM> <VIP> <CARP> <AN1>AN1Value</AN1> <BN>B