java.sql.SQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 1023#275130074
    via GitHub by pgufAtIBM
    ,
  • Exception during data loading from db
    via Stack Overflow by user3721625
    ,
    • java.sql.SQLException: URI has an authority component Error Code: 0 at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:309) 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.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:330) at org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:293) at org.eclipse.persistence.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:418) at org.eclipse.persistence.sessions.server.ConnectionPool.buildConnection(ConnectionPool.java:216) at org.eclipse.persistence.sessions.server.ExternalConnectionPool.startUp(ExternalConnectionPool.java:146) at org.eclipse.persistence.sessions.server.ServerSession.connect(ServerSession.java:484) at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:633) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:208) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:488) Caused by: java.sql.SQLException: URI has an authority component at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:724) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635) at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128) at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:86) at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:132) ... 12 more Caused by: java.lang.IllegalArgumentException: URI has an authority component at java.io.File.<init>(Unknown Source) at net.sf.hajdbc.xml.FileXMLStreamFactory.<init>(FileXMLStreamFactory.java:50) at net.sf.hajdbc.xml.XMLDatabaseClusterConfigurationFactory.<init>(XMLDatabaseClusterConfigurationFactory.java:120) at net.sf.hajdbc.xml.XMLDatabaseClusterConfigurationFactory.<init>(XMLDatabaseClusterConfigurationFactory.java:115) at net.sf.hajdbc.xml.XMLDatabaseClusterConfigurationFactory.<init>(XMLDatabaseClusterConfigurationFactory.java:110) at net.sf.hajdbc.sql.CommonDataSource.create(CommonDataSource.java:79) at net.sf.hajdbc.sql.CommonDataSource.create(CommonDataSource.java:48) at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:63) at net.sf.hajdbc.util.concurrent.LifecycleRegistry.get(LifecycleRegistry.java:34) at net.sf.hajdbc.sql.CommonDataSource.getProxy(CommonDataSource.java:86) at net.sf.hajdbc.sql.DataSource.getConnection(DataSource.java:60) at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDataSource(PooledConnection.java:224) at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:180) at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701) ... 18 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    17 more bugmates