Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Caused by: org.springframework.beans.factor.BeanCreationException: Error creating bean with name 'myAppSessionFactory' defined in class path
- resource [myApp/util/dataSource/applicationContext.xml]: Invocation of init method failed; nexted exception is
- java.lang.ArrayIndexOutOfBoundsException: -1
- more exceptions
- .. 58 more
- Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
- at oracle.jdbc.driver.T4CTTIoauthenticate.setSessionFields(T4CTTI0authenticate.java:972)
- at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTI0authenticate.java:185)
- at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:352)
- at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:441)
- at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
- at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
- at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
- at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
- at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
- at org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1240)
- at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1240)
- at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:882)
- at org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider.getconnection(LocalDataSourceConnectionProvider.java:81)
- <bean id="myAppPoolDataSource" class="org.apache.commons.dbcp.BasicDataSource"
- destroy-method="close
- p:driverclassName="${myApp.db.driver}"
- p:url="${myApp.url}"
- p:username="${myApp.userName}"
- p:password="${myApp.password}"
- p:maxActive="${myApp.maxActive}"
- p:initialSize="${myApp.initialSize}"
- />
- <bean id="myAppSessionFactory"
- class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"
- p:dataSource-ref="myAppPoolDataSource">
- <property name="mappingResources">
- <list>
- <value>myApp/util/TableOne.hbm.xml</value>
- <value>myApp/util/TableTwo.hbm.xml</value>
- <value>myApp/util/TableThree.hbm.xml</value>
- </list>
- </property>
- </bean>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement