Jump to content
We've recently updated our Privacy Statement, available here ×

Error in running catalina script.


thillai_selvan

Recommended Posts

Dear all,

When running the catalina script I am getting the following error message.

sh /usr/share/tomcat6/bin/catalina.sh run

 

Kindly help me to fix this.

Thanks in advance!

Code:
2011-10-18 19:14:08,412 ERROR ContextLoader,main:215 - Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext-datasource.xml]: Invocation of init method failed; nested exception is javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file]
Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Dear All,

Now I have installed jdk version 1.6.

And again checked the catalina script output while running it.

Now the above problem is solved.

But again now I am getting the following error.

 

2011-10-21 17:19:51,366 WARN JDBCExceptionReporter,main:100 - SQL Error: 0, SQLState: null

2011-10-21 17:19:51,379 ERROR JDBCExceptionReporter,main:101 - Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "jasperadmin")

2011-10-21 17:19:51,386 WARN SettingsFactory,main:133 - Could not obtain connection to query metadata

org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "jasperadmin")

 

 

Can anybody help me to fix this.

Thanks in advance!

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...