Login  Register

[OFBiz] Dev - Eclipse connection to localderby driver exception

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

[OFBiz] Dev - Eclipse connection to localderby driver exception

Chris Juettner
22 posts
Hello,
I'm trying run OFBiz in debug mode inside of Eclipse 3.1 and I'm getting
the following exception when trying to connect to localderby.  If I run
via Ant build.xml inside Eclipse it works fine. Any suggestions on what
might be configured incorrectly?
Thanks

Chris Juettner

102658 (main) [   GenericDelegator.java:171:INFO ] Doing entity definition
check...
102718 (main) [ ModelEntityChecker.java:514:INFO ] [initReservedWords] array
length=1023
103779 (main) [            UtilXml.java:242:DEBUG] XML Read 0.27s: entityengine.xml
111931 (main) [   GenericDelegator.java:189:INFO ] Delegator "default" initializing
helper "localderby" for entity group "org.ofbiz".
112001 (main) [   GenericDelegator.java:205:INFO ] Doing database check
as requested in entityengine.xml with addMissing=true
112972 (main) [            UtilXml.java:242:DEBUG] XML Read 0.16s: file:/C:/ofbiz/rev5786/bin/jndiservers.xml
137458 (main) [XAConnectionFactory.java:371:ERROR] Can't get an XAConnection
java.sql.SQLException: No suitable driver
        at java.sql.DriverManager.getConnection(DriverManager.java:532)
        at java.sql.DriverManager.getConnection(DriverManager.java:171)
        at org.ofbiz.minerva.pool.jdbc.xa.wrapper.XADataSourceImpl.getXAConnection(XADataSourceImpl.java:223)
        at org.ofbiz.minerva.pool.jdbc.xa.XAConnectionFactory.createObject(XAConnectionFactory.java:367)
        at org.ofbiz.minerva.pool.ObjectPool.createNewObject(ObjectPool.java:942)
        at org.ofbiz.minerva.pool.ObjectPool.getObject(ObjectPool.java:630)
        at org.ofbiz.minerva.pool.ObjectPool.fillToMin(ObjectPool.java:961)
        at org.ofbiz.minerva.pool.ObjectPool.initialize(ObjectPool.java:533)
        at org.ofbiz.minerva.pool.jdbc.xa.XAPoolDataSource.initialize(XAPoolDataSource.java:313)
        at org.ofbiz.minerva.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:349)
        at org.ofbiz.entity.transaction.MinervaConnectionFactory.getConnection(MinervaConnectionFactory.java:122)
        at org.ofbiz.entity.jdbc.ConnectionFactory.tryGenericConnectionSources(ConnectionFactory.java:62)
        at org.ofbiz.entity.transaction.JNDIFactory.getConnection(JNDIFactory.java:158)
        at org.ofbiz.entity.transaction.TransactionFactory.getConnection(TransactionFactory.java:104)
        at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection(ConnectionFactory.java:52)
        at org.ofbiz.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:81)
        at org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:738)
        at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:106)
        at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:98)
        at org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java:1204)
        at org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:240)
        at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:207)
        at org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:139)
        at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer.java:173)
        at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:150)
        at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:74)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:412)


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: [OFBiz] Dev - Eclipse connection to localderby driver exception

David E. Jones
1146 posts

Good question, not sure... Perhaps a classpath issue?

-David


On Sep 23, 2005, at 10:33 AM, [hidden email] wrote:

> Hello,
> I'm trying run OFBiz in debug mode inside of Eclipse 3.1 and I'm  
> getting
> the following exception when trying to connect to localderby.  If I  
> run
> via Ant build.xml inside Eclipse it works fine. Any suggestions on  
> what
> might be configured incorrectly?
> Thanks
>
> Chris Juettner
>
> 102658 (main) [   GenericDelegator.java:171:INFO ] Doing entity  
> definition
> check...
> 102718 (main) [ ModelEntityChecker.java:514:INFO ]  
> [initReservedWords] array
> length=1023
> 103779 (main) [            UtilXml.java:242:DEBUG] XML Read 0.27s:  
> entityengine.xml
> 111931 (main) [   GenericDelegator.java:189:INFO ] Delegator  
> "default" initializing
> helper "localderby" for entity group "org.ofbiz".
> 112001 (main) [   GenericDelegator.java:205:INFO ] Doing database  
> check
> as requested in entityengine.xml with addMissing=true
> 112972 (main) [            UtilXml.java:242:DEBUG] XML Read 0.16s:  
> file:/C:/ofbiz/rev5786/bin/jndiservers.xml
> 137458 (main) [XAConnectionFactory.java:371:ERROR] Can't get an  
> XAConnection
> java.sql.SQLException: No suitable driver
>     at java.sql.DriverManager.getConnection(DriverManager.java:532)
>     at java.sql.DriverManager.getConnection(DriverManager.java:171)
>     at  
> org.ofbiz.minerva.pool.jdbc.xa.wrapper.XADataSourceImpl.getXAConnectio
> n(XADataSourceImpl.java:223)
>     at  
> org.ofbiz.minerva.pool.jdbc.xa.XAConnectionFactory.createObject
> (XAConnectionFactory.java:367)
>     at org.ofbiz.minerva.pool.ObjectPool.createNewObject
> (ObjectPool.java:942)
>     at org.ofbiz.minerva.pool.ObjectPool.getObject(ObjectPool.java:
> 630)
>     at org.ofbiz.minerva.pool.ObjectPool.fillToMin(ObjectPool.java:
> 961)
>     at org.ofbiz.minerva.pool.ObjectPool.initialize(ObjectPool.java:
> 533)
>     at org.ofbiz.minerva.pool.jdbc.xa.XAPoolDataSource.initialize
> (XAPoolDataSource.java:313)
>     at org.ofbiz.minerva.pool.jdbc.xa.XAPoolDataSource.getConnection
> (XAPoolDataSource.java:349)
>     at  
> org.ofbiz.entity.transaction.MinervaConnectionFactory.getConnection
> (MinervaConnectionFactory.java:122)
>     at  
> org.ofbiz.entity.jdbc.ConnectionFactory.tryGenericConnectionSources
> (ConnectionFactory.java:62)
>     at org.ofbiz.entity.transaction.JNDIFactory.getConnection
> (JNDIFactory.java:158)
>     at org.ofbiz.entity.transaction.TransactionFactory.getConnection
> (TransactionFactory.java:104)
>     at org.ofbiz.entity.jdbc.ConnectionFactory.getConnection
> (ConnectionFactory.java:52)
>     at org.ofbiz.entity.jdbc.DatabaseUtil.getConnection
> (DatabaseUtil.java:81)
>     at org.ofbiz.entity.jdbc.DatabaseUtil.getTableNames
> (DatabaseUtil.java:738)
>     at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:
> 106)
>     at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:
> 98)
>     at org.ofbiz.entity.datasource.GenericDAO.checkDb
> (GenericDAO.java:1204)
>     at org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource
> (GenericHelperDAO.java:240)
>     at org.ofbiz.entity.GenericDelegator.<init>
> (GenericDelegator.java:207)
>     at org.ofbiz.entity.GenericDelegator.getGenericDelegator
> (GenericDelegator.java:139)
>     at org.ofbiz.catalina.container.CatalinaContainer.init
> (CatalinaContainer.java:173)
>     at org.ofbiz.base.container.ContainerLoader.loadContainer
> (ContainerLoader.java:150)
>     at org.ofbiz.base.container.ContainerLoader.load
> (ContainerLoader.java:74)
>     at org.ofbiz.base.start.Start.initStartLoaders(Start.java:257)
>     at org.ofbiz.base.start.Start.init(Start.java:96)
>     at org.ofbiz.base.start.Start.main(Start.java:412)
>
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev
>

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

smime.p7s (3K) Download Attachment