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

Similar Messages

  • 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?

  • 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

  • *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.

  • 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

  • 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

  • ORA-22275: invalid LOB locator specified

    Hello,
    I use Oracle 11.2.0.3. APEX 4.2.2... Listener 2.0.3 .... Glassfish server 4.0.
    When I run this procedure ( that is used in this tutorial )
    I get ORA-22275: invalid LOB locator specified.
    The error persists over Glass fish 3.0.2, Listener 2.0.1 and 2.0.2.
    Also, I installed this patch 16803775, but to not avail.
    declare
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
    BEGIN
            SELECT MIMETYPE, CONTENT, filename,DBMS_LOB.GETLENGTH(content)
                    INTO v_mime,lob_loc,v_file_name,v_length
                    FROM image
                    WHERE id = 70;
                     htp.init;
                  -- set up HTTP header
                        -- use an NVL around the mime type and
                        -- if it is a null set it to application/octect
                        -- application/octect may launch a download window from windows
                        owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
                    -- set the size so the browser knows how much to download
                    htp.p('Content-length: ' || v_length);
                    -- the filename will be used by the browser if the users does a save as
                    htp.p('Content-Disposition:  attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
                    -- close the headers  
                    owa_util.http_header_close;        
                    owa_util.http_header_close;
                    -- download the BLOB
                    wpg_docload.download_file( Lob_loc );
    end  ;
    Any help pls, in getting that procedure works ?
    Regards,
    Fateh

    replace this statement
    select empty_clob() into c_xml from dual for update;
    with
    dbms_lob.createtemporary(c_xml, TRUE);

  • ORA-22275 :invalid LOB locator specified error while loading BLOBs/CLOBS.

    Hello All,
    I am trying to load BLOB/CLOB data from a client oracle DB to the oracle db on our side,we are using ODI version 10.1.3.5.6,which reportedly has the issue of loading BLOB/CLOBS solved.I am using
    The extraction fails in the loading stage when inserting data into the C$ table with the following error.
    "22275:99999 :java.sql.BatchUpdateException:ORA-22275:Invalid LOB locator specified".
    Kindly let me know how I can resolve this issue as the requirement to load this data is very urgent.
    Thanks,
    John

    One alternate way can be done out of ODI as ODI is still not able to resolve this issue. You can trim these fields (CLOB/BLOB) and push this data as separate fields into ODI and at the reporting end you can again concatenate them.
    May be this may solve your problem ....it solved mine.
    --XAT                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • DBMS_LOB.CONVERTTOBLOB invalid LOB locator specified: ORA-22275

    Hi all,
    the following code has been working great on 11g (and apex.oracle.com)
    now when I try to use this function under 10g XE
    I get following error :
    ORA-06502: PL/SQL: numeric or value error: invalid LOB locator specified: ORA-22275
    ORA-06512: at "SYS.DBMS_LOB", line 696
    ORA-06512: at "RIGHTSHOP.C2B", line 14line 14 being the line with DBMS_LOB.CONVERTTOBLOB
    any ideas ?
    CREATE OR REPLACE FUNCTION c2b( p_clob IN CLOB )
          RETURN BLOB
    is
      temp_blob   BLOB;
      dest_offset NUMBER  := 1;
      src_offset  NUMBER  := 1;
      amount      INTEGER := dbms_lob.lobmaxsize;
      blob_csid   NUMBER  := dbms_lob.default_csid;
      lang_ctx    INTEGER := dbms_lob.default_lang_ctx;
      warning     INTEGER;
    BEGIN
    DBMS_LOB.CREATETEMPORARY(lob_loc=>temp_blob, cache=>TRUE);
      DBMS_LOB.CONVERTTOBLOB(temp_blob, p_clob,amount,dest_offset,src_offset,blob_csid,lang_ctx,warning);
      return temp_blob;
    END;Kr
    Martin

    Can't reproduce
    SQL> CREATE OR REPLACE FUNCTION c2b( p_clob IN CLOB )
    RETURN BLOB
    is
    temp_blob BLOB;
    dest_offset NUMBER := 1;
    src_offset NUMBER := 1;
    amount INTEGER := dbms_lob.lobmaxsize;
    blob_csid NUMBER := dbms_lob.default_csid;
    lang_ctx INTEGER := dbms_lob.default_lang_ctx;
    warning INTEGER;
    BEGIN
    DBMS_LOB.CREATETEMPORARY(lob_loc=>temp_blob, cache=>TRUE);
    DBMS_LOB.CONVERTTOBLOB(temp_blob, p_clob,amount,dest_offset,src_offset,blob_csid,lang_ctx,warning);
    return temp_blob;
    END;  2    3    4    5    6    7    8    9   10   11   12   13   14   15   16 
    17  /
    Function created.
    SQL> declare
      2     b blob;
      3     c clob;
      4  begin
      5     c := 'x';
      6     b := c2b (c);
      7  end;
      8  /
    PL/SQL procedure successfully completed.
    SQL> and my version (also XE)
    SQL> select *
      2    from v$version
      3  /
    BANNER
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE     10.2.0.1.0     Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

  • SQL Developer 3.1.07 Conn Err: Invalid Conn Info Specified

    Hi,
    I have been using SQL Developer for a while but out of the blue I'm now getting a connection error:
    Message box says:
    "An error was encountered performing the requested operation:
    Invalid connection information specified. Verify the URL format for the specified driver.
    Vendor code 0"
    Does anyone know what this error is and how to fix it? It was working fine yesterday. Nothing that I'm aware of was changed or installed on my laptop.
    Thx!
    ~p

    All connections or just one?
    Can you create a new connection which works?
    It is possible your connection definitions have been corrupted. Can you view the properties for a connection? Does it look as expected?
    What version of SQL Developer are you using? What DBMS and Version are you connecting to?

  • IE launch failure: "Could not load file/URL specified"

    My user is receiving this failure :
    "An error occurred while launching/running the application.
    Category: Invalid Argument error
    Could not load file/URL specified: C:\Documents and Settings\XXX\Local Settings\Temporary Internet
    Files\Content.IE5\GDMVCXEB\StocksMonitor[1].jnlp"
    System Configuration:
    Browser: IE6
    JDK: 1.4.1_02
    OS: Windows2000 Pro SP3
    The launch point is :
    http://www.javapractices.com/apps/stocksmonitor/StocksMonitor.jnlp
    How is this problem rectified?

    Hello,
    same problem here with win xp/sp2.
    Cleaning the cash did not solve my problem.
    I made another acount under windows and installed java and all works good under that account but cant make it work under old acc. work
    Did you got some solution ?
    txs

  • "Invalid Oracle Home directory" error in Application Server Connection

    I have Jdeveloper 10g on Windows XP and want to create an Application Server Connection.
    After specifying required i get Test failed (-2). Invalid Oracle Home directory whenever I go for testing it.
    My Application Server in Linux

    You are in the wrong forum for that question.

  • Send email by BDK API, get 500:"Invalid stream ID specified" error

    I am sending a simple email without attachment by BDK in 2.1 by following main three steps:
    1. login the server and get the anticsrf string.
    2. upload the email body content with URI:
    http://IP:Port/comb/v1/d/session/upload?uploadscope=25589676100454&content_id=25589676080060&anticsrf=zhu8nv%2BX%2FsA%3D
    3. send the mail with URI:
    http://IP:Port/comb/v1/d/emsg/send?uploadscope=25589676100454&debug=true&anticsrf=zhu8nv%2BX%2FsA%3D.
    In the third step, the server response 500 error and capture the server response package as following:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?><obh:restFault xmlns:obr="http://www.oracle.com/beehive/rest" xmlns:obh="http://www.oracle.com/beehive"><obh:fault><obh:debugInformation><obh:serviceInstanceId>814dc480-dbc7-4e8f-a6fb-59808adadb4c</obh:serviceInstanceId><obh:stackTrace>java.lang.RuntimeException: Invalid stream ID specified: MjU1ODk2NzYwODAwNjA=
    at oracle.ocs.mail.csi.stream.EmailOperationContextImpl.getOutputStream(EmailOperationContextImpl.java:96)
    at oracle.beehive.platform.rest.resource.hui.stream.StreamInMethod.action(StreamInMethod.java:178)
    at oracle.beehive.platform.rest.core.Mauna.doRequest(Mauna.java:463)
    at oracle.beehive.platform.rest.servlet.LahainaServlet.doRequest(LahainaServlet.java:60)
    at weblogic.servlet.http.AbstractAsyncServlet.service.....
    My question is what steam id is used for, where to set the stream id and what kind of stream id is right?
    Thanks in advance!
    Edited by: user13304957 on May 9, 2011 12:53 AM

    find the answer,
    for sending an email, first, "upload scope" value in upload body and send msg should be the same, second, and the last, in the sending msg step, the StreamedSimpleContentUpdater.contenStreamID should be the same as content id used in uploading body.

  • Error:Invalid Oracle Middleware Home location

    While installing OEM, I am getting "invalid Oracle Middleware Home location" error. Weblogic is already installed and WDJ7 patch applied successfully.
    INFO: calling query: isValidWls
    arg: 10.3.2.0
    return value: 3
    Error:Invalid Oracle Middleware Home location. Specify a valid location
    that was created while installing a certified version of Oracle WebLogic Server
    Any ideas why ??

    What Middleware Home lcoation did you enter in the runInstaller?
    regards
    Rob
    http://oemgc.wordpress.com

  • RSS gives me "Invalid feed URL"

    Hello,
    I am only starting using RSS feeds. I can see in Mail that I can register RSS feeds, but I don't seem to get how to use it - I get an error message:-
    I select "file" > "Add RSS feeds"
    I select "Specify the URL for a feed"
    I enter html://www.thegrail.eu in the field.
    I click on "Add"
    -> I get the error message "Invalid feed URL"
    Can you help me?

    What are you doing differently?
    He's entering the address for the website, not its feed at the URL you gave; and he's preceding it with html:// when of course it should be http://
    http://www.thegrail.eu/feed

Maybe you are looking for

  • Trying to create a drop down menu in numbers...please help

    Hi Can anyone indicate how to go about creating a drop-down menu. Thanks in advance

  • [SOLVED]xf86-video-intel-2.13.0-2 - Black screen/windows

    I've upgraded from xf86-video-intel-2.13.0-1 to release 2 and now every GL window is black, with no rendering. For example, glxgears give-me a black empty window with no rendering, also the games stoped working. I can confirm this issue on this igp:

  • Beginning of startup chime is cut off

    I just purchased an Intel iMac 20" and when I press the power button, the very beginning of the startup chime is cut off. I haven't installed Boot Camp or any firmware updates yet - this is a virgin computer. Any ideas?

  • Facin problems in the 'Select... for all entries'

    I am facing problem with this piece of code, please share ur thoughts on it. I have specified the inputs. I am extracting the open items from the BSIS table for specified 3 account number. Inputs to the prg: field     No. of values r_bukrs       1 r_

  • Shared AAC files do not work

    On my main PC I converted most of my CDs to AAC format, I activated the share in iTunes and from my laptop I indeed "see" them in the list (they lose the "show compilations" attribute, but that's a different problem) but I can not hear them. Shared M