Thanks lazarski.

Now i have all dependencies in lib folder.Now webservice is working 
fine without any error in log.But database is not updating.
Session is not creating..Please can u guide me for this.
And i have a doubt,my database user password is 3 characters
but in this log its showing as **** 
is this creating problem and one more thing 
[INFO] Configured SessionFactory: null 
Is some problem here ?? 

Tomcat Log : 

[INFO] configuring from resource: /hibernate.cfg.xml
[INFO] Configuration resource: /hibernate.cfg.xml
[INFO] Mapping resource: testtableMapping.hbm.xml
[INFO] Mapping class: ch.elca.des.testwebservice.testService -> "testtable"
[INFO] Configured SessionFactory: null
[INFO] processing extends queue
[INFO] processing collection mappings
[INFO] processing association property references
[INFO] processing foreign key constraints
[INFO] Using dialect: org.hibernate.dialect.PostgreSQLDialect
[INFO] Default batch fetch size: 1
[INFO] Generate SQL with comments: disabled
[INFO] Order SQL updates by primary key: disabled
[INFO] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
[INFO] Using ASTQueryTranslatorFactory
[INFO] Query language substitutions: {}
[INFO] Using Hibernate built-in connection pool (not for production use!)
[INFO] Hibernate connection pool size: 10
[INFO] autocommit mode: false
[INFO] using driver: org.postgresql.Driver at URL: 
jdbc:postgresql://localhost:5432/DESDB
[INFO] connection properties: {user=DES, password=****}
[INFO] JDBC batch size: 15
[INFO] JDBC batch updates for versioned data: disabled
[INFO] Scrollable result sets: enabled
[INFO] JDBC3 getGeneratedKeys(): disabled
[INFO] Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
[INFO] No TransactionManagerLookup configured (in JTA environment, use of 
read-write or transactional second-level cache is not recommended)
[INFO] Automatic flush during beforeCompletion(): disabled
[INFO] Automatic session close at end of transaction: disabled
[INFO] Cache provider: org.hibernate.cache.EhCacheProvider
[INFO] Second-level cache: enabled
[INFO] Optimize cache for minimal puts: disabled
[INFO] Structured second-level cache entries: enabled
[INFO] Query cache: disabled
[INFO] Echoing all SQL to stdout
[INFO] Statistics: disabled
[INFO] Deleted entity synthetic identifier rollback: disabled
[INFO] Default entity-mode: pojo
[INFO] building session factory
null 




--- On Wed, 18/2/09, robert lazarski <[email protected]> wrote:

> From: robert lazarski <[email protected]>
> Subject: Re: Problem in Hibernate Axis2 Integration !! Help Required
> To: [email protected], [email protected]
> Date: Wednesday, 18 February, 2009, 4:29 AM
> On Wed, Feb 18, 2009 at 8:40 AM, gade anudeep
> <[email protected]> wrote:
> >
> > When i checked tomcat logs..i think its falling error
> while its
> > creating session(hibernate) from service.Please guide
> me in this..
> >
> >
> >
> > [ERROR] Could not initialize class
> org.hibernate.impl.SessionFactoryImpl
> > java.lang.NoClassDefFoundError: Could not initialize
> class org.hibernate.impl.SessionFactoryImpl
> >        at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1043)
> 
> You need to add all the hibernate jars and dependencies to
> you WEB-INF/lib dir.
> 
> - R


      Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

Reply via email to