Absaar | 14 Jun 2010 17:15
Picon

Getting RunTime Exception


Hi,
I am trying to create a POC for iBatis. I have trying to do some
configuration and getting the following error

14-Jun-2010 20:02:20 com.ibatis.common.logging.jdk14.Jdk14LoggingImpl error
SEVERE: SimpleDataSource: Error while loading properties. Cause:
java.lang.RuntimeException: SimpleDataSource: Some properties were not set

Here is the stack trace:

java.lang.RuntimeException: SimpleDataSource: Some properties were not set.
	at
com.ibatis.common.jdbc.SimpleDataSource.initialize(SimpleDataSource.java:131)
	at
com.ibatis.common.jdbc.SimpleDataSource.<init>(SimpleDataSource.java:116)
	at
com.ibatis.sqlmap.engine.datasource.SimpleDataSourceFactory.initialize(SimpleDataSourceFactory.java:31)
	at
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(SqlMapConfigParser.java:220)
	at
com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:121)
	at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:105)
	at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102)
	at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:102)
	at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:72)
	at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:51)
	at
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java:46)
	at
(Continue reading)

Nathan Maves | 14 Jun 2010 17:22
Picon

Re: Getting RunTime Exception

Looks like a simple issue with your data source configuration.  Please
post your configuration to the new project listed below.

The ibatis project has moved and been renamed.

It is no longer being maintained as an Apache project, but has moved
(along with the development team) here:

http://www.mybatis.org/

Please join us at the new location by joining the mailing list here:

http://groups.google.com/group/mybatis-user

On Mon, Jun 14, 2010 at 9:15 AM, Absaar <absaar.haq <at> techblue.co.uk> wrote:
>
> Hi,
> I am trying to create a POC for iBatis. I have trying to do some
> configuration and getting the following error
>
> 14-Jun-2010 20:02:20 com.ibatis.common.logging.jdk14.Jdk14LoggingImpl error
> SEVERE: SimpleDataSource: Error while loading properties. Cause:
> java.lang.RuntimeException: SimpleDataSource: Some properties were not set
>
> Here is the stack trace:
>
> java.lang.RuntimeException: SimpleDataSource: Some properties were not set.
>        at
> com.ibatis.common.jdbc.SimpleDataSource.initialize(SimpleDataSource.java:131)
>        at
(Continue reading)


Gmane