Problems with JDBC Connection, invalid Oracle-URL

H,
i can't use a JBDC Connection. Maybee i tried a wrong oracle url syntac
This Url jdbc:oracle:thin@bilent:1521:bilent throws an error
java.sql.SQLException: invalid Oracle-URL
The following parameter worked
Driver :thin
hostname:bilent
JDBC Port:1521
SID:bilent
What is wrong in the oracle url?
THANKS

Hi,
You are missing ":" after thin and host name. Your URL should be
jdbc:oracle:thin:@bilent:1521:bilent-Arun

Similar Messages

  • Problem with JDBC driver for Oracle 10g

    Hi.
    I've successfully accessed a MySQL database via a DataSource from a servlet (that uses a DAO). However, when I try to do the same with an Oracle 10g Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter of which I downloaded this afternoon as the latest driver JAR available on the Oracle site. As with the MySQL driver, I've placed it in the commons\lib folder within Tomcat. (I've also, of course, made the necessary modifications to server.xml and web.xml.)
    Upon examining the ReadMe file at the top of the Oracle download page, I found that the oracle.jdbc.driver package is now deprecated and all references to oracle.jdbc.driver should be replaced with oracle.jdbc. However, I got a similar error message when I tried this modification. Upon examining the contents of ojdbc.jar, I found that the driver was there and that it was, in fact, still oracle\jdbc\driver\OracleDriver!
    It appears as though the Oracle site has not been updated with a driver that matches its latest documentation. However, this does not explain why the driver is not even being loacted when it is in the correct place. Can anybody shed any light on this? Any help would be much appreciated.
    Thanks in anticipation.
    Cheers.
    Jan

    I've successfully accessed a MySQL database via a
    DataSource from a servlet (that uses a DAO). However,
    when I try to do the same with an Oracle 10g
    Database, I get the error message:
    Cannot load JDBC driver class 'oracle.jdbc.driver.OracleDriver'
    That's different from a ClassNotFoundException.
    >
    I'm using J2SE1.5.0/5.0 and ojdbc14.jar, the latter
    of which I downloaded this afternoon as the latest
    driver JAR available on the Oracle site. So you got ojdbc14.jar or ojdbc14_g.jar under the 10g drivers?
    As with the
    MySQL driver, I've placed it in the commons\lib
    folder within Tomcat. I think it's a better idea to put in the WEB-INF/lib directory of your Web app rather than commons/lib. WAR files are a very good idea, too.
    (I've also, of course, made the
    necessary modifications to server.xml and web.xml.)So you're using a JNDI data source? It sounds to me like that's where the problem is.
    You should not have to edit the server.xml at all. If you put the <ResourceParams> in a context XML file with the same name as your WAR file into the TOMCAT_HOME/webapps directory it'll be picked up automatically. (It might also be accessible in the META-INF directory for your app, but I haven't done it that way.)
    Upon examining the ReadMe file at the top of the
    Oracle download page, I found that the
    oracle.jdbc.driver package is now deprecated and all
    references to oracle.jdbc.driver should be replaced
    with oracle.jdbc.
    However, I got a similar error
    message when I tried this modification. Upon
    examining the contents of ojdbc.jar, I found that the
    driver was there and that it was, in fact, still
    oracle\jdbc\driver\OracleDriver! The fully-resolved class name you should be using MUST match the class that's in the ojdbc14.jar that you're using. Look in the JAR for the definitive answer: the one that I downloaded is still using the oracle.jdbc.driver package for OracleDriver.class. Ignore the docs - use the name that's in the JAR.
    It appears as though the Oracle site has not been
    updated with a driver that matches its latest
    documentation. That often happens with docs.
    However, this does not explain why the
    driver is not even being loacted when it is in the
    correct place. Can anybody shed any light on this?
    Any help would be much appreciated.I think the problem lies in your web.xml and server.xml
    I'd recommend that you decouple the JDBC from the Web app for now. See if you can connect to Oracle using a simple desktop app and leave the Web piece out of the equation for now. Once you can do that, you'll be certain that the parameters you're using are correct and you can turn your attention to getting the Tomcat configuration right.
    PS - I'm using Oracle 9.2.0.1 and Tomcat successfully right now, so it can be done.

  • Problem with JDBC Connection for HDB hanadb 02

    Hi folks,
    Ok I have an instance based on the 7.4 SP5 HANA CAL solution.
    But when I suspend and restart the R3 system doesn't start again.
    I've followed the instructions in the user guide and can access the backend instance and see that for HDB GetProcessList everything is GREEN, running
    while for A4H GetProcessList everything is GREY, stopped
    When I try to start the A4H instance I get
    Checking HDB database
    Database is not available via R3trans
    Database must be started first
    The messages I found on SCN suggested this might be a license problem with the HANA database, so I tried to follow the install license instructions for the HANA database via the HANA studio, but when I try to open the HDB(SYSTEM) > Properties > Licence, I then get the messages
    Error while reading the licence information from system HDB hanadb 02
    Reason:
    Cannot retrieve JDBC Connection for HDB hanadb 02
    So what do I try now? 
    Any suggestions?
    Rgds,
    Jocelyn

    Thanks Ivanka! That sorted it.
    For the benefit of others...the error message was found in the server log files
    /var/log/applianceagent.log 
    /var/log/appliancedeploy.log

  • Redhat 7.3 upgrade causing problems with client connections to Oracle 8.1.7

    I have recently upgraded from Redhat 7.1 to 7.3 and now my Oracle clients can no longer connect to Oracle 8.1.7. I read a note external to this forum that essentially says to reinstall Oracle.
    I would really like to avoid reinsalling Oracle. I haven't had enough time to devote to determining a simpler fix. Does anyone know whether reinstalling Oracle can be avoided?
    Thomas

    I resolved my own issue. The problem was with the 7.2 upgrade and how it treated client connections. Once I started xinetd (off by default), everything started working; imagine that.
    Thomas

  • Problem in jdbc connect thru oracle

    hi all
    i hv installed oracle 8i on win2k
    i wanna connect thru jdbc
    but i am getting error below
    i donno whr i got struck?
    plz help me
    thnx in advance
    bye
    ////////// details ///////////////////////
    import java.sql.*;
    ///win2000,oracle 8i
    /// try to fix whr i hv done mistake
    import java.io.*;
    class JDBC1
    public static void main(String[] args)
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver ");
    //// i tried all below connections
    Connection cn=DriverManager.getConnection("jdbc:odbc:santhu:PLSExtProc","scott","tiger"); /// oracle_sid=santhu hv given
    //Connection cn= DriverManager.getConnection("jdbc:odbc:PLSExtProc","scott","tiger"); /// PLSExtProc it is given in tnsnames.ora file
    //Connection cn=DriverManager.getConnection("jdbc:odbc:oracle:PLSExtProc","scott","tiger"); /// driver name i hv given as oracle and one more as santhu--both for oracle driver
    Statement st=cn.createStatement();
    ResultSet rs=st.executeQuery("select * from dept");
    int dno;
    String dname;
    while(rs.next())
    dno=rs.getInt("deptno");
    dname=rs.getString("dname");
    System.out.println(dno+dname);
    catch(Exception e)
    System.out.println(e);
    /// compiled successfully
    /// but runtime error::SQLException---data source name not found no default driver specified
    //// saying tns-12538 error
    /// tnsping-----error is coming.........
    /// lsnrctl start --------is not working
    //// lsnrctl status ------is also not working
    /// in services i hv set oraclelistener to auotmatic start
    /// in net8 configuration assistent everything is ok
    /// try to do it today...ok na
    // i put classpath to home dir of oracle
    ///////////listener.ora file //////////////////////////////
    # LISTENER.ORA Network Configuration File: D:\Oracle\Ora81\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Vaman)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vaman)(PORT = 2481))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = santhu)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (SID_NAME = santhu)
    /////////////////tnsnames.ora file///////////////////
    # LISTENER.ORA Network Configuration File: D:\Oracle\Ora81\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Vaman)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vaman)(PORT = 2481))
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = santhu)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (SID_NAME = santhu)
    ////////////////////////////////////////////////

    Class.forName("oracle.jdbc.OracleDriver");
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@<hostname>:1521:<database name>", "scott", "tiger");
    You can find OracleDriver in classes12.jar (<ORA_HOME>/jdbc).
    Check your tnsnames.ora file for <hostname> and <database name>. For example, if you had a following entry in tnsnames.ora file:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = SOMEHOST)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    you would write:
    Connection con = DriverManager.getConnection("jdbc:oracle:thin:@SOMEHOST:1521:XE", "scott", "tiger");

  • Problem with jdbc oci in oracle full installation

    Hi,
    My server has Oracle 10g R2 in full installation, and not run jdbc in oci,
    my java command:
    /usr/java/jre1.5.0_07/bin/java -Dlibrary.path=/oracle/product/10.2.0/db_1/lib -cp ... mypackage.myclass
    and its says:
    java.lang.UnsatisfiedLinkError: /oracle/product/10.2.0/db_1/lib/libocijdbc10.so: /oracle/product/10.2.0/db_1/lib/libocijdbc10.so: cannot open shared object file: No such file or directory
    but this file [ libocijdbc10.so ] there is in the path... however the file [ libclnstsh.so.10.1 ] not...
    what is the problem ?
    thanks a lot

    Hello!
    I hope that it wasn't late but if you see the note 293667.1 you will find that is necessary set two environment variables LIBPATH and LD_LIBRARY_PATH
    $export LIBPATH=$ORACLE_HOME/lib:$LIBPATH
    $export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    Ramiro Ortiz

  • Problems with MTS connecting to Oracle

    Somebody know the reason from this
    I have a COM+ Object under MTS, the component have "requires transaction",
    when I tries to connect COM+ interface to Oracle, I've got this message:
    " -2147168229 Cannot connect to the transaction manager or the transaction manager is unavailable"
    I use Oracle client 9.0.1.0.1
    MDAC 2.6 SP2
    Windows 2000 Prof.
    Oracle MTS Services, but when start service I got an error on trace file:
    =====================================================================
    OracleMTSService0
    8/1/2002 12:25:03
    14471969: [1536] OracleMgr::Initialize - Error: OCIStmtExecute failed - ORA-01403: no data found
    Thanks.

    Welcome to the Apple Discussions!
    Mike, it sounds like the router is configured correctly because it is able to create secure connections to the internet for your other computers in the house. The issue must be a configuration misstep in the Network configuration of the Mac mini server.
    Could you please describe how the mini is configured in Sys Prefs/Network/AirPort?
    Dah•veed

  • I have a problem with JDBC Realm in Tomcat/Oracle/Win XP

    I have a problem with JDBC Realm in Tomcat.
    I have attached my server.xml file located in the
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\server.xml
    The Problem is that when I login I get the user name and password prompt but it does not resolve.
    When I enter in the tomcat-users.xml password with memory realm uncommented it works fine.
    C:\Program Files\Apache Software Foundation\Tomcat 5.5\conf\tomcat-users.xml
    Is there a cache or something I need to reset for the JDBC Realm to work?
    I have attached my tables and contents as well...
    Did I miss something????
    Thanks
    Phil
    server.xml
    <Server port="8005" shutdown="SHUTDOWN">
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    </GlobalNamingResources>
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="8080" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <Realm className="org.apache.catalina.realm.JDBCRealm"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@localhost:1521:orcl"
    connectionName="testName" connectionPassword="testPass"
    userTable="users"
    userNameCol="user_name"
    userCredCol="user_pass"
    userRoleTable="user_roles"
    roleNameCol="role_name" />
    <!-- Define the default virtual host
    Note: XML Schema validation will not work with Xerces 2.2.
    -->
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    </Host>
    </Engine>
    </Service>
    </Server>
    Tables
    create table users
    user_name varchar(15) not null primary key,
    user_pass varchar(15) not null
    create table roles
    role_name varchar(15) not null primary key
    create table user_roles
    user_name varchar(15) not null,
    role_name varchar(15) not null,
    primary key( user_name, role_name )
    select * from users;
    ----------------------+
    | user_name | user_pass |
    ----------------------+
    | tomcat | tomcat |
    | user1 | tomcat |
    | user2 | tomcat |
    | user3 | tomcat |
    ----------------------+
    select * from roles;
    | role_name |
    | tomcat |
    | role1 |
    select * from user_roles;
    -----------------------+
    | role_name | user_name |
    -----------------------+
    | tomcat | user1 |
    | role1 | user2 |
    | tomcat | tomcat |
    | role1 | tomcat |
    -----------------------+

    Jan 2, 2008 11:49:35 AM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Jan 2, 2008 11:49:35 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 734 ms
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    Jan 2, 2008 11:49:35 AM org.apache.catalina.realm.JDBCRealm start
    SEVERE: Exception opening database connection
    java.sql.SQLException: oracle.jdbc.driver.OracleDriver
         at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:684)
         at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:758)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1004)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
         at org.apache.catalina.core.StandardService.start(StandardService.java:450)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Jan 2, 2008 11:49:35 AM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Jan 2, 2008 11:49:36 AM org.apache.catalina.core.StandardContext resourcesStart

  • *URGENT HELP REQUIRED* java.sql.SQLException: Invalid Oracle URL specifed

    Hi all,
    In the middle of the last week for my final year project and having to convert to an Oracle database due to compatibility problems with university Tomcat Server and MS Access. I'm having trouble connecting to the Oracle database and would appreciate some help please.
    Running on Windows 98 in the lab here, and the Oracle 9i, release 9.2.0.2.0, J2SDK1.4.0, Classes12.zip installed OK.
    Code for connection looks like this inside the constructor of my class:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    cardSaleConnexion = DriverManager.getConnection("jdbc:oracle:[email protected]:1521:sid","user_name","pwdt");
    System.out.println("Connection Successful ");
    And I'm getting the following error when calling the constructor in a driver program:
    java.sql.SQLException: Invalid Oracle URL specified
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:188)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at CardSale.<init>(CardSale.java:30)
         at Driver.main(Driver.java:11)
    Exception in thread "main"
    Please reply on a very urgent basis.
    Kind regards,
    Peter

    Try ojdbc14.jar as the JDBC driver instead of classes12.zip.
    Refer:
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html
    http://docs.sun.com/source/817-5603-10/index.html
    Database Driver
    This section describes the known database driver issues and associated solutions.
    ID      Summary
    4700531      On Solaris, an ORACLE JDBC driver error occurs.
         This new Java Database Connectivity (JDBC) driver is for Oracle (R) working with JDK1.4. The problem is caused by a combination of the Oracle 9.1 database and ojdbc14.jar. Applying the patch will fix the problem on Solaris 32-bit machine, running an Oracle 9.0.1.3 database.
         Solution
         Obtain and apply the patch to your server from the Oracle Web site for Bug 2199718. Perform the following steps:
         1.��Go to the Oracle web site.
         2.��Click the 'patches' button.
         3.��Type 2199718 in the patch number field.
         4.��Click the 32-bit Solaris OS patch.Go to Metalink.oracle.com.
         5.��Click patches.
         6.��Under patch number, enter 2199718.
         7.��Click the 32 bit Solaris OS patch.
    4707531      On Solaris, accessing an Oracle 9.1 database with an Oracle 9.2 Client may cause data corruption.
         If you use an Oracle (R) 9.2 client to access an Oracle 9.1 database, data corruption might occur when a number column follows a timestamp column.
         The problem might be caused by using the ojdbc14.jar file with an Oracle 9.1 database. Applying the patch might assist in addressing the situation on Solaris 32-bit machines, running an Oracle 9.1 database. This JDBC driver is for Oracle working with JDK1.4.
         Solution
         Obtain the patch that Oracle might make available from the Oracle web site for Bug 2199718 and apply it to your server.
    Regards,
    Pankaj D.

  • Invalid Oracle URL specified: OracleDataSource.makeURL in Arquillian ITest

    I asked this on Stackoverflow but haven't received any feedback.  oracle11g - Invalid Oracle URL specified: OracleDataSource.makeURL in Arquillian ITest - Stack Overflow   I'm hoping for a response here.
    I work hard to resolve any and every error I get thrown and mostly always work out the solution.  I find a good walk helps.  But this one has me stumped, I've been staring at this same error all day.  Like Ticcie in http://stackoverflow.com/questions/1332869/invalid-oracle-url-specified-oracledatasource-makeurl suggests, the error message does nothing to help understand what is wrong.
    <pre jivemacrouid="_13768863908977320" ___default_attr="java" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768863908977320">    SEVERE: Exception during lifecycle processing
        org.glassfish.deployment.common.DeploymentException: Exception (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DatabaseException
        Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
        Error Code: 0
            at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:762)
            at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
    I am doing Arquillian Integration Testing for a Java EE 7 EAR application.  Its been going well using JPA and the DerbyDb but I now need to test Native Oracle DB (11g) SQL.  So I've setup a new testing project to connect to an OracleDB using EclipseLink.
    I CAN connect to the database through the Eclipse IDE DataSource explorer and ping it no problems.  
    I DO connect to a sister Oracle database in Glassfish standalone and ping it no problems.
    But the Arquillian Test cannot connect to it with the above ambiguous error.
    I use exactly the same URL as I have with the Eclipse IDE DataSource explorer:
    <pre jivemacrouid="_13768864212106660" ___default_attr="java" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768864212106660">    jdbc:oracle:thin:@marina.work.com:1521:orcl
    The Arquillian setup is the same as I did for DerbyDb (pretty-much same as http://arquillian.org/guides/testing_java_persistence/ with these variations for OracleDB.  I'm attaching a minimal test case where you can see this and run it yourself:
    <pre jivemacrouid="_13768865012731288" ___default_attr="xml" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768865012731288"># src/main/resources-glassfish-embedded/sun-resources.xml
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE resources PUBLIC "-//GlassFish.org//DTD GlassFish Application Server 3.1 Resource Definitions//EN" "http://glassfish.org/dtds/glassfish-resources_1_5.dtd">
        <resources>
            <jdbc-resource pool-name="ArquillianOraclePool" jndi-name="jdbc/arquillian" />
            <jdbc-connection-pool name="ArquillianOraclePool" res-type="javax.sql.DataSource" datasource-classname="oracle.jdbc.pool.OracleDataSource" 
                is-isolation-level-guaranteed="false" >
            </jdbc-connection-pool>
        </resources>
    <pre jivemacrouid="_13768865126088326" ___default_attr="xml" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768865126088326"># src/main/resources-glassfish-embedded/test-persistence.xml
        <?xml version="1.0" encoding="UTF-8"?>
        <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="
              http://java.sun.com/xml/ns/persistence
              http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
            <persistence-unit name="esaarch01-pu" transaction-type="JTA">
                <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
                <jta-data-source>jdbc/arquillian</jta-data-source>
                <jar-file>test.jar</jar-file>
                <exclude-unlisted-classes>false</exclude-unlisted-classes>
                <properties>
                    <property name="javax.persistence.jdbc.Url" value="jdbc:oracle:thin:@marina.work.com:1521:orcl" />
                    <property name="javax.persistence.jdbc.Password" value="demo" />
                    <property name="javax.persistence.jdbc.User" value="test" />
                    <property name="javax.persistence.jdbc.driver" value="oracle.jdbc.OracleDriver" />    <!-- driver. -->
                    <property name="javax.persistence.jdbc.platform" value="org.eclipse.persistence.platform.database.oracle.OraclePlatform" />
                    <property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
                    <property name="eclipselink.logging.level" value="FINE" />
                    <property name="eclipselink.logging.level.sql" value="FINE" />
                </properties>
            </persistence-unit>
        </persistence>
    To prove this file is used (for something) I've introduced XML well-formedness errors such as text in the `properties` element and receive the following error.
    <pre jivemacrouid="_13768865443638511" ___default_attr="java" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768865443638511"> 
        java.io.IOException: org.xml.sax.SAXParseException; lineNumber: 21; columnNumber: 16; Deployment descriptor file META-INF/persistence.xml in archive .  cvc-complex-type.2.3: Element 'properties' cannot have character , because the ...
    I've tried different property names but none change the error message.  Which makes me think that the URL property isn't being picked up at all.  
    Such URL variations as (with matching mods for name and password):
    <pre jivemacrouid="_13768865691348423" ___default_attr="java" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768865691348423">    javax.persistence.jdbc.url URL Url (three variations)
        eclipselink.jdbc.url URL Url (three variations)
    No variation works.  Same error.
    It would be really nice if the exception can be more specific about what it can and cannot find.
    I followed Diagnosability in JDBC to try and increase the log output.  It provides a little more insight.  Below is the relevant log messages.
    Can anyone tell me what's going wrong and what I need to do to make it work?  Sample project is attached (I assume I can attach and will try after posting since I can't see anything at the moment).  To get going you'll need to do the following:
    1. Add OJDBC6_g to your local maven repository with:
    <pre _modifiedtitle="true" jivemacrouid="_13768941800232399" ___default_attr="javascript" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768941800232399">mvn install:install-file -Dfile=ojdbc6_g.jar -DgroupId=com.oracle  -DartifactId=ojdbc6_g -Dversion=11.2.0 -Dpackaging=jar
    Be running an Oracle11g DB and set the parameters in the file:
    <pre jivemacrouid="_13768943053094146" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768943053094146">sun/main/resources-glassfish-embedded
    <pre jivemacrouid="_13768942865272586" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13768942865272586">
    Also notice there is a 'derby' version of this file and the sun-resources file.  And there is a line of code in createData() in the AlertSQLTest.java Unit Test file (that you run) to change between Derby and Oracle.  The point of this is to show that Derby works fine, although of course you don't need to specify a URL nor username and password.  I'm confident the persistence.xml is being used.
    In the following log output I'm most interested in the line:
    <pre jivemacrouid="_1376955648594262" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_1376955648594262">Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Public Enter: "", ""
    Which immediately proceeds the exception.
    To turn on this mass of debug I:
    <pre jivemacrouid="_13769559423811728" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13769559423811728">oracle.jdbc.pool.level=FINE
    org.level=FINE
    java.level=FINE
    javax.level=FINE
    com.level=FINE
    sun.level=FINE
    oracle.jdbc.level=INFO
    oracle.sql.level=FINE
    oracle.jdbc.handlers=java.util.logging.ConsoleHandler
    Run eclipse from the command-line (Linux) after setting JAVAOPTIONS.  Sorry can't tell you off the top of my head what you need to do in Windows.
    bsmith &gt; export JAVAOPTIONS='-Doracle.jdbc.Trace=true'bsmith > eclipse &
    <pre jivemacrouid="_13769558284387639" ___default_attr="plain" jivemacro="code" class="jive_text_macro jive_macro_code jivemacrouid_13769558284387639">Aug 19, 2013 4:09:37 PM org.glassfish.persistence.jpa.JPADeployer event
    FINE: JpaDeployer.event(): Handling APPLICATION_PREPARED origin is:deploy
    Aug 19, 2013 4:09:37 PM org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver detectJPA
    DEBUG: Found javax.persistence.Persistence on classpath containing 'getPersistenceUtil'. Assuming JPA 2 environment. Trying to instantiate JPA aware TraversableResolver
    Aug 19, 2013 4:09:37 PM org.hibernate.validator.internal.engine.resolver.DefaultTraversableResolver detectJPA
    DEBUG: Instantiated JPA aware TraversableResolver of type org.hibernate.validator.internal.engine.resolver.JPATraversableResolver.
    Aug 19, 2013 4:09:37 PM org.hibernate.validator.internal.xml.ValidationXmlParser getInputStream
    DEBUG: Trying to load META-INF/validation.xml for XML based Validator configuration.
    Aug 19, 2013 4:09:37 PM org.hibernate.validator.internal.xml.ValidationXmlParser getInputStream
    DEBUG: No META-INF/validation.xml found. Using annotation based configuration only.
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.naming.impl.SerialInitContextFactory getInitialContext
    FINE: getInitialContext: env={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory}
    Aug 19, 2013 4:09:37 PM NamedNamingObjectManager tryNamedProxies
    FINE: found a new proxy for
    Aug 19, 2013 4:09:37 PM org.eclipse.persistence.session.file:/tmp/gfembed1088134816527298857tmp/applications/test/test_war/WEB-INF/lib/test.jar_esaarch01-pu
    INFO: EclipseLink, version: Eclipse Persistence Services - 2.5.0.v20130507-3faac2b
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectorRegistry getInstance
    FINE: returning the connector registry
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectionManagerImpl allocateConnection
    FINE: RAR5036:Resource reference is not defined for JNDI name
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectorRegistry getInstance
    FINE: returning the connector registry
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.ManagedConnectionFactoryImpl logFine
    FINE: In equals
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectorRegistry getDescriptor
    FINE: Found/returing Connector descriptor in connector registry.
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectionManagerImpl logFine
    FINE: ConnectionMgr: poolName ArquillianOraclePool  txLevel : 1
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.resource.pool.PoolManagerImpl logFine
    FINE: Returning noTxResourceManager
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.ManagedConnectionFactoryImpl logFine
    FINE: In createManagedConnection
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.ManagedConnectionFactoryImpl logFine
    FINE: In equals
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource <init>
    FINE: 37A26011 Public Enter: 
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource <init>
    FINE: 37A26011 Public Enter: 
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource <init>
    FINE: 37A26011 Exit
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource <init>
    FINE: 37A26011 Exit
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Public Enter: "", ""
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Public Enter: "", ""
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource makeURL
    SEVERE: 37A26011 Throwing SQLException: 67OracleDataSource.makeURL
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource makeURL
    SEVERE: 37A26011 Throwing SQLException: 67OracleDataSource.makeURL
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Exit
    Aug 19, 2013 4:09:37 PM oracle.jdbc.pool.OracleDataSource getConnection
    FINE: 37A26011 Exit
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.DSManagedConnectionFactory createManagedConnection
    FINE: jdbc.exc_create_conn
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator createResource
    WARNING: RAR5038:Unexpected exception while creating resource for pool ArquillianOraclePool. Exception : javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator createResource
    FINE: Resource Exception while creating resource
    javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
        at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:129)
        at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:87)
        at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:907)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1189)
        at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
        at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1512)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:944)
        at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
        at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511)
        at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
        at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:245)
        at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:360)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:196)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:171)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:166)
        at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:114)
        at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:123)
        at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:203)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:734)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239)
        at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:681)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:304)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:336)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:302)
        at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
        at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
        at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
        at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:395)
        at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:484)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:356)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:109)
        at org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer.deploy(GlassFishContainer.java:227)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
        at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
        at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
        at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
        at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
        at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:3056)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:297)
        at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:117)
        ... 136 more
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.resource.pool.ConnectionPool createSingleResource
    FINE: Connection creation failed for 1 time. It will be retried, if connection creation retrial is enabled.
    com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
        at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:110)
        at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:907)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1189)
        at com.sun.enterprise.resource.pool.datastructure.RWLockDataStructure.addResource(RWLockDataStructure.java:98)
        at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:282)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1512)
        at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:944)
        at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:230)
        at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:511)
        at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:381)
        at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:245)
        at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:360)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:307)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:196)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:171)
        at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:166)
        at com.sun.gjc.spi.base.AbstractDataSource.getConnection(AbstractDataSource.java:114)
        at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:123)
        at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:203)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:734)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239)
        at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:681)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:304)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:336)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:302)
        at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
        at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
        at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
        at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:395)
        at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:484)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:356)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:109)
        at org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer.deploy(GlassFishContainer.java:227)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.test.impl.client.ContainerEventController.execute(ContainerEventController.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.test.impl.TestContextHandler.createClassContext(TestContextHandler.java:75)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:80)
        at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:182)
        at org.jboss.arquillian.junit.Arquillian.multiExecute(Arquillian.java:314)
        at org.jboss.arquillian.junit.Arquillian.access$100(Arquillian.java:46)
        at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:199)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:147)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    Caused by: javax.resource.spi.ResourceAllocationException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
        at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:129)
        at com.sun.enterprise.resource.allocator.LocalTxConnectorAllocator.createResource(LocalTxConnectorAllocator.java:87)
        ... 135 more
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
        at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:3056)
        at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:297)
        at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:117)
        ... 136 more
    Aug 19, 2013 4:09:37 PM com.sun.enterprise.connectors.ConnectionManagerImpl internalGetConnection
    WARNING: RAR5117 : Failed to obtain/create connection from connection pool . Reason : com.sun.appserv.connectors.internal.api.PoolingException: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
    Aug 19, 2013 4:09:37 PM com.sun.gjc.spi.base.AbstractDataSource logNonTransientException
    WARNING: jdbc.exc_get_conn
    Aug 19, 2013 4:09:37 PM org.eclipse.persistence.session.file:/tmp/gfembed1088134816527298857tmp/applications/test/test_war/WEB-INF/lib/test.jar_esaarch01-pu.ejb
    SEVERE: 
    Local Exception Stack: 
    Exception (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
    Error Code: 0
        at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:316)
        at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:135)
        at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:203)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:734)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239)
        at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:681)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.getAbstractSession(EntityManagerFactoryDelegate.java:204)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryDelegate.createEntityManagerImpl(EntityManagerFactoryDelegate.java:304)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:336)
        at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:302)
        at org.glassfish.persistence.jpa.JPADeployer$2.visitPUD(JPADeployer.java:451)
        at org.glassfish.persistence.jpa.JPADeployer$PersistenceUnitDescriptorIterator.iteratePUDs(JPADeployer.java:510)
        at org.glassfish.persistence.jpa.JPADeployer.iterateInitializedPUsAtApplicationPrepare(JPADeployer.java:492)
        at org.glassfish.persistence.jpa.JPADeployer.event(JPADeployer.java:395)
        at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:484)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:527)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2$1.run(CommandRunnerImpl.java:523)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:356)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:522)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1674)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:133)
        at com.sun.enterprise.admin.cli.embeddable.DeployerImpl.deploy(DeployerImpl.java:109)
        at org.jboss.arquillian.container.glassfish.embedded_3_1.GlassFishContainer.deploy(GlassFishContainer.java:227)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createDeploymentContext(ContainerDeploymentContextHandler.java:78)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.ContainerDeploymentContextHandler.createContainerContext(ContainerDeploymentContextHandler.java:57)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.container.impl.client.container.DeploymentExceptionHandler.verifyExpectedExceptionDuringDeploy(DeploymentExceptionHandler.java:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:135)
        at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:115)
        at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:95)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController$1.perform(ContainerDeployController.java:80)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachDeployment(ContainerDeployController.java:263)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.forEachManagedDeployment(ContainerDeployController.java:239)
        at org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deployManaged(ContainerDeployController.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)
        at org.jboss.arquillian.core.impl.EventContextImpl.invokeO

    a3828ac4-c7f0-4056-9257-758656c7282f wrote:
    Doesn't the following come from OJDBC and hence is Oracle DB related?
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
        at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:3056)
    From my perspective, if the connection request does not make it to the listener which runs on the DB Server, then the error is external to Oracle & so is the fix.
    EVERY connection request that is received by the listener is logged into listener.log file.
    If nothing is logged, then the problem occurs before any real Oracle software is contacted.
    You can continue to blame Oracle but it won''t get you any closer to finding the root cause or any solution.
    when was the last time this worked without error?
    What changed since then?

  • JDBC connection to Oracle 10g RAC periodically times out

    I've been banging my head against the wall for months now and can't figure out why this is and what's causing it.
    We have 6x CF8 servers in our environment. 3 of which work perfectly and the other 3 have the following problem. All 6 machines were installed at the same time and followed the exact same installation plan.
    When I configure Oracle RAC data source, some of the machines time-out connecting to Oracle from time-to-time.
    Config:
    Solaris 9 on both CF and Oracle
    CF8 Enterprise with the latest updater.
    Apache 2 (not that it's relevant)
    6 machines, load-balanced (not clustered), identical install and configuration.
    data source config:
    JDBC URL: jdbc:macromedia:oracle://10.0.0.3:1521;serviceName=dbname.ourdomain.com;AlternateServers= (10.0.0.4:1521);LoadBalancing=true
    DRIVER CLASS: macromedia.jdbc.MacromediaDriver
    The problem:
    Every few minutes, CF starts hanging requests that deal with a specific RAC only data source. After about 30 seconds, all requests bail and generate this error in cfserver.log:
    A non-SQL error occurred while requesting a connection from dbsource.
    Timed out trying to establish connection
    This happens with any RAC data source on the "bad" servers while the "good" servers don't have this problem. The "bad" server doesn't have any problems with direct (non-rac) Oracle data source.
    Already tried:
    Moving server connections around on a switch (rulling out bad switch port)
    Copying driver from the healthy server (but it's the same installer anyway)
    Changed from RAC to normal Oracle type data source - works perfectly. So at the moment I have 3 servers connecting to a specific oracle instance and the other 3 connecting to RAC.
    Tried googling and searching forums and even Oracle metalink - nothing I could see relevant to this.
    It's a shame that after spending a ton of money on CF8 upgrades and Oracle RAC, we can't really utilize fail-over on the database connection.
    Any takers?
    Thanks,
    Henry

    I have the following in my CLASSPATH:
    C:\Ora10g1\product\10.2.0\db_1\jdbc\lib\jdbc.jar;
    C:\Ora10g1\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar;
    C:\Ora10g1\product\10.2.0\db_1\jlib\jndi.jar;
    C:\Ora10g1\product\10.2.0\db_1\jlib\orai18n.jar;
    Still 'Cannot find type 'oracle.jdbc.pool.OracleDataSource'
    Thanks

  • Problem with JBDC connection to mysql in tomcat

    hi ,
    can anyone plz help me?..
    iam new to JSP. iam trying to impelement a application in JSP with JDBC connection using tomcat. Database is MYSQL .
    iam getting the following error:
    org.apache.jasper.JasperException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Server connection failure during transaction.
    Attempted reconnect 3 times. Giving up.)"
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.ServletException: Unable to get connection, DataSource invalid: "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Server connection failure during transaction.
    Attempted reconnect 3 times. Giving up.)"
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.test_jsp._jspService(test_jsp.java:81)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    THIS IS MY APPLICATION:
    <html>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <sql:query var="rs" dataSource="jdbc/TestDB">
    select id, foo, bar from testdata
    </sql:query>
    <html>
    <head>
    <title>DB Test</title>
    </head>
    <body>
    <h2>Results</h2>
    <c:forEach var="row" items="${rs.rows}">
    Foo ${row.foo}
    Bar ${row.bar}
    </c:forEach>
    </body>
    </html>
    Following is the context file called "DBtest.xml" stored in webapps/DBtest/META-INF folder( i have a same copy of the file in /conf/Catelina/localhost)
    <Context path="/DBTest" docBase="DBTest"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource"
    maxActive="100" maxIdle="30" maxWait="10000"
    username="javauser" password="javadude" driverClassName="com.mysql.jdbc.Driver"
    url="jdbc:mysql://localhost:3306/javatest?autoReconnect=true"/>
    </Context>
    i have following web.xml file in webapps/DBtest/WEB-INF
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/TestDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    i have been refering to the internet form past 3 days and making lot of changes.but,there is no use.
    plz guide me
    thanks

    Perhaps a stupid question: is MySQL running and listening on port 3306? The problem is not always in the webapp. Perhaps you can create a small test class that uses Driver to make a connection to your database.

  • MySQL in JDeveloper - Invalid Oracle URL specified

    I am using JDev 10.1.3 with MySQL 4.1.13 and Connector/J 3.1.10.
    I tried to follow the instructions at:
    http://www.oracle.com/technology/products/jdev/tips/duff/mysql_and_oc4j3.html
    but JDev doesn't seem to be using the data-sources.xml file in jdev/j2ee/home/config and the names in that file in the examples don't seem to match the web.xml file.
    I added a MySQL connection using the 3rd party driver using New DataBase Connection was was succesful. The Test button works and I can browse the tables of my database! However, when I try to access the database from my Java class, I get "java.sql.SQLException: Invalid Oracle URL specified"
    My web.xml shows:
    <resource-ref>
    <res-ref-name>jdbc/MyDBDS</res-ref-name>
    <res-type>javax.sql.ConnectionDataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    My appname-data-sources.xml file in my webapp dir contains:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
    <connection-pool name="jdev-connection-pool-MyDB" disable-server-connection-pooling="false">
    <connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" password="password" user="user" url="jdbc:mysql://localhost/mydb"/>
    </connection-pool>
    <managed-data-source name="jdev-connection-MyDB" jndi-name="jdbc/MyDBDS" connection-pool-name="jdev-connection-pool-MyDB"/>
    </data-sources>
    When I try to use this code:
    DataSource dataSource = (DataSource) context.lookup(
    "java:comp/env/jdbc/MyDBDS");
    I get this error:
    05/08/05 04:01:10 java.sql.SQLException: Invalid Oracle URL specified
    05/08/05 04:01:10      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
    05/08/05 04:01:10      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
    05/08/05 04:01:10      at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:240)
    05/08/05 04:01:10      at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)
    05/08/05 04:01:10      at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:108)
    05/08/05 04:01:10      at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:77)
    05/08/05 04:01:10      at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1323)
    05/08/05 04:01:10      at oracle.jdbc.pool.OracleImplicitConnectionCache.getCacheConnection(OracleImplicitConnectionCache.java:422)
    05/08/05 04:01:10      at oracle.jdbc.pool.OracleImplicitConnectionCache.getConnection(OracleImplicitConnectionCache.java:330)
    05/08/05 04:01:10      at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:286)
    05/08/05 04:01:10      at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:179)
    05/08/05 04:01:10      at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:159)
    05/08/05 04:01:10      at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:59)
    05/08/05 04:01:10      at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:50)
    05/08/05 04:01:10      at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:153)
    05/08/05 04:01:10      at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1187)
    05/08/05 04:01:10      at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:345)
    05/08/05 04:01:10      at oracle.j2ee.connector.ConnectionPoolImpl.access$500(ConnectionPoolImpl.java:69)
    05/08/05 04:01:10      at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1124)
    05/08/05 04:01:10      at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:754)
    05/08/05 04:01:10      at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1355)
    05/08/05 04:01:10      at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1293)
    05/08/05 04:01:10      at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:169)
    05/08/05 04:01:10      at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:123)
    05/08/05 04:01:10      at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:161)
    05/08/05 04:01:10      at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:106)
    05/08/05 04:01:10      at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:93)

    Try using com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource as your connection pool data source in appname-data-sources.xml instead of oracle.jdbc.pool.OracleDataSource.
    More information about creating a pooled data source for mysql is available here:
    http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html
    Thanks,
    Brian

  • Invalid Oracle URL specified

    Hi while starting my application, getting the following error
    Error occurred on server 2838550 during startApp sap.com/SAPSweeps : com.sap.engine.services.dbpool.exceptions.BaseDeployment
    Exception: Cannot start DataSource "OLMDataSource".
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.
    startDataSource(ContainerImpl.java:1549)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSources(ContainerImpl.java:1825)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.prepareStart(ContainerImpl.java:489)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:370)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:318)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:301)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.run(ParallelAdapter.java:73)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
         at com.sap.engine.services.dbpool.spi.CPManagedConnectionFactoryImpl.createManagedConnection(CPManagedConnectionFactoryImpl.java:185)
         at com.sap.engine.services.connector.jca.ConnectionHashSet.init(ConnectionHashSet.java:151)
         at com.sap.engine.services.connector.jca.ConnectionHashSet.<init>(ConnectionHashSet.java:120)
         at com.sap.engine.services.connector.jca.AdapterCache.open(AdapterCache.java:207)
         at com.sap.engine.services.connector.ResourceObjectFactory.startConnectionFactory(ResourceObjectFactory.java:290)
         at com.sap.engine.services.dbpool.deploy.ContainerImpl.startDataSource(ContainerImpl.java:1540)
         ... 10 more
    Caused by: java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1130)
         at oracle.jdbc.pool.OracleDataSource.makeURL(OracleDataSource.java:963)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:131)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:149)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:95)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:63)
         at com.sap.engine.services.dbpool.spi.CPManagedConnectionFactoryImpl.createManagedConnection(CPManagedConnectionFactoryImpl.java:145)
         ... 15 more
    Thanks

    HI Roma,
    Which application u r trying to start ??
    is this error comes up while creating a Oracle DSN ??
    Regards,
    Sandip

  • Invalid oracle url

    I have set the class & driver
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection("jdbc:oracle:thin@localhost:1521:test","test","test");
    Don't understand why JDeveloper has an invalid Oracle URL error??
    Any suggestions appreciated. Spent several hours, no joy.

    What's the specific error you are getting?
    Are you sure your database SID is test?
    If you are inside JDeveloper try this - type conn and press control+enter - this will use the connection template and will give you the right syntax for creating a JDBC connection.
    More doc:
    http://download-west.oracle.com/docs/cd/B19306_01/java.102/b14355/basic.htm#i1006650

Maybe you are looking for

  • Inspection lot is not shown Production order Even after GR.

    Hi Gurus My scenario is involved with of Inspection after taking  GR From Production order.i have maintained following settings : 1.Inspection Type 04 Assigned for relevant Order type. 2.In Material Mastr Inspection Type 04 Maintained. 3.Quality plan

  • Strange error message on iWeb sites

    I have a blog in iWeb that I've published for about three years. Suddenly there seem to be html errors appearing at the bottom of Firefox and Safari pages - like this one: # Exception: TypeError # Message : Value undefined (result of expression postL

  • PROBLEM OPENING PDF WITH ADOBE X

    when I try to open pdf, I get message    SELECT THE ENCODING THAT MAKES YOUR DOCUMENT READABLE

  • Fade out sound track in Keynote...how?

    I am taking keynote presentations and exporting them to quicktime...everything works as expected. The only issue is the sound track. It simply abrupty ends at the end of the keynote/quicktime movie. Is there a way to fade it out (i.e. take the volume

  • What is the table and purpose?

    let me know what is the table and its contents and purpose....i wil be thanks to you if i get answers